@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00ff66;
    --primary-glow: rgba(0, 255, 102, 0.4);
    --primary-dark: #00cc52;
    --bg-darker: #050505;
    --bg-dark: #0d0d0d;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.font-tech {
    font-family: 'Space Grotesk', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
}

.section-padding {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: var(--bg-darker);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(0.5);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-darker) 30%, transparent 70%);
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 900;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-outline {
        margin-left: 0;
    }
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-all:hover {
    padding-right: 5px;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image {
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* On desktop keep square aspect too */
@media (min-width: 769px) {
    .product-image {
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--bg-darker);
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-category {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .price {
        font-size: 1.25rem;
    }
}

.btn-buy {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-buy:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.add-to-cart-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-darker);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-icon:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.add-to-cart {
    cursor: pointer;
    transition: var(--transition);
}

.btn-consult {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-consult:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.btn-consult i {
    font-size: 1rem;
}

/* Categories Section */
.categories {
    padding: 80px 0 80px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay h3 {
    font-size: 1.8rem;
}

/* Stats Section */
.stats {
    background: var(--bg-dark);
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Featured Products Section */
.products {
    padding: 80px 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-card div h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.info-card div p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: white;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
}

.form-group input[type="file"] {
    padding: 0.7rem;
    font-size: 0.85rem;
}

.form-group input[type="file"]::file-selector-button {
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    margin-right: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.form-group input[type="file"]::file-selector-button:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer (existing) */
footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about img, .footer-brand img {
    height: 45px;
    width: auto;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .footer-about img, .footer-brand img {
        height: 35px;
    }
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    color: white;
    outline: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .page-banner-content h1 {
        font-size: 2.5rem;
    }
}

/* Cart Drawer & Overlays */
.cart-overlay,
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    opacity: 0;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cart-overlay {
    z-index: 1500;
}

.modal-overlay {
    z-index: 5000;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-drawer.active {
    right: 0;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }
}

.cart-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.cart-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.close-cart,
.close-modal {
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.close-cart:hover,
.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.wholesale-toggle-container {
    padding: 1rem 2rem;
    background: rgba(0, 255, 102, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.switch-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-qty button {
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.remove-item {
    color: #ff4444;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.2);
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#cartTotalVal {
    color: var(--primary);
}

/* Modal Styling */
.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-dark);
}

.modal-header h3 {
    color: var(--primary);
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 2rem;
    flex: 1;
}

/* Product Detail Modal Specifics */
.product-modal-content {
    max-width: 900px;
    width: 95%;
}

.product-detail-view {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 500px;
    min-width: 0;
}

.product-gallery-side,
.product-info-side {
    min-width: 0;
}

@media (max-width: 992px) {
    .product-detail-view {
        grid-template-columns: 1fr 1fr;
    }

    .product-info-side h2 {
        font-size: 1.8rem;
    }

    .product-info-side .product-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .product-detail-view {
        grid-template-columns: 1fr;
        min-height: 0;
    }
}

.product-gallery-side {
    padding: 2rem;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-right: 1px solid var(--glass-border);
}

.main-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

.thumbnails-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.5;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 3px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    opacity: 0.6;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-side {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.product-info-side h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.product-info-side .product-price {
    font-size: 2rem;
    color: var(--primary);
    margin: 1.5rem 0;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .modal-content.product-modal-content {
        height: 90vh;
        max-height: 90vh;
        width: 95%;
        display: flex;
        flex-direction: column;
    }

    .product-detail-view {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .product-gallery-side {
        padding: 0.5rem;
        gap: 0.5rem;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        background: var(--bg-card);
    }

    .main-image-container {
        height: 250px;
        width: 100%;
        background: transparent;
        border: none;
        flex: 0 0 auto;
    }

    .main-image-container img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        max-height: none;
    }

    .thumbnails-container {
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .product-info-side {
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .product-info-side {
        padding: 1.5rem;
    }

    .product-info-side h2 {
        font-size: 1.6rem;
    }
}

/* ═══════════════════════════════════════
   PROMO BANNER & BADGES
   ═══════════════════════════════════════ */

#promoBanner {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.06), rgba(255, 87, 34, 0.04), var(--bg-darker));
    border-top: 1px solid rgba(255, 152, 0, 0.15);
    border-bottom: 1px solid rgba(255, 152, 0, 0.15);
    position: relative;
    overflow: hidden;
}

#promoBanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff9800, #ff5722, transparent);
    animation: promoShine 3s ease-in-out infinite;
}

@keyframes promoShine {

    0%,
    100% {
        transform: translateX(-50%);
    }

    50% {
        transform: translateX(50%);
    }
}

.promo-banner-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.promo-badge-pulse {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: promoPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.promo-badge-pulse i {
    margin-right: 0.4rem;
}

@keyframes promoPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 87, 34, 0.6);
    }
}

.promo-banner-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-width: 0;
}

.promo-banner-text {
    flex: 1;
    min-width: 0;
}

.promo-title {
    font-size: 0.75rem;
    color: #ff9800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.promo-product-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-prices {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.promo-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}

.promo-price-new {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff9800;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

.promo-discount-badge {
    background: #ff5722;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
}

.promo-savings {
    font-size: 0.8rem;
    color: #a5d6a7;
    margin-top: 0.5rem;
}

.promo-banner-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 152, 0, 0.3);
}

.promo-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    flex-shrink: 0;
}

.promo-actions .btn {
    padding: 1rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
    border-radius: 50px;
    white-space: nowrap;
}

.promo-actions .btn i {
    margin-right: 8px;
}

.promo-countdown {
    text-align: center;
    flex-shrink: 0;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.countdown-digits {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.countdown-unit {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    min-width: 55px;
    text-align: center;
}

.countdown-unit span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff9800;
    font-variant-numeric: tabular-nums;
}

.countdown-unit small {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-sep {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff9800;
    opacity: 0.5;
}

/* Badge en producto */
.promo-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
    animation: promoPulse 2s ease-in-out infinite;
}

.promo-product-badge i {
    margin-right: 0.3rem;
}

@media (max-width: 600px) {
    .category-card {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive promo */
@media (max-width: 768px) {
    .promo-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .promo-actions {
        width: 100%;
        padding: 0;
        order: 2;
    }

    .promo-actions .btn {
        width: 100%;
        padding: 1.2rem;
        font-size: 1rem;
    }

    .promo-banner-content {
        order: 1;
        flex-direction: column;
    }

    .promo-countdown {
        order: 3;
    }

    .promo-product-name {
        font-size: 1.2rem;
        white-space: normal;
    }

    .promo-prices {
        justify-content: center;
    }

    .promo-banner-image {
        width: 80px;
        height: 80px;
    }

    .countdown-unit {
        min-width: 48px;
        padding: 0.4rem 0.5rem;
    }

    .countdown-unit span {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2.5rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.close-search:hover {
    color: var(--primary);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

.search-overlay .search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
}

.search-overlay form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 1rem;
    transition: var(--transition);
}

.search-overlay form:focus-within {
    border-color: var(--primary);
}

.search-overlay input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    outline: none;
    padding: 0 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.search-overlay input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.search-overlay button {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-overlay button:hover {
    color: var(--primary);
}

.search-suggestions {
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-suggestions span {
    color: var(--text-main);
    margin: 0 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    font-weight: 600;
}

.search-suggestions span:hover {
    color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .search-overlay input {
        font-size: 1.8rem;
    }
    .close-search {
        top: 1rem;
        right: 1.5rem;
        font-size: 1.8rem;
    }
    .search-suggestions {
        display: none;
    }
}
 
/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
 
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}
 
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--bg-darker);
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--glass-border);
}
 
.cart-drawer.active {
    right: 0;
}
 
.cart-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}
 
.cart-header h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
.close-cart {
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}
 
.close-cart:hover {
    color: var(--primary);
    transform: rotate(90deg);
}
 
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}
 
.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
}
 
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
 
.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
 
.cart-item-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
 
.cart-item-price {
    color: var(--primary);
    font-weight: 700;
}
 
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.8rem;
}
 
.cart-item-qty button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.cart-footer {
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}
 
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
 
#cartTotalVal {
    color: var(--primary);
}
 
.remove-item {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}
 
.remove-item:hover {
    color: #ff4444;
}
 
.wholesale-toggle-container {
    padding: 1rem 2rem;
    background: rgba(0, 255, 102, 0.03);
    border-bottom: 1px solid var(--glass-border);
}