/* ================================
   WOLFURS GLOBAL THEME
   ================================ */

.theme-dark {
    --bg: linear-gradient( 135deg, #031a14 0%, #063d2f 40%, #0b5c43 70%, #0f7a55 100% );
    --surface: rgba(7, 26, 20, 0.85);
    --surface-2: rgba(13, 36, 29, 0.85);
    --text: #e9fff7;
    --muted: #8fa9a0;
    --border: #1b3a30;
    --btn-bg: #d4af37;
    --btn-text: #0b1a14;
    --hero-overlay: rgba(0, 40, 25, 0.6);
}

.theme-light {
    --bg: #f4fbf8;
    --surface: #ffffff;
    --surface-2: #e8f6f0;
    --text: #0f2a22;
    --muted: #5e7d74;
    --border: #d4e6df;
    /* GOLD ACCENT */
    --btn-bg: #c9a227;
    --btn-text: #ffffff;
    --hero-overlay: rgba(0, 120, 80, 0.1);
}

* {box-sizing: border-box;}
body {margin: 0;background: var(--bg);color: var(--text);font-family: Arial, Helvetica, sans-serif;}
    body.theme-dark {
        background: linear-gradient( 135deg, #031a14, #063d2f, #0b5c43, #0f7a55, #063d2f );
        background-size: 400% 400%;
        animation: greenFlow 18s ease infinite;
    }
@keyframes greenFlow {
    0% {        background-position: 0% 50%;    }

    50% {        background-position: 100% 50%;    }

    100% {        background-position: 0% 50%;    }
}
body.theme-dark::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(0,255,170,0.08), transparent 40%), radial-gradient(circle at 80% 70%, rgba(0,200,120,0.06), transparent 40%);
    z-index: 0;
}
a {color: var(--text);text-decoration: none;}
img {max-width: 100%;display: block;}

/* ================================
   HEADER / NAVBAR
   ================================ */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 5%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand img {
    height: 30px;
    width: auto;
}

nav {display: flex;gap: 22px;flex-wrap: wrap;}
    nav a {font-size: 13px;letter-spacing: 1.5px;text-transform: uppercase;color: var(--text);transition: 0.3s ease; text-decoration:none;}

     

/* Toggle button (hidden on desktop) */
.menu-toggle {display: none;background: none;border: 1px solid var(--border);color: var(--text);font-size: 24px;padding: 6px 10px;cursor: pointer;}
        nav a:hover {color: var(--text);}
.menu-toggle span {display: block;width: 22px;height: 2px;background: var(--text);margin: 5px 0;}
.navlinks {display: flex;align-items: center;gap: 22px;}
.shop-dropdown {position: relative;}
.shop-main {cursor: pointer;}
.shop-submenu {position: absolute;top: 100%;left: 0;min-width: 190px;background: var(--surface);border: 1px solid var(--border);
    display: flex !important;flex-direction: column;z-index: 2000;}
    .shop-submenu a {padding: 13px 18px;white-space: nowrap;border-bottom: 1px solid var(--border);}
        .shop-submenu a:last-child {border-bottom: none;}
.shop-dropdown:hover .shop-submenu {display: flex;}


select,input,textarea {background: var(--surface-2);color: var(--text);border: 1px solid var(--border);padding: 9px 12px;outline: none;}

/* ================================
   HERO SLIDER
   ================================ */

.hero-slider {
    height: 85vh;
    position: relative;
    overflow: hidden;
}

    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        height: 85vh;
    }

.hero-slide {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .hero-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--hero-overlay);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 20px;
}

    .hero-content h1 {
        margin: 0;
        font-size: 82px;
        font-weight: 900;
        letter-spacing: 8px;
        text-transform: uppercase;
    }

    .hero-content h2 {
        margin: 18px 0 0;
        font-size: 20px;
        font-weight: 400;
        letter-spacing: 7px;
        color: #dddddd;
        text-transform: uppercase;
    }

    .hero-content p {
        max-width: 620px;
        margin: 18px auto 0;
        color: #eeeeee;
        font-size: 16px;
        line-height: 1.7;
    }

.carousel-item.active .hero-content h1,
.carousel-item.active .hero-content h2,
.carousel-item.active .hero-content p,
.carousel-item.active .hero-content .btn {animation: fadeUp 0.9s ease;}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO TEXT FIX FOR LIGHT THEME */
.theme-light .hero-content h1,
.theme-light .hero-content h2,
.theme-light .hero-content p,
.theme-light .hero-content span {
    color: #000000 !important;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 34px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-bg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

    .btn:hover {
        background: #00c97b;
        color: #00291a;
    }

.theme-light .btn:hover {
    color: #ffffff;
    background: #000000;
    border-color: #000000;
}

.btn.small {
    padding: 10px 22px;
    font-size: 12px;
}

/* ================================
   SECTIONS
   ================================ */

.section {
    padding: 75px 5%;
    background-color:var(--bg);
}

    .section h2 {
        text-align: center;
        margin-bottom: 40px;
        letter-spacing: 4px;
        text-transform: uppercase;
        font-size: 30px;
    }

.page-title {
    min-height: 100px; /* use min-height, NOT fixed height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
    text-align: center;
}
    .page-title h1 {
        margin: 0;
        font-size: 28px;
        letter-spacing: 4px;
    }

    .page-title p {
        margin: 5px 0 0;
        font-size: 14px;
        color: var(--muted);
    }
/* ================================
   COLLECTION CARDS
   ================================ */

.grid-3 {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.collection-card {
    min-height: 120px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

    .collection-card:hover {
        background: var(--text);
        color: var(--bg);
        transform: translateY(-6px);
    }

/* FIX COLLECTION CARD TEXT IN DARK THEME */
.theme-dark .collection-card {
    background: rgba(0, 60, 40, 0.6); /* keep green tone */
    border: 1px solid var(--border);
}

    .theme-dark .collection-card h3,
    .theme-dark .collection-card span,
    .theme-dark .collection-card p {
        color: #eafff6 !important; /* bright readable text */
    }
.theme-dark .collection-card {
    position: relative;
    overflow: hidden;
}

    .theme-dark .collection-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 20, 10, 0.45); /* dark overlay */
        z-index: 0;
    }

    .theme-dark .collection-card * {
        position: relative;
        z-index: 1;
    }
    .theme-dark .collection-card:hover {
        background: rgba(0, 100, 70, 0.7);
        transform: translateY(-4px);
    }
/* ================================
   PRODUCT GRID
   ================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    
}

.product-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 18px;
    text-align: center;
    transition: 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        background: var(--surface );
    }

    .product-card img {
        
        height: 280px;width: auto;
        object-fit: cover;
        background: var(--surface-2);
    }

    .product-card h3,
    .product-card h4 {
        margin: 18px 0 8px;
        font-size: 16px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color:var(--text);
    }
    .product-card h6 {
        margin: 0;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--text);
    }
    
    .product-card .btn { background-color:var(--btn-bg); color: var(--btn-text);transform: translateY(-6px);}
    .product-card .btn:hover { background-color:var(--btn-bg); color: var(--btn-text);}
    /* ================================
   FORMS
   ================================ */
    .form-box {
        max-width: 650px;
        margin: 0 auto;
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 35px;
    }

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
    }

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 50px 5%;
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

    .footer h3 {
        color: var(--text);
        letter-spacing: 5px;
        margin-bottom: 8px;
    }



    /* Cart Item*/
.cart-icon {
    position: relative;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 13px;
    cursor: pointer;
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1998;
}

    .cart-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 90%;
    height: 100vh;
    background: var(--surface);
    color: var(--text);
    border-left: 1px solid var(--border);
    z-index: 1999;
    transition: 0.35s ease;
    display: flex;
    flex-direction: column;
}

    .cart-panel.open {
        right: 0;
    }

.cart-header {
    padding: 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cart-header h3 {
        margin: 0;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

.cart-close {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
}

.cart-body {
    flex: 1;
    padding: 22px;
    overflow-y: auto;
}

.empty-cart {
    color: var(--muted);
    text-align: center;
    margin-top: 60px;
}

.cart-footer {
    padding: 22px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 12px;
}

    .cart-footer .btn {margin-top: 0;text-align: center;background-color: var(--bg);color: var(--text);}
.mini-cart-item {position: relative;display: grid;grid-template-columns: 75px 1fr 28px;gap: 14px;padding: 14px 0;border-bottom: 1px solid var(--border);}
.mini-cart-remove {color: var(--text);font-size: 24px;line-height: 1;text-align: center;cursor: pointer; text-decoration:none;}
    .mini-cart-remove:hover {color: #ff4d4d;text-decoration:none;}
    .mini-cart-item img {width: 75px;height: 90px;object-fit: cover;background: var(--surface-2);}
    .mini-cart-remove-btn{width:14px; height:14px;}
    .mini-cart-item h4 {margin: 0 0 8px;font-size: 14px;text-transform: uppercase;}
    .mini-cart-item p {margin: 4px 0;color: var(--muted);font-size: 13px;}
.cart-footer h4 {margin: 0 0 12px;display: flex;justify-content: space-between;}




   /* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 992px) {
.topbar {flex-wrap: wrap;gap: 10px;}
    .navlinks {gap: 16px;}
    .product-grid {grid-template-columns: repeat(3, 1fr);}
    .grid-3 {grid-template-columns: repeat(2, 1fr);}
    .hero-content h1 {font-size: 58px;}

}

/* MOBILE NAV FINAL FIX */

@media (max-width: 900px) {

    .topbar {
        display: grid !important;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: space-between;
        padding: 12px 5%;
        position: sticky;
        top: 0;
        background: var(--surface);
        z-index: 10000;
    }

    .brand {
        display: block;
        grid-column: 1;
    }

        .brand img {
            height: 45px;
            width: auto;
        }

    .menu-toggle {
        display: block !important;
        grid-column: 2;
        justify-self: end;
        background: transparent;
        border: 1px solid var(--border);
        color: var(--text);
        font-size: 28px;
        padding: 5px 12px;
        cursor: pointer;
        z-index: 10002;
    }

    .navlinks {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        margin-top: 12px;
        background: var(--surface);
        border-top: 1px solid var(--border);
    }

        .navlinks.show {
            display: flex !important;
        }

        .navlinks > a,
        .shop-main {
            display: block;
            width: 100%;
            padding: 14px 0;
            text-align: center;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
            letter-spacing: 2px;
        }

    .shop-dropdown {
        width: 100%;
    }

    .shop-submenu {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        min-width: 100%;
        background: var(--surface-2);
        border: none;
    }

        .shop-submenu a {
            width: 100%;
            padding: 12px 0;
            text-align: center;
            border-bottom: 1px solid var(--border);
            font-size: 12px;
        }

    .header-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
    }
}

@media (max-width: 850px) {
    .product-grid {grid-template-columns: repeat(2, 1fr);}
    .hero-content h1 {font-size: 50px;letter-spacing: 5px;}
    .hero-content h2 {font-size: 18px;}
    .collection-card {font-size: 24px;}

}

@media (max-width: 768px) {
    .section {padding: 60px 5%;}
    .grid-3 {grid-template-columns: 1fr;}
    .product-card img {height: 240px;}
    .cart-panel {width: 100%;}

}

@media (max-width: 560px) {

    .hero-slider,.hero-slide {height: 75vh;}
    .hero-content h1 {font-size: 36px;letter-spacing: 4px;}
    .hero-content h2 {font-size: 14px;letter-spacing: 3px;}
    .product-grid {grid-template-columns: 1fr;}
    .product-card img {height: 220px;}
    .collection-card {min-height: 70px;font-size: 20px;}
    .btn {padding: 10px 20px;font-size: 12px;}
    .cart-panel {width: 100%;}

}

@media (max-width: 400px) {
    .hero-content h1 {font-size: 28px;}
    .hero-content h2 {font-size: 12px;}
    .navlinks a {font-size: 12px;}

}

/* =========================================================
   WOLFURS HEADER RESPONSIVE OVERRIDE - FINAL
   Keep this block at the VERY END of wolfurs.css
   ========================================================= */

/* Header items for desktop/tablet */
.topbar {
    display: grid !important;
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center !important;
    gap: 18px !important;
}

.navlinks {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 22px !important;
}

.menu-toggle {
    display: none !important;
}

/* Use 1200px because the current menu is too wide for 900px */
@media (max-width: 1200px) {

    .topbar {
        grid-template-columns: auto auto auto auto !important;
        grid-template-areas:
            "brand currency theme cart"
            "menu menu menu menu"
            "nav nav nav nav";
        padding: 12px 5% !important;
        gap: 10px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        background: var(--surface) !important;
    }

    .brand {
        grid-area: brand !important;
        justify-self: start !important;
    }

    .brand img {
        height: 34px !important;
        width: auto !important;
    }

    .menu-toggle {
        grid-area: menu !important;
        display: block !important;
        justify-self: center !important;
        width: 100% !important;
        background: var(--surface-2) !important;
        border: 1px solid var(--border) !important;
        color: var(--text) !important;
        font-size: 28px !important;
        line-height: 1 !important;
        padding: 10px 12px !important;
        cursor: pointer !important;
        z-index: 10002 !important;
    }

    .currency {
        grid-area: currency !important;
        justify-self: end !important;
    }

    #ddlTheme,
    select[id$="ddlTheme"] {
        grid-area: theme !important;
        justify-self: end !important;
    }

    .cart-icon {
        grid-area: cart !important;
        justify-self: end !important;
    }

    .navlinks {
        grid-area: nav !important;
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border-top: 1px solid var(--border) !important;
    }

    .navlinks.show {
        display: flex !important;
    }

    .navlinks > a,
    .navlinks .shop-main {
        display: block !important;
        width: 100% !important;
        padding: 15px 0 !important;
        text-align: center !important;
        border-bottom: 1px solid var(--border) !important;
        font-size: 14px !important;
        letter-spacing: 2px !important;
        line-height: 1.4 !important;
    }

    .shop-dropdown {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .shop-submenu {
        flex-direction: column !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;


        display: none !important;
        position: static !important;
        width: 100%;
        background: var(--surface-2);
        border: none;

    }
        .shop-submenu.show {
            display: flex !important;
            flex-direction: column !important;
        }

    .shop-main::after {
        content: " +";
    }

    .shop-submenu.show ~ .shop-main::after {
        content: " -";
    }
    .shop-submenu a {
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        text-align: center !important;
        border-bottom: 1px solid var(--border) !important;
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
    }
}

@media (max-width: 560px) {
    .topbar {
        grid-template-columns: 1fr auto auto auto !important;
        grid-template-areas:
            "brand currency theme cart"
            "menu menu menu menu"
            "nav nav nav nav";
        column-gap: 6px !important;
    }

    .brand img {
        height: 28px !important;
    }

    .topbar select {
        max-width: 82px !important;
        padding: 8px 6px !important;
        font-size: 13px !important;
    }

    .cart-icon {
        padding: 8px 10px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 1200px) {
    .topbar {
        display: grid !important;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .menu-toggle {
        display: block !important;
        grid-column: 2;
        justify-self: end;
    }

    .navlinks {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

        .navlinks.show {
            display: flex !important;
        }

        .navlinks > a,
        .shop-main {
            display: block;
            width: 100%;
            text-align: center;
            padding: 14px 0;
            border-bottom: 1px solid var(--border);
        }

    .shop-dropdown {
        width: 100%;
        text-align: center;
    }

    .shop-submenu {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        background: var(--surface-2);
        border: none;
    }
}
/* =========================================================
   FINAL NAV + SHOP DROPDOWN FIX
   Keep this block at the VERY END of wolfurs.css
   ========================================================= */

.shop-submenu {
    display: none !important;
}

.shop-dropdown:hover .shop-submenu {
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 1201px) {
    .topbar {
        display: grid !important;
        grid-template-columns: auto 1fr auto auto auto !important;
        align-items: center !important;
        gap: 18px !important;
    }

    .menu-toggle {
        display: none !important;
    }

    .navlinks {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 22px !important;
        width: auto !important;
        border: 0 !important;
    }

    .shop-dropdown {
        position: relative !important;
        width: auto !important;
    }

    .shop-submenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 190px !important;
        width: auto !important;
        background: var(--surface) !important;
        border: 1px solid var(--border) !important;
        z-index: 2000 !important;
    }

    .shop-submenu a {
        display: block !important;
        padding: 13px 18px !important;
        white-space: nowrap !important;
        text-align: left !important;
        border-bottom: 1px solid var(--border) !important;
    }
}

@media (max-width: 1200px) {
    .topbar {
        display: grid !important;
        grid-template-columns: 1fr auto auto auto !important;
        grid-template-areas:
            "brand currency theme cart"
            "menu menu menu menu"
            "nav nav nav nav" !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 12px 5% !important;
    }

    .brand {
        grid-area: brand !important;
        justify-self: start !important;
    }

    .brand img {
        height: 34px !important;
        width: auto !important;
    }

    .currency {
        grid-area: currency !important;
        justify-self: end !important;
    }

    #ddlTheme,
    select[id$="ddlTheme"] {
        grid-area: theme !important;
        justify-self: end !important;
    }

    .cart-icon {
        grid-area: cart !important;
        justify-self: end !important;
    }

    .menu-toggle {
        grid-area: menu !important;
        display: block !important;
        width: 100% !important;
        justify-self: stretch !important;
        background: var(--surface-2) !important;
        border: 1px solid var(--border) !important;
        color: var(--text) !important;
        padding: 10px 12px !important;
        cursor: pointer !important;
    }

    .navlinks {
        grid-area: nav !important;
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border-top: 1px solid var(--border) !important;
    }

    .navlinks.show {
        display: flex !important;
    }

    .navlinks > a,
    .shop-main {
        display: block !important;
        width: 100% !important;
        padding: 15px 0 !important;
        text-align: center !important;
        border-bottom: 1px solid var(--border) !important;
        font-size: 14px !important;
        letter-spacing: 2px !important;
    }

    .shop-dropdown {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .shop-submenu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        background: var(--surface-2) !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .shop-submenu.show {
        display: flex !important;
        flex-direction: column !important;
    }

    .shop-dropdown:hover .shop-submenu:not(.show) {
        display: none !important;
    }

    .shop-main::after {
        content: " +";
    }

    .shop-dropdown.open .shop-main::after {
        content: " -";
    }

    .shop-submenu a {
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        text-align: center !important;
        border-bottom: 1px solid var(--border) !important;
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
    }
}

@media (max-width: 560px) {
    .brand img { height: 28px !important; }
    .topbar select { max-width: 82px !important; padding: 8px 6px !important; font-size: 13px !important; }
    .cart-icon { padding: 8px 10px !important; font-size: 16px !important; }
}

/* ================================
   LOGIN PAGE
   ================================ */
.login-section {
    padding: 70px 5%;
    background: var(--bg);
}

.login-box {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 35px;
}

    .login-box .form-group {
        margin-bottom: 20px;
    }

    .login-box label {
        display: block;
        margin-bottom: 8px;
        color: var(--text);
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .login-box input,
    .login-box .form-control {
        width: 100%;
        height: 48px;
        background: var(--surface-2);
        color: var(--text);
        border: 1px solid var(--border);
        padding: 10px 14px;
    }

    .login-box .btn {
        width: 100%;
        margin-top: 10px;
    }
.product-card .price {
    margin-top: 8px;
    font-size: 16px;
}

.product-card .current-price {
    color: var(--text);
}

.product-card .old-price {
    color: #ff4d4d !important;
    text-decoration: line-through !important;
    margin-left: 8px;
    font-size: 14px;
}
.product-card p.price span.old-price {
    color: #ff4d4d !important;
    text-decoration: line-through !important;
    margin-left: 8px !important;
    font-size: 14px !important;
}
/* CART PAGE CLEAN FIX */
.cart-page-list {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.cart-page-item {
    display: grid !important;
    grid-template-columns: 160px 1fr !important;
    gap: 24px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    padding: 20px !important;
}

.cart-page-image img {
    width: 160px !important;
    height: 190px !important;
    object-fit: cover !important;
}

.cart-page-info {
    width: 100% !important;
}

.cart-edit-row {
    display: grid !important;
    grid-template-columns: 120px 180px !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 8px 0 !important;
}

.cart-input {
    width: 180px !important;
}

.cart-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

.cart-page-summary {
    max-width: 1100px !important;
    margin: 30px auto 0 !important;
    padding: 22px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    text-align: right !important;
    position: static !important;
}

@media (max-width: 700px) {
    .cart-page-item {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .cart-page-image img {
        width: 150px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .cart-edit-row {
        grid-template-columns: 1fr !important;
        text-align: left !important;
    }

    .cart-input {
        width: 100% !important;
    }

    .cart-actions {
        justify-content: center !important;
    }
}
@media (max-width: 600px) {
    .page-title {
        min-height: 80px;
        padding: 8px 10px;
    }

        .page-title h1 {
            font-size: 22px;
        }

        .page-title p {
            font-size: 12px;
        }
}

.checkout-section {
    padding: 70px 5%;
}

.checkout-box {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 35px;
}

    .checkout-box img {
        width: 120px;
        height: 145px;
        object-fit: cover;
        background: var(--surface-2);
    }

    .checkout-box h2 {
        text-align: center;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-bottom: 25px;
    }

.checkout-input {
    width: 100%;
    margin-bottom: 14px;
    min-height: 46px;
}

.checkout-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.bank-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 20px;
    margin: 18px 0;
}

.thankyou-box {
    text-align: center;
}

@media (max-width: 600px) {
    .checkout-box {
        padding: 22px;
    }
        .checkout-box img {
            width: 90px;
            height: 110px;
        }
    .checkout-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.member-radio {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 10px 0 20px;
}

    .member-radio input {
        margin-right: 6px;
    }
.member-details {
    margin-top: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 18px;
}

    .member-details p {
        margin: 8px 0;
        color: var(--text);
    }
.loading-text {
    text-align: center;
    padding: 15px;
    color: var(--muted);
}
input:invalid {
    border-color: red;
}
.checkout-cart-list {
    display: grid;
    gap: 18px;
    margin-bottom: 25px;
}

.checkout-cart-card {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 20px;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 16px;
}

.checkout-cart-img img {
    width: 110px;
    height: 130px;
    object-fit: cover;
    background: var(--surface);
}

.checkout-cart-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.checkout-cart-info .code {
    margin: 0 0 10px;
    color: var(--muted);
}

.checkout-cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.checkout-cart-price {
    text-align: right;
}

    .checkout-cart-price p {
        margin: 0 0 6px;
        color: var(--muted);
    }

    .checkout-cart-price strong {
        font-size: 18px;
        color: var(--text);
    }

@media (max-width: 700px) {
    .checkout-cart-card {
        grid-template-columns: 90px 1fr;
        gap: 14px;
    }

    .checkout-cart-img img {
        width: 90px;
        height: 110px;
    }

    .checkout-cart-price {
        grid-column: 1 / -1;
        text-align: left;
        border-top: 1px solid var(--border);
        padding-top: 12px;
    }

    .checkout-cart-meta {
        flex-direction: column;
        gap: 5px;
    }
}
/* MINI CART SCROLL FIX */
.mini-cart-items {
    max-height: 400px; /* adjust as needed */
    overflow-y: auto;
    padding-right: 5px;
}

    /* optional smooth scroll */
    .mini-cart-items::-webkit-scrollbar {
        width: 6px;
    }

    .mini-cart-items::-webkit-scrollbar-thumb {
        background: var(--border);
    }
/* MOBILE MINI CART ABOVE HEADER FIX */
@media (max-width: 700px) {

    .cart-overlay {
        z-index: 99998 !important;
    }

    .cart-panel {
        z-index: 99999 !important;
        top: 0 !important;
        height: 100dvh !important;
        max-width: 100% !important;
        width: 100% !important;
        right: -100% !important;
    }

        .cart-panel.open {
            right: 0 !important;
        }

    .cart-body {
        max-height: calc(100dvh - 190px) !important;
    }
}
/* HERO BANNER MOBILE FIX */
@media (max-width: 700px) {

    .hero-slide {
        background-position: 95% center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }
}

.about-hero,
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    padding: 80px 5%;
    background: var(--bg);
}

    .about-split.reverse {
        background: var(--surface);
    }

.about-text h2 {
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-img img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.founder-message {
    padding: 90px 5%;
    text-align: center;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

    .founder-message h2 {
        text-transform: uppercase;
        letter-spacing: 4px;
        margin-bottom: 18px;
    }

    .founder-message p {
        font-size: 42px;
        font-weight: 900;
        letter-spacing: 6px;
        color: var(--text);
    }

/* Mobile */
@media (max-width: 768px) {
    .about-hero,
    .about-split {
        grid-template-columns: 1fr;
        padding: 55px 5%;
    }

        .about-split.reverse .about-img {
            order: 2;
        }

        .about-split.reverse .about-text {
            order: 1;
        }

    .about-text h2 {
        font-size: 26px;
    }

    .about-img img {
        height: 300px;
    }

    .founder-message p {
        font-size: 28px;
        letter-spacing: 4px;
    }
}
/* CONTACT PAGE */
.contact-section {
    padding: 80px 5%;
    background: var(--bg);
}

.contact-box {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-form,
.contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 35px;
}

    .contact-form h2,
    .contact-info h2 {
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    .contact-form .form-group {
        margin-bottom: 18px;
    }

    .contact-form label {
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        font-size: 12px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

.contact-input {
    width: 100%;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 13px 15px;
}

.contact-info p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-detail {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

    .contact-detail strong {
        display: block;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .contact-detail span {
        color: var(--muted);
    }

.contact-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
}

.contact-map-box {
    border: 1px solid var(--border);
    background: var(--surface-2);
    padding: 12px;
}

    .contact-map-box h3 {
        margin: 0 0 10px;
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .contact-map-box iframe {
        width: 100%;
        height: 240px;
        border: 0;
        filter: grayscale(100%) invert(92%);
    }


/* Mobile */
@media (max-width: 768px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 24px;
    }

    .contact-maps {
        grid-template-columns: 1fr;
    }

    .contact-map-box iframe {
        height: 220px;
    }
}
/* PRODUCT DETAILS PAGE */

.product-detail-section {
    padding: 70px 5%;
    background: var(--bg);
}

.product-detail-box {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px;
}

.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
}

.thumb-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface-2);
    transition: 0.3s ease;
}

    .thumb-img:hover {
        border-color: var(--text);
        opacity: 0.85;
    }

.product-main {
    width: 100%;
}

.product-detail-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    background: var(--surface-2);
    cursor: zoom-in;
}

/* Product Info */
.product-detail-info {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 35px;
}

.pd-title {
    display: block;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pd-code {
    display: block;
    color: var(--muted);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.pd-price {
    font-size: 22px;
    margin-bottom: 22px;
}

    .pd-price .old-price {
        color: #ff4d4d !important;
        text-decoration: line-through !important;
        margin-left: 10px;
        font-size: 16px;
    }

.pd-detail {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.pd-field {
    margin-bottom: 18px;
}

    .pd-field label {
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

.qty-control {
    display: flex;
    align-items: center;
    width: 150px;
}

    .qty-control button {
        width: 42px;
        height: 42px;
        background: var(--surface-2);
        color: var(--text);
        border: 1px solid var(--border);
        font-size: 20px;
        cursor: pointer;
    }

.qty-box {
    width: 60px;
    height: 42px;
    text-align: center;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.pd-links {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

    .pd-links a {
        color: var(--muted);
        text-decoration: underline;
    }

/* Fullscreen Image Viewer */
.img-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

    .img-viewer.open {
        opacity: 1;
        visibility: visible;
    }

    .img-viewer img {
        max-width: 92%;
        max-height: 92%;
        object-fit: contain;
    }

.img-close {
    position: absolute;
    top: 22px;
    right: 28px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 34px;
    cursor: pointer;
    z-index: 1000000;
}

/* Mobile */
@media (max-width: 850px) {

    .product-detail-box {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-main {
        order: 1;
    }

    .product-thumbs {
        order: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 5px;
    }

    .thumb-img {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }

    .product-detail-img {
        height: 420px;
    }

    .product-detail-info {
        padding: 24px;
    }

    .pd-title {
        font-size: 26px;
    }

    .img-close {
        top: 18px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .product-detail-img {
        height: 340px;
    }

    .product-detail-section {
        padding: 45px 5%;
    }
}
/* MAIN IMAGE SLIDER */
.product-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

    .product-slider .slide {
        display: none;
        width: 100%;
        height: 100%;
    }

    .product-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: zoom-in;
    }

/* ARROWS */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 26px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 5;
}

    .slide-btn.prev {
        left: 10px;
    }

    .slide-btn.next {
        right: 10px;
    }

    .slide-btn:hover {
        background: rgba(0,0,0,0.8);
    }

/* MOBILE */
@media (max-width: 850px) {
    .product-slider {
        height: 420px;
    }
}

@media (max-width: 500px) {
    .product-slider {
        height: 340px;
    }
}

.thumb-img.active {
    border: 2px solid var(--text);
    opacity: 1;
}

.thumb-img {
    opacity: 0.6;
}

    .thumb-img:hover {
        opacity: 1;
    }
.pd-rating {
    margin-bottom: 12px;
}

.star {
    font-size: 18px;
    margin-right: 2px;
}

    .star.full {
        color: #ffd700; /* gold */
    }

    .star.half {
        color: #ffd700;
        opacity: 0.6;
    }

    .star.empty {
        col