/* Premium Modern E-commerce Overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --premium-font: 'Inter', sans-serif;
    --premium-bg: #ffffff;
    --premium-surface: #f9f9f9;
    --premium-border: #eaeaea;
    --premium-text-main: #111111;
    --premium-text-muted: #666666;
    --premium-accent: #000000;
    --premium-radius: 4px;
    --premium-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, select, textarea {
    font-family: var(--premium-font) !important;
}

body {
    background-color: var(--premium-bg) !important;
    color: var(--premium-text-main) !important;
    -webkit-font-smoothing: antialiased;
}

/* Global Elements */
a {
    color: var(--premium-text-main);
    text-decoration: none;
    transition: var(--premium-transition);
}

a:hover {
    color: var(--premium-text-muted);
}

.btn {
    border-radius: var(--premium-radius) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--premium-transition) !important;
    padding: 12px 24px !important;
    box-shadow: none !important;
}

.btn--base, .btn-primary {
    background-color: var(--premium-accent) !important;
    color: #fff !important;
    border: 1px solid var(--premium-accent) !important;
}

.btn--base:hover, .btn-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}

.btn-outline {
    background-color: transparent !important;
    color: var(--premium-accent) !important;
    border: 1px solid var(--premium-border) !important;
}
.btn-outline:hover {
    border-color: var(--premium-accent) !important;
}

/* Forms */
input, textarea, select, .form-control {
    border-radius: var(--premium-radius) !important;
    border: 1px solid var(--premium-border) !important;
    padding: 12px 16px !important;
    background-color: var(--premium-surface) !important;
    color: var(--premium-text-main) !important;
    font-size: 15px !important;
    transition: var(--premium-transition) !important;
    box-shadow: none !important;
}

input:focus, textarea:focus, select:focus, .form-control:focus {
    border-color: var(--premium-accent) !important;
    background-color: #fff !important;
    outline: none !important;
}

/* Header & Nav */
.main-header.header-style-premium {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--premium-border);
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Critical: mega-menu positions relative to this header */
    position: sticky !important;
}

.premium-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 991px) {
    .premium-container { padding: 0 20px; }
}

.premium-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
    position: static; /* Mega menu breaks out of this container */
    overflow: visible !important;
}

.premium-nav {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    height: 80px; /* Match header height so mega menu anchors at bottom */
}

.premium-nav > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.premium-nav li a {
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px !important;
    color: var(--premium-text-main) !important;
    white-space: nowrap; /* CRITICAL: prevents vertical text overflow */
    display: block;
    padding: 0 4px;
}

.premium-nav li a:hover {
    color: var(--premium-text-muted) !important;
}

.premium-options {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--premium-border);
    padding-bottom: 4px;
}

.search-form__input {
    border: none !important;
    background: transparent !important;
    padding: 0 8px !important;
    width: 150px;
    transition: width 0.3s;
}

.search-form__input:focus {
    width: 200px;
}

.search-form__btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--premium-text-main);
}

.option-list__btn {
    background: none;
    border: none;
    color: var(--premium-text-main) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.option-list__btn:hover {
    color: var(--premium-text-muted) !important;
}

.calc-size.count {
    background-color: var(--premium-accent) !important;
    color: #fff !important;
    font-size: 10px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: var(--premium-surface) !important;
    color: var(--premium-text-main) !important;
    border-top: 1px solid var(--premium-border);
}
.main-footer .pattern-layer, .main-footer .anim-shape {
    display: none !important;
}
.tp-footer-widget .widget-title h4 {
    color: var(--premium-text-main) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 14px !important;
    letter-spacing: 1px;
}
.links-list li a {
    color: var(--premium-text-muted) !important;
    font-size: 14px !important;
}
.links-list li a:hover {
    color: var(--premium-accent) !important;
    padding-left: 5px;
}

/* Product Cards */
.atlas-product-card {
    border: none !important;
    background: transparent !important;
    transition: var(--premium-transition);
}
.atlas-product-card__media {
    background-color: var(--premium-surface);
    border-radius: var(--premium-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--premium-border) !important;
}
.atlas-product-card__image {
    transition: transform 0.5s ease !important;
    width: 100%;
}
.atlas-product-card:hover .atlas-product-card__image {
    transform: scale(1.05);
}
.atlas-product-card__content {
    padding: 16px 0 !important;
    text-align: left;
}
.atlas-product-card__title a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--premium-text-main) !important;
}
.atlas-product-card__price {
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-top: 5px;
}
.atlas-product-card__category {
    font-size: 12px !important;
    color: var(--premium-text-muted) !important;
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.atlas-product-card__badge {
    background: var(--premium-accent) !important;
    color: #fff !important;
    font-size: 11px !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 10px !important;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* Cards & Sections */
.card, .custom--card {
    border: 1px solid var(--premium-border) !important;
    border-radius: var(--premium-radius) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}
/* ===================== MEGA MENU ===================== */

/* Critical: nav items must be relative for absolute children */
.premium-nav > li.has-mega-menu {
    position: relative !important;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Hide mega menu completely — remove from flow */
.premium-nav .has-mega-menu > .mega-menu {
    display: none;
    position: absolute;
    top: 100%; /* flush with bottom of nav item */
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 3px solid #111;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    padding: 32px 36px;
    z-index: 9999;
    animation: megaFadeIn 0.2s ease forwards;
}

/* Show on hover */
.premium-nav .has-mega-menu:hover > .mega-menu {
    display: block;
}

/* Keep mega-menu open when mouse moves into it */
.premium-nav .has-mega-menu > .mega-menu:hover {
    display: block;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mega-menu-inner {
    display: flex;
    gap: 0;
}
.mega-menu-inner .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 20px;
    border-right: 1px solid #f0f0f0;
}
.mega-menu-inner .col-3:last-child {
    border-right: none;
}
.mega-menu-inner h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    color: #111 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}
.mega-menu-inner ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mega-menu-inner ul li {
    margin-bottom: 8px !important;
    padding: 0 !important;
    display: block !important;
}
.mega-menu-inner ul li a {
    font-size: 14px !important;
    color: #555 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    transition: color 0.15s ease !important;
    white-space: nowrap !important;
    display: block !important;
    padding: 2px 0 !important;
}
.mega-menu-inner ul li a:hover {
    color: #111 !important;
}
/* ===================================================== */

.section-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 30px !important;
}

/* Product Details Page */
.shop-details .content-box h2 {
    font-size: 32px !important;
    font-weight: 600 !important;
    margin-bottom: 10px;
}
.shop-details .content-box h3 {
    font-size: 24px !important;
    font-weight: 500 !important;
    margin-bottom: 20px;
}
.details-info {
    border: 1px solid var(--premium-border);
    padding: 15px;
    border-radius: var(--premium-radius);
    background: var(--premium-surface);
    margin: 20px 0;
}
.qtyInput {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.qtyInput .btn {
    border-radius: 0 !important;
}
.tabs-box .tab-btns {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--premium-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.tabs-box .tab-btn {
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--premium-text-muted);
    transition: var(--premium-transition);
}
.tabs-box .tab-btn.active-btn, .tabs-box .tab-btn:hover {
    color: var(--premium-text-main);
    border-bottom: 2px solid var(--premium-text-main);
}

/* Nike-Inspired Product Details */
.product-details__thumb {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.product-details-preview-slider {
    width: 80px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-details-slider {
    flex: 1;
    background: #f5f5f5; /* Light grey background for main image */
    border-radius: var(--premium-radius);
    overflow: hidden;
}
.product-details-preview-slider .product-details-slider__slide {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px !important;
    cursor: pointer;
    overflow: hidden;
}
.product-details-preview-slider .product-details-slider__slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.shop-details .btn--base {
    border-radius: 50px !important; /* Pill shape */
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    width: 100%;
    margin-bottom: 15px;
}
.shop-details .btn-outline {
    border-radius: 50px !important; /* Pill shape */
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    width: 100%;
    border-color: #d4d4d4 !important;
    color: #111 !important;
}

/* Cart & Checkout Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.table thead th {
    border-bottom: 1px solid var(--premium-border);
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 16px;
    color: var(--premium-text-muted);
}
.table tbody td {
    border-bottom: 1px solid var(--premium-border);
    padding: 24px 16px;
    vertical-align: middle;
}
.table-responsive {
    border: none !important;
}

/* Auth Cards */
.auth-card, .login-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: var(--premium-radius);
    border: 1px solid var(--premium-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.auth-card h3, .login-wrapper h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--premium-text-main);
}

/* Hopscotch-Inspired Filtering */
.product-filter {
    border: none !important;
    background: transparent !important;
}
.product-widget {
    border: none !important;
    border-bottom: 1px solid #eaeaea !important;
    border-radius: 0 !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.product-widget__title {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-transform: capitalize !important;
    padding-bottom: 0 !important;
    margin-bottom: 15px;
    border: none !important;
}
.category-group__list-item__link {
    color: #666 !important;
    font-size: 14px !important;
    padding: 5px 0 !important;
}
.form-check-label {
    color: #666 !important;
    font-size: 14px !important;
}

/* Hopscotch-Inspired Product Cards */
.atlas-product-card__media {
    background: #f0f0f0; /* Grey background */
    border-radius: 0 !important; /* Sharp corners */
    position: relative;
    overflow: hidden;
}
.atlas-product-card__image {
    mix-blend-mode: multiply;
}
.atlas-product-card__hover-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    padding: 10px;
    transition: bottom 0.3s ease;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}
.atlas-product-card:hover .atlas-product-card__hover-overlay {
    bottom: 0;
}
.atlas-product-card__hover-overlay .delivery-badge {
    background: #444;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    display: block;
    margin-bottom: 10px;
}
.atlas-product-card__hover-overlay .sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.atlas-product-card__hover-overlay .sizes span {
    border: 1px solid #ddd;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 20px;
}

/* ===================== STAG HERO BANNER ===================== */
.stag-hero-banner {
    background: #ffffff;
    padding: 60px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}
.stag-banner-inner {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.stag-banner-left {
    flex: 1;
    padding-right: 40px;
}
.stag-banner-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}
.stag-banner-title {
    font-size: 52px !important;
    font-weight: 700 !important;
    color: #0b2447 !important; /* Stag deep navy */
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
    font-family: var(--premium-font) !important;
}
.stag-banner-subtitle {
    font-size: 30px !important;
    color: #c8922a !important; /* Stag gold */
    font-style: italic !important;
    font-weight: 400 !important;
    margin-bottom: 36px !important;
    font-family: 'Georgia', serif !important;
}
.stag-banner-script {
    font-family: 'Georgia', serif !important;
}
.stag-banner-btn {
    display: inline-block;
    background: #0b2447;
    color: #fff !important;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: background 0.25s ease;
    text-decoration: none !important;
}
.stag-banner-btn:hover {
    background: #1a3a6e;
    color: #fff !important;
}
.stag-banner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.stag-banner-image {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .stag-hero-banner { padding: 40px 20px; flex-direction: column; }
    .stag-banner-inner { flex-direction: column; text-align: center; }
    .stag-banner-left { padding-right: 0; }
    .stag-banner-title { font-size: 36px !important; }
    .stag-banner-subtitle { font-size: 22px !important; }
    .stag-banner-image { max-height: 260px; }
}
/* ============================================================ */

/* Trending Cards (Featured Products) */
.trending-section {
    background: #fff;
}
.trending-card {
    position: relative;
    overflow: hidden;
    height: 480px; /* Tall square-ish layout */
    border-radius: 0;
    background: #111;
}
.trending-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease;
}
.trending-card:hover .trending-card__img {
    transform: scale(1.05);
}
.trending-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.trending-card__subtitle {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.trending-card__title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.trending-card__btn {
    background: #fff !important;
    color: #111 !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: none !important;
}
.trending-card__btn:hover {
    background: #eaeaea !important;
}

/* Custom styling for visual excellence to match the new theme */

/* Hamburger menu is mobile/tablet only */
.mobile-nav-toggler {
    display: none !important;
}

/* Sidebar overlay fix */
.body-overlay {
    z-index: 9998 !important;
}

/* Mobile drawer customized styles */
.mobile-menu {
    z-index: 99999 !important;
}

.mobile-menu .menu-box {
    background: #ffffff !important;
    border-right: 1px solid #eaeaea;
    width: 320px !important;
    max-width: 100%;
    padding: 0 !important;
}

.mobile-menu .menu-backdrop {
    background: rgba(0,0,0,0.5) !important;
}

/* Category grid adjustments */
.atlas-products-grid {
    margin-top: 20px;
}

/* Minimal Product Cards styling */
.atlas-product-card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0px !important;
    background: transparent !important;
    margin-bottom: 24px;
}

.atlas-product-card__media {
    background-color: #f5f5f5 !important;
    border-radius: 0px !important;
    border: none !important;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlas-product-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    mix-blend-mode: multiply;
}

.atlas-product-card__content {
    padding: 14px 0 0 0 !important;
}

.atlas-product-card__title a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    text-decoration: none;
    line-height: 1.4;
}

.atlas-product-card__price {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-top: 6px;
}

.atlas-product-card__category {
    font-size: 10px !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.atlas-product-card__badge {
    border-radius: 0px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding: 4px 8px !important;
    text-transform: uppercase;
}

/* Custom header layout adjustments */
.main-header.header-style-premium {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
}

.desktop-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    color: #111111 !important;
    padding: 0 8px;
    transition: color 0.2s;
}

.desktop-menu a:hover {
    color: #666666 !important;
}

/* Layout section headers */
.section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* ============================================
   HEADER: Logo Left Layout
   ============================================ */
.main-header .premium-container {
    padding: 0 20px;
}

.desktop-menu.d-none.d-lg-flex {
    display: flex !important;
}

.desktop-menu a {
    position: relative;
    padding-bottom: 2px;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e8a000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.desktop-menu a:hover::after {
    transform: scaleX(1);
}

.desktop-menu a:hover {
    color: #1a1a2e !important;
}

/* ============================================
   FILTER TOGGLE BUTTON
   ============================================ */
#filterToggleBtn:hover {
    background: #e8a000 !important;
}

/* Inline filter panel (horizontal layout on desktop) */
.product-filter--inline {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px 24px;
    background: #f9f9f9;
    width: 100%;
}

.product-filter--inline .product-filter__body {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.product-filter--inline .product-widget {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    border: none;
    padding: 0;
    margin: 0;
}

.product-filter--inline .product-widget__header {
    margin-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 6px;
}

.product-filter--inline .product-widget__title {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111;
    margin: 0;
}

/* Filter toggle bar alignment */
.filter-toggle-bar {
    flex-wrap: wrap;
}

/* Smooth panel show/hide animation */
#filterPanelWrapper {
    animation: filterSlideIn 0.25s ease;
}

@keyframes filterSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .product-filter--inline .product-filter__body {
        flex-direction: column;
        gap: 16px;
    }
    .product-filter--inline .product-widget {
        max-width: 100%;
        width: 100%;
    }
}

/* ============================================
   PRODUCT SCROLL ANIMATIONS
   Cards slide in from left / right on scroll
   ============================================ */

.product-animate {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.product-animate.slide-from-left {
    transform: translateX(-60px);
}

.product-animate.slide-from-right {
    transform: translateX(60px);
}

.product-animate.is-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Stagger delay per card within a row */
.product-animate:nth-child(4n+1) { transition-delay: 0s; }
.product-animate:nth-child(4n+2) { transition-delay: 0.08s; }
.product-animate:nth-child(4n+3) { transition-delay: 0.16s; }
.product-animate:nth-child(4n+4) { transition-delay: 0.24s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .product-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   CART SIDEBAR + CHECKOUT POLISH (2026-07)
   ========================================================= */
.cart__sidebar .cart__header .title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 16px;
    line-height: 1.2;
}

.cart__sidebar .cart__header .title svg {
    flex: 0 0 24px;
}

.cart__sidebar .cart-count-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff;
    color: #111 !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 3px 12px rgba(0,0,0,.16);
}

.cart__sidebar .cart-count-label {
    color: #fff;
    font-weight: 700;
}

.cart__sidebar .cart__page__link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

.cart__sidebar .cart__item {
    align-items: flex-start;
}

.cart__sidebar .cart__item__content {
    min-width: 0;
    padding-right: 26px;
}

.cart__sidebar .cart__item__title {
    max-width: none;
    padding-right: 4px;
    line-height: 1.35;
}

.cart__sidebar .qnty-cart-list {
    width: auto !important;
    max-width: 132px;
}

.cart__sidebar .qnty-cart-list .product-qty {
    display: grid !important;
    grid-template-columns: 28px 42px 28px;
    align-items: center;
    gap: 4px !important;
    width: 110px;
    padding: 4px !important;
}

.cart__sidebar .qnty-cart-list .product-qty__btn {
    --size: 28px !important;
    margin: 0;
}

.cart__sidebar .qnty-cart-list .product-qty__value {
    width: 42px !important;
    min-width: 42px;
    height: 28px;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px !important;
    line-height: 28px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart__sidebar .qnty-cart-list .product-qty__value::-webkit-inner-spin-button,
.cart__sidebar .qnty-cart-list .product-qty__value::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.checkout .large-container {
    max-width: 1500px;
}

.checkout .checkout-wrapper {
    align-items: flex-start;
    gap: 30px !important;
}

.checkout .cart-wrapper__left,
.checkout .checkout-information {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px !important;
    box-shadow: 0 16px 45px rgba(20,20,20,.08);
}

.checkout .cart-wrapper__left {
    padding: 30px !important;
}

.checkout .cart-header__title,
.checkout .checkout-information > .title {
    position: relative;
    margin-bottom: 26px !important;
    padding-bottom: 14px;
    color: #171717;
    font-size: 22px;
    font-weight: 800;
}

.checkout .cart-header__title::after,
.checkout .checkout-information > .title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: hsl(var(--base));
    content: '';
}

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

.checkout .form--label {
    display: block;
    margin-bottom: 8px;
    color: #262626 !important;
    font-size: 14px;
    font-weight: 700;
}

.checkout .form--control,
.checkout .select2-container .select2-selection--single,
.checkout .input-group-text {
    min-height: 50px;
    border: 1px solid #d8dce2 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #171717 !important;
    box-shadow: none !important;
}

.checkout .form--control:focus {
    border-color: hsl(var(--base)) !important;
    box-shadow: 0 0 0 4px hsl(var(--base)/.10) !important;
}

.checkout .input--group {
    flex-wrap: nowrap;
}

.checkout .input--group .mobile-code {
    min-width: 64px;
    justify-content: center;
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    font-weight: 700;
}

.checkout .input--group .form--control {
    border-radius: 0 10px 10px 0 !important;
}

.checkout textarea.form--control {
    min-height: 130px;
    padding-top: 14px;
}

.checkout .checkout-information {
    position: sticky;
    top: 95px;
    padding: 28px !important;
}

.checkout-product__item {
    flex-wrap: nowrap !important;
    gap: 14px !important;
    padding: 12px 0;
}

.checkout-product__item__thumb {
    flex: 0 0 72px;
    width: 72px !important;
    height: 82px !important;
    border: 1px solid #e1e4e8;
    border-radius: 10px !important;
    background: #fff;
}

.checkout-product__item__right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.checkout-product__item__content {
    min-width: 0;
}

.checkout-product__item .title {
    overflow: hidden;
    margin-bottom: 5px !important;
    color: #171717;
    font-size: 16px !important;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-product__item .tag {
    color: #757575;
    font-size: 13px !important;
}

.checkout-product__item .price {
    flex: 0 0 auto;
    color: #171717;
    font-size: 15px !important;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-product__item .price small {
    color: #8a8a8a;
    font-size: 11px;
}

.checkout-information__list {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e4e7eb;
}

.checkout-information__list li,
.checkout-information__total {
    align-items: center;
    gap: 12px;
}

.checkout-information__total {
    margin-top: 20px !important;
    padding-top: 20px !important;
    font-size: 19px;
}

.checkout .btn--base[type="submit"] {
    min-height: 54px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 1199px) {
    .checkout .checkout-wrapper {
        flex-direction: column;
    }
    .checkout .cart-wrapper__right {
        width: 100% !important;
    }
    .checkout .checkout-information {
        position: static;
    }
}

@media (max-width: 575px) {
    .cart__sidebar .cart__header {
        padding: 14px 16px !important;
    }
    .cart__sidebar .cart__body {
        padding-top: 14px;
    }
    .checkout .cart-wrapper__left,
    .checkout .checkout-information {
        padding: 20px !important;
        border-radius: 14px !important;
    }
    .checkout-product__item__right {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
    .checkout-product__item .price {
        text-align: left !important;
    }
}

/* Checkout responsive polish */
.checkout-free-delivery {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 13px 16px;
    color: #166534;
    font-size: 14px;
    font-weight: 600;
}
.checkout .form-group { margin-bottom: 18px; }
.checkout .form--label { display: block; margin-bottom: 8px; font-weight: 600; }
.checkout .form--control,
.checkout .form-control,
.checkout .select2-container--default .select2-selection--single {
    min-height: 52px;
    border-radius: 10px;
}
.checkout textarea.form--control { min-height: 130px; padding-top: 14px; }
.checkout .select2-container { width: 100% !important; }
.checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
}
.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
}
@media (max-width: 991px) {
    .checkout-wrapper { flex-direction: column !important; gap: 20px !important; }
    .checkout .cart-wrapper__right { width: 100% !important; }
}
@media (max-width: 575px) {
    .checkout.dashboard { padding-top: 24px !important; padding-bottom: 28px !important; }
    .checkout .large-container { padding-left: 12px !important; padding-right: 12px !important; }
    .checkout .cart-wrapper__left,
    .checkout .checkout-information { padding: 18px !important; border-radius: 16px !important; }
    .checkout .row { --bs-gutter-x: 0 !important; }
    .checkout [class*="col-"] { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* =========================================================
   MOBILE HEADER ALIGNMENT FIX — 2026-07-17
   ========================================================= */
@media (max-width: 991.98px) {
    .main-header .desktop-menu,
    .main-header .desktop-menu.d-none,
    .main-header .desktop-menu.d-lg-flex,
    .main-header .desktop-menu.d-none.d-lg-flex {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    .main-header .premium-container {
        width: 100% !important;
        padding: 0 12px !important;
    }

    .main-header .premium-header-inner {
        height: 66px !important;
        min-height: 66px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .main-header .header-left,
    .main-header .header-right {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .main-header .header-left {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .main-header .header-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .main-header .mobile-nav-toggler,
    .main-header .header-action-btn,
    .main-header .theme-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        line-height: 1 !important;
        border-radius: 50% !important;
        flex: 0 0 40px !important;
    }

    .main-header .theme-logo-box {
        display: inline-flex !important;
        align-items: center !important;
        max-width: 82px !important;
        overflow: hidden !important;
        flex: 0 1 82px !important;
    }

    .main-header .theme-logo-box .theme-logo {
        width: auto !important;
        max-width: 82px !important;
        max-height: 44px !important;
        object-fit: contain !important;
    }

    .announcement-bar {
        min-height: 48px !important;
        padding: 9px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

@media (max-width: 575.98px) {
    .main-header .premium-container { padding: 0 8px !important; }
    .main-header .premium-header-inner { gap: 5px !important; }
    .main-header .header-left,
    .main-header .header-right { gap: 5px !important; }

    .main-header .mobile-nav-toggler,
    .main-header .header-action-btn,
    .main-header .theme-toggle {
        width: 37px !important;
        height: 37px !important;
        min-width: 37px !important;
        flex-basis: 37px !important;
    }

    .main-header .theme-logo-box {
        max-width: 68px !important;
        flex-basis: 68px !important;
    }
    .main-header .theme-logo-box .theme-logo {
        max-width: 68px !important;
        max-height: 40px !important;
    }

    .main-header .header-action-btn[aria-label="Account"],
    .main-header .header-action-btn[aria-label="Wishlist"] {
        display: none !important;
    }
}

/* ============================================
   PRODUCTS PAGE: LEFT FILTER + RIGHT PRODUCTS
   ============================================ */
.product-page-heading {
    margin-bottom: 24px;
}

.product-page-heading .title {
    font-size: 24px;
    font-weight: 700;
    color: hsl(var(--heading-color));
}

.product-page-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.product-page-layout .product-filter--sidebar {
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
    position: sticky;
    top: 100px;
    display: block;
    padding: 0;
    border: 1px solid hsl(var(--border-color));
    border-radius: 10px;
    background: hsl(var(--white));
    overflow: hidden;
}

.product-page-layout .product-filter--sidebar .product-filter__body {
    display: block;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
    padding: 18px;
}

.product-page-layout .product-filter--sidebar .product-widget {
    width: 100%;
    max-width: none;
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid hsl(var(--border-color));
}

.product-page-layout .product-filter--sidebar .product-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.product-page-layout .product-filter--sidebar .product-widget__header {
    margin-bottom: 14px;
}

.product-page-layout .product-filter--sidebar .product-widget__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    color: hsl(var(--heading-color));
}

.product-page-layout .products-container {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 300px);
}

.product-page-layout .product-topbar {
    margin-top: 0;
    margin-bottom: 24px;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .product-page-layout {
        gap: 20px;
    }

    .product-page-layout .product-filter--sidebar {
        flex-basis: 240px;
        width: 240px;
        max-width: 240px;
    }

    .product-page-layout .products-container {
        width: calc(100% - 260px);
    }
}

@media screen and (max-width: 991px) {
    .product-page-heading {
        margin-bottom: 16px;
    }

    .product-page-layout {
        display: block;
    }

    .product-page-layout .products-container {
        width: 100%;
    }

    .product-page-layout .product-filter--sidebar {
        position: fixed;
        top: 0 !important;
        left: 0;
        z-index: 99999;
        display: flex;
        width: 290px;
        max-width: 88vw;
        height: 100dvh;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform .35s ease;
    }

    .product-page-layout .product-filter--sidebar.show {
        transform: translateX(0);
    }

    .product-page-layout .product-filter--sidebar .product-filter__body {
        max-height: none;
        padding: 16px;
    }
}

/* =========================================================
   STAG PRODUCT CARD + QUICK VIEW REFINEMENT
   ========================================================= */
.atlas-products-grid > [class*="col-"] {
    display: flex;
}

.atlas-product-card {
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.035) !important;
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.atlas-product-card:hover {
    transform: translateY(-4px);
    border-color: #d8d8d8 !important;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09) !important;
}

.atlas-product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f6f6f6 !important;
}

.atlas-product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.atlas-product-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    mix-blend-mode: normal !important;
    transition: transform .4s ease !important;
}

.atlas-product-card:hover .atlas-product-card__image {
    transform: scale(1.025) !important;
}

.atlas-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    min-width: auto !important;
    padding: 6px 9px !important;
    border-radius: 6px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1;
    letter-spacing: .5px !important;
}

.atlas-product-card__wishlist {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 5;
}

.atlas-product-card__wishlist button,
.atlas-product-card__wishlist a {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(17, 17, 17, .08) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #111 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06) !important;
}

.atlas-product-card__actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
}

.atlas-product-card:hover .atlas-product-card__actions,
.atlas-product-card:focus-within .atlas-product-card__actions {
    opacity: 1;
    transform: translateY(0);
}

.atlas-product-card__action {
    min-width: 0;
    min-height: 44px;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .45px !important;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.atlas-product-card__action--quick {
    border: 1px solid rgba(17, 17, 17, .13) !important;
    background: rgba(255, 255, 255, .97) !important;
    color: #111 !important;
}

.atlas-product-card__action--quick:hover {
    border-color: #111 !important;
    background: #fff !important;
}

.atlas-product-card__action--cart {
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
}

.atlas-product-card__action--cart:hover {
    background: #2c2c2c !important;
    color: #fff !important;
}

.atlas-product-card__action.is-loading {
    opacity: .55;
    pointer-events: none;
}

.atlas-product-card__content {
    flex: 1 1 auto;
    min-height: 132px;
    padding: 15px 16px 17px !important;
    display: flex;
    flex-direction: column;
}

.atlas-product-card__category {
    margin: 0 0 7px !important;
    color: #8a8a8a !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: .85px !important;
    text-transform: uppercase !important;
}

.atlas-product-card__title {
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 19px !important;
    letter-spacing: .15px !important;
    text-align: left !important;
    text-transform: none !important;
}

.atlas-product-card__title a {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.atlas-product-card__meta {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.atlas-product-card__price {
    min-width: 0;
    margin: 0 !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: normal !important;
}

.atlas-product-card__price > span,
.atlas-product-card__price > span > span {
    color: #111 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.atlas-product-card__price del {
    display: inline !important;
    margin-left: 4px;
    color: #9a9a9a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.atlas-product-card__rating {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #555;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

.atlas-product-card__rating i {
    color: #e7a400;
    font-size: 12px;
}

.atlas-product-card__review-count {
    color: #9a9a9a;
}

/* Quick view modal */
.stag-quick-view-modal .modal-dialog {
    width: min(920px, calc(100% - 28px));
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.stag-quick-view-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
}

.stag-quick-view-modal .modal-body {
    padding: 0;
}

.stag-quick-view-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #111;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.stag-quick-view {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 500px;
}

.stag-quick-view__image-wrap {
    min-height: 500px;
    background: #f5f5f5;
}

.stag-quick-view__image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.stag-quick-view__content {
    padding: 54px 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stag-quick-view__eyebrow {
    margin-bottom: 10px;
    color: #8a8a8a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.stag-quick-view__title {
    margin: 0;
    color: #111;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.55px;
}

.stag-quick-view__rating {
    margin-top: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #777;
    font-size: 12px;
}

.stag-quick-view__rating strong {
    color: #111;
}

.stag-quick-view__star {
    color: #e7a400;
    font-size: 15px;
}

.stag-quick-view__price {
    margin-top: 20px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
}

.stag-quick-view__price del {
    margin-left: 8px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.stag-quick-view__description {
    margin: 20px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.stag-quick-view__actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.stag-quick-view__cart,
.stag-quick-view__details {
    width: 100%;
    min-height: 48px;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .65px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.stag-quick-view__cart {
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
}

.stag-quick-view__details {
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #111;
}

.stag-quick-view__loading,
.stag-quick-view__error {
    min-height: 280px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 13px;
    text-align: center;
}

/* Footer link polish */
.premium-footer .links-list a {
    transition: color .2s ease, transform .2s ease;
}

.premium-footer .links-list a:hover {
    color: #111 !important;
}

@media (max-width: 991px) {
    .atlas-product-card__actions {
        opacity: 1;
        transform: none;
    }

    .stag-quick-view {
        grid-template-columns: 1fr 1fr;
    }

    .stag-quick-view__content {
        padding: 44px 30px 34px;
    }
}

@media (max-width: 575px) {
    .atlas-product-card {
        border-radius: 10px !important;
    }

    .atlas-product-card__wishlist {
        top: 8px;
        right: 8px;
    }

    .atlas-product-card__wishlist button,
    .atlas-product-card__wishlist a {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    .atlas-product-card__badge {
        top: 8px;
        left: 8px;
        padding: 5px 7px !important;
        font-size: 8px !important;
    }

    .atlas-product-card__actions {
        right: 7px;
        bottom: 7px;
        left: 7px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 6px;
    }

    .atlas-product-card__action {
        min-height: 38px;
        padding: 0 7px !important;
        font-size: 9px !important;
    }

    .atlas-product-card__action--quick span {
        display: none;
    }

    .atlas-product-card__action--quick i {
        font-size: 16px;
    }

    .atlas-product-card__content {
        min-height: 121px;
        padding: 12px 11px 13px !important;
    }

    .atlas-product-card__category {
        margin-bottom: 5px !important;
        font-size: 8px !important;
    }

    .atlas-product-card__title {
        height: 34px !important;
        font-size: 11px !important;
        line-height: 17px !important;
    }

    .atlas-product-card__meta {
        padding-top: 9px;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .atlas-product-card__price {
        font-size: 11px !important;
    }

    .atlas-product-card__price del {
        font-size: 9px !important;
    }

    .atlas-product-card__rating {
        font-size: 9px;
    }

    .stag-quick-view-modal .modal-dialog {
        width: calc(100% - 18px);
    }

    .stag-quick-view {
        display: block;
        min-height: 0;
    }

    .stag-quick-view__image-wrap,
    .stag-quick-view__image {
        min-height: 0;
    }

    .stag-quick-view__image-wrap {
        aspect-ratio: 4 / 4.8;
    }

    .stag-quick-view__image {
        height: 100%;
    }

    .stag-quick-view__content {
        padding: 26px 20px 24px;
    }

    .stag-quick-view__title {
        padding-right: 28px;
        font-size: 22px;
    }
}

body.dark-theme .atlas-product-card,
body.dark-theme .stag-quick-view-modal .modal-content,
body.dark-theme .stag-quick-view__content {
    border-color: #2d2d2d !important;
    background: #171717 !important;
}

body.dark-theme .atlas-product-card__title,
body.dark-theme .atlas-product-card__title a,
body.dark-theme .atlas-product-card__price,
body.dark-theme .atlas-product-card__price > span,
body.dark-theme .atlas-product-card__price > span > span,
body.dark-theme .stag-quick-view__title,
body.dark-theme .stag-quick-view__price {
    color: #f5f5f5 !important;
}

body.dark-theme .atlas-product-card__category,
body.dark-theme .stag-quick-view__eyebrow,
body.dark-theme .stag-quick-view__description {
    color: #a8a8a8 !important;
}

/* =========================================================
   STAG QUICK VIEW + FOOTER DARK MODE POLISH — 2026-08-20
   ========================================================= */

/* Product card quick-view/action buttons */
.atlas-product-card__actions {
    grid-template-columns: 1fr 1.18fr !important;
    gap: 9px !important;
}

.atlas-product-card__action--quick,
.atlas-product-card__action--cart {
    min-height: 46px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
}

.atlas-product-card__action--quick {
    background: rgba(255, 255, 255, .98) !important;
    color: #111 !important;
    border-color: rgba(17, 17, 17, .12) !important;
}

.atlas-product-card__action--quick:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.atlas-product-card__action--quick i {
    font-size: 15px !important;
}

/* Quick View modal actions: enforce readable button contrast */
.stag-quick-view__cart,
.stag-quick-view__details {
    min-height: 50px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    letter-spacing: .7px !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.stag-quick-view__cart {
    background: #111 !important;
    border: 1px solid #111 !important;
    color: #fff !important;
}

.stag-quick-view__cart:hover {
    background: #2c2c2c !important;
    border-color: #2c2c2c !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.stag-quick-view__details {
    background: #fff !important;
    border: 1px solid #d8d8d8 !important;
    color: #111 !important;
}

.stag-quick-view__details:hover {
    background: #f4f4f4 !important;
    border-color: #111 !important;
    color: #111 !important;
    transform: translateY(-1px);
}

.stag-quick-view__details i {
    color: currentColor !important;
}

/* Quick View dark mode */
body.dark-theme .stag-quick-view-modal .modal-content {
    background: #111113 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .72) !important;
}

body.dark-theme .stag-quick-view__content {
    background: #111113 !important;
}

body.dark-theme .stag-quick-view__title,
body.dark-theme .stag-quick-view__price,
body.dark-theme .stag-quick-view__rating strong {
    color: #fff !important;
}

body.dark-theme .stag-quick-view__eyebrow,
body.dark-theme .stag-quick-view__description,
body.dark-theme .stag-quick-view__rating {
    color: #b6b6bd !important;
}

body.dark-theme .stag-quick-view__price del {
    color: #8d8d95 !important;
}

body.dark-theme .stag-quick-view-modal__close {
    background: #202024 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .16) !important;
}

body.dark-theme .stag-quick-view-modal__close:hover {
    background: #fff !important;
    color: #111 !important;
}

body.dark-theme .stag-quick-view__cart {
    background: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

body.dark-theme .stag-quick-view__cart:hover {
    background: #e9e9eb !important;
    border-color: #e9e9eb !important;
    color: #111 !important;
}

body.dark-theme .stag-quick-view__details {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .30) !important;
    color: #fff !important;
}

body.dark-theme .stag-quick-view__details:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

body.dark-theme .atlas-product-card__action--quick {
    background: rgba(255, 255, 255, .98) !important;
    color: #111 !important;
    border-color: rgba(255, 255, 255, .95) !important;
}

body.dark-theme .atlas-product-card__action--quick:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Footer: shared light theme */
.premium-footer,
.premium-footer .premium-footer__main,
.premium-footer .premium-footer__bottom {
    background: #fff !important;
    color: #232323 !important;
}

.premium-footer {
    border-top: 1px solid #ececec !important;
}

.premium-footer__main {
    padding-top: 70px !important;
    padding-bottom: 58px !important;
}

.premium-footer__grid {
    align-items: flex-start;
}

.premium-footer__logo {
    margin: 0 0 20px !important;
}

.premium-footer__logo a {
    display: inline-flex;
    align-items: center;
}

.premium-footer__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 46px;
    object-fit: contain;
}

.premium-footer__logo-dark {
    display: none !important;
}

.premium-footer__info-list,
.premium-footer__socials,
.premium-footer__links,
.premium-footer__payments {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.premium-footer__info-list li {
    margin: 0 0 12px !important;
}

.premium-footer__address,
.premium-footer__subscribe-text {
    color: #646464 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.premium-footer__email {
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

.premium-footer__socials {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px !important;
    margin-top: 20px !important;
}

.premium-footer__socials a {
    width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #333 !important;
    font-size: 16px !important;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease !important;
}

.premium-footer__socials a:hover {
    transform: translateY(-2px);
    border-color: #111;
    background: #111;
    color: #fff !important;
}

.premium-footer .widget-title h4 {
    margin: 0 0 21px !important;
    color: #111 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.premium-footer__links li {
    margin: 0 0 11px !important;
}

.premium-footer__links li:last-child {
    margin-bottom: 0 !important;
}

.premium-footer__links a {
    display: inline-flex !important;
    align-items: center;
    color: #5f5f5f !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease !important;
}

.premium-footer__links a:hover {
    color: #111 !important;
    transform: translateX(3px);
}

.premium-footer__category-links a {
    font-weight: 600 !important;
}

.premium-footer__subscribe-text {
    margin: 0 0 16px !important;
}

.premium-footer__subscribe-control {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-footer__subscribe-control input {
    width: 100% !important;
    min-height: 54px !important;
    padding: 12px 60px 12px 16px !important;
    border: 1px solid #dedede !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 14px !important;
}

.premium-footer__subscribe-control input::placeholder {
    color: #8b8b8b !important;
}

.premium-footer__subscribe-control button {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.premium-footer__subscribe-control button:hover {
    background: #333;
    transform: translateY(-50%) scale(1.03);
}

.premium-footer__bottom {
    padding: 19px 0 !important;
    border-top: 1px solid #ececec !important;
}

.premium-footer__bottom-inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}

.premium-footer__copyright p {
    margin: 0 !important;
    color: #727272 !important;
    font-size: 13px !important;
}

.premium-footer__copyright a {
    color: #111 !important;
    font-weight: 700 !important;
}

.premium-footer__payments {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px !important;
}

.premium-footer__payments img {
    display: block;
    max-width: 48px;
    max-height: 25px;
    padding: 2px 4px;
    border: 1px solid #ededed;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

/* Footer: proper dark mode */
body.dark-theme .premium-footer,
body.dark-theme .premium-footer .premium-footer__main,
body.dark-theme .premium-footer .premium-footer__bottom,
body.dark-theme .premium-footer .widget-section,
body.dark-theme .premium-footer .large-container,
body.dark-theme .premium-footer .row,
body.dark-theme .premium-footer [class*="col-"] {
    background: #0d0d0f !important;
    color: #f3f3f5 !important;
}

body.dark-theme .premium-footer {
    border-top-color: rgba(255, 255, 255, .10) !important;
}

body.dark-theme .premium-footer__logo-light {
    display: none !important;
}

body.dark-theme .premium-footer__logo-dark {
    display: block !important;
    max-width: 74px !important;
    max-height: 54px !important;
}

body.dark-theme .premium-footer .widget-title h4 {
    color: #fff !important;
}

body.dark-theme .premium-footer__address,
body.dark-theme .premium-footer__subscribe-text,
body.dark-theme .premium-footer__copyright p {
    color: #a9a9b2 !important;
}

body.dark-theme .premium-footer__email,
body.dark-theme .premium-footer__copyright a {
    color: #fff !important;
}

body.dark-theme .premium-footer__links a {
    color: #c5c5cc !important;
}

body.dark-theme .premium-footer__links a:hover {
    color: #fff !important;
}

body.dark-theme .premium-footer__socials a {
    border-color: rgba(255, 255, 255, .14) !important;
    background: #17171a !important;
    color: #e9e9ec !important;
}

body.dark-theme .premium-footer__socials a:hover {
    border-color: #fff !important;
    background: #fff !important;
    color: #111 !important;
}

body.dark-theme .premium-footer__subscribe-control input {
    background: #151518 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .16) !important;
}

body.dark-theme .premium-footer__subscribe-control input::placeholder {
    color: #8d8d96 !important;
}

body.dark-theme .premium-footer__subscribe-control button {
    background: #fff !important;
    color: #111 !important;
}

body.dark-theme .premium-footer__subscribe-control button:hover {
    background: #dedee2 !important;
}

body.dark-theme .premium-footer__bottom {
    border-top-color: rgba(255, 255, 255, .10) !important;
}

body.dark-theme .premium-footer__payments img {
    border-color: rgba(255, 255, 255, .12) !important;
    background: #fff !important;
}

@media (max-width: 991.98px) {
    .premium-footer__main {
        padding-top: 52px !important;
        padding-bottom: 42px !important;
    }

    .premium-footer__widget,
    .premium-footer__subscribe {
        padding-top: 4px;
    }
}

@media (max-width: 575.98px) {
    .atlas-product-card__actions {
        grid-template-columns: 42px minmax(0, 1fr) !important;
    }

    .atlas-product-card__action--quick,
    .atlas-product-card__action--cart {
        min-height: 40px !important;
        border-radius: 8px !important;
    }

    .stag-quick-view__actions {
        gap: 9px !important;
    }

    .stag-quick-view__cart,
    .stag-quick-view__details {
        min-height: 46px !important;
        font-size: 10px !important;
    }

    .premium-footer__main {
        padding-top: 42px !important;
        padding-bottom: 34px !important;
    }

    .premium-footer .widget-title h4 {
        margin-bottom: 16px !important;
    }

    .premium-footer__bottom-inner {
        align-items: center !important;
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   STAG MOBILE VIEWPORT / ALIGNMENT STABILITY FIX — 2026-09-05
   Keep mobile content inside the real viewport without changing
   desktop widths.  The hero-specific sizing lives in banner.blade.php.
========================================================= */
@media (max-width: 767.98px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    main,
    .main-header,
    .hero-section,
    .home-section-wrapper,
    .premium-footer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .large-container,
    .custom--container,
    .auto-container,
    .premium-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Header remains one clean row and cannot push the page wider. */
    .main-header .premium-header-inner,
    .main-header .header-left,
    .main-header .header-right {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .main-header .header-right {
        margin-left: auto !important;
    }

    /* Media inside storefront sections should never create horizontal overflow. */
    main img,
    main picture,
    main video,
    .premium-footer img {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .main-header .premium-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .main-header .premium-header-inner {
        height: 64px !important;
        min-height: 64px !important;
    }

    .main-header .header-left,
    .main-header .header-right {
        gap: 6px !important;
    }

    .main-header .mobile-nav-toggler,
    .main-header .header-action-btn,
    .main-header .theme-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex-basis: 38px !important;
    }

    .main-header .theme-logo-box {
        max-width: 72px !important;
        flex-basis: 72px !important;
    }

    .main-header .theme-logo-box .theme-logo {
        max-width: 72px !important;
        max-height: 40px !important;
    }
}

