/* ==========================================================================
   DGI x Stooon integration overrides
   (loaded AFTER AIZ + Stooon CSS, so this file has the final word)
   ========================================================================== */

/* --- Primary color hooks: make Stooon accents follow the store base color --- */
.btn-white:hover,
.product-style-01 .cart-action li a:hover,
.back-to-top .back-top:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.section-title h3 span,
.new-price,
.product-style-01 .content .title a:hover {
    color: var(--primary);
}

/* --- Header logo sizing (store logo can be a large square image) --- */
.stoon-navbar .navbar .logo {
    line-height: 1;
}
.stoon-navbar .navbar .logo a {
    display: inline-block;
}
.stoon-navbar .navbar .logo img {
    max-height: 55px;
    width: auto;
    max-width: 100%;
}
.sidebar-logo img {
    max-height: 60px;
    width: auto;
}
/* keep the navbar rows compact and vertically centered */
.stoon-navbar .navbar {
    padding-top: 8px;
    padding-bottom: 8px;
}
.stoon-navbar .nav-container > .row {
    align-items: center;
}

/* --- Main menu: keep on ONE line, compact (DESKTOP ≥992px only) --- */
@media (min-width: 992px) {
    .stoon-navbar .navbar-collapse { flex-grow: 1; }
    .stoon-navbar .navbar-collapse .navbar-nav.menu-open {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .stoon-navbar .navbar-nav.menu-open > li {
        white-space: nowrap;
        float: none;
        margin: 0 !important;
    }
    .stoon-navbar .navbar-nav.menu-open > li > a {
        padding-left: 13px !important;
        padding-right: 13px !important;
        font-size: 15px !important;
        text-transform: none !important;
        letter-spacing: 0;
    }
}

/* ===== Slide-in DRAWER system (shared: mobile menu + account sidebar) ===== */
.dgi-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 10000; /* above the sticky header (navbar z-index is 9999) */
}
.dgi-drawer-overlay.show { opacity: 1 !important; visibility: visible !important; }
body.dgi-drawer-open { overflow: hidden; }
/* Nav-menu drawer lives INSIDE the sticky header, so lift the WHOLE header (the sticky
   .stoon-navbar is the stacking context) above the overlay while it's open, and hide the
   header icons behind the drawer (they showed on top of the overlay otherwise). */
body.dgi-drawer-nav .stoon-navbar,
body.dgi-drawer-nav .stoon-navbar .navbar.navbar-area { z-index: 10002 !important; }
body.dgi-drawer-nav .stoon-navbar .nav-right-part > ul { visibility: hidden !important; }
.dgi-drawer-close {
    position: absolute;
    top: 12px; right: 14px;
    width: 34px; height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--soft-primary);
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
    z-index: 5;
    cursor: pointer;
}

/* --- Mobile menu (<992px): LEFT SLIDE-IN DRAWER --- */
@media (max-width: 991px) {
    .stoon-navbar #shop-menu {
        position: fixed !important;
        top: 0; left: 0; bottom: 0;
        width: 82%;
        max-width: 330px;
        height: 100%;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 1200;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-shadow: 2px 0 24px rgba(0, 0, 0, .18);
        margin: 0 !important;
        padding: 0 !important;   /* kill Stooon's padding-left:35px that pushed the whole menu right */
        display: block !important;
    }
    .stoon-navbar #shop-menu.show { transform: translateX(0) !important; }
    /* drawer header (title + close) */
    .stoon-navbar #shop-menu .dgi-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 18px;
        border-bottom: 1px solid #eee;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 3;
    }
    .stoon-navbar #shop-menu .dgi-drawer-title {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--primary);
    }
    .stoon-navbar #shop-menu .dgi-drawer-head .dgi-drawer-close {
        position: static;
        width: 30px; height: 30px;
        font-size: 20px;
    }
    .stoon-navbar #shop-menu .navbar-nav.menu-open {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        padding: 4px 0;
    }
    .stoon-navbar #shop-menu .navbar-nav.menu-open > li {
        width: 100%;
        float: none;
        margin: 0 !important;
        border-bottom: 1px solid #f2f2f2;
    }
    .stoon-navbar #shop-menu .navbar-nav.menu-open > li:last-child { border-bottom: 0; }
    .stoon-navbar #shop-menu .navbar-nav.menu-open > li > a {
        display: block;
        padding: 11px 18px !important;
        font-size: 14.5px !important;
        font-weight: 500;
        line-height: 1.4 !important;
        color: #2a2a2a !important;   /* keep dark -- Stooon turned it white on the open item -> invisible */
        text-transform: none !important;
    }
    .stoon-navbar #shop-menu .navbar-nav.menu-open > li > a:hover { color: var(--primary) !important; }
    /* expanded parent: highlighted but VISIBLE */
    .stoon-navbar #shop-menu .menu-item-has-children.submenu-open > a {
        color: var(--primary) !important;
        background: var(--soft-primary);
        font-weight: 600;
    }
    .stoon-navbar #shop-menu .menu-item-has-children > a .fa-angle-down {
        float: right;
        transition: transform .25s ease;
        margin-top: 4px;
        opacity: .55;
    }
    .stoon-navbar #shop-menu .menu-item-has-children.submenu-open > a .fa-angle-down {
        transform: rotate(180deg);
        opacity: 1;
        color: var(--primary) !important;
    }
    /* submenu -> accordion (hidden until parent tapped) */
    .stoon-navbar #shop-menu .sub-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8f5f1;
        padding: 4px 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
    }
    .stoon-navbar #shop-menu .menu-item-has-children.submenu-open > .sub-menu { display: block !important; }
    .stoon-navbar #shop-menu .sub-menu li { border: 0 !important; margin: 0 !important; }
    .stoon-navbar #shop-menu .sub-menu li a {
        display: block !important;
        padding: 9px 18px 9px 40px !important;
        font-size: 13.5px !important;
        color: #555 !important;
        position: relative;
    }
    .stoon-navbar #shop-menu .sub-menu li a::before {
        content: "";
        position: absolute;
        left: 24px; top: 50%;
        width: 5px; height: 5px;
        border-radius: 50%;
        background: var(--primary);
        opacity: .4;
        transform: translateY(-50%);
    }
    .stoon-navbar #shop-menu .sub-menu li a:hover { color: var(--primary) !important; }
    .stoon-navbar #shop-menu .sub-menu li a:hover::before { opacity: 1; }
}
/* nav-right icons: compact so they fit the smaller column */
.stoon-navbar .nav-right-part > ul > li {
    padding-left: 7px;
    padding-right: 7px;
}

/* --- Fit AIZ functional partials (cart / wishlist / compare) into Stooon nav --- */
.nav-right-part ul > li.dgi-nav-plain {
    display: inline-block;
    position: relative;
    padding: 0 10px;
}
.nav-right-part ul > li.dgi-nav-plain a {
    color: inherit;
}
.nav-right-part ul > li.dgi-nav-plain .la,
.nav-right-part ul > li.dgi-nav-plain .las,
.nav-right-part ul > li.dgi-nav-plain [class^="la-"] {
    font-size: 20px;
    line-height: 1;
}
/* hide the small text labels AIZ partials add ("Cart", "Wishlist") to keep nav compact */
.nav-right-part ul > li.dgi-nav-plain .nav-box-text {
    display: none !important;
}
/* AIZ badges -> small round chips on the icons */
.nav-right-part ul > li.dgi-nav-plain .badge {
    position: absolute;
    top: -6px;
    right: 2px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
}
/* the cart/wishlist dropdown panels from AIZ */
.nav-right-part ul > li.dgi-nav-plain .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 300px;
    z-index: 1050;
    text-align: left;
}

/* --- User dropdown (Stooon markup) --- */
.nav-right-part ul > li.dgi-nav-user {
    position: relative;
}
.nav-right-part ul > li.dgi-nav-user > ul.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 14px;
    min-width: 210px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,.16);
    border: 1px solid #f0f1f4;
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1050;
    list-style: none;
    text-align: left;
}
/* Pure click/tap toggle (NO hover): the menu opens on click and stays put, so it never
   vanishes as the cursor moves onto it and it's easy to click. */
.nav-right-part ul > li.dgi-nav-user.dgi-user-open > ul.user-dropdown {
    display: block;
}

/* ---- User menu -> slide-in DRAWER on mobile (matches the cart / nav drawers) ---- */
.dgi-user-drawer-head { display: none; }   /* header only appears inside the mobile drawer */
@media (max-width: 991px) {
    .nav-right-part ul > li.dgi-nav-user > ul.user-dropdown {
        display: block !important;
        position: fixed !important;
        top: 0; left: 0; bottom: 0;
        width: 85%; max-width: 340px; height: 100%;
        margin: 0 !important; padding: 0 !important;
        border: 0; border-radius: 0 !important;
        box-shadow: 2px 0 24px rgba(0, 0, 0, .18);
        transform: translateX(-100%) !important;   /* Stooon animates dropdowns; needs !important */
        transition: transform .3s ease;
        visibility: hidden;
        z-index: 10001;
        overflow-y: auto;
        animation: none !important;
    }
    .nav-right-part ul > li.dgi-nav-user.dgi-user-open > ul.user-dropdown {
        transform: translateX(0) !important;
        visibility: visible;
    }
    /* brown header bar with title + close */
    .nav-right-part ul > li.dgi-nav-user > ul.user-dropdown li.dgi-user-drawer-head {
        display: flex !important; align-items: center;
        background: var(--primary); color: #fff;
        padding: 14px 18px !important; font-size: 15px; font-weight: 600; margin: 0 !important;
    }
    .dgi-user-drawer-head span { flex: 1; }
    .dgi-user-drawer-close {
        position: static; width: 30px; height: 30px; font-size: 20px;
        display: flex; align-items: center; justify-content: center;
        background: rgba(255, 255, 255, .22); color: #fff; border: 0; border-radius: 50%;
    }
    /* bigger tap targets for the menu rows */
    .nav-right-part ul > li.dgi-nav-user > ul.user-dropdown li a {
        padding: 14px 20px !important; font-size: 14px !important;
        border-bottom: 1px solid #f1f2f5;
    }
    /* lift header above overlay + hide the other header icons (same as nav/cart drawers) */
    body.dgi-drawer-user .stoon-navbar,
    body.dgi-drawer-user .stoon-navbar .navbar.navbar-area { z-index: 10002 !important; }
    body.dgi-drawer-user .nav-right-part > ul { visibility: hidden !important; }
    body.dgi-drawer-user .dgi-nav-user.dgi-user-open > ul.user-dropdown { visibility: visible !important; }
}
/* Normalise dropdown <li> spacing. The Stooon template gives the first item
   padding-left:15px and the rest margin-left:25px, which staggered them (aage-piche).
   Force every item identical so only the anchor's own padding controls indent. */
.nav-right-part ul > li.dgi-nav-user > ul.user-dropdown li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    list-style: none;
}
.nav-right-part ul > li.dgi-nav-user > ul.user-dropdown li a {
    display: flex !important;
    align-items: center;
    padding: 11px 20px !important;
    font-size: 13px !important;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    line-height: 1.3 !important;
}
.nav-right-part ul > li.dgi-nav-user > ul.user-dropdown li a:hover {
    background: var(--soft-primary);
    color: var(--primary);
}

/* --- Back to top show/hide --- */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    cursor: pointer;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* --- Small helpers reused on product cards --- */
.dgi-price-old {
    text-decoration: line-through;
    opacity: .5;
    font-size: 14px;
    margin-left: 6px;
}

/* --- Product card image: FIXED uniform box (images ki size alag ho to bhi even grid) --- */
.product-style-01 .thumb {
    position: relative;
    overflow: hidden;
    background: #f6f7f9;
}
.product-style-01 .thumb .thumb-slider,
.product-style-01 .thumb .thumb-slider .slick-list,
.product-style-01 .thumb .thumb-slider .slick-track {
    height: 100%;
}
.product-style-01 .thumb .thumb-slider a {
    display: block;
    height: 340px;
}
.product-style-01 .thumb .thumb-slider img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
@media (max-width: 767px){
    .product-style-01 .thumb .thumb-slider a,
    .product-style-01 .thumb .thumb-slider img { height: 230px; }
}
/* xs phones: product grid is 2-per-row (col-6) -> narrower cards, so shrink image + text */
@media (max-width: 575px){
    .product-style-01 .thumb .thumb-slider a,
    .product-style-01 .thumb .thumb-slider img { height: 185px; }
    .dgi-product-card .content { padding: 12px 10px 14px; }
    .dgi-product-card .content .brand { font-size: 10.5px; margin-bottom: 4px; }
    .dgi-product-card .content .title { font-size: 13px; margin-bottom: 10px; }
    .dgi-product-card .content .dgi-rating li { font-size: 11px; }
    .dgi-product-card .dgi-buy { min-height: 40px; }
    .dgi-product-card .dgi-buy-default .content-cart { flex: 0 0 38px; width: 38px; height: 38px; line-height: 36px; margin-right: 10px; font-size: 14px; }
    .dgi-product-card .dgi-buy-default .new-price { font-size: 15px; }
    .dgi-product-card .dgi-buy-default .old-price { font-size: 12px; }
    .dgi-product-card .dgi-buy-hover { height: 40px; font-size: 12px; }
    /* icons stay visible on tap devices (no hover) so they're usable on mobile */
    .product-style-01 .thumb .cart-action li a { width: 34px; height: 34px; }
}
/* Touch devices have no hover -> keep the wishlist/view icons visible so they're usable.
   (Add-to-cart still works via the always-visible cart-icon in the price row.) */
@media (hover: none), (max-width: 767px) {
    .product-style-01 .thumb .cart-action { opacity: 1 !important; right: 12px !important; }
}

/* mobile section headings smaller (were 36px) */
@media (max-width: 767px){
    .section-title h3, .collection-banner h3 { font-size: 24px !important; }
}
@media (max-width: 575px){
    .section-title h3, .collection-banner h3 { font-size: 21px !important; }
}

/* --- Product card action icons (wishlist / view) as themed circular buttons.
   Hidden by default, slide in from the right on hover (like the template). --- */
.product-style-01 .thumb .cart-action {
    top: 15px;
    right: -20px;
    opacity: 0;
    z-index: 3;
    transition: all .3s ease;
}
.product-style-01:hover .thumb .cart-action {
    right: 15px;
    opacity: 1;
}
.product-style-01 .thumb .cart-action li {
    margin-bottom: 10px !important;
}
.product-style-01 .thumb .cart-action li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: all .2s ease;
}
.product-style-01 .thumb .cart-action li a i {
    font-size: 16px;
    line-height: 1;
}
.product-style-01 .thumb .cart-action li a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.product-style-01 .thumb .cart-action li a:hover i:before {
    color: #fff !important;
}
/* ===== Content: brand / rating / name (left-aligned, always visible) ===== */
.product-style-01 .content { position: static !important; padding: 16px 14px 18px; text-align: left; }
.product-style-01:hover .content { bottom: 0 !important; }
.dgi-product-card .content .brand {
    display: block; color: #9a9a9a; font-size: 12px; letter-spacing: .4px; margin-bottom: 6px; font-weight: 500;
}
.dgi-product-card .content .dgi-rating { margin: 0 0 8px; padding: 0; }
.dgi-product-card .content .dgi-rating li { font-size: 13px; margin-right: 1px; }
.dgi-product-card .content .dgi-rating .fa-star { color: #f5a623; }
.dgi-product-card .content .dgi-rating .fa-star-o { color: #d8d8d8; }
.dgi-product-card .content .title { font-size: 16px; font-weight: 600; margin-bottom: 14px; line-height: 1.35; }
.dgi-product-card .content .title a { color: #232323; }
.dgi-product-card .content .title a:hover { color: var(--primary); }

/* ===== Buy area: price row (default)  <->  full-width "Add to cart" (hover) ===== */
.dgi-product-card .dgi-buy { position: relative; min-height: 46px; }
.dgi-product-card .dgi-buy-default {
    display: flex; align-items: center; transition: opacity .25s ease, visibility .25s ease;
}
.dgi-product-card .dgi-buy-default .content-cart {
    flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #e6e6e6; line-height: 42px;
    text-align: center; margin-right: 14px; font-size: 16px; transition: all .2s ease;
}
.dgi-product-card .dgi-buy-default .content-cart a { display: block; color: #333; }
.dgi-product-card .dgi-buy-default .content-cart:hover { background: var(--primary); border-color: var(--primary); }
.dgi-product-card .dgi-buy-default .content-cart:hover a { color: #fff; }
.dgi-product-card .dgi-buy-default .content-price { line-height: 1.2; }
.dgi-product-card .dgi-buy-default .old-price {
    display: block; text-decoration: line-through; color: #bcbcbc; font-size: 14px;
}
.dgi-product-card .dgi-buy-default .new-price {
    display: block; color: var(--primary); font-size: 18px; font-weight: 700;
}
.dgi-product-card .dgi-buy-hover {
    position: absolute; left: 0; right: 0; top: 0; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; font-weight: 600; letter-spacing: .3px; font-size: 14px;
    opacity: 0; visibility: hidden; transition: all .25s ease;
}
.dgi-product-card .dgi-buy-hover:hover { background: #5a3a1e; color: #fff; }
.dgi-product-card:hover .dgi-buy-default { opacity: 0; visibility: hidden; }
.dgi-product-card:hover .dgi-buy-hover { opacity: 1; visibility: visible; }

/* Active wishlist state (product already in wishlist) */
.product-style-01 .thumb .cart-action li a.dgi-wish-btn.active {
    background: var(--primary);
    color: #fff;
}
.product-style-01 .thumb .cart-action li a.dgi-wish-btn.active i,
.product-style-01 .thumb .cart-action li a.dgi-wish-btn.active i:before {
    color: #fff !important;
}

/* --- Brand logos row --- */
.dgi-brand-row .single-brand img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: opacity .2s ease, filter .2s ease;
}
.dgi-brand-row .single-brand:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ================= THEME COLOR OVERRIDES =================
   Stooon's bootstrap (loaded after AIZ) resets .btn-primary/.text-primary to
   its own BLUE. Force them back to the store theme color so AIZ components
   (add-to-cart modal, cart, badges) match the theme. */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.badge-primary { background-color: var(--primary) !important; color: #fff !important; }
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--hov-primary) !important;
    border-color: var(--hov-primary) !important;
    color: #fff !important;
}
.btn-soft-primary { background-color: var(--soft-primary) !important; color: var(--primary) !important; border-color: transparent !important; }
.bg-soft-primary { background-color: var(--soft-primary) !important; }
a.text-primary:hover { color: var(--hov-primary) !important; }
.btn-link { color: var(--primary) !important; }
.btn-link:hover { color: var(--hov-primary) !important; }
/* AIZ selected option box (size/color) accent */
.aiz-megabox > input:checked ~ .aiz-megabox-elem { border-color: var(--primary) !important; color: var(--primary) !important; }

/* ================= AIZ TOAST NOTIFICATIONS (theme match) =================
   Stooon bootstrap .alert-* override kar deta tha (text color/border) → toast
   toota/off dikhta tha. Yahan clean + brand-themed banate hain. */
.aiz-notify.alert {
    color: #fff !important;
    border: 0 !important;
    padding: 14px 50px 14px 18px !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 24px rgba(38,45,58,.22) !important;
    font-weight: 500;
}
.aiz-notify.alert .close,
.aiz-notify.alert .close i { color: #fff !important; opacity: .85; text-shadow: none; }
.aiz-notify.alert-success,
.aiz-notify.alert-primary { background-color: var(--primary) !important; }
.aiz-notify.alert-danger  { background-color: #e74c3c !important; }
.aiz-notify.alert-warning { background-color: #f0932b !important; color: #fff !important; }
.aiz-notify.alert-info    { background-color: #25bcf1 !important; }
.aiz-notify.alert-dark    { background-color: #111723 !important; }
.aiz-notify .progress-bar { background-color: rgba(255,255,255,.75) !important; }

/* ================= SINGLE PRODUCT PAGE ================= */
/* Gallery fixed boxes */
.dgi-product-detail .slider-tabfor .single-item img {
    width: 100%; height: 460px; object-fit: cover; object-position: top center; border-radius: 6px; background: #f6f7f9;
}
.dgi-product-detail .slider-tabnav { margin-top: 12px; }
.dgi-product-detail .slider-tabnav .single-item { padding: 0 4px; }
.dgi-product-detail .slider-tabnav .single-item .img img {
    width: 100%; height: 80px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 1px solid #eee;
}
@media (max-width: 767px){ .dgi-product-detail .slider-tabfor .single-item img { height: 320px; } }

/* Variant option (size etc.) as functional buttons */
.dgi-opt-list, .dgi-color-list { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
/* Neutralize Stooon .size-list/.color-list li styling (fixed 32px + black hover) that conflicts with our label buttons */
.dgi-opt-list li, .dgi-color-list li {
    width: auto !important; height: auto !important; border: 0 !important;
    margin: 0 !important; line-height: normal !important; text-align: left !important;
}
.dgi-opt-list li:hover, .dgi-color-list li:hover { background: transparent !important; }
.dgi-opt-label input, .dgi-color-label input { display: none; }
.dgi-opt-label span {
    display: inline-block; border: 1px solid #dcdfe4; border-radius: 4px; padding: 5px 14px;
    margin: 0 6px 6px 0; cursor: pointer; font-size: 13px; font-weight: 600; transition: all .15s ease;
}
.dgi-opt-label input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.dgi-color-label span {
    display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #e6e6e6;
    cursor: pointer; margin: 0 6px 6px 0; box-shadow: inset 0 0 0 2px #fff;
}
.dgi-color-label input:checked + span { border-color: var(--primary); transform: scale(1.1); }
.dgi-attr-row { margin: 10px 0; }
.dgi-product-detail .color-green { color: #27ae60; }
.dgi-product-detail .color-red { color: #e74c3c; }

/* Quantity group */
.dgi-qty-group { width: 130px; border: 1px solid #dcdfe4; border-radius: 4px; margin-right: 15px; }
.dgi-qty-group .btn { color: var(--primary); }
.dgi-qty-group input { border: 0; box-shadow: none; }

/* Wishlist / compare links */
.dgi-pd-actions { margin: 15px 0; }
.dgi-pd-link { display: inline-block; margin-right: 20px; font-size: 13px; font-weight: 600; color: #555; }
.dgi-pd-link:hover, .dgi-pd-link.active { color: var(--primary); }
.dgi-pd-link.active .fa-heart { color: var(--primary); }

/* Description + reviews */
.dgi-desc-body { line-height: 1.8; }
.dgi-desc-body img { max-width: 100%; height: auto; }
.dgi-review-item { padding: 16px 0; border-bottom: 1px solid #eee; }
.dgi-review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 14px; flex-shrink: 0; }
.dgi-review-item .rating .fa { color: #f5a623; font-size: 12px; }

/* Right widgets */
.dgi-product-detail .delivery-widget .single-delivery-item { padding: 14px 0; border-bottom: 1px solid #eee; }
.dgi-product-detail .delivery-widget h4 { font-size: 14px; margin: 0; }
.dgi-product-detail .delivery-widget i { color: var(--primary); font-size: 18px; }
.dgi-product-detail .checkout-widget .checkout-list { list-style: none; display: flex; flex-wrap: wrap; padding: 0; }
.dgi-product-detail .checkout-widget .checkout-list li { margin: 4px; }

/* ================= CHECKOUT FLOW (all steps: spacing + polish) ================= */
.dgi-checkout-flow { padding-top: 50px !important; padding-bottom: 20px; }
/* gap below the milestone steps bar (was cramped/stuck) */
.dgi-checkout-flow .aiz-steps { margin-bottom: 45px; }
#cart-summary { margin-top: 0; }
/* milestone step labels + icons */
.dgi-checkout-flow .aiz-steps h3 { margin-top: 6px; }
.dgi-checkout-flow .aiz-steps .col { position: relative; }
/* checkout content cards: consistent rounded + spacing */
.dgi-checkout-flow .shadow-sm,
.dgi-checkout-flow .card,
.dgi-checkout-flow .bg-white { border-radius: 8px; }
.dgi-checkout-flow .aiz-address,
.dgi-checkout-flow .card { border: 1px solid #eef0f3; }
/* section headings inside checkout */
.dgi-checkout-flow h1, .dgi-checkout-flow h2.h4, .dgi-checkout-flow .h5 { font-weight: 600; }

/* ===== Checkout step card (content) + order summary sidebar ===== */
.dgi-checkout-card { background: #fff; border: 1px solid #eef0f3; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.dgi-checkout-card-head { background: var(--primary); color: #fff; font-weight: 600; padding: 14px 20px; font-size: 15px; }
.dgi-checkout-card-head i { margin-right: 8px; }
.dgi-checkout-card-body { padding: 22px; }
.dgi-checkout-card-body > .shadow-sm,
.dgi-checkout-card-body > .bg-white {
    box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important;
}
.dgi-checkout-card .aiz-megabox { border: 1px solid #e5e7ec; border-radius: 6px; transition: border-color .2s ease; }
.dgi-checkout-card .aiz-megabox:hover { border-color: var(--primary); }

.dgi-order-summary { background: #f8f8fb; border: 1px solid #eef0f3; border-radius: 8px; padding: 22px; }
.dgi-os-title { font-size: 16px; font-weight: 700; border-bottom: 1px solid #e5e7ec; padding-bottom: 14px; margin-bottom: 16px; }
.dgi-os-items { list-style: none; padding: 0; margin: 0 0 14px; }
.dgi-os-items li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.dgi-os-thumb { position: relative; flex-shrink: 0; margin-right: 12px; }
.dgi-os-thumb img { width: 52px; height: 60px; object-fit: cover; border-radius: 6px; background: #fff; border: 1px solid #eee; }
.dgi-os-qty { position: absolute; top: -8px; right: -8px; background: var(--primary); color: #fff; font-size: 11px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px; padding: 0 5px; }
.dgi-os-name { flex-grow: 1; font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; }
.dgi-os-price { font-weight: 700; font-size: 13px; color: #333; white-space: nowrap; margin-left: 8px; }
.dgi-os-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.dgi-os-total { border-top: 1px solid #e5e7ec; margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 16px; }
.dgi-os-total span:last-child { color: var(--primary); }
.dgi-checkout-back { color: #777; font-size: 13px; font-weight: 600; }
.dgi-checkout-back:hover { color: var(--primary); }

/* delivery / payment inner cards -> Stooon look (magenta header) */
.dgi-checkout-body .card { border: 1px solid #eef0f3 !important; border-radius: 8px !important; overflow: hidden; box-shadow: none !important; margin-bottom: 20px; }
.dgi-checkout-body .card > .card-header { background: var(--primary) !important; border: 0 !important; padding: 14px 20px !important; }
.dgi-checkout-body .card > .card-header,
.dgi-checkout-body .card > .card-header * { color: #fff !important; }
.dgi-checkout-body .card > .card-header h5, .dgi-checkout-body .card > .card-header h6 { margin: 0; font-weight: 600; }
/* any magenta/bg-primary header inside checkout (e.g. payment summary) -> white text */
.dgi-checkout-body .bg-primary, .dgi-checkout-body .bg-primary * { color: #fff !important; }
.dgi-checkout-body .card > .card-footer { background: #fff; border-top: 1px solid #eef0f3; }
.dgi-checkout-body .aiz-megabox-elem { border: 1px solid #e5e7ec; border-radius: 6px; transition: border-color .2s ease; }
.dgi-checkout-body .aiz-megabox > input:checked ~ .aiz-megabox-elem { border-color: var(--primary) !important; }

/* checkout primary button (full-width in sidebar) */
.dgi-checkout-body .btn-checkout, .dgi-checkout-flow .btn-checkout {
    display: block; width: 100%; text-align: center; background: var(--primary);
    color: #fff !important; padding: 13px 16px; border-radius: 4px; font-weight: 600; border: 0;
}
.dgi-checkout-body .btn-checkout:hover, .dgi-checkout-flow .btn-checkout:hover { background: var(--hov-primary); }

/* ================= CART PAGE (Stooon style) ================= */
.dgi-cart-area { }
.dgi-cart-table { background: #fff; }
.dgi-cart-table thead th {
    background: var(--primary); color: #fff; border-color: var(--primary);
    font-weight: 600; padding: 14px; text-align: center; vertical-align: middle;
}
.dgi-cart-table tbody td, .dgi-cart-table tbody th {
    vertical-align: middle; padding: 14px; text-align: center; border-color: #eef0f3;
}
.dgi-cart-table tbody th.d-flex { text-align: left; align-items: center; }
.dgi-cart-table .left img { width: 70px; height: 84px; object-fit: cover; border-radius: 4px; margin-right: 14px; background: #f6f7f9; }
.dgi-cart-table .right { text-align: left; }
.dgi-cart-table .right .name { margin: 0; }
.dgi-cart-table .right .name a { font-size: 14px; font-weight: 600; color: #222; }
.dgi-cart-table .right .name a:hover { color: var(--primary); }
.dgi-cart-table .right .title { font-size: 12px; color: #8a8a8a; margin: 3px 0 0; font-weight: 500; }
.dgi-cart-table .right .title .values { color: #333; }
.dgi-cart-line-total { color: var(--primary) !important; font-weight: 700; }
.dgi-cart-qty { display: inline-flex; align-items: center; border: 1px solid #e2e5ea; border-radius: 4px; overflow: hidden; }
.dgi-cart-qty .btn-number { background: #f6f7f9; border: 0; width: 32px; height: 36px; color: #333; padding: 0; border-radius: 0; }
.dgi-cart-qty .btn-number:hover { background: var(--primary); color: #fff; }
.dgi-cart-qty input { width: 46px; height: 36px; border: 0; text-align: center; -moz-appearance: textfield; font-weight: 600; }
.dgi-cart-qty input::-webkit-outer-spin-button, .dgi-cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dgi-cart-table .action a { color: #e74c3c; font-size: 16px; }
.dgi-cart-table .action a:hover { color: var(--primary); }

/* Summary sidebar */
.dgi-cart-summary { background: #f8f8fb; border: 1px solid #eef0f3; border-radius: 8px; padding: 24px; }
.dgi-cart-summary .title { font-size: 16px; font-weight: 700; border-bottom: 1px solid #e5e7ec; padding-bottom: 14px; margin-bottom: 16px; }
.dgi-cart-summary .total { padding: 7px 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
.dgi-cart-summary .total p { margin: 0; font-size: 14px; color: #444 !important; }
.dgi-cart-summary .dgi-order-total { border-top: 1px solid #e5e7ec; margin-top: 10px; padding-top: 14px; }
.dgi-cart-summary .dgi-order-total p { font-weight: 700; font-size: 16px; }
.dgi-cart-summary .dgi-order-total p:last-child { color: var(--primary); }

/* Cart buttons */
.dgi-cart-area .btn-checkout, .dgi-empty-cart .btn-checkout {
    display: block; width: 100%; text-align: center; background: var(--primary);
    color: #fff !important; padding: 12px 16px; border-radius: 4px; font-weight: 600; border: 0;
}
.dgi-cart-area .btn-checkout:hover { background: var(--hov-primary); }
.dgi-empty-cart .btn-checkout { width: auto; }
.dgi-cart-area .btn-continue { background: #222; color: #fff !important; padding: 11px 22px; border-radius: 4px; font-weight: 600; display: inline-block; }
.dgi-cart-area .btn-continue:hover { background: #000; }
.dgi-empty-cart i { color: #d0d3da; }

/* ================= ACCOUNT DASHBOARD ================= */
.dgi-account-flex { gap: 24px; }

/* Account sidebar on small screens.
   992-1199: AIZ hides it (<xl) with no open button -> force it visible side-by-side.
   <992: a LEFT SLIDE-IN DRAWER opened by the "Account Menu" button (.dgi-account-menu-btn),
   same drawer behaviour as the main mobile nav. */
.dgi-account-menu-btn { display: none; }
@media (min-width: 992px) and (max-width: 1199px) {
    .dgi-account-area .aiz-user-sidenav-wrap {
        display: block !important;
        position: static !important;
        transform: none !important;
        flex: 0 0 240px !important;
        max-width: 240px !important;
    }
    .dgi-account-area .aiz-user-sidenav-wrap .absolute-top-right,
    .dgi-account-area .aiz-user-sidenav-wrap .absolute-top-left { display: none !important; }
}
@media (max-width: 991px) {
    .dgi-account-menu-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        background: var(--primary);
        color: #fff;
        border: 0;
        border-radius: 6px;
        padding: 9px 16px;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 18px;
    }
    .dgi-account-menu-btn i { font-size: 18px; }
    .dgi-account-area .aiz-user-sidenav-wrap {
        position: fixed !important;
        top: 0; left: 0; bottom: 0;
        width: 84%;
        max-width: 330px;
        height: 100%;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 10001 !important;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        display: block !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    /* inner panel must not clip -> let the wrap scroll the whole thing */
    .dgi-account-area .aiz-user-sidenav-wrap .aiz-user-sidenav { overflow: visible !important; height: auto !important; }
    .dgi-account-area .aiz-user-sidenav-wrap.show { transform: translateX(0) !important; }
    /* corner X closes the drawer; hide the corner logout for a clean drawer */
    .dgi-account-area .aiz-user-sidenav-wrap .absolute-top-right { display: block !important; }
    .dgi-account-area .aiz-user-sidenav-wrap .absolute-top-left { display: none !important; }
    .dgi-account-content { width: 100%; }
}
.dgi-account-area .aiz-user-sidenav-wrap { border: 1px solid #eef0f3; border-radius: 12px; box-shadow: 0 6px 22px rgba(0,0,0,.05); background: #fff; overflow: hidden; padding-top: 0 !important; }
.dgi-account-content { flex-grow: 1; min-width: 0; }

/* profile card (top of sidebar) */
.dgi-account-profile-head { background: linear-gradient(135deg, var(--primary), #5a3a1e); padding: 30px 20px 22px; text-align: center; }
.dgi-account-avatar { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,.35); background: #fff; margin-bottom: 12px; }
.dgi-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dgi-account-name { color: #fff !important; font-size: 17px; font-weight: 700; margin: 0; }
.dgi-account-rank { display: inline-block; margin-top: 9px; background: rgba(255,255,255,.22); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 16px; border-radius: 20px; }
.dgi-account-info { list-style: none; margin: 0; padding: 14px 20px 4px; }
.dgi-account-info li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed #eef0f3; font-size: 13px; }
.dgi-account-info li:last-child { border-bottom: 0; }
.dgi-account-info li span { color: #9aa0ac; }
.dgi-account-info li b { color: #333; font-weight: 600; text-align: right; }

/* content cards clean */
.dgi-account-content .card { border: 1px solid #eef0f3 !important; border-radius: 10px !important; box-shadow: 0 4px 16px rgba(0,0,0,.04) !important; }
.dgi-account-content .card > .card-header { background: #fff; border-bottom: 1px solid #eef0f3; font-weight: 600; font-size: 15px; padding: 15px 20px; }
.dgi-account-content .aiz-titlebar, .dgi-account-content > .card > .card-header { border-radius: 10px 10px 0 0; }
/* sidebar nav: magenta active + hover */
.dgi-account-area .aiz-side-nav-link { border-radius: 6px; transition: all .15s ease; }
.dgi-account-area .aiz-side-nav-link:hover { color: var(--primary) !important; background: var(--soft-primary) !important; }
.dgi-account-area .aiz-side-nav-link.active,
.dgi-account-area .aiz-side-nav-item .aiz-side-nav-link[class*="active"] {
    color: var(--primary) !important; background: var(--soft-primary) !important; font-weight: 600;
}
.dgi-account-area .aiz-side-nav-link:hover .aiz-side-nav-icon,
.dgi-account-area .aiz-side-nav-link.active .aiz-side-nav-icon { color: var(--primary) !important; }
/* content cards keep rounded */
.dgi-account-content .card, .dgi-account-content .aiz-card-box { border-radius: 10px; }

/* ===== Modern dashboard stat cards (replaced the old gradient-wave cards) ===== */
.dgi-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 16px 15px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease;
    min-height: 84px;
}
.dgi-stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .09); }
.dgi-stat-icon {
    flex: 0 0 50px;
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: #fff;
}
.dgi-stat-info { min-width: 0; }
.dgi-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #232323;
    line-height: 1.15;
    word-break: break-word;
}
.dgi-stat-label { font-size: 12px; color: #9098a3; margin-top: 3px; line-height: 1.3; }
.dgi-stat-brown .dgi-stat-icon { background: linear-gradient(135deg, #a6753f, #6d4522); }
.dgi-stat-green .dgi-stat-icon { background: linear-gradient(135deg, #34b98a, #1f8f6a); }
.dgi-stat-blue  .dgi-stat-icon { background: linear-gradient(135deg, #4c8ee0, #2f6bc0); }
.dgi-stat-amber .dgi-stat-icon { background: linear-gradient(135deg, #e6a93b, #cf8b1c); }
.dgi-stat-plum  .dgi-stat-icon { background: linear-gradient(135deg, #a267a8, #7d4a84); }
.dgi-stat-teal  .dgi-stat-icon { background: linear-gradient(135deg, #33afb8, #1e8f97); }
@media (max-width: 575px) {
    .dgi-stat-card { padding: 13px 12px; gap: 11px; min-height: 74px; border-radius: 12px; }
    .dgi-stat-icon { flex: 0 0 42px; width: 42px; height: 42px; font-size: 20px; border-radius: 11px; }
    .dgi-stat-value { font-size: 16px; }
    .dgi-stat-label { font-size: 10.5px; }
}

/* ================= 404 / ERROR (Stooon design) ================= */
.dgi-error-area { padding: 50px 0 80px; }
.dgi-error-area .error-content h2 { font-weight: 700; margin-bottom: 14px; }
.dgi-error-area .error-content h6 { color: #888; line-height: 1.8; margin-bottom: 20px; }
.dgi-error-area .error-content img { max-width: 560px; width: 100%; height: auto; margin: 10px auto 30px; display: block; }
.dgi-error-area .btn-error { display: inline-block; background: var(--primary); color: #fff !important; padding: 12px 30px; border-radius: 5px; font-weight: 600; }
.dgi-error-area .btn-error:hover { background: var(--hov-primary); color: #fff !important; }

/* ================= ABOUT ================= */
.dgi-about-img img { width: 100%; border-radius: 10px; }
.dgi-about-sub { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.dgi-about-text h3 { font-size: 30px; font-weight: 700; margin: 12px 0 18px; line-height: 1.3; }
.dgi-about-text p { color: #666; line-height: 1.9; margin-bottom: 20px; }
.dgi-about-features { background: #f8f8fb; padding: 50px 0 30px; }
.dgi-feature-box { text-align: center; }
.dgi-feature-box i { font-size: 36px; color: var(--primary); margin-bottom: 14px; display: block; }
.dgi-feature-box h5 { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.dgi-feature-box p { color: #888; font-size: 13px; margin: 0; }

/* ================= CONTACT ================= */
.dgi-contact-box { text-align: center; background: #fff; border: 1px solid #eef0f3; border-radius: 10px; padding: 34px 20px; height: 100%; transition: all .2s ease; }
.dgi-contact-box:hover { box-shadow: 0 10px 30px rgba(0,0,0,.07); transform: translateY(-3px); }
.dgi-contact-box .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--soft-primary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
.dgi-contact-box a, .dgi-contact-box p { display: block; color: #333; font-weight: 600; margin-bottom: 4px; }
.dgi-contact-box a:hover { color: var(--primary); }
.dgi-contact-box span { color: #999; font-size: 13px; }
.dgi-contact-form-card { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 36px; box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.dgi-contact-form-card .form-control { height: auto; padding: 11px 14px; }
.dgi-contact-form-card textarea.form-control { height: auto; }

/* ================= LOGIN / REGISTER ================= */
.dgi-auth-card { border: 1px solid #eef0f3 !important; border-radius: 10px !important; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.dgi-auth-head { background: var(--primary); color: #fff; text-align: center; padding: 26px 20px; }
.dgi-auth-head i { font-size: 34px; margin-bottom: 8px; display: block; }
.dgi-auth-head h1 { font-size: 18px; font-weight: 600; margin: 0; color: #fff; }
.dgi-auth-area .btn-primary { padding: 11px; }
.dgi-auth-area .form-control { height: auto; padding: 11px 14px; }

/* ================= BLOG ================= */
.dgi-blog-card { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.dgi-blog-card .thumb { position: relative; }
.dgi-blog-card .thumb img { width: 100%; height: 320px; object-fit: cover; display: block; }
.dgi-blog-card .thumb .tag { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px; text-transform: capitalize; }
.dgi-blog-card .content { padding: 24px; }
.dgi-blog-card .content .date { color: var(--primary); font-size: 12px; font-weight: 600; }
.dgi-blog-card .content h2 { margin: 8px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.dgi-blog-card .content h2 a { color: #222; }
.dgi-blog-card .content h2 a:hover { color: var(--primary); }
.dgi-blog-card .content p { color: #666; line-height: 1.75; margin-bottom: 18px; }
.btn-read { display: inline-block; background: var(--primary); color: #fff !important; padding: 9px 22px; border-radius: 5px; font-weight: 600; font-size: 13px; }
.btn-read:hover { background: var(--hov-primary); color: #fff !important; }

.dgi-blog-sidebar { background: #f8f8fb; border: 1px solid #eef0f3; border-radius: 10px; padding: 24px; }
.dgi-blog-widget-title { font-size: 17px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.dgi-recent-post { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.dgi-recent-post:last-child { border-bottom: 0; }
.dgi-recent-thumb { flex-shrink: 0; margin-right: 12px; }
.dgi-recent-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.dgi-recent-info { display: flex; flex-direction: column; min-width: 0; }
.dgi-recent-title { font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; }
.dgi-recent-post:hover .dgi-recent-title { color: var(--primary); }
.dgi-recent-date { font-size: 11px; color: #999; margin-top: 4px; }

.dgi-blog-single-thumb img { width: 100%; border-radius: 10px; margin-bottom: 22px; }
.dgi-blog-single-meta { margin-bottom: 12px; }
.dgi-blog-single-meta span { color: #888; font-size: 13px; margin-right: 18px; }
.dgi-blog-single-meta i { color: var(--primary); }
.dgi-blog-single-title { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 18px; color: #222; }
.dgi-blog-single-body { line-height: 1.85; color: #4a4a4a; }
.dgi-blog-single-body img { max-width: 100%; height: auto; }

/* ================= POLICY / INFO CONTENT PAGES ================= */
.dgi-policy-content {
    background: #fff; border: 1px solid #eef0f3; border-radius: 8px;
    padding: 34px; line-height: 1.85; color: #4a4a4a; overflow-x: auto;
}
.dgi-policy-content h1, .dgi-policy-content h2, .dgi-policy-content h3,
.dgi-policy-content h4, .dgi-policy-content h5 { font-weight: 600; margin: 22px 0 12px; color: #222; }
.dgi-policy-content > :first-child { margin-top: 0; }
.dgi-policy-content p { margin-bottom: 14px; }
.dgi-policy-content ul, .dgi-policy-content ol { padding-left: 22px; margin-bottom: 14px; }
.dgi-policy-content li { margin-bottom: 6px; }
.dgi-policy-content a { color: var(--primary); }
.dgi-policy-content a:hover { color: var(--hov-primary); }
.dgi-policy-content img { max-width: 100%; height: auto; }
.dgi-policy-content table { max-width: 100%; }
@media (max-width: 575px){ .dgi-policy-content { padding: 20px; } }

/* ================= ALL BRANDS ================= */
.dgi-brand-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #eef0f3; border-radius: 10px; padding: 26px 16px; height: 100%; transition: all .2s ease; text-align: center; }
.dgi-brand-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-3px); border-color: transparent; }
.dgi-brand-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.dgi-brand-logo img { max-height: 80px; max-width: 100%; object-fit: contain; }
.dgi-brand-name { font-weight: 600; font-size: 14px; color: #333; }
.dgi-brand-card:hover .dgi-brand-name { color: var(--primary); }

/* ================= SELECTPICKER (bootstrap-select) DROPDOWNS ================= */
.bootstrap-select .dropdown-menu { box-shadow: 0 8px 24px rgba(0,0,0,.12); border: 1px solid #eef0f3; border-radius: 6px; }
.bootstrap-select .dropdown-menu > li.selected > a,
.bootstrap-select .dropdown-menu > li.active > a,
.bootstrap-select .dropdown-menu > .active > a,
.bootstrap-select .dropdown-menu > li > a:hover,
.bootstrap-select .dropdown-menu > li > a:focus { background: var(--primary) !important; color: #fff !important; }

/* ================= HEADER NAV-RIGHT ICONS ALIGNMENT ================= */
.stoon-navbar .nav-right-part > ul {
    display: flex !important; align-items: center; margin: 0; padding: 0; list-style: none;
}
.stoon-navbar .nav-right-part > ul > li {
    display: flex !important; align-items: center; float: none; margin: 0; padding: 0 13px; height: auto;
}
.stoon-navbar .nav-right-part > ul > li > a {
    display: inline-flex !important; align-items: center; line-height: 1; color: inherit; position: relative;
}
.stoon-navbar .nav-right-part > ul > li > a > i {
    font-size: 19px !important; line-height: 1 !important; vertical-align: middle;
}
/* user dropdown items keep their own (small) icon size */
.stoon-navbar .nav-right-part .user-dropdown li a i { font-size: 14px !important; width: 18px; text-align: center; margin-right: 6px; }
/* hide the AIZ text labels ("Cart"/"Wishlist") so only icons show */
.stoon-navbar .nav-right-part > ul > li .nav-box-text { display: none !important; }
.stoon-navbar .nav-right-part > ul > li a > span.flex-grow-1 { margin: 0 !important; flex: none !important; display: inline; }
/* unified badge: small chip on top-right of each icon */
.stoon-navbar .nav-right-part > ul > li .badge {
    position: absolute !important; top: -8px !important; right: -10px !important; left: auto !important;
    background: var(--primary) !important; color: #fff !important; font-size: 10px; font-weight: 600;
    min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; border-radius: 10px; text-align: center; margin: 0;
}

/* ================= HEADER CART DROPDOWN (polished) ================= */
.dgi-nav-cart-link { display: inline-flex; align-items: center; color: inherit; position: relative; }
.dgi-nav-cart-link .fa { font-size: 20px; line-height: 1; }
.nav-right-part ul > li#cart_items .dgi-nav-cart-link .badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--primary); color: #fff; font-size: 10px;
    min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; border-radius: 10px; text-align: center;
}
.dgi-nav-cart-drop {
    min-width: 330px; padding: 0 !important; border: 0; border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.16); overflow: hidden; margin-top: 14px;
}
.dgi-cart-drop-head {
    background: var(--primary); color: #fff; font-weight: 600; font-size: 14px;
    padding: 13px 18px; display: flex; align-items: center;
}
.dgi-cart-drop-head i { margin-right: 8px; }
.dgi-cart-drop-count { margin-left: auto; background: rgba(255,255,255,.25); border-radius: 20px; font-size: 12px; padding: 1px 10px; }
.dgi-cart-drop-list { list-style: none; margin: 0; padding: 6px 0; max-height: 300px; overflow-y: auto; }
.dgi-cart-drop-list li { display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f1f2f5; }
.dgi-cart-drop-list li:last-child { border-bottom: 0; }
.dgi-cart-drop-thumb { flex-shrink: 0; }
.dgi-cart-drop-thumb img { width: 56px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; background: #f6f7f9; }
.dgi-cart-drop-info { flex-grow: 1; padding: 0 12px; min-width: 0; }
/* Stooon nav sets a { font-size:20px } for icons — force normal size on dropdown anchors */
.dgi-nav-cart-drop a { font-size: 13px !important; line-height: 1.4 !important; text-transform: none !important; }
.dgi-cart-drop-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px !important; font-weight: 600; color: #333; line-height: 1.35 !important; margin-bottom: 4px; }
.dgi-cart-drop-name:hover { color: var(--primary); }
.dgi-cart-drop-meta { font-size: 13px; }
.dgi-cart-drop-qty { color: #888; }
.dgi-cart-drop-price { color: var(--primary); font-weight: 700; }
.dgi-cart-drop-remove { background: transparent; border: 0; color: #bbb; font-size: 14px; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; padding: 0; }
.dgi-cart-drop-remove:hover { background: #ffe9e9; color: #e74c3c; }
.dgi-cart-drop-subtotal { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid #eef0f3; font-size: 14px; }
.dgi-cart-drop-subtotal-val { font-weight: 700; font-size: 16px; color: var(--primary); }
.dgi-cart-drop-actions { display: flex; gap: 8px; padding: 0 14px 14px; }
.dgi-cart-drop-btn { flex: 1; text-align: center; background: var(--primary); color: #fff !important; padding: 7px 10px; border-radius: 5px; font-weight: 600; font-size: 12px !important; line-height: 1.4 !important; }
.dgi-cart-drop-btn:hover { background: var(--hov-primary); }
.dgi-cart-drop-btn-outline { background: #fff; color: var(--primary) !important; border: 1px solid var(--primary); }
.dgi-cart-drop-btn-outline:hover { background: var(--soft-primary); }
.dgi-cart-drop-empty { text-align: center; padding: 28px 20px; }
.dgi-cart-drop-empty i { font-size: 32px; color: #d5d8df; margin-bottom: 12px; }
.dgi-cart-drop-empty p { font-weight: 600; color: #666; margin-bottom: 14px; }
.dgi-cart-drop-empty .dgi-cart-drop-btn { display: inline-block; flex: none; padding: 8px 20px; }

/* ---- Cart panel open/close (custom toggle; data-toggle="dropdown" removed because the
   double-bootstrap build makes it unreliable). Desktop = dropdown, mobile = left drawer. ---- */
#cart_items .dgi-nav-cart-drop.dgi-cart-open { display: block; }
.dgi-cart-drawer-close { display: none; }   /* only used inside the mobile drawer */
/* Stooon sets `.nav-right-part ul { display:flex }`, which laid the cart item list out
   as a horizontal row. Force the list back to a normal vertical stack (desktop + mobile). */
#cart_items .dgi-nav-cart-drop .dgi-cart-drop-list { display: block; }

@media (max-width: 991px) {
    /* CART DROPDOWN -> LEFT SLIDE-IN DRAWER (mirrors the nav-menu drawer) */
    #cart_items .dgi-nav-cart-drop {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0; left: 0; bottom: 0;
        width: 85%; max-width: 340px; height: 100%;
        min-width: 0;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: 2px 0 24px rgba(0, 0, 0, .18);
        transform: translateX(-100%) !important;   /* Stooon animates .dropdown-menu; needs !important */
        transition: transform .3s ease;
        visibility: hidden;                 /* off-screen + hidden until opened */
        z-index: 10001;                     /* above the overlay (10000) */
        animation: none !important;         /* kill any inherited dropdown open animation */
    }
    #cart_items .dgi-nav-cart-drop.dgi-cart-open {
        transform: translateX(0) !important;
        visibility: visible;
    }
    /* lift the header above the overlay while the cart drawer is open, and hide the
       other header icons behind it (same treatment as the nav drawer) */
    body.dgi-drawer-cart .stoon-navbar,
    body.dgi-drawer-cart .stoon-navbar .navbar.navbar-area { z-index: 10002 !important; }
    body.dgi-drawer-cart .nav-right-part > ul { visibility: hidden !important; }
    body.dgi-drawer-cart #cart_items .dgi-nav-cart-drop.dgi-cart-open { visibility: visible !important; }
    /* Item list fills the space AND scrolls when there are many items. min-height:0 is
       required so the flex item can shrink and scroll INTERNALLY (its own overflow) instead
       of growing and pushing the subtotal/buttons off-screen. */
    #cart_items .dgi-nav-cart-drop .dgi-cart-drop-list {
        max-height: none; flex: 1 1 auto; min-height: 0;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    /* header + subtotal + buttons stay pinned (don't shrink) while the list scrolls */
    #cart_items .dgi-nav-cart-drop .dgi-cart-drop-head,
    #cart_items .dgi-nav-cart-drop .dgi-cart-drop-subtotal,
    #cart_items .dgi-nav-cart-drop .dgi-cart-drop-actions { flex-shrink: 0; }
    /* empty cart: fill the space under the header and centre the message in the drawer */
    #cart_items .dgi-nav-cart-drop .dgi-cart-drop-empty {
        flex: 1 1 auto; min-height: 0;
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
    }
    /* round close button, top-right inside the drawer (works for empty cart too).
       White circle so it stays visible on BOTH the brown header and the white empty state. */
    .dgi-cart-drawer-close {
        display: flex; align-items: center; justify-content: center;
        top: 9px; right: 10px; width: 30px; height: 30px; font-size: 20px;
        background: #fff; color: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
    }
    /* count badge sat exactly where the close button is; header title is enough */
    #cart_items .dgi-cart-drop-count { display: none; }
}

/* ================= ADD-TO-CART POPUP (Stooon style) ================= */
.dgi-cart-modal .dgi-cart-modal-img img {
    width: 100%; border-radius: 8px; background: #f6f7f9; object-fit: cover;
}
.dgi-cart-modal .product-title { font-size: 18px; font-weight: 600; line-height: 1.4; }
.dgi-cart-modal .price { font-size: 24px; font-weight: 700; color: var(--primary); }
.dgi-cart-modal .price .dgi-price-old { font-size: 15px; }
.dgi-cart-modal .color-green { color: #27ae60; }
.dgi-cart-modal .color-red { color: #e74c3c; }
.dgi-cart-modal .add-to-cart a {
    display: inline-block; background: var(--primary); color: #fff !important;
    padding: 11px 24px; border-radius: 4px; font-weight: 600; transition: all .2s ease;
}
.dgi-cart-modal .add-to-cart a:hover { background: var(--hov-primary); }
.dgi-cart-modal .btn-buy {
    display: inline-block; background: #222; color: #fff !important;
    padding: 11px 26px; border-radius: 4px; font-weight: 600; border: 0;
}
.dgi-cart-modal .btn-buy:hover { background: #000; }
.dgi-cart-modal .specifications { margin-bottom: 8px; }
/* Mobile: the popup filled almost the whole screen because the product image rendered
   full-width and very tall, pushing the buttons off-screen. Cap the image, tighten the
   padding, and let the popup body scroll so Add to cart / Buy Now are always reachable. */
@media (max-width: 767px) {
    #addToCart .modal-dialog { margin: .5rem auto !important; max-width: 94%; }
    #addToCart .modal-content { max-height: 94vh; }
    #addToCart-modal-body { max-height: 94vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    #addToCart .modal-body.dgi-cart-modal { padding: 16px !important; }
    .dgi-cart-modal .dgi-cart-modal-img img { max-height: 160px; object-fit: contain; }
    .dgi-cart-modal .product-title { font-size: 16px; }
    .dgi-cart-modal .price { font-size: 20px; }
    .dgi-cart-modal .dgi-cart-modal-btns .add-to-cart a,
    .dgi-cart-modal .dgi-cart-modal-btns .btn-buy { padding: 10px 18px; }
}

/* ================= SHOP / LISTING PAGE ================= */
.dgi-shop-area .dgi-filter-box {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    margin-bottom: 22px;
    overflow: hidden;
}
.dgi-shop-area .dgi-filter-title {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f3;
    text-transform: capitalize;
}
.dgi-shop-area .dgi-filter-body {
    padding: 16px;
}
.dgi-shop-area .dgi-filter-body ul li a:hover {
    color: var(--primary) !important;
}
.dgi-shop-toolbar {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    padding: 12px 16px;
}
.dgi-shop-count {
    font-size: 14px;
}
.dgi-filter-toggle {
    border: 1px solid #eef0f3;
    color: var(--primary);
    font-weight: 600;
}
/* pagination centered, primary color */
.dgi-pagination { display: flex; justify-content: center; }
.dgi-pagination .pagination { flex-wrap: wrap; }
.dgi-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}
.dgi-pagination .page-link { color: var(--primary); }

/* --- Keep AIZ notify / modals above Stooon overlays ---
   The cart/menu drawers sit at z-index 10001 (overlay 10000, navbar 10002). AIZ toasts
   (.aiz-notify, default z-index 1060) must clear all of them or the "item removed" /
   "added to cart" notice hides BEHIND the open drawer. */
.aiz-notification-box, .aiz-notify { z-index: 100000 !important; }
#body-overlay { z-index: 1040; }

/* --- Account dashboard stat cards: 2 per row on mobile (col-6 col-md-4),
   so shrink the big numbers/padding to fit the half-width tiles --- */
@media (max-width: 767px) {
    .bg-grad-1 .h3, .bg-grad-2 .h3, .bg-grad-3 .h3 {
        font-size: 1.15rem !important;
        line-height: 1.25;
        word-break: break-word;
    }
    .bg-grad-1 .px-3, .bg-grad-2 .px-3, .bg-grad-3 .px-3 {
        padding-left: .85rem !important;
        padding-right: .85rem !important;
        padding-top: 1rem !important;
    }
    .bg-grad-1 .opacity-50, .bg-grad-2 .opacity-50, .bg-grad-3 .opacity-50 {
        font-size: 11.5px;
    }
    .bg-grad-1.rounded-lg, .bg-grad-2.rounded-lg, .bg-grad-3.rounded-lg { margin-bottom: 1rem !important; }
}
@media (max-width: 400px) {
    .bg-grad-1 .h3, .bg-grad-2 .h3, .bg-grad-3 .h3 { font-size: 1rem !important; }
}

/* ============================================================
   ACCOUNT / DATA TABLES  (FooTable disabled in stooon layout)
   FooTable is turned off (see layouts/stooon.blade.php) because the
   double-bootstrap setup made it hide every cell and inject phantom
   "Column N" headers. Tables now render as plain Bootstrap tables;
   on small screens they scroll horizontally instead of collapsing.
   ============================================================ */
/* aiz-core.css sets `.aiz-table { opacity:0 }` and relies on FooTable's ready.ft.table
   event to fade it to opacity:1. We disabled FooTable, so that event never fires and the
   table stayed invisible (present in DOM, correct size, but transparent). Force it visible. */
.aiz-table { width: 100%; opacity: 1 !important; }
.aiz-table th,
.aiz-table td { vertical-align: middle; }
/* magenta-tinted header row to match the theme */
.aiz-table thead th {
    border-top: 0;
    border-bottom: 2px solid rgba(138, 90, 48, .12);
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}
.aiz-table tbody tr:hover { background: rgba(138, 90, 48, .03); }

@media (max-width: 767px) {
    /* Mobile tables: scroll horizontally via the CARD-BODY wrapper.
       (Setting display:block on the <table> itself collapses its height to 0 -> the whole
       table went invisible on mobile. Keep it a real table; let the container scroll.) */
    .dgi-account-content .card-body,
    .dgi-account-content .card > .table-responsive,
    .aiz-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .aiz-table {
        display: table !important;
        width: auto;
        min-width: 100%;
        white-space: nowrap;
    }
}

/* --- "Back to Admin" pill in the top bar (shows only while an admin is
   browsing as a customer via "Login as customer") --- */
.dgi-back-to-admin {
    background: var(--primary);
    color: #fff !important;
    padding: 3px 12px !important;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.4;
}
.dgi-back-to-admin:hover { background: #5a3a1e; color: #fff !important; }

/* ============================================================
   HOME HERO BANNER SLIDER
   The template rendered the big title in dark grey (#404040) with NO
   overlay, so on most slider photos the text was invisible. Add a
   left-weighted dark scrim + white bold text so it reads on ANY image.
   ============================================================ */
.banner-style-01 .banner__bg {
    position: relative;
    min-height: 520px;
    background-position: center center !important;
    background-size: cover !important;
}
.banner-style-01 .banner__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.45) 34%, rgba(0,0,0,.15) 62%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.banner-style-01 .banner-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.banner-style-01 .banner-content .subtitle {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-left: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.banner-style-01 .banner-content .subtitle::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 3px;
    background: var(--primary);
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 5px;
}
.banner-style-01 .banner-content .title {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 68px !important;
    line-height: 1.08 !important;
    text-shadow: 0 4px 22px rgba(0,0,0,.5);
    margin-bottom: 0;
}
.banner-style-01 .banner-content .btn-white {
    background: var(--primary) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 15px 38px !important;
    font-weight: 600 !important;
    letter-spacing: .5px;
    border-radius: 4px;
    box-shadow: 0 10px 26px rgba(138,90,48,.4);
    transition: all .25s ease;
}
.banner-style-01 .banner-content .btn-white:hover {
    background: #fff !important;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.banner-style-01 .banner-content .btn-white i { margin-left: 8px; }
@media (max-width: 991px) {
    .banner-style-01 .banner__bg { min-height: 300px; }
    .banner-style-01 .banner-content .title { font-size: 38px !important; }
    .banner-style-01 .banner-content .subtitle { font-size: 15px !important; letter-spacing: 3px; }
}
@media (max-width: 575px) {
    .banner-style-01 .banner__bg { min-height: 210px; }
    .banner-style-01 .container-fluid.px-5 { padding-left: 22px !important; padding-right: 22px !important; }
    .banner-style-01 .banner-content .subtitle { font-size: 12px !important; letter-spacing: 2px; margin-bottom: 8px; }
    .banner-style-01 .banner-content .subtitle::before { width: 22px; margin-right: 8px; }
    .banner-style-01 .banner-content .title { font-size: 24px !important; }
    .banner-style-01 .banner-content .margin-top-50 { margin-top: 16px !important; }
    .banner-style-01 .banner-content .btn-white { padding: 9px 20px !important; font-size: 12px; }
    /* stronger full overlay on small screens (text sits over image) */
    .banner-style-01 .banner__bg::before { background: rgba(0,0,0,.48); }
}

/* ============================================================
   HOME "SHOP BY CATEGORY" — landscape collection banners
   WOMEN / MEN / KIDS style: image background, inset border frame,
   category text on the left. Uniform fixed height so all cards line up.
   Upload LANDSCAPE ~2:1 images (e.g. 600x300 px); light/pastel photos
   work best because the overlay text is dark.
   ============================================================ */
.collection-style-01 .thumb { position: relative; overflow: hidden; }
.collection-style-01 .thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 240px;
}
/* subtle light wash on the left so the dark text stays readable on busy photos */
.collection-style-01 .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 45%, rgba(255,255,255,0) 75%);
    pointer-events: none;
    z-index: 1;
}
.collection-style-01 .thumb .content {
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    border: 1px solid rgba(0, 0, 0, .18);
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}
.collection-style-01 .thumb .content h3 {
    color: #1a1a1a !important;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.15;
}
.collection-style-01 .thumb .content h6 {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 400;
    margin: 0;
}
.collection-style-01 .thumb .content a {
    margin-top: 22px !important;
    display: inline-block !important;
    width: auto;
    color: #1a1a1a !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: capitalize;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--primary);
    transition: color .25s ease;
}
.collection-style-01 .thumb .content a:hover { color: var(--primary) !important; }
.collection-style-01 .thumb:hover .content { border-color: rgba(0, 0, 0, .38); }
.collection-style-01 .thumb:hover .content h3,
.collection-style-01 .thumb:hover .content h6 { color: #000 !important; }
@media (max-width: 991px) {
    .collection-style-01 .thumb img { height: 220px; min-height: 220px; }
    .collection-style-01 .thumb .content h3 { font-size: 26px; }
}
/* Mobile: 2-up compact tiles. Previously each card was full-width and about as
   tall as the hero banner (200px), so six of them dwarfed the banner. Paired with
   `col-6` in the markup, two categories now sit side by side as small landscape tiles. */
@media (max-width: 767px) {
    .collection-style-01 .thumb img { height: 150px; min-height: 150px; }
    /* On the small centre-cropped photo the dark, centred text was disappearing into
       busy areas of the image. On mobile switch to a bottom dark scrim + white text:
       the label stays legible over ANY photo while the full image remains visible. */
    .collection-style-01 .thumb::after {
        background: linear-gradient(to top, rgba(0,0,0,.74) 0%, rgba(0,0,0,.34) 40%, rgba(0,0,0,0) 70%);
    }
    .collection-style-01 .thumb .content {
        top: auto; left: 0; bottom: 0;
        width: 100%; height: auto;
        border: 0;
        padding: 10px 12px 11px;
        justify-content: flex-end;
        align-items: flex-start;
    }
    /* Font scaled to the small tile (long names like ACCESSORIES / TOPWEAR were clipping). */
    .collection-style-01 .thumb .content h3 {
        color: #fff !important;
        font-size: 14px !important; margin-bottom: 2px;
        letter-spacing: .2px; line-height: 1.15;
        text-shadow: 0 1px 3px rgba(0,0,0,.55);
    }
    /* redundant with the "View Collection" link below; drop it so tiny tiles aren't crammed */
    .collection-style-01 .thumb .content h6 { display: none; }
    .collection-style-01 .thumb .content a {
        color: #fff !important;
        margin-top: 3px !important; font-size: 9.5px; padding-bottom: 1px; letter-spacing: .3px;
        border-bottom-color: rgba(255,255,255,.9);
        text-shadow: 0 1px 2px rgba(0,0,0,.55);
    }
    .collection-style-01.margin-top-20 { margin-top: 12px !important; }
    /* tighter gutter so the two tiles read as a neat pair */
    .collection-banner .row { margin-left: -6px; margin-right: -6px; }
    .collection-banner .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 400px) {
    .collection-style-01 .thumb img { height: 128px; min-height: 128px; }
    .collection-style-01 .thumb .content { padding: 8px 10px 10px; }
    .collection-style-01 .thumb .content h3 { font-size: 12.5px !important; letter-spacing: 0; }
    .collection-style-01 .thumb .content a { font-size: 9px; margin-top: 2px !important; }
}

/* ============================================================
   TRENDING NOW — category tabs
   ============================================================ */
.tranding-area .tranding-tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}
.tranding-area .tranding-tab .nav-item { margin: 0; }
.tranding-area .tranding-tab .nav-link {
    display: block;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 13px 32px;
    margin: 0 -1px -1px 0;
    cursor: pointer;
    transition: all .2s ease;
}
.tranding-area .tranding-tab .nav-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    position: relative; z-index: 1;
}
.tranding-area .tranding-tab .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    position: relative; z-index: 2;
}
.tranding-area .dgi-trend-more {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 11px 30px;
    font-weight: 600;
    border-radius: 3px;
    transition: all .2s ease;
}
.tranding-area .dgi-trend-more:hover { background: #5a3a1e; color: #fff; }
@media (max-width: 767px) {
    .tranding-area .tranding-tab {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 18px;
    }
    .tranding-area .tranding-tab::-webkit-scrollbar { height: 0; }
    .tranding-area .tranding-tab .nav-link {
        padding: 10px 18px;
        font-size: 12.5px;
        white-space: nowrap;
    }
    .tranding-area .tab-content.dgi-trending-content { margin-top: 22px !important; }
}

/* ============================================================
   FLASH DEALS  (list banners + countdown)
   ============================================================ */
.dgi-flash-banner {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.dgi-flash-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(138, 90, 48, .22);
}
.dgi-flash-banner img { width: 100%; display: block; }
.dgi-flash-banner-title {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px 18px 14px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
}
/* flash-deal detail countdown -> magenta pills */
.aiz-count-down .count-down-wrap,
.aiz-count-down > span {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 8px;
}

/* ============================================================
   CLASSIFIED / SELLER SHOP  product-condition badges keep auto width
   ============================================================ */
.aiz-card-box .badge { width: auto; }
.aiz-card-box:hover { box-shadow: 0 10px 26px rgba(138, 90, 48, .14) !important; }
