/* ============================================================
   premium.css - Elite Cookware Premium Design System
   Shared customer-facing layer. Loaded LAST on every customer
   page so it safely overrides legacy page styles.
   ============================================================ */

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-off-white);
    color: var(--color-charcoal);
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open,
body.search-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    letter-spacing: -0.015em;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

.container,
.section-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.section-container {
    padding: 0;
}

/* Section headings */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-medium-gray);
    margin-bottom: 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.85rem;
}

.section-kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(16, 47, 39, 0.06);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(16, 47, 39, 0.08);
    box-shadow: 0 8px 30px -14px rgba(16, 47, 39, 0.18);
}

.header-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-image {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.logo-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
}
/* 
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.15rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    box-shadow: 0 2px 6px -2px rgba(23, 74, 58, 0.6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
} */

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(23, 74, 58, 0.08);
}

.nav-link:hover::after {
    transform: scaleX(0.55);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
    background: rgba(23, 74, 58, 0.08);
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 20px;
    border: none;
    background: transparent;
    color: var(--color-dark-gray);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.header-action:hover,
.header-action.active {
    background: rgba(23, 74, 58, 0.12);
    color: var(--color-primary);
}

/* Cart badge */
.cart-count {
    position: absolute;
    top: -1px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-copper));
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(23, 74, 58, 0.45);
}

.cart-count.visible {
    display: flex;
}

/* Mobile menu toggle icon swap */
.mobile-menu-toggle .menu-icon {
    display: block;
}

.mobile-menu-toggle .close-icon {
    display: none;
}

.mobile-menu-toggle.is-open .menu-icon {
    display: none;
}

.mobile-menu-toggle.is-open .close-icon {
    display: block;
}

/* Body scroll lock while the drawer is open */
body.nav-open {
    overflow: hidden;
}

@media (min-width: 769px) {
    body.nav-open {
        overflow: auto;
    }
}

/* Account dropdown */
.account-dropdown {
    position: relative;
}

.account-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    height: 42px;
    padding: 0 0.9rem;
    border: none;
    background: transparent;
    color: var(--color-dark-gray);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.account-user-btn:hover {
    background: rgba(23, 74, 58, 0.12);
}

.account-user-btn .account-user-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.account-dropdown:hover .account-menu,
.account-dropdown:focus-within .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu-item {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.account-menu-item:hover {
    background: rgba(23, 74, 58, 0.1);
    color: var(--color-primary);
}

.account-menu-divider {
    height: 1px;
    margin: 0.4rem 0.25rem;
    background: var(--color-light-gray);
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
}

.search-modal.active {
    display: flex;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 44, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fadeIn var(--transition-fast);
}

.search-modal-content {
    position: relative;
    width: min(680px, calc(100% - 40px));
    animation: modalDrop 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.search-modal-content .search-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 0.4rem 0.6rem 0.4rem 1.25rem;
    border: 1px solid var(--color-light-gray);
}

.search-modal-content .search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    color: var(--color-primary);
    padding: 0.75rem 0;
}

.search-modal-content .search-input::placeholder {
    color: var(--color-medium-gray);
}

.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.search-submit:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
}

.search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--color-medium-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.search-close:hover {
    background: var(--color-light-gray);
    color: var(--color-primary);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 44, 0.5);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-nav.active .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    background: #fff;
    box-shadow: -20px 0 60px -20px rgba(6, 18, 44, 0.35);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: 1.25rem 1.5rem 1.5rem;
    overflow: hidden;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.mobile-nav-logo {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-off-white);
    color: var(--color-dark-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.mobile-nav-close:hover {
    background: var(--color-light-gray);
}

.mobile-nav-list {
    margin: 0;
    padding: 0.5rem 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.mobile-nav-item {
    list-style: none;
    border-bottom: 1px solid rgba(16, 47, 39, 0.06);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link.active {
    color: var(--color-accent);
    font-weight: 600;
    padding-left: 0.4rem;
}

.mobile-nav-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-light-gray);
    flex-shrink: 0;
}

.mobile-nav-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-off-white);
    color: var(--color-dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-action:hover,
.mobile-nav-action.active {
    background: rgba(23, 74, 58, 0.12);
    color: var(--color-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    height: auto;
    min-height: 48px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    width: auto;
    transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 40px;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn-lg {
    min-height: 56px;
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(16, 47, 39, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    box-shadow: 0 16px 30px -12px rgba(16, 47, 39, 0.55);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid rgba(16, 47, 39, 0.25);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(23, 74, 58, 0.06);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* --- Outline buttons on dark navy sections: force white text --- */
.hero-section .btn-outline,
.quality-section .btn-outline,
.featured-showcase .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
}

.hero-section .btn-outline:hover,
.quality-section .btn-outline:hover,
.featured-showcase .btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-primary);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent) 45%, var(--color-copper));
    color: #FFFFFF;
    box-shadow: 0 12px 26px -12px rgba(23, 74, 58, 0.65);
}

.btn-gold:hover {
    box-shadow: 0 18px 34px -14px rgba(23, 74, 58, 0.75);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-dark-gray);
}

.btn-ghost:hover {
    background: var(--color-light-gray);
}

.btn-danger {
    background: var(--color-error);
    color: #fff;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* Button loading / spinner state */
.btn .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.loading .btn-spinner {
    display: inline-block;
}

.btn.loading .btn-text {
    opacity: 0.85;
}

.btn.added {
    background: var(--color-success) !important;
    border-color: var(--color-success) !important;
    color: #fff !important;
}

/* ============================================================
   BADGES
   ============================================================ */
.status-badge,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.product-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 3;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px -4px rgba(16, 47, 39, 0.4);
}

.product-badge.discount {
    background: linear-gradient(135deg, #d64545, #b13232);
    color: #fff;
}

.product-badge.new {
    background: var(--color-primary);
    color: #fff;
}

.product-badge.sale {
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-copper));
    color: #FFFFFF;
}

.product-badge.bestseller {
    background: var(--color-copper);
    color: #fff;
}

.product-badge.low-stock {
    background: #fff;
    color: var(--color-warning);
    border: 1px solid rgba(217, 158, 43, 0.4);
}

.product-badge.out-of-stock {
    background: var(--color-dark-gray);
    color: #fff;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 2px 8px -2px rgba(16, 47, 39, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(120% 90% at 50% 8%, #ffffff 0%, #fbfaf6 55%, #f4f2ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
   
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 18px rgba(16, 47, 39, 0.16));
    border-radius: 6px;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.product-card:hover .product-image img {
    transform: scale(1.07);
    filter: drop-shadow(0 18px 26px rgba(16, 47, 39, 0.22));
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-actions {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 4;
}

.product-card .product-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-light-gray);
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-dark-gray);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px -4px rgba(16, 47, 39, 0.18);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.product-card .product-action:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.product-card .product-action.wishlist.active {
    background: #EAF2FF;
    color: var(--color-error);
    border-color: rgba(214, 69, 69, 0.35);
}

.product-card .product-action.wishlist.active svg {
    fill: currentColor;
}

.product-card .product-info {
    padding: 1.1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card .product-title {
    font-family: var(--font-family-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-card .product-title a {
    text-decoration: none;
    color: inherit;
}

.product-card .product-title a:hover {
    color: var(--color-accent);
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.product-card .stars {
    color: var(--color-accent);
    letter-spacing: 0.05em;
    font-size: 0.82rem;
}

.product-card .review-count {
    color: var(--color-medium-gray);
    font-size: 0.78rem;
}

.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin: 0.1rem 0 0.35rem;
}

.product-card .current-price {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card .original-price {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-medium-gray);
    text-decoration: line-through;
}

.product-card .product-buttons {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
}

.product-card .product-buttons .btn {
    flex: 1;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
}

.product-card .product-info > .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    margin-top: 0.15rem;
}

/* Out of stock */
.product-card.is-out-of-stock .product-image,
.product-card.is-out-of-stock .product-image img {
    filter: grayscale(0.9);
    opacity: 0.7;
}

.product-card .out-of-stock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.35);
}

.product-card .out-of-stock-overlay span {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: var(--color-dark-gray);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ============================================================
   CATEGORY CARD
   ============================================================ */
.category-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 2px 10px -4px rgba(16, 47, 39, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card .category-image-wrapper {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, #fbfaf6, #ebe9df);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.category-card .category-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
}

.category-card .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
    position: relative;
    z-index: 0;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-card .category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem;
    background: linear-gradient(to top, rgba(16, 47, 39, 0.94), rgba(16, 47, 39, 0.45) 70%, transparent);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.category-card .category-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-card .category-description {
    color: #ffffff;
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.category-card .category-link,
.category-card .category-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.category-card .category-link:hover,
.category-card .category-explore-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
}

/* ============================================================
   HERO (home / shared)
   ============================================================ */
.hero-section {
    position: relative;
    background: var(--color-primary);
    color: #fff;
    overflow: hidden;
}

.hero-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0 6.5rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.04;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title .title-line {
    display: block;
}

.hero-title .highlight {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 30rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-trust .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-trust .trust-item svg {
    color: var(--color-accent-soft);
}

/* Hero product stage */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.product-3d-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 180ms ease-out;
}

.product-image-wrapper {
    position: relative;
    border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%;
    overflow: hidden;
    aspect-ratio: 1;
    background:
        radial-gradient(120% 90% at 50% 12%, var(--color-secondary) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem;
}

.hero-product-image {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
    border-radius: 12px;
    transform: perspective(900px) rotateX(2deg);
}

.product-shine {
    position: absolute;
    top: -30%;
    left: -40%;
    width: 60%;
    height: 120%;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%);
    transform: rotate(18deg);
    animation: heroShine 7s ease-in-out infinite;
    pointer-events: none;
}

/* Floating metallic orbs */
.floating-metallic,
.product-3d-container .floating-metallic {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.product-3d-container .sphere-1 {
    width: 74px;
    height: 74px;
    top: 8%;
    right: 6%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, #CBD6E4 40%, #8B98AB 100%);
    box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5);
    animation: floatY 6s ease-in-out infinite;
}

.product-3d-container .sphere-2 {
    width: 44px;
    height: 44px;
    bottom: 16%;
    left: 4%;
    background: radial-gradient(circle at 32% 28%, #CFE0FF 0%, var(--color-accent) 55%, #4A74C4 100%);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
    animation: floatY 5.2s ease-in-out 0.6s infinite;
}

.product-3d-container .sphere-3 {
    width: 26px;
    height: 26px;
    top: 32%;
    left: 10%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, var(--color-silver) 55%, #7A8698 100%);
    box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.45);
    animation: floatY 4.6s ease-in-out 1.1s infinite;
}

/* ============================================================
   QUALITY / FEATURE CARDS
   ============================================================ */
.quality-section {
    background: var(--color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.quality-section .section-title {
    color: #fff;
}

.quality-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.quality-section .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 1.9rem 1.6rem;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.quality-section .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 74, 58, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.quality-section .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.1rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, rgba(23, 74, 58, 0.22), rgba(23, 74, 58, 0.05));
    color: var(--color-accent-soft);
}

.quality-section .feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.45rem;
}

.quality-section .feature-description {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   WHOLESALE SECTION
   ============================================================ */
.wholesale-section {
    background:
        radial-gradient(90% 120% at 15% 0%, rgba(23, 74, 58, 0.18), transparent 55%),
        linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    overflow: hidden;
}

.wholesale-section .section-title {
    color: #fff;
}

.wholesale-section .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.wholesale-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.wholesale-benefit {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wholesale-benefit .benefit-highlight {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent-soft);
}

.wholesale-benefit .benefit-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.wholesale-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.review-card {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.review-card .reviewer-avatar .avatar-placeholder {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #2F5597);
    color: var(--color-accent-soft);
    font-weight: 700;
    font-size: 0.9rem;
}

.review-card .reviewer-name {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.review-card .review-rating {
    color: var(--color-accent);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.review-card .review-text {
    color: var(--color-dark-gray);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.review-card .review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-light-gray);
}

.review-card .review-date {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
}

.review-card .review-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--color-success);
}

/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    background:
        radial-gradient(80% 140% at 85% 20%, rgba(23, 74, 58, 0.28), transparent 60%),
        linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-3xl);
    padding: 4rem 3rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 40rem;
    margin: 0 auto 1.9rem;
    font-size: 1.02rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 480px;
    margin: 1.5rem auto 0;
}

.newsletter-form input {
    flex: 1;
    min-height: 50px;
    padding: 0 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    min-height: 50px;
}

/* Footer newsletter band */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.footer-newsletter .newsletter-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.footer-newsletter .newsletter-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-newsletter .newsletter-message {
    min-height: 1.4em;
    margin: 0.75rem auto 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-newsletter .newsletter-message.error {
    color: #ff6b6b;
}

.footer-newsletter .newsletter-message.success {
    color: #6bdc8e;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 4.5rem 0 0;
    margin-top: 5rem;
}

.footer-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-section .footer-logo img {
    height: 46px;
    width: auto;
    margin-bottom: 1.2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.15rem;
    text-transform: uppercase;
}

.footer-nav {
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.65rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent-soft);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.75);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.contact-item svg {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--color-accent-soft);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 1.4rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-accent-soft);
}

/* ============================================================
   PAGE HEADERS / BREADCRUMB
   ============================================================ */
.page-cover {
    position: relative;
    background: var(--color-primary);
    color: #fff;
    padding: 3.5rem 0;
    overflow: hidden;
}

.page-cover::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -80%;
    width: 46%;
    height: 220%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(23, 74, 58, 0.16), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-cover .page-title {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.page-cover .page-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
}

.breadcrumb a,
.breadcrumb span {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-accent-soft);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-header {
    background: var(--color-primary);
    color: #fff;
    padding: 3.5rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.shop-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100%;
    height: 3.5rem;
    background: var(--color-off-white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateX(-50%) scale(1.6);
    pointer-events: none;
}

.shop-header .page-title,
.shop-header .section-title {
    color: #fff;
}

.shop-header .page-description {
    color: rgba(255, 255, 255, 0.75);
}

.shop-header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.shop-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-search {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-full);
    padding: 0 0.9rem;
    height: 50px;
    width: 260px;
    box-shadow: var(--shadow-md);
}

.shop-search-icon {
    position: static;
    color: var(--color-medium-gray);
    flex: 0 0 auto;
}

.shop-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 0.6rem;
    font-size: 0.92rem;
    color: var(--color-primary);
    min-width: 0;
}

.shop-search-clear {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--color-light-gray);
    color: var(--color-medium-gray);
    cursor: pointer;
    flex: 0 0 auto;
    transform: none;
}

.sort-dropdown {
    position: relative;
}

.sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 50px;
    padding: 0 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.sort-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.sort-menu.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    display: block;
    width: 100%;
    padding: 0.65rem 0.9rem;
    text-align: left;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.sort-option:hover {
    background: rgba(23, 74, 58, 0.1);
}

.sort-option.active {
    background: rgba(23, 74, 58, 0.14);
    color: var(--color-accent);
    font-weight: 600;
}

.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    height: 50px;
    padding: 0 1.15rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.shop-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0 4rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 2.25rem;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: 0.75rem;
}

.filter-title {
    font-size: 1.05rem;
    margin: 0;
}

.filter-clear {
    background: none;
    border: none;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
}

.filter-clear:hover {
    background: rgba(23, 74, 58, 0.1);
}

.filter-group {
    border-bottom: 1px solid var(--color-light-gray);
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.filter-group-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.filter-icon {
    color: var(--color-medium-gray);
    transition: transform var(--transition-fast);
}

.filter-group.open .filter-icon {
    transform: rotate(180deg);
}

.filter-content {
    padding-bottom: 1rem;
    display: block;
}

.filter-group.closed .filter-content {
    display: none;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-dark-gray);
}

.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.checkbox-mark {
    display: inline-flex;
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--color-silver-dark);
    border-radius: 5px;
    flex: 0 0 auto;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.filter-checkbox input:checked + .checkbox-mark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-count {
    margin-left: auto;
    color: var(--color-medium-gray);
    font-size: 0.78rem;
}

.price-slider {
    width: 100%;
    accent-color: var(--color-accent);
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: var(--color-medium-gray);
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

.rating-stars {
    color: var(--color-accent);
    letter-spacing: 0.06em;
}

/* Product grid section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.75rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    border: 1px solid var(--color-light-gray);
    background: #fff;
    color: var(--color-dark-gray);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled):not(.active) {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
   MOBILE FILTER DRAWER + SORT SHEET
   ============================================================ */
.mobile-filter-drawer,
.mobile-sort-sheet {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    pointer-events: none;
}

.mobile-filter-drawer.active,
.mobile-sort-sheet.active {
    visibility: visible;
    pointer-events: auto;
}

.drawer-backdrop,
.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 44, 0.5);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-filter-drawer.active .drawer-backdrop,
.mobile-sort-sheet.active .sheet-backdrop {
    opacity: 1;
}

.drawer-content,
.sheet-content {
    position: absolute;
    background: #fff;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.drawer-content {
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 340px);
    transform: translateX(-100%);
}

.mobile-filter-drawer.active .drawer-content {
    transform: translateX(0);
}

.sheet-content {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
    padding: 1.5rem 1.25rem 1.75rem;
    transform: translateY(100%);
}

.mobile-sort-sheet.active .sheet-content {
    transform: translateY(0);
}

.drawer-header,
.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.sheet-header {
    padding: 0 0 1rem;
}

.drawer-title,
.sheet-title {
    font-size: 1.1rem;
    margin: 0;
}

.drawer-close,
.sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--color-off-white);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.drawer-close:hover,
.sheet-close:hover {
    background: var(--color-light-gray);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.drawer-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-light-gray);
}

.drawer-footer .btn {
    flex: 1;
}

.sheet-body {
    display: grid;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.sort-option-mobile {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: left;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--color-off-white);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.sort-option-mobile.active {
    background: rgba(23, 74, 58, 0.14);
    color: var(--color-accent);
    font-weight: 600;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background: #fff;
    border: 1px dashed var(--color-light-gray);
    border-radius: var(--radius-2xl);
}

.empty-state-title,
.empty-state .empty-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.empty-state-text,
.empty-state .empty-subtitle {
    color: var(--color-medium-gray);
    margin-bottom: 1.25rem;
}

.loading-placeholder,
.loading-skeleton {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 3rem;
    color: var(--color-medium-gray);
}

.loading-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid var(--color-light-gray);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: var(--radius-2xl);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-input,
.form-select,
.form-textarea,
.premium-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    background: #fff;
    border: 1.5px solid var(--color-light-gray);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.premium-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(23, 74, 58, 0.12);
}

.form-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
    display: block;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-item {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: opacity var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.cart-item:hover {
    box-shadow: var(--shadow-lg);
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(24px);
}

.cart-item .item-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(160deg, #fbfaf6, #ebe9df);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.cart-item .item-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-medium-gray);
    background: var(--color-light-gray);
}

.cart-item .item-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cart-item .item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item .item-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-primary);
}

.cart-item .item-sku {
    font-size: 0.78rem;
    color: var(--color-medium-gray);
}

.cart-item .remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: none;
    border-radius: 50%;
    background: var(--color-off-white);
    color: var(--color-medium-gray);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cart-item .remove-item:hover {
    background: var(--color-error);
    color: #fff;
}

.cart-item .item-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.cart-item .item-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.cart-item .quantity-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 38px;
    border: none;
    background: var(--color-off-white);
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cart-item .quantity-btn:hover {
    background: var(--color-light-gray);
}

.cart-item .quantity-input {
    width: 46px;
    height: 38px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    outline: none;
    -moz-appearance: textfield;
}

.cart-item .quantity-input::-webkit-outer-spin-button,
.cart-item .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item .current-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
}

.cart-item .original-price {
    text-decoration: line-through;
    color: var(--color-medium-gray);
    font-size: 0.85rem;
    margin-left: 0.4rem;
}

.cart-summary {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: var(--color-dark-gray);
}

.price-row + .price-row {
    border-top: 1px solid var(--color-light-gray);
}

.price-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.price-row .price-label,
.price-row .price-value {
    margin: 0;
}

.delivery-message {
    font-size: 0.82rem;
    color: var(--color-medium-gray);
    margin-top: 0.35rem;
}

.progress-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--color-light-gray);
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.checkout-btn {
    width: 100%;
    margin-top: 1rem;
}

.coupon-section {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
}

.coupon-form {
    display: flex;
    gap: 0.6rem;
}

.coupon-form .coupon-input {
    flex: 1;
    min-width: 0;
}

.apply-coupon {
    white-space: nowrap;
}

.clear-cart-btn {
    background: none;
    border: none;
    color: var(--color-error);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
}

.clear-cart-btn:hover {
    background: rgba(214, 69, 69, 0.1);
}

.cart-empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 4rem 1.5rem;
    background: #fff;
    border: 1px dashed var(--color-light-gray);
    border-radius: var(--radius-2xl);
    min-height: 320px;
}

.cart-empty-message p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-dark-gray);
}

.cart-empty-message .btn-primary {
    width: auto;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.form-section {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.form-section h3,
.form-section .section-title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.summary-card {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.order-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.7rem 0;
}

.order-item .item-image {
    width: 74px;
    height: 74px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
}

.order-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.order-item .item-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: var(--color-primary);
}

.order-item .item-quantity {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
}

.order-item .item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.address-card {
    display: flex;
    gap: 0.9rem;
    padding: 1.1rem;
    border: 1.5px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    margin-bottom: 0.85rem;
}

.address-card.selected,
.address-card:has(input:checked) {
    border-color: var(--color-accent);
    background: rgba(23, 74, 58, 0.04);
}

.address-details p {
    margin: 0;
    color: var(--color-dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.address-location,
.address-phone {
    color: var(--color-medium-gray) !important;
}

.address-indicator {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 50%;
    flex: 0 0 auto;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.address-card.selected .address-indicator,
.address-card:has(input:checked) .address-indicator {
    border-color: var(--color-accent);
    background: radial-gradient(circle, var(--color-accent) 45%, transparent 50%);
}

.payment-options {
    display: grid;
    gap: 0.85rem;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    border: 1.5px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.payment-card:hover {
    border-color: var(--color-silver-dark);
}

.payment-card:has(input:checked) {
    border-color: var(--color-accent);
    background: rgba(23, 74, 58, 0.04);
}

.payment-card input {
    accent-color: var(--color-accent);
}

.payment-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-hint {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(47, 158, 79, 0.08);
    color: var(--color-success);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============================================================
   AUTH / ACCOUNT PAGES
   ============================================================ */
.login-page,
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(70% 90% at 15% 10%, rgba(23, 74, 58, 0.12), transparent 55%),
        linear-gradient(160deg, var(--color-off-white), #EEF4FC);
}

.login-card,
.auth-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--color-light-gray);
}

.auth-card .btn-primary,
.login-card .btn-primary,
.form-container .btn-primary,
.login-container .btn-primary {
    width: 100%;
}

/* Account pages content padding */
.account-page,
.profile-page,
.orders-page {
    padding: 2.5rem 0;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-3d-wrapper {
    perspective: 1200px;
}

.product-gallery {
    border-radius: var(--radius-3xl);
    overflow: hidden;
    background: linear-gradient(160deg, #F4F8FF, #E6EEFA);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border: 1px solid var(--color-light-gray);
    box-shadow: var(--shadow-md);
}

.product-gallery .main-image-wrapper img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1;
    filter: drop-shadow(0 24px 34px rgba(16, 47, 39, 0.25));
    border-radius: 10px;
    transition: transform var(--transition-base);
}

.product-gallery .thumbnail {
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0.2rem;
    cursor: pointer;
    background: #fff;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-gallery .thumbnail.active {
    border-color: var(--color-accent);
}

.product-gallery .thumbnail:hover {
    transform: translateY(-2px);
}

.product-gallery .thumbnail img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 6px;
}

.product-name {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.sale-price {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.original-price {
    font-size: 1.05rem;
    color: var(--color-medium-gray);
    text-decoration: line-through;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    background: rgba(214, 69, 69, 0.12);
    color: var(--color-error);
    font-size: 0.8rem;
    font-weight: 700;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-indicator::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-success);
}

.stock-indicator.out-of-stock::before {
    background: var(--color-error);
}

.stock-indicator.in-stock::before {
    background: var(--color-success);
}

/* ============================================================
   TOAST
   ============================================================ */
.customer-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    max-width: 360px;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-xl);
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-xl);
    font-size: 0.9rem;
    border-left: 4px solid var(--color-accent);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.customer-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.customer-toast-success {
    border-left-color: var(--color-success);
}

.customer-toast-error {
    border-left-color: var(--color-error);
}

@media (max-width: 480px) {
    .customer-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes modalDrop {
    from { opacity: 0; transform: translateY(-18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes heroShine {
    0%, 60%, 100% { transform: rotate(18deg) translateX(-40%); }
    35% { transform: rotate(18deg) translateX(60%); }
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal (opt-in via [data-reveal]) */
html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js-reveal [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html.js-reveal [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .product-grid,
    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .shop-layout {
        /* Below 1024px shop.css hides .filter-sidebar and swaps in the
           off-canvas .mobile-filter-toggle, so the content must take the full
           width. Declaring the 232px sidebar track here anyway parked the
           product grid in the collapsed sidebar column, squeezing tablet
           product cards to ~104px (and their CTAs to ~29px). */
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid,
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 3.5rem 0 4.5rem;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .product-showcase {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-container,
    .footer-container,
    .hero-container,
    .container,
    .section-container {
        width: calc(100% - 32px);
    }
    
    .categories-section .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    
    .category-card .category-title {
        font-size: 1rem;
    }
    
    .category-card .category-description {
        font-size: 0.75rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .shop-header {
        padding: 2.5rem 0 6.5rem;
    }

    .shop-header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-controls {
        flex-direction: row;
    }

    .shop-search {
        flex: 1;
        width: auto;
    }

    .sort-dropdown {
        flex-basis: 100%;
        order: 3;
    }

    .sort-toggle {
        width: 100%;
        justify-content: space-between;
        border-color: var(--color-silver-light);
    }

    .sort-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: auto;
        min-width: 100%;
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
        box-shadow: 0 -14px 40px rgba(16, 47, 39, 0.18);
        z-index: 80;
        transform: translateY(100%);
    }

    .sort-option {
        padding: 0.95rem 1.1rem;
        font-size: 1rem;
    }

    .mobile-filter-toggle {
        display: inline-flex;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        display: none;
    }

    .product-grid,
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .product-card .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-card .product-buttons .btn {
        width: 100%;
    }

    .product-card .product-info {
        padding: 0.9rem;
        gap: 0.4rem;
    }

    .product-card .product-title {
        font-size: 0.92rem;
    }

    .product-card .current-price {
        font-size: 1.05rem;
    }

    .wholesale-benefits {
        grid-template-columns: 1fr;
    }

    .wholesale-cards {
        grid-template-columns: 1fr;
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 3rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cart-item {
        grid-template-columns: 96px 1fr;
        padding: 0.9rem;
    }

    .cart-item .current-price {
        font-size: 0.95rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.85rem, 5.5vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.05rem);
        line-height: 1.5;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    .hero-trust .trust-item {
        color: #ffffff;
    }
}

/* ============================================================
   STOREFRONT REDESIGN
   Shared presentation layer for every customer route. It modernises
   existing templates without changing their PHP, API hooks, forms, or
   event targets. Targeted legacy overrides follow later in this file.
   ============================================================ */

:root {
    --ecw-ivory: #fbfaf6;
    --ecw-ivory-deep: #f0eee5;
    --ecw-forest: #174a3a;
    --ecw-forest-deep: #102f27;
    --ecw-forest-muted: #2f6a53;
    --ecw-gold: #ad8242;
    --ecw-gold-light: #d5b579;
    --ecw-ink: #183129;
    --ecw-copy: #43554c;
    --ecw-line: rgba(23, 74, 58, 0.14);
    --ecw-radius-card: 18px;
    --ecw-radius-control: 12px;
    --ecw-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    background: var(--ecw-ivory);
}

body {
    background: var(--ecw-ivory);
    color: var(--ecw-ink);
    font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ecw-forest-deep);
    font-family: "Aptos Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
}

p {
    color: var(--ecw-copy);
}

::selection {
    background: var(--ecw-forest);
    color: var(--ecw-ivory);
}

:focus-visible {
    outline: 3px solid rgba(173, 130, 66, 0.72);
    outline-offset: 3px;
}

/* Header and navigation */
.main-header {
    height: var(--header-height);
    background: rgba(251, 250, 246, 0.92);
    border-bottom: 1px solid rgba(23, 74, 58, 0.1);
    box-shadow: none;
}

.main-header.scrolled {
    background: rgba(251, 250, 246, 0.97);
    border-bottom-color: rgba(23, 74, 58, 0.16);
    box-shadow: 0 12px 34px -24px rgba(16, 47, 39, 0.45);
}

.header-container {
    width: min(1400px, calc(100% - 64px));
    gap: clamp(1rem, 2.4vw, 2.8rem);
}

.logo-image {
    height: 52px;
    max-width: 176px;
}

.nav-list {
    gap: 0.15rem;
}

.nav-link {
    padding: 0.58rem 0.78rem;
    color: var(--ecw-copy);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.015em;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(23, 74, 58, 0.08);
    color: var(--ecw-forest-deep);
}

.nav-link.active {
    box-shadow: inset 0 -2px 0 var(--ecw-gold);
}

.header-actions {
    gap: 0.4rem;
}

.header-action,
.account-user-btn {
    width: 42px;
    height: 42px;
    margin-left: 0;
    border: 1px solid rgba(23, 74, 58, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ecw-forest-deep);
    box-shadow: none;
}

.header-action:hover,
.header-action.active,
.account-user-btn:hover,
.account-user-btn.active {
    background: var(--ecw-forest);
    border-color: var(--ecw-forest);
    color: #fff;
    transform: translateY(-1px);
}

.cart-count {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--ecw-gold);
    color: var(--ecw-forest-deep);
    font-size: 0.67rem;
    font-weight: 800;
    border: 2px solid var(--ecw-ivory);
}

.account-menu {
    border: 1px solid var(--ecw-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 44px -24px rgba(16, 47, 39, 0.38);
}

.account-menu-item:hover {
    background: var(--color-primary-soft);
    color: var(--ecw-forest-deep);
}

/* Shared controls */
.btn,
button.btn,
.premium-btn {
    min-height: 48px;
    border-radius: var(--ecw-radius-control);
    font-weight: 750;
    letter-spacing: 0.01em;
    transition: transform 220ms var(--ecw-ease), box-shadow 220ms var(--ecw-ease), background-color 220ms var(--ecw-ease), border-color 220ms var(--ecw-ease), color 220ms var(--ecw-ease);
}

.btn:hover:not(:disabled),
.premium-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn-primary,
.btn-gold,
.premium-btn,
.checkout-btn,
.place-order-btn,
.payment-btn {
    border: 1px solid var(--ecw-gold);
    background: var(--ecw-gold);
    color: var(--ecw-forest-deep);
    box-shadow: 0 12px 22px -14px rgba(143, 107, 54, 0.75);
}

.btn-primary:hover:not(:disabled),
.btn-gold:hover:not(:disabled),
.premium-btn:hover:not(:disabled),
.checkout-btn:hover:not(:disabled),
.place-order-btn:hover:not(:disabled),
.payment-btn:hover:not(:disabled) {
    background: #c39a59;
    border-color: #c39a59;
    color: var(--ecw-forest-deep);
    box-shadow: 0 16px 28px -16px rgba(143, 107, 54, 0.85);
}

.btn-secondary,
.btn-outline {
    border: 1px solid rgba(251, 250, 246, 0.72);
    background: rgba(251, 250, 246, 0.12);
    color: inherit;
}

main:not(.home-page) .btn-outline,
.product-page .btn-secondary,
.shop-page .btn-secondary,
.cart-page .btn-secondary,
.checkout-page .btn-secondary,
.account-page .btn-secondary,
.categories-page .btn-secondary,
.category-detail-page .btn-secondary {
    border-color: rgba(23, 74, 58, 0.26);
    background: transparent;
    color: var(--ecw-forest-deep);
}

main:not(.home-page) .btn-outline:hover:not(:disabled),
.product-page .btn-secondary:hover:not(:disabled),
.shop-page .btn-secondary:hover:not(:disabled),
.cart-page .btn-secondary:hover:not(:disabled),
.checkout-page .btn-secondary:hover:not(:disabled),
.account-page .btn-secondary:hover:not(:disabled),
.categories-page .btn-secondary:hover:not(:disabled),
.category-detail-page .btn-secondary:hover:not(:disabled) {
    border-color: var(--ecw-forest);
    background: var(--ecw-forest);
    color: #fff;
}

button:disabled,
.btn:disabled,
.btn.disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
    box-shadow: none;
}

input,
select,
textarea,
.form-input,
.form-select,
.form-textarea {
    border: 1px solid rgba(23, 74, 58, 0.2);
    border-radius: var(--ecw-radius-control);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ecw-ink);
    box-shadow: inset 0 1px 0 rgba(16, 47, 39, 0.03);
    transition: border-color 180ms var(--ecw-ease), box-shadow 180ms var(--ecw-ease), background-color 180ms var(--ecw-ease);
}

input::placeholder,
textarea::placeholder {
    color: #809088;
}

input:focus,
select:focus,
textarea:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--ecw-forest-muted);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 106, 83, 0.12);
    outline: 0;
}

/* Footer */
.main-footer {
    background: var(--ecw-forest-deep);
    border-top: 4px solid var(--ecw-gold);
}

.footer-newsletter {
    border: 1px solid rgba(213, 181, 121, 0.2);
    border-radius: var(--ecw-radius-card);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-title,
.footer-section h3,
.footer-bottom h3 {
    color: #fff;
    letter-spacing: -0.02em;
}

.newsletter-subtitle,
.footer-description,
.footer-nav a,
.contact-item,
.footer-copyright p,
.footer-legal a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--ecw-gold-light);
}

.footer-newsletter .newsletter-form input {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-newsletter .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.social-link {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.social-link:hover {
    background: var(--ecw-gold);
    color: var(--ecw-forest-deep);
}

/* Homepage: a full-bleed, cinematic product-led hero */
.home-page .hero-section {
    position: relative;
    min-height: min(820px, calc(100dvh - var(--header-height)));
    min-height: min(820px, calc(100svh - var(--header-height)));
    display: flex;
    align-items: center;
    isolation: isolate;
    background: var(--ecw-forest-deep);
    overflow: hidden;
}

.home-page .hero-section .hero-container {
    position: static;
    width: min(1400px, calc(100% - 64px));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(820px, calc(100dvh - var(--header-height)));
    min-height: min(820px, calc(100svh - var(--header-height)));
    padding: clamp(5.5rem, 11vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.home-page .hero-section .hero-content {
    position: relative;
    z-index: 2;
    width: min(640px, 100%);
    text-align: left;
    pointer-events: auto;
}

.home-page .hero-section .section-kicker {
    color: var(--ecw-gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.home-page .hero-section .section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--ecw-gold);
    border-radius: 2px;
}

.home-page .hero-title {
    max-width: 14ch;
    color: #fff;
    font-family: var(--font-family-heading);
    font-size: clamp(2.75rem, 5.5vw, 5.25rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin-bottom: 1.25rem;
}

.home-page .hero-title .highlight {
    color: var(--ecw-gold-light);
    background: linear-gradient(135deg, #d5b579 0%, #ad8242 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.home-page .hero-subtitle {
    max-width: 48ch;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.65;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.home-page .hero-actions .btn-gold {
    background: linear-gradient(135deg, #ad8242 0%, #c9a44e 100%);
    border: 1px solid var(--ecw-gold);
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(173, 130, 66, 0.6);
}

.home-page .hero-actions .btn-gold:hover {
    background: linear-gradient(135deg, #96712e 0%, #ad8242 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(173, 130, 66, 0.7);
}

.home-page .hero-actions .btn-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.home-page .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.home-page .hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
}

.home-page .trust-item svg {
    color: var(--ecw-gold-light);
}

.home-page .hero-section .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
}




.home-page .hero-brand-overlay {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .home-page .hero-anim-stagger {
        animation: ecw-hero-rise 720ms var(--ecw-ease) both;
    }

    .home-page .hero-anim-stagger:nth-child(2) {
        animation-delay: 100ms;
    }

    .home-page .hero-anim-stagger:nth-child(3) {
        animation-delay: 190ms;
    }

    .home-page .hero-anim-stagger:nth-child(4) {
        animation-delay: 280ms;
    }

    .product-card,
    .category-card,
    .dashboard-card,
    .summary-card,
    .form-section,
    .review-card {
        transition: transform 260ms var(--ecw-ease), box-shadow 260ms var(--ecw-ease), border-color 260ms var(--ecw-ease);
    }
}

@keyframes ecw-hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product and collection surfaces */
.home-page .products-section,
.home-page .categories-section,
.home-page .quality-section,
.home-page .craft-section,
.home-page .featured-showcase,
.home-page .reviews-section,
.home-page .cta-section,
.shop-page,
.search-page,
.categories-page,
.category-detail-page,
.product-page,
.cart-page,
.checkout-page,
.account-page,
.profile-page,
.addresses-page,
.orders-page,
.order-details-page,
.payment-page,
.order-success-page,
.order-failed-page {
    background: var(--ecw-ivory);
}

.home-page .products-section,
.home-page .categories-section,
.home-page .quality-section,
.home-page .craft-section,
.home-page .featured-showcase,
.home-page .reviews-section,
.home-page .cta-section {
    padding-block: clamp(4rem, 8vw, 7.5rem);
}

.home-page .craft-section,
.home-page .reviews-section,
.home-page .cta-section {
    background: var(--ecw-ivory-deep);
}

.section-header {
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title {
    color: var(--ecw-forest-deep);
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    letter-spacing: -0.045em;
}

.section-subtitle {
    color: var(--ecw-copy);
    line-height: 1.6;
}

.section-kicker {
    color: var(--ecw-gold);
    font-weight: 800;
}

.section-kicker::before {
    background: var(--ecw-gold);
}

.product-card,
.category-card,
.review-card,
.summary-card,
.form-section,
.dashboard-card,
.recent-orders-card,
.address-card,
.order-card,
.search-filter-panel,
.filter-sidebar,
.shipping-card,
.payment-method-card {
    border: 1px solid var(--ecw-line);
    border-radius: var(--ecw-radius-card);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px -26px rgba(16, 47, 39, 0.42);
}

.product-card {
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(173, 130, 66, 0.55);
    box-shadow: 0 24px 42px -28px rgba(16, 47, 39, 0.48);
}

.product-card .product-image {
    background: linear-gradient(145deg, #f5f5ef, #e3eae4);
}

.product-card .product-image img,
.product-card .product-placeholder {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-card .product-info {
    padding: 1.2rem 1.2rem 1.35rem;
}

.product-card .product-title a {
    color: var(--ecw-forest-deep);
}

.product-card .current-price,
.sale-price,
.product-page .sale-price {
    color: var(--ecw-forest-deep);
}

.product-card .product-badge,
.discount-badge {
    border-radius: 7px;
    background: var(--ecw-forest);
    color: #fff;
    box-shadow: none;
}

.product-card .product-badge.discount,
.discount-badge {
    background: var(--ecw-gold);
    color: var(--ecw-forest-deep);
}

.product-card .product-buttons .btn {
    min-height: 42px;
}

.product-card .product-actions .product-action {
    border-color: rgba(23, 74, 58, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ecw-forest-deep);
}

.product-card .product-actions .product-action:hover {
    background: var(--ecw-forest);
    border-color: var(--ecw-forest);
    color: #fff;
}

.category-card:hover,
.dashboard-card:hover,
.review-card:hover {
    border-color: rgba(173, 130, 66, 0.45);
    box-shadow: 0 20px 38px -28px rgba(16, 47, 39, 0.46);
}

.product-details,
.cart-content,
.checkout-content,
.account-content,
.profile-content,
.addresses-content,
.orders-content,
.shop-content,
.search-content {
    padding-block: clamp(2.5rem, 5vw, 5rem);
}

.product-details .product-layout {
    gap: clamp(2rem, 5vw, 5rem);
}

.product-gallery .main-image-wrapper,
.main-image-container {
    border: 1px solid var(--ecw-line);
    border-radius: var(--ecw-radius-card);
    background: linear-gradient(145deg, #fff, #edf1ec);
    overflow: hidden;
}

.main-image {
    object-fit: contain;
}

.thumbnail {
    border-radius: 10px;
    border-color: transparent;
    background: #fff;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--ecw-gold);
}

.product-name {
    color: var(--ecw-forest-deep);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.product-rating .stars,
.review-rating,
.rating-value {
    color: var(--ecw-gold);
}

.capacity-option {
    border: 1px solid var(--ecw-line);
    border-radius: var(--ecw-radius-control);
    background: #fff;
    color: var(--ecw-forest-deep);
}

.capacity-option:hover,
.capacity-option.is-selected {
    border-color: var(--ecw-forest);
    background: var(--color-primary-soft);
    box-shadow: inset 0 0 0 1px var(--ecw-forest);
}

.quantity-controls,
.quantity-btn,
.quantity-input {
    border-color: var(--ecw-line);
}

.quantity-btn:hover {
    background: var(--ecw-forest);
    color: #fff;
}

.product-actions {
    position: static;
    opacity: 1;
    transform: none;
}

/* Cart, checkout, account, and transactional status pages */
.cart-header,
.checkout-header,
.shop-header,
.search-hero,
.categories-hero,
.category-hero,
.orders-header,
.account-header,
.profile-header,
.addresses-header,
.order-details-header {
    background: linear-gradient(135deg, var(--ecw-forest-deep), var(--ecw-forest));
}

.cart-header h1,
.checkout-header h1,
.shop-header h1,
.search-hero h1,
.categories-hero h1,
.category-hero h1,
.orders-header h1,
.account-header h1,
.profile-header h1,
.addresses-header h1,
.order-details-header h1,
.cart-header p,
.checkout-header p,
.shop-header p,
.search-hero p,
.categories-hero p,
.category-hero p,
.orders-header p,
.account-header p,
.profile-header p,
.addresses-header p,
.order-details-header p {
    color: #fff;
}

.cart-item,
.checkout-item,
.order-summary,
.price-breakdown,
.form-section,
.address-option,
.saved-address,
.order-item {
    border-color: var(--ecw-line);
}

.summary-title,
.form-section .section-title,
.card-title,
.orders-title,
.profile-title,
.address-title,
.order-title {
    color: var(--ecw-forest-deep);
}

.price-row.total,
.summary-total,
.order-total {
    border-top-color: rgba(23, 74, 58, 0.25);
    color: var(--ecw-forest-deep);
}

.checkout-progress .progress-step.active .step-number,
.checkout-progress .progress-step.completed .step-number,
.progress-line.completed {
    background: var(--ecw-gold);
    color: var(--ecw-forest-deep);
}

.checkout-progress .progress-step.active .step-label,
.checkout-progress .progress-step.completed .step-label {
    color: var(--ecw-forest-deep);
}

.form-section .section-header {
    margin: 0 0 1.5rem;
    text-align: left;
}

.address-option.selected,
.saved-address.selected,
.payment-method.selected {
    border-color: var(--ecw-forest);
    background: var(--color-primary-soft);
    box-shadow: inset 0 0 0 1px var(--ecw-forest);
}

.status-badge,
.order-status,
.payment-status,
.status-chip {
    border-radius: 999px;
    font-weight: 750;
}

.empty-cart,
.empty-state,
.no-results,
.not-found-state {
    border: 1px dashed rgba(23, 74, 58, 0.25);
    border-radius: var(--ecw-radius-card);
    background: rgba(255, 255, 255, 0.52);
}

/* Auth pages use the same calm material language without changing forms. */
.login-background,
.register-background,
.forgot-password-background,
.reset-password-background {
    background: radial-gradient(circle at 12% 12%, rgba(213, 181, 121, 0.33), transparent 30%), linear-gradient(135deg, #e8ede8, var(--ecw-ivory));
}

.login-card,
.register-card,
.forgot-password-card,
.reset-password-card {
    border: 1px solid rgba(23, 74, 58, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 70px -35px rgba(16, 47, 39, 0.42);
}

.welcome-title,
.register-title,
.forgot-password-title,
.reset-password-title {
    color: var(--ecw-forest-deep);
}

.brand-subtitle,
.welcome-description,
.register-description,
.forgot-password-description,
.reset-password-description {
    color: var(--ecw-copy);
}

.forgot-password,
.premium-link,
.auth-link {
    color: var(--ecw-forest);
    font-weight: 750;
}

/* Informational pages retain their content and gain one readable rhythm. */
.about-page,
.manufacturing-page,
.wholesale-page,
.contact-page,
.faq-page,
.privacy-page,
.terms-page,
.refund-policy-page,
.shipping-policy-page,
.cancellation-policy-page {
    background: var(--ecw-ivory);
}

.about-hero,
.manufacturing-hero,
.wholesale-hero,
.contact-hero,
.faq-hero,
.policy-hero {
    background: linear-gradient(135deg, var(--ecw-forest-deep), var(--ecw-forest));
}

.about-hero h1,
.manufacturing-hero h1,
.wholesale-hero h1,
.contact-hero h1,
.faq-hero h1,
.policy-hero h1,
.about-hero p,
.manufacturing-hero p,
.wholesale-hero p,
.contact-hero p,
.faq-hero p,
.policy-hero p {
    color: #fff;
}

.faq-item,
.contact-card,
.info-card,
.policy-content,
.toc-card,
.manufacturing-step,
.wholesale-benefit {
    border-color: var(--ecw-line);
    border-radius: var(--ecw-radius-card);
}

.faq-question:hover,
.faq-item.active .faq-question {
    color: var(--ecw-forest);
}

/* Compact screens: layouts become single-column before controls crowd. */
@media (max-width: 1100px) {
    .header-container {
        width: min(100% - 36px, 1400px);
    }

    .nav-link {
        padding-inline: 0.58rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 768px) {
    .main-header,
    .header-container {
        height: 68px;
    }

    .header-container,
    .container,
    .section-container {
        width: min(100% - 32px, 1400px);
    }

    .logo-image {
        height: 43px;
        max-width: 128px;
    }

    .header-action,
    .account-user-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-nav-content {
        width: min(88vw, 360px);
        background: var(--ecw-ivory);
    }

    .mobile-nav-header {
        border-bottom-color: var(--ecw-line);
    }

    .mobile-nav-link {
        color: var(--ecw-forest-deep);
        border-bottom-color: var(--ecw-line);
    }

    .mobile-nav-link.active,
    .mobile-nav-link:hover {
        color: var(--ecw-gold);
    }

    .home-page .hero-section,
    .home-page .hero-section .hero-container {
        min-height: 640px;
    }

    .home-page .hero-section .hero-container {
        width: min(100% - 32px, 1400px);
        padding-block: 4.75rem 4rem;
        align-items: end;
    }

    .home-page .hero-section .hero-content {
        width: 100%;
    }

    .home-page .hero-title {
        max-width: 9ch;
        font-size: clamp(2.75rem, 13vw, 4.1rem);
    }

    .home-page .hero-subtitle {
        max-width: 33ch;
        font-size: 0.98rem;
    }



    .home-page .hero-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .home-page .hero-actions .btn {
        width: 100%;
    }

    .home-page .hero-trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .home-page .products-section,
    .home-page .categories-section,
    .home-page .quality-section,
    .home-page .craft-section,
    .home-page .featured-showcase,
    .home-page .reviews-section,
    .home-page .cta-section {
        padding-block: 3.75rem;
    }

    .product-card .product-info {
        padding: 1rem;
    }

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

    .product-name {
        font-size: 2.2rem;
    }

    .form-section,
    .summary-card,
    .dashboard-card,
    .recent-orders-card {
        border-radius: 14px;
    }

    .main-footer {
        padding-top: 2.75rem;
    }

    .footer-main {
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 480px) {
    /* Ensure 2-col -> wider mobile grid stays 2 cols; tighten card sizing */
    .product-card .product-image img {
        max-width: 82%;
    }

    .product-card .product-action {
        width: 34px;
        height: 34px;
    }

    .product-card .product-badge {
        top: 0.6rem;
        left: 0.6rem;
    }

    .account-user-btn .account-user-name {
        display: none;
    }

    .account-user-btn {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .sh-hero-stats {
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* ============================================================
   HOMEPAGE companion styles
   ============================================================ */
.hero-section .hero-content {
    max-width: 34rem;
}

.hero-section .hero-content .section-kicker {
    color: var(--color-accent-soft);
    margin-bottom: 1.1rem;
}

/* Category card as full link */
.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.category-card .category-content {
    z-index: 1;
}

/* --- Product / category / review grids on the homepage --- */
    .categories-section .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }

    @media (max-width: 768px) {
        .categories-section .categories-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem;
        }
    }

.products-section .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.reviews-section .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px dashed var(--color-light-gray);
    border-radius: var(--radius-2xl);
    color: var(--color-medium-gray);
}

/* --- Craft / materials split section --- */
.craft-section {
    background: var(--color-off-white);
}

.craft-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.craft-visual {
    position: relative;
}

.craft-image-frame {
    position: relative;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
    background: linear-gradient(160deg, #F6F9FF, #DCE6F4);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.craft-image {
    width: 100%;
    max-width: 86%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(16, 47, 39, 0.28));
    border-radius: 10px;
}

.craft-badge {
    position: absolute;
    right: -1.25rem;
    bottom: 1.75rem;
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.craft-badge .badge-stat {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.craft-badge .badge-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-dark-gray);
    margin-top: 0.25rem;
}

.craft-text .section-kicker {
    color: var(--color-accent);
}

.craft-description {
    color: var(--color-dark-gray);
    font-size: 1rem;
    line-height: 1.75;
    margin: 1.25rem 0 1.75rem;
    max-width: 34rem;
}

.craft-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.craft-stat {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    padding: 1.1rem 0.9rem;
    text-align: center;
}

.craft-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.craft-stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-medium-gray);
    margin-top: 0.4rem;
}

/* --- 3D featured showcase --- */
.featured-showcase {
    background: var(--color-primary);
    color: #fff;
    overflow: hidden;
}

.featured-showcase .section-kicker {
    color: var(--color-accent-soft);
}

.showcase-stage {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0 1rem;
}

.showcase-visual {
    perspective: 1200px;
}

.showcase-product-stage {
    position: relative;
    border-radius: 50% 50% 44% 44% / 60% 60% 40% 40%;
    background:
        radial-gradient(120% 90% at 50% 12%, var(--color-secondary) 0%, var(--color-primary-dark) 55%, #0a1f1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 110px -40px #000;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform var(--transition-base);
}

.featured-showcase:hover .showcase-product-stage {
    transform: rotateY(-3deg) rotateX(2deg);
}

.showcase-product-img {
    width: 100%;
    max-width: 78%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
    border-radius: 12px;
}

.showcase-title {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.showcase-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.showcase-specs {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.showcase-specs li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.showcase-specs svg {
    color: var(--color-accent-soft);
}

@media (max-width: 900px) {
    .categories-section .categories-grid,
    .products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .reviews-section .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .craft-content,
    .showcase-stage {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .craft-badge {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    /* Homepage shop grids stay 2-up on phones. The previous single-column
       fallback stacked four tall cards per section and made the homepage
       ~15,000px tall on a 390px screen, which read as an endless page of
       white space. This matches the earlier note near the product-card rules
       ("Ensure 2-col ... stays 2 cols"); the two blocks must agree. */
    .categories-section .categories-grid,
    .products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    /* A category card is a caption over an image. On a 2-up phone grid the
       default 4/5 portrait frame plus a 2-line blurb left no image visible,
       so drop the blurb (it stays on the category page) and tighten the
       caption; the portrait frame then shows a real product photo. */
    .category-card .category-image-wrapper {
        padding: 0.6rem;
    }

    .category-card .category-content {
        padding: 0.85rem;
    }

    .category-card .category-title {
        font-size: 0.98rem;
    }

    .category-card .category-description {
        display: none;
    }

    .category-card .category-link,
    .category-card .category-explore-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.76rem;
    }

    /* The hero's 700px min-height plus a stacked visual pushed the shop below
       the fold on every phone width. Let content set the height instead. */
    .hero-section {
        min-height: 0;
    }

    .hero-container {
        padding: 2rem 0 2.5rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        line-height: 1.1;
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.05rem);
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }

    .hero-actions .btn {
        width: 100%;
        flex: 1 1 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    .hero-trust .trust-item {
        color: #ffffff;
    }

    .hero-trust .trust-item {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.95);
    }

    .product-showcase {
        max-width: 260px;
    }

    .craft-content,
    .showcase-stage {
        gap: 1.75rem;
    }

    .craft-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   GLOBAL DESIGN SYSTEM — UNIFIED BUTTONS
   Maps legacy page-specific button classes onto the single
   blue button system (consistent height, padding, radius).
   Semantic variants (danger / success / whatsapp / google)
   intentionally retain their meaning.
   ============================================================ */
.cta-btn,
.hero-cta-btn,
.form-submit-btn,
.premium-btn,
.pagination-btn,
.checkout-btn,
.continue-btn,
.buy-now,
.empty-state-btn,
.view-order-btn,
.retry-btn,
.pay-now-btn,
.action-btn,
.category-explore-btn,
.continue-shopping-btn,
.reset-search-btn,
.view-btn,
.account-logout-btn,
.wholesale .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.cta-btn:hover,
.hero-cta-btn:hover,
.form-submit-btn:hover,
.premium-btn:hover:not([disabled]),
.pagination-btn:hover,
.checkout-btn:hover,
.continue-btn:hover,
.buy-now:hover,
.empty-state-btn:hover,
.view-order-btn:hover,
.retry-btn:hover,
.pay-now-btn:hover,
.action-btn:hover,
.category-explore-btn:hover,
.continue-shopping-btn:hover,
.reset-search-btn:hover,
.view-btn:hover,
.account-logout-btn:hover,
.wholesale .cta-btn:hover {
    transform: translateY(-2px);
}

/* Primary-styled marketing CTA buttons -> solid blue */
.cta-btn.primary,
.hero-cta-btn,
.form-submit-btn,
.checkout-btn,
.continue-btn,
.buy-now,
.pay-now-btn,
.category-explore-btn,
.continue-shopping-btn,
.view-order-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border: 1px solid var(--color-primary);
    box-shadow: 0 10px 22px -10px rgba(16, 47, 39, 0.5);
}

.cta-btn.primary:hover,
.hero-cta-btn:hover,
.form-submit-btn:hover,
.checkout-btn:hover,
.continue-btn:hover,
.buy-now:hover,
.pay-now-btn:hover,
.category-explore-btn:hover,
.continue-shopping-btn:hover,
.view-order-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
}

/* Secondary-styled marketing CTA buttons -> light blue / white + blue border */
.cta-btn.secondary,
.pagination-btn,
.view-btn,
.reset-search-btn,
.account-logout-btn,
.retry-btn {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border: 1.5px solid rgba(23, 74, 58, 0.28);
}

.cta-btn.secondary:hover,
.pagination-btn:hover,
.view-btn:hover,
.reset-search-btn:hover,
.account-logout-btn:hover,
.retry-btn:hover {
    background: var(--color-white);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Semantic variants keep meaning */
.action-btn.danger {
    background: var(--color-error);
    color: #fff;
}

/* ============================================================
   GLOBAL DESIGN SYSTEM — SECTION RHYTHM
   One consistent vertical rhythm for core content sections.
   Desktop ~64px, tablet ~>=40px, mobile ~40px.
   ============================================================ */
.categories-section,
.products-section,
.quality-section,
.craft-section,
.featured-showcase,
.wholesale-section,
.reviews-section,
.cta-section,
.categories-showcase,
.contact-info-section,
.social-section,
.wholesale-features-section,
.wholesale-stats-section,
.wholesale-form-section,
.about-story-section,
.about-values-section,
.features-section,
.faq-cards-section,
.faq-cta-section,
.order-success-section,
.order-failed-section,
.orders-section,
.cart-section,
.checkout-section {
    padding-block: var(--section-y);
}

@media (max-width: 768px) {
    .categories-section,
    .products-section,
    .quality-section,
    .craft-section,
    .featured-showcase,
    .wholesale-section,
    .reviews-section,
    .cta-section,
    .categories-showcase,
    .contact-info-section,
    .social-section,
    .wholesale-features-section,
    .wholesale-stats-section,
    .wholesale-form-section,
    .faq-cards-section,
    .faq-cta-section,
    .order-success-section,
    .order-failed-section,
    .orders-section,
    .cart-section,
    .checkout-section {
        padding-block: clamp(2rem, 6vw, 3rem);
    }
}

/* ============================================================
   GLOBAL DESIGN SYSTEM — WHOLESALE PAGE (scoped premium redesign)
   Elevates the wholesale page to the premium blue system with
   refined hero, cards, stats, forms and CTA. Loads last so it
   wins over the legacy wholesale.css.
   ============================================================ */
.wholesale-page .wholesale-hero {
    min-height: 620px;
    align-items: center;
    background:
        radial-gradient(90% 140% at 12% -10%, rgba(23, 74, 58, 0.30), transparent 55%),
        radial-gradient(70% 110% at 92% 112%, rgba(127, 168, 247, 0.14), transparent 55%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.wholesale-page .wholesale-hero .hero-content {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3rem;
    padding: 4.5rem 0 5.5rem;
}

.wholesale-page .hero-kicker,
.contact-page .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-soft);
    margin-bottom: 1rem;
}

.wholesale-page .hero-kicker::before,
.contact-page .hero-kicker::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--color-accent-soft);
    border-radius: 2px;
}

.wholesale-page .hero-title {
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.wholesale-page .hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-accent-soft);
    margin-bottom: 1.4rem;
}

.wholesale-page .hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 30rem;
    margin-bottom: 2rem;
}

.wholesale-page .wholesale-showcase {
    max-width: 480px;
}

.wholesale-page .showcase-badge,
.contact-page .showcase-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    background: rgba(8, 20, 45, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.wholesale-page .showcase-badge i,
.contact-page .showcase-badge i {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.15rem;
}

.wholesale-page .badge-top {
    top: 12%;
    left: -4%;
}

.wholesale-page .badge-bottom {
    bottom: 14%;
    right: -4%;
}

/* Feature cards — always visible, premium surfaces */
.wholesale-page .feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    opacity: 1;
    transform: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.wholesale-page .feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-soft);
    box-shadow: var(--shadow-lg);
}

.wholesale-page .feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #fff;
    box-shadow: 0 12px 24px -10px rgba(23, 74, 58, 0.45);
}

.wholesale-page .feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.wholesale-page .feature-description {
    font-size: 0.95rem;
    color: var(--color-medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Stats section */
.wholesale-page .wholesale-stats-section {
    background:
        radial-gradient(90% 130% at 18% 0%, rgba(23, 74, 58, 0.22), transparent 55%),
        linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.wholesale-page .stats-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

.wholesale-page .stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(8px);
    padding: 2rem 1.5rem;
}

.wholesale-page .stat-number {
    font-size: 2.75rem;
    color: var(--color-accent-soft);
}

.wholesale-page .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Form section */
.wholesale-page .wholesale-form {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 24px 60px -24px rgba(16, 47, 39, 0.25);
}

.wholesale-page .form-title {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.wholesale-page .form-subtitle {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.wholesale-page .benefit-item {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 14px -8px rgba(16, 47, 39, 0.14);
    padding: 0.85rem 1rem;
}

.wholesale-page .form-input,
.wholesale-page .form-select,
.wholesale-page .form-textarea {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.wholesale-page .form-input:focus,
.wholesale-page .form-select:focus,
.wholesale-page .form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(23, 74, 58, 0.15);
}

.wholesale-page .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.45rem;
}

.wholesale-page .form-submit-btn {
    min-height: 48px;
    border-radius: 10px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 14px 30px -14px rgba(23, 74, 58, 0.7);
}

.wholesale-page .form-submit-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* CTA section */
.wholesale-page .cta-section {
    background:
        radial-gradient(80% 140% at 18% 0%, rgba(127, 168, 247, 0.22), transparent 55%),
        radial-gradient(70% 120% at 85% 100%, rgba(23, 74, 58, 0.18), transparent 55%),
        linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.wholesale-page .cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.wholesale-page .cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   GLOBAL DESIGN SYSTEM — CONTACT PAGE (scoped premium redesign)
   ============================================================ */
.contact-page .contact-hero {
    min-height: 600px;
    align-items: center;
    background:
        radial-gradient(90% 140% at 12% -10%, rgba(23, 74, 58, 0.30), transparent 55%),
        radial-gradient(70% 110% at 92% 112%, rgba(127, 168, 247, 0.14), transparent 55%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.contact-page .contact-hero .hero-content {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3rem;
    padding: 4rem 0 5rem;
}

.contact-page .hero-title {
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-page .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-accent-soft);
    margin-bottom: 1.1rem;
}

.contact-page .hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 30rem;
}

/* Contact hero showcase — concentric glass rings + orbit nodes */
.contact-page .contact-showcase {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page .contact-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.contact-page .ring-outer {
    width: 100%;
    height: 100%;
    animation: heroSpin 40s linear infinite;
}

.contact-page .ring-mid {
    width: 62%;
    height: 62%;
}

.contact-page .contact-core {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-soft);
    background:
        radial-gradient(120% 120% at 30% 20%, #2F5597 0%, var(--color-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-page .contact-orbit {
    position: absolute;
    width: 76%;
    aspect-ratio: 1;
    animation: heroSpin 26s linear infinite reverse;
    pointer-events: none;
}

.contact-page .orbit-node {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.contact-page .node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.contact-page .node-2 { top: 50%; right: 0; transform: translate(50%, -50%); }
.contact-page .node-3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.contact-page .node-4 { top: 50%; left: 0; transform: translate(-50%, -50%); }

.contact-page .contact-showcase .badge-top {
    top: 4%;
    right: 2%;
}

.contact-page .contact-showcase .badge-bottom {
    bottom: 6%;
    left: 0%;
}

/* Contact info cards */
.contact-page .contact-cards {
    gap: 1.5rem;
}

.contact-page .contact-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-md);
    opacity: 1;
    transform: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-page .contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.contact-page .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contact-page .phone-card .card-icon { background: rgba(23, 74, 58, 0.12); color: var(--color-accent); }
.contact-page .whatsapp-card .card-icon { background: rgba(37, 211, 102, 0.14); color: #1DA851; }
.contact-page .email-card .card-icon { background: rgba(127, 168, 247, 0.18); color: var(--color-primary); }
.contact-page .location-card .card-icon { background: rgba(217, 119, 6, 0.12); color: #d97706; }

.contact-page .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.contact-page .card-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.contact-page .card-subtitle {
    font-size: 0.875rem;
    color: var(--color-medium-gray);
    margin-bottom: 1rem;
}

.contact-page .card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

/* Map section */
.contact-page .map-section {
    padding-block: var(--section-y);
}

.contact-page .map-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(90% 140% at 80% 10%, rgba(23, 74, 58, 0.28), transparent 55%),
        linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    opacity: 1;
    transform: none;
    box-shadow: 0 30px 70px -30px rgba(16, 47, 39, 0.55);
}

.contact-page .map-placeholder {
    background: transparent;
}

.contact-page .map-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-page .map-title {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.contact-page .map-address {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 34rem;
    margin: 0 auto 1.5rem;
}

.contact-page .map-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.contact-page .map-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

/* Social cards */
.contact-page .social-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}

.contact-page .social-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    opacity: 1;
    transform: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-page .social-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-soft);
    box-shadow: var(--shadow-lg);
}

.contact-page .social-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
}

.contact-page .instagram-card .social-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-page .youtube-card .social-icon {
    background: #ff0000;
}

.contact-page .social-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.2rem;
}

.contact-page .social-handle {
    font-size: 0.875rem;
    color: var(--color-medium-gray);
    margin-bottom: 1rem;
}

.contact-page .social-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.55rem 1.35rem;
    border-radius: 10px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(23, 74, 58, 0.2);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.contact-page .social-action:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Contact form section */
.contact-page .contact-form-section {
    padding-block: var(--section-y);
    background: var(--color-off-white);
}

.contact-page .contact-form-section .form-title {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.contact-page .contact-form-section .form-subtitle {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.contact-page .contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 24px 60px -24px rgba(16, 47, 39, 0.25);
}

.contact-page .contact-form-section .form-input,
.contact-page .contact-form-section .form-textarea {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.contact-page .contact-form-section .form-input:focus,
.contact-page .contact-form-section .form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(23, 74, 58, 0.15);
}

.contact-page .contact-form-section .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.45rem;
}

.contact-page .contact-form-section .form-submit-btn {
    min-height: 48px;
    border-radius: 10px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 14px 30px -14px rgba(23, 74, 58, 0.7);
}

.contact-page .contact-form-section .form-submit-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* Show reveal-animated blocks immediately on these pages (always visible) */
.wholesale-page .form-info,
.wholesale-page .form-container,
.contact-page .form-info,
.contact-page .form-container {
    opacity: 1;
    transform: none;
}

/* ============================================================
   WHOLESALE / CONTACT — responsive refinements
   ============================================================ */
@media (max-width: 1024px) {
    .wholesale-page .wholesale-hero,
    .contact-page .contact-hero {
        min-height: 540px;
    }

    .contact-page .badge-top { right: 6%; }
    .contact-page .badge-bottom { left: 4%; }
}

@media (max-width: 768px) {
    .wholesale-page .hero-title,
    .contact-page .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .wholesale-page .hero-subtitle {
        font-size: 1.4rem;
    }

    .wholesale-page .hero-description,
    .contact-page .hero-description {
        font-size: 1rem;
    }

    .wholesale-page .wholesale-showcase {
        max-width: 360px;
    }

    .wholesale-page .wholesale-hero .hero-content,
    .contact-page .contact-hero .hero-content {
        gap: 2.5rem;
        padding: 3rem 0;
    }

    .contact-page .contact-showcase {
        max-width: 320px;
    }

    .contact-page .contact-core {
        width: 132px;
        height: 132px;
    }

    .contact-page .orbit-node {
        width: 46px;
        height: 46px;
    }

    .contact-page .social-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 480px) {
    .wholesale-page .hero-title,
    .contact-page .hero-title {
        font-size: 2.1rem;
    }

    .wholesale-page .wholesale-showcase {
        max-width: 300px;
    }

    .contact-page .contact-showcase {
        max-width: 264px;
    }

    .contact-page .contact-core {
        width: 112px;
        height: 112px;
    }

    .contact-page .color-orbit,
    .contact-page .orbit-node {
        width: 42px;
        height: 42px;
    }

    .wholesale-page .showcase-badge,
    .contact-page .showcase-badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .wholesale-page .showcase-badge i,
    .contact-page .showcase-badge i {
        font-size: 0.65rem;
    }

    .wholesale-page .feature-icon {
        width: 60px;
        height: 60px;
    }

    .contact-page .card-icon {
        width: 56px;
        height: 56px;
    }
}

@keyframes heroSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================
   SHOP PAGE POLISH (navy + gold accent layer)
   ============================================================ */

/* Header: layered navy + gold glows for depth */
.shop-header {
    background:
        radial-gradient(1000px 420px at 88% -10%, rgba(23, 74, 58, 0.35) 0%, rgba(23, 74, 58, 0) 58%),
        radial-gradient(820px 380px at -8% 8%, rgba(201, 162, 39, 0.16) 0%, rgba(23, 74, 58, 0) 55%),
        var(--color-primary);
}

.shop-header .breadcrumb {
    margin-bottom: 1.1rem;
}

.shop-header .page-title {
    position: relative;
}

.shop-header .page-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #c9a227, #e5c05c);
    margin-top: 0.85rem;
}

.shop-header .page-description {
    margin-top: 0.9rem;
    font-size: 0.95rem;
}

/* Search + sort: solid white pills with navy text for a tidy cluster */
.sort-toggle {
    border-color: var(--color-light-gray);
    background: #fff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.sort-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: #fff;
}

.sort-toggle .sort-label {
    color: var(--color-medium-gray);
}

.sort-toggle .sort-value {
    color: var(--color-primary);
    font-weight: 600;
}

/* Card CTA hierarchy: Buy Now = gold accent, Add to Cart = navy */
.product-card .product-buttons .buy-now {
    background: linear-gradient(135deg, #c9a227 0%, #a8812a 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 18px -10px rgba(201, 162, 39, 0.55);
}

.product-card .product-buttons .buy-now:hover {
    background: linear-gradient(135deg, #d8b436 0%, #b18f2c 100%);
    box-shadow: 0 14px 22px -10px rgba(201, 162, 39, 0.6);
    transform: translateY(-1px);
}

.product-card .product-buttons .add-to-cart {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    color: #fff;
}

.product-card .product-buttons .add-to-cart:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-navy) 100%);
    transform: translateY(-1px);
}

/* Card hover border tint */
.product-card:hover {
    border-color: rgba(23, 74, 58, 0.35);
}

/* Filter sidebar polish */
.filter-sidebar .filter-title {
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.filter-sidebar .filter-clear:hover {
    color: var(--color-error);
    background: rgba(220, 38, 38, 0.08);
}

.filter-checkbox:hover .checkbox-label {
    color: var(--color-primary);
}

.filter-checkbox input:checked + .checkbox-mark {
    background: linear-gradient(135deg, #c9a227 0%, #a8812a 100%);
    border-color: #b18f2c;
}

.filter-checkbox input:focus-visible + .checkbox-mark {
    outline: 2px solid rgba(201, 162, 39, 0.55);
    outline-offset: 1px;
}

.price-slider {
    accent-color: #c9a227;
}

.rating-stars {
    color: #c9a227;
}

/* Pagination touch-ups */
.pagination-btn:hover:not(:disabled):not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .shop-header {
        padding: 2.25rem 0 6rem;
    }

    .shop-header .page-title::after {
        width: 44px;
    }

    .shop-controls .shop-search,
    .shop-controls .sort-toggle {
        height: 46px;
    }

    .shop-controls .mobile-filter-toggle {
        height: 46px;
    }

    .product-grid {
        gap: 1rem;
    }

    .product-card .product-buttons .btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
        min-height: 42px;
    }

    .product-card .product-info {
        padding: 0.9rem 0.9rem 1rem;
        gap: 0.45rem;
    }
}

/* ===== Product sticky bottom bar: always visible ===== */
.mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 -6px 24px rgba(26, 29, 46, 0.12);
}

.sticky-bar-content {
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.sticky-sale-price {
    color: var(--color-primary);
}

.sticky-add-cart,
.sticky-checkout-btn {
    flex: 1 1 auto;
    max-width: 240px;
    white-space: nowrap;
}

.sticky-add-cart {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.sticky-add-cart:hover {
    background: #0f2f60;
    border-color: #0f2f60;
}

.sticky-checkout-btn {
    background: linear-gradient(135deg, #c9a227, #a88420);
    border-color: #c9a227;
    color: #fff;
}

.sticky-checkout-btn:hover {
    filter: brightness(1.06);
    color: #fff;
    transform: translateY(-1px);
}

body {
    padding-bottom: 0;
}

.product-details {
    padding-bottom: 88px;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }

    .sticky-bar-content {
        gap: 8px;
    }

    .sticky-add-cart,
    .sticky-checkout-btn {
        padding: 10px 10px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* ===== Categories page: header + spacing + card UI ===== */
.categories-header {
    padding: 2.5rem 0 3.25rem;
    background:
        linear-gradient(135deg, #f5f6f8 0%, #edeff3 100%),
        radial-gradient(circle at 20% 50%, rgba(23, 74, 58, 0.06) 0%, transparent 50%);
}

.categories-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    background: #fff;
    border: 1px solid rgba(23, 74, 58, 0.15);
    border-radius: 999px;
    box-shadow: 0 4px 14px -6px rgba(26, 29, 46, 0.12);
    font-size: 0.8rem;
}

.categories-header .breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.categories-header .breadcrumb .separator {
    color: #9aa3b2;
}

.categories-header .breadcrumb .breadcrumb-current {
    color: #6b7280;
    font-weight: 600;
}

.categories-title {
    margin-bottom: 1rem;
}

.categories-subtitle {
    font-size: 1.05rem;
}

/* Section header above grid */
.categories-showcase {
    padding: 3.25rem 0 5rem;
}

.categories-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 29, 46, 0.08);
}

.categories-section-header .section-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1d2e;
}

.categories-count-badge {
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #c9a227, #a88420);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 6px 16px -6px rgba(201, 162, 39, 0.6);
}

/* Grid and card spacing */
.categories-grid {
    /* min(320px, 100%) not a bare minmax(320px, 1fr): this file loads after
       categories.css and would otherwise re-impose a 320px minimum track at a
       320px viewport, overflowing /categories. */
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.75rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26, 29, 46, 0.06);
}

.category-card .category-3d-container {
    flex-shrink: 0;
}

.category-card .category-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.5rem 1.75rem;
}

.category-name {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.category-description {
    flex: 1;
    margin-bottom: 1rem;
    min-height: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-meta {
    margin-bottom: 1.1rem;
}

.category-meta .product-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: rgba(23, 74, 58, 0.09);
    color: var(--color-primary);
    border: 1px solid rgba(23, 74, 58, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.category-explore-btn {
    justify-content: center;
    width: 100%;
}

.category-badge {
    font-size: 0.7rem;
}

/* CTA spacing */
.category-cta {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .categories-showcase {
        padding: 2.25rem 0 3.5rem;
    }

    .categories-grid {
        gap: 1.25rem;
    }

    .categories-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .category-card .category-content {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

/* ============================================================
   CONTACT FORM BUTTON — keep label visible on all states
   ============================================================ */
.contact-page .contact-form-section .form-submit-btn span,
.contact-page .contact-form-section .form-submit-btn svg {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.contact-page .contact-form-section .form-submit-btn:hover span,
.contact-page .contact-form-section .form-submit-btn:active span,
.contact-page .contact-form-section .form-submit-btn:focus span,
.contact-page .contact-form-section .form-submit-btn[disabled] span {
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff;
}

/* ============================================================
   SECTION HEADINGS on dark navy sections — force true white
   (kill the transparent-fill gradient clip that renders black)
   ============================================================ */
.quality-section .section-title,
.quality-section h2,
.wholesale-section .section-title,
.wholesale-section h2,
.featured-showcase .section-title,
.featured-showcase h2 {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* ============================================================
   INFO, POLICY, FAQ, ABOUT & MANUFACTURING — PREMIUM REDESIGN
   Navy premium heroes + card-based content for the static pages:
   Shipping / Refund / Cancellation / Privacy / Terms (policy),
   plus FAQ, About and Manufacturing.
   ============================================================ */

/* ---------- NAVY PREMIUM HERO (shared surface) ---------- */
.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero),
.faq-page .faq-hero,
.about-page .about-hero,
.manufacturing-page .factory-hero {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: clamp(3.75rem, 7vw, 6rem) 0;
    background:
        radial-gradient(90% 130% at 12% -10%, rgba(23, 74, 58, 0.4), transparent 55%),
        radial-gradient(70% 120% at 92% 118%, rgba(127, 168, 247, 0.16), transparent 55%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-bottom: none;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero)::before,
.faq-page .faq-hero::before,
.about-page .about-hero::before,
.manufacturing-page .factory-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(80% 80% at 50% 35%, #000 30%, transparent 78%);
    mask-image: radial-gradient(80% 80% at 50% 35%, #000 30%, transparent 78%);
    pointer-events: none;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero)::after,
.faq-page .faq-hero::after,
.about-page .about-hero::after,
.manufacturing-page .factory-hero::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -210px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 168, 247, 0.28), transparent 65%);
    filter: blur(38px);
    pointer-events: none;
}

/* Hide legacy gray gradient layers inside feature heroes */
.faq-page .faq-hero .hero-background,
.about-page .about-hero .hero-background,
.manufacturing-page .factory-hero .hero-background {
    display: none;
}

/* ---------- Hero kicker (matches wholesale / contact) ---------- */
.faq-page .hero-kicker,
.about-page .hero-kicker,
.manufacturing-page .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-soft);
    margin-bottom: 1.1rem;
}

.faq-page .hero-kicker::before,
.about-page .hero-kicker::before,
.manufacturing-page .hero-kicker::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--color-accent-soft);
    border-radius: 2px;
}

/* ---------- Policy hero inner content ---------- */
.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-label::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent-soft);
    box-shadow: 0 0 0 4px rgba(127, 168, 247, 0.25);
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    margin-bottom: 1.15rem;
    letter-spacing: -0.02em;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-subtitle {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: rgba(8, 20, 45, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero) .hero-subtitle::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent-soft);
    margin-right: 0.6rem;
}

/* ---------- Policy content section ---------- */
.policy-page :is(.shipping-content-section, .refund-content-section, .cancellation-content-section, .privacy-content-section, .terms-content-section) {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background:
        radial-gradient(90% 55% at 50% 0%, rgba(23, 74, 58, 0.07), transparent 62%),
        var(--color-primary-soft);
}

.policy-page :is(.shipping-body, .refund-body, .cancellation-body, .privacy-body, .terms-body) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: none;
    min-width: 0;
}

/* ---------- Policy sidebar (sticky table of contents) ---------- */
.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 1.5rem 1.3rem;
    box-shadow: 0 20px 44px -24px rgba(16, 47, 39, 0.25);
    scrollbar-width: thin;
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-header {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid var(--color-border);
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-title {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-toggle {
    color: var(--color-primary);
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-links {
    gap: 0.35rem;
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-link {
    color: var(--color-dark-gray);
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-link:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 12px 26px -12px rgba(16, 47, 39, 0.55);
}

/* ---------- Policy content cards ---------- */
.policy-page :is(.shipping-section, .refund-section, .cancellation-section, .privacy-section, .terms-section) {
    position: relative;
    margin: 0;
    padding: clamp(1.6rem, 3.5vw, 2.2rem);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 18px 42px -26px rgba(16, 47, 39, 0.22);
    scroll-margin-top: 120px;
}

.policy-page :is(.shipping-section, .refund-section, .cancellation-section, .privacy-section, .terms-section)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft), rgba(127, 168, 247, 0.15));
    border-radius: 18px 18px 0 0;
}

.policy-page .section-heading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    padding-bottom: 0.9rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.3;
}

.policy-page .section-heading::before {
    content: "";
    flex: 0 0 auto;
    width: 0.45rem;
    height: 1.3rem;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--color-accent), rgba(23, 74, 58, 0.35));
}

.policy-page .section-text {
    color: var(--color-dark-gray);
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.policy-page .section-text strong {
    color: var(--color-primary);
}

.policy-page .section-list {
    list-style: none;
    padding: 0.2rem 0 0.9rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.policy-page .section-list li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--color-dark-gray);
    line-height: 1.65;
    margin-bottom: 0;
}

.policy-page .section-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--color-accent-soft), var(--color-accent));
    box-shadow: 0 4px 10px -3px rgba(23, 74, 58, 0.6);
}

.policy-page .section-list li strong {
    color: var(--color-primary);
}

/* ---------- Policy tables ---------- */
.policy-page .delivery-table {
    margin: 1.4rem 0;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px -18px rgba(16, 47, 39, 0.2);
}

.policy-page .delivery-table .table-row {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--color-border);
}

.policy-page .delivery-table .table-row:last-child {
    border-bottom: none;
}

.policy-page .delivery-table .table-row.table-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.policy-page .delivery-table .table-row:nth-child(even):not(.table-header) {
    background: var(--color-primary-soft);
}

.policy-page .delivery-table .table-cell {
    font-size: 0.9rem;
    line-height: 1.6;
}

.policy-page .delivery-table .table-header .table-cell {
    color: #fff;
    font-weight: 600;
}

/* ---------- Policy contact info ---------- */
.policy-page .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
    padding: 0;
    background: none;
    border: none;
}

.policy-page .contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 1.2rem 1.25rem;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: 14px;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.policy-page .contact-item strong {
    color: var(--color-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.1rem;
}

.policy-page .contact-item a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.policy-page .contact-item a:hover {
    text-decoration: underline;
}

/* ---------- Refund policy blocks ---------- */
.policy-page .process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.4rem 0;
    padding: 0;
    list-style: none;
}

.policy-page .process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.05rem 1.1rem;
    border-radius: 14px;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
}

.policy-page .process-step .step-number {
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px -10px rgba(23, 74, 58, 0.7);
}

.policy-page .process-step .step-title {
    color: var(--color-primary);
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}

.policy-page .process-step .step-description {
    color: var(--color-dark-gray);
    font-size: 0.92rem;
    margin: 0;
}

.policy-page .refund-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
}

.policy-page .refund-timeline .timeline-item {
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 10px 24px -16px rgba(16, 47, 39, 0.2);
}

.policy-page .refund-timeline .timeline-label {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.policy-page .refund-timeline .timeline-value {
    color: var(--color-medium-gray);
    font-size: 0.85rem;
}

/* ---------- Cancellation policy blocks ---------- */
.policy-page .cancellation-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
}

.policy-page .info-item {
    padding: 1.25rem 1.1rem;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px -18px rgba(16, 47, 39, 0.5);
}

.policy-page .info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.35rem;
}

.policy-page .info-value {
    font-weight: 700;
    font-size: 1rem;
}

.policy-page .refund-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
}

.policy-page .refund-method {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-primary-soft);
}

.policy-page .refund-method .method-icon {
    flex: 0 0 auto;
    width: 2.7rem;
    height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(23, 74, 58, 0.7);
}

.policy-page .refund-method .method-title {
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.policy-page .refund-method .method-description {
    color: var(--color-dark-gray);
    font-size: 0.88rem;
    margin: 0;
}

.policy-page .processing-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.4rem 0;
}

.policy-page .processing-timeline .timeline-step {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 28px -18px rgba(16, 47, 39, 0.22);
}

.policy-page .processing-timeline .step-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #fff;
    box-shadow: 0 12px 22px -10px rgba(23, 74, 58, 0.7);
}

.policy-page .processing-timeline .step-title {
    color: var(--color-primary);
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
}

.policy-page .processing-timeline .step-description {
    color: var(--color-medium-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- FAQ page ---------- */
.faq-page .faq-hero .hero-title,
.about-page .about-hero .hero-title,
.manufacturing-page .factory-hero .hero-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    margin-bottom: 1rem;
}

.faq-page .faq-hero .hero-subtitle,
.manufacturing-page .factory-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.about-page .about-hero .hero-subtitle {
    color: var(--color-accent-soft);
    font-weight: 600;
}

.about-page .about-hero .hero-description,
.manufacturing-page .factory-hero .hero-description {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.14em;
}

/* FAQ + Manufacturing hero visual — glass ring */
.faq-page .faq-showcase,
.manufacturing-page .factory-showcase {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(8, 20, 45, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 60px rgba(127, 168, 247, 0.18), 0 30px 70px -30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.faq-page .faq-showcase .faq-icon {
    font-size: 0;
}

.faq-page .faq-showcase .faq-icon::before {
    content: "?";
    font-size: 7rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.95;
}

.faq-page .floating-question {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

/* About hero cookware showcase — premium glass tiles */
.about-page .cookware-showcase {
    width: 100%;
    max-width: 480px;
    min-height: 400px;
}

.about-page .cookware-item {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 55px -20px rgba(0, 0, 0, 0.55), inset 0 0 34px rgba(127, 168, 247, 0.16);
    backdrop-filter: blur(4px);
    filter: grayscale(1) brightness(1.15) contrast(1.05);
}

/* Manufacturing icon polish */
.manufacturing-page .factory-icon {
    font-size: 6.5rem;
    filter: grayscale(1) brightness(1.15) contrast(1.05);
}

.about-page .image-content-icon,
.manufacturing-page .image-content-icon {
    filter: grayscale(1) brightness(1.1) contrast(1.02);
}

.manufacturing-page .step-image .image-placeholder .icon {
    filter: grayscale(1) brightness(1.12) contrast(1.02);
}

/* FAQ search + tabs + accordion */
.faq-page .search-section {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: var(--color-primary-soft);
}

.faq-page .search-container {
    max-width: 640px;
}

.faq-page .search-input {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 1rem 1.1rem 1rem calc(1.2rem + 52px);
    box-shadow: 0 18px 40px -24px rgba(16, 47, 39, 0.35);
    font-size: 1rem;
}

.faq-page .search-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(23, 74, 58, 0.14), 0 18px 40px -24px rgba(16, 47, 39, 0.3);
}

.faq-page .search-icon {
    color: var(--color-accent);
    left: 1.25rem;
}

.faq-page .clear-search {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.faq-page .faq-categories-section {
    padding: 1.5rem 0 clamp(3rem, 6vw, 4rem);
    background: var(--color-primary-soft);
}

.faq-page .category-tab {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-dark-gray);
    font-size: 0.85rem;
    font-weight: 600;
    /* Comfortable touch target for a chip control. */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.faq-page .category-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.faq-page .category-tab.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px -12px rgba(16, 47, 39, 0.5);
}

.faq-page .faq-category .category-title {
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
}

.faq-page .faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 28px -22px rgba(16, 47, 39, 0.3);
}

.faq-page .faq-question {
    padding: 1.2rem 1.3rem;
    background: #fff;
}

.faq-page .faq-question span {
    color: var(--color-charcoal);
    font-size: 1.02rem;
    font-weight: 600;
}

/* ---------- About page content polish ---------- */
.about-page .why-elite-section {
    background: var(--color-primary-soft);
}

.about-page .features-grid {
    gap: 1.4rem;
}

.about-page .feature-card {
    border-radius: 20px;
}

.about-page .feature-icon {
    border-radius: 18px;
}

/* ---------- Manufacturing page content polish ---------- */
.manufacturing-page .manufacturing-process-section,
.manufacturing-page .process-details-section {
    background: var(--color-primary-soft);
}

.manufacturing-page .process-timeline .step-card,
.manufacturing-page .detail-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 20px 44px -26px rgba(16, 47, 39, 0.25);
}

.manufacturing-page .step-image .image-placeholder {
    background: linear-gradient(145deg, var(--color-primary-soft), var(--color-primary-light));
    border-radius: 18px;
}

.manufacturing-page .detail-item {
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 767.98px) {
    .policy-page :is(.shipping-hero, .refund-hero, .cancellation-hero, .privacy-hero, .terms-hero),
    .faq-page .faq-hero,
    .about-page .about-hero,
    .manufacturing-page .factory-hero {
        padding: 3.4rem 0 3.8rem;
    }

    .policy-page :is(.shipping-section, .refund-section, .cancellation-section, .privacy-section, .terms-section) {
        padding: 1.5rem 1.3rem;
    }

    .policy-page :is(.shipping-nav, .refund-nav, .cancellation-nav, .privacy-nav, .terms-nav) {
        padding: 1.2rem 1rem;
    }

    .policy-page .delivery-table {
        overflow-x: auto;
    }

    .policy-page .delivery-table .table-row {
        grid-template-columns: 1fr;
        min-width: auto;
        gap: 0.15rem;
        padding: 0.65rem 1rem;
    }

    .policy-page :is(.shipping-body, .refund-body, .cancellation-body, .privacy-body, .terms-body) {
        min-width: 0;
    }

    .policy-page :is(.shipping-section, .refund-section, .cancellation-section, .privacy-section, .terms-section) {
        min-width: 0;
    }

    .faq-page .faq-showcase,
    .manufacturing-page .factory-showcase {
        width: 220px;
        height: 220px;
    }

    .faq-page .faq-showcase .faq-icon::before {
        font-size: 5rem;
    }

    .about-page .cookware-showcase {
        min-height: 300px;
    }

    .about-page .cookware-item {
        width: 84px;
        height: 84px;
        font-size: 2.4rem;
        border-radius: 20px;
    }

    .faq-page .category-tab {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }
}

/* ============================================================
   CATEGORIES PAGE + CATEGORY DETAIL — PREMIUM REDESIGN
   ============================================================ */
/* ---------- Categories page hero (navy) ---------- */
.categories-page .categories-header {
    position: relative;
    padding: 4rem 0 4.4rem;
    overflow: hidden;
    background:
        radial-gradient(90% 130% at 12% -10%, rgba(23, 74, 58, 0.35), transparent 50%),
        radial-gradient(80% 120% at 92% 115%, rgba(127, 168, 247, 0.16), transparent 60%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.categories-page .categories-background,
.categories-page .floating-element {
    display: none;
}

.categories-page .categories-header::before,
.categories-page .categories-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.categories-page .categories-header::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
}

.categories-page .categories-header::after {
    width: 420px;
    height: 420px;
    top: -200px;
    right: -120px;
    background: radial-gradient(circle, rgba(23, 74, 58, 0.4), transparent 65%);
    filter: blur(10px);
}

.categories-page .categories-header-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0.75rem;
}

.categories-page .categories-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px -6px rgba(16, 47, 39, 0.4);
    font-size: 0.8rem;
}

.categories-page .categories-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.categories-page .categories-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.categories-page .categories-header .breadcrumb .breadcrumb-current {
    color: #fff;
    font-weight: 700;
}

.categories-page .categories-header .hero-kicker {
    color: var(--color-accent-soft);
}

.categories-page .categories-header .hero-kicker::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--color-accent-soft);
    border-radius: 2px;
}

.categories-page .categories-title {
    margin-bottom: 1.1rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.categories-page .categories-title .title-line {
    display: block;
}

.categories-page .categories-title .title-line.highlight {
    color: #e9cf73;
    -webkit-text-fill-color: #e9cf73;
    text-fill-color: #e9cf73;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.categories-page .categories-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- Grid section header polish ---------- */
.categories-page .categories-section-header .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}

.categories-page .categories-section-header .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
}

/* ---------- Category card premium polish ---------- */
.categories-page .categories-grid .category-card {
    border-radius: 22px;
}

.categories-page .category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(140deg, #fff, #fff) padding-box,
        linear-gradient(140deg, rgba(23, 74, 58, 0.5), rgba(201, 162, 39, 0.35)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.categories-page .category-card:hover::after {
    opacity: 1;
}

/* ---------- Category detail: hero (navy) ---------- */
.category-detail-page .category-hero {
    position: relative;
    overflow: hidden;
    padding: 3.6rem 0 3.2rem;
    background:
        radial-gradient(90% 130% at 12% -10%, rgba(23, 74, 58, 0.4), transparent 50%),
        radial-gradient(80% 120% at 92% 115%, rgba(127, 168, 247, 0.18), transparent 60%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.category-detail-page .category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
    pointer-events: none;
}

.category-detail-page .category-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.category-detail-page .category-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
}

.category-detail-page .category-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.category-detail-page .category-hero .breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.category-detail-page .category-hero .breadcrumb .breadcrumb-current {
    color: #fff;
    font-weight: 700;
}

.category-detail-page .category-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-soft);
    margin-bottom: 1.1rem;
}

.category-detail-page .category-hero .hero-kicker::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--color-accent-soft);
    border-radius: 2px;
}

.category-detail-page .category-title {
    margin-bottom: 1rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.category-detail-page .category-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-bottom: 1.4rem;
}

.category-detail-page .category-product-count {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #c9a227, #a88420);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 8px 18px -8px rgba(201, 162, 39, 0.6);
}

.category-detail-page .category-product-count::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

/* ---------- Category detail: products section ---------- */
.category-detail-page .category-products {
    background: var(--color-primary-soft);
    padding: 3.25rem 0 4.5rem;
}

.category-detail-page .category-products-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 29, 46, 0.08);
}

.category-detail-page .category-products-header .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
    margin: 0;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
}

.category-detail-page .category-products-header .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
}

.category-detail-page .sort-toggle {
    border-radius: 12px;
}

/* ---------- Category CTA — navy card (both pages) ---------- */
.categories-page .category-cta,
.category-detail-page .category-cta {
    padding: 4rem 0;
    background: var(--color-primary-soft);
}

.categories-page .category-cta .cta-content,
.category-detail-page .category-cta .cta-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 3.4rem 2.5rem;
    text-align: center;
    overflow: hidden;
    color: #fff;
    border-radius: 26px;
    background:
        radial-gradient(80% 140% at 85% 20%, rgba(23, 74, 58, 0.3), transparent 60%),
        radial-gradient(70% 120% at 10% 100%, rgba(127, 168, 247, 0.18), transparent 55%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 26px 60px -28px rgba(16, 47, 39, 0.7);
}

.categories-page .category-cta .cta-title,
.category-detail-page .category-cta .cta-title {
    margin: 0 0 0.8rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.categories-page .category-cta .cta-subtitle,
.category-detail-page .category-cta .cta-subtitle {
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 1.9rem;
    max-width: 42rem;
}

.categories-page .category-cta .btn-secondary.cta-btn,
.category-detail-page .category-cta .btn-secondary.cta-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.categories-page .category-cta .btn-secondary.cta-btn:hover,
.category-detail-page .category-cta .btn-secondary.cta-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-detail-page .empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 767.98px) {
    .categories-page .categories-header,
    .category-detail-page .category-hero {
        padding: 2.8rem 0 3rem;
    }

    .categories-page .categories-title {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .category-detail-page .category-hero .breadcrumb {
        margin-bottom: 1.2rem;
    }

    .categories-page .category-cta .cta-content,
    .category-detail-page .category-cta .cta-content {
        padding: 2.5rem 1.4rem;
    }
}

/* ---------- Product-card touch targets ----------
   The card action icons drop to 34px at <=480px and the card CTAs to 42px at
   <=768px — both under the 44px comfortable-target threshold, and both only
   visible now that catalogue rows exist. Scoped to touch/small widths so the
   desktop card is visually unchanged. Placed last so it wins against the two
   earlier media blocks at equal specificity. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .product-card .product-action {
        width: 44px;
        height: 44px;
    }

    .product-card .product-buttons .btn,
    .product-card .product-info > .btn {
        min-height: 44px;
    }

    /* Product-gallery arrows: 40px base, dropped to 36px at <=480px. */
    .product-gallery .image-nav {
        width: 44px;
        height: 44px;
    }
}

/* ---------- Product-gallery stacking ----------
   `.product-gallery` is a centred flex row, so the main image and the 5-column
   thumbnail rail sit side by side. On a 360px phone that splits ~328px into a
   118px primary image and 20px thumbnails — both unusable. Below 768px stack
   them: the image takes the full width (capped at its 420px design size) and
   the thumbnails form a rail underneath. The higher-specificity selectors
   (`.product-gallery .x`) beat product.css's single-class rules. */
@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .product-gallery .main-image-container {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-gallery .thumbnail-gallery {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------------------------
   Very small phones (<= 400px).
   The header row is the logo plus up to three 44px round actions. With the
   default 24px container padding, a 32px column gap and a 20px left margin on
   each action, the row was ~279px wide inside a ~230px content box at a 320px
   viewport: it overflowed by ~49px and forced a horizontal scroll (the
   iPhone-SE-width defect that the 360/390/412 sweep never saw). Tighten the
   chrome instead of hiding an affordance, so no icon becomes unreachable.
   --------------------------------------------------------------------------- */
@media (max-width: 400px) {
    .header-container {
        width: calc(100% - 24px);
        padding-inline: 0;
        gap: 0.75rem;
    }

    /* The container gap now owns the spacing between actions. */
    .header-action {
        margin-left: 0;
    }

    .header-actions {
        gap: 0.15rem;
    }

    .logo-image {
        height: 40px;
    }
}

/* Final cascade for the light storefront canvas. These selectors sit after
   legacy homepage rules that were authored for a dark-blue section theme. */
.home-page .quality-section {
    background: var(--ecw-ivory);
}

.home-page .quality-section .section-title,
.home-page .quality-section .feature-title,
.home-page .featured-showcase .showcase-title {
    color: var(--ecw-forest-deep);
    -webkit-text-fill-color: var(--ecw-forest-deep);
    text-fill-color: var(--ecw-forest-deep);
}

.home-page .quality-section .section-subtitle,
.home-page .quality-section .feature-description,
.home-page .featured-showcase .showcase-subtitle,
.home-page .featured-showcase .showcase-specs,
.home-page .featured-showcase .showcase-specs li {
    color: var(--ecw-copy);
    -webkit-text-fill-color: var(--ecw-copy);
    text-fill-color: var(--ecw-copy);
}

.home-page .quality-section .feature-card {
    border: 1px solid var(--ecw-line);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px -26px rgba(16, 47, 39, 0.42);
}

.home-page .quality-section .feature-icon {
    background: var(--color-primary-soft);
    color: var(--ecw-gold);
}

.home-page .featured-showcase {
    background: var(--ecw-ivory);
}

.home-page .featured-showcase .showcase-specs svg {
    color: var(--ecw-gold);
}


/* ============================================================
   EXACT REFERENCE UI COMPONENT SUITE
   Matches .user_uploaded/media_1792677993959_84a99f7f.jpg
   ============================================================ */

/* 1. Header Search Bar (Pill) */
.header-search {
    flex: 1 1 300px;
    max-width: 340px;
    margin: 0 1.25rem;
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-search-form .search-icon {
    position: absolute;
    left: 14px;
    color: var(--color-medium-gray);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.header-search-input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 42px;
    font-size: 0.88rem;
    font-family: var(--font-family-base);
    color: var(--color-charcoal);
    background: #f3f5f3;
    border: 1px solid rgba(23, 74, 58, 0.12);
    border-radius: 999px;
    outline: none;
    transition: all var(--transition-fast);
}

.header-search-input:focus {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(23, 74, 58, 0.12);
}

/* 2. Hero Feature Pills & Slider Dots */
.hero-feature-pills {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.hero-pill svg {
    color: var(--color-accent-soft);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem !important;
    border-radius: 999px !important;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(173, 130, 66, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(173, 130, 66, 0.45);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.25rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--color-accent);
}

/* 3. Floating Trust Bar */
.trust-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -38px;
    margin-bottom: 3.5rem;
}

.trust-bar-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(23, 74, 58, 0.08);
    box-shadow: 0 16px 40px -12px rgba(16, 47, 39, 0.12);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-bar-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
}

.trust-bar-text {
    display: flex;
    flex-direction: column;
}

.trust-bar-title {
    font-family: var(--font-family-base);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0 0 2px 0;
    letter-spacing: -0.01em;
}

.trust-bar-desc {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
    margin: 0;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .trust-bar-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-top: -24px;
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .trust-bar-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
}

/* 4. Shop by Category Header Row & Circular Category Cards */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-left .section-kicker {
    margin-bottom: 0.4rem;
}

.section-header-left .section-title {
    text-align: left;
    margin-bottom: 0.25rem;
}

.section-header-left .section-subtitle {
    text-align: left;
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(23, 74, 58, 0.06);
    transition: all var(--transition-fast);
}

.section-view-all:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(3px);
}

/* Circular Category Grid */
.category-circle-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 1.75rem !important;
    padding: 0.5rem 0 !important;
}

.category-circle-card {
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: transform var(--transition-fast);
}

.category-circle-card:hover {
    transform: translateY(-6px);
}

.category-circle-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.category-circle-thumb {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid rgba(23, 74, 58, 0.08);
    box-shadow: 0 8px 24px -6px rgba(16, 47, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.category-circle-card:hover .category-circle-thumb {
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px -6px rgba(23, 74, 58, 0.2);
}

.category-circle-img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-circle-card:hover .category-circle-img {
    transform: scale(1.08);
}

.category-circle-title {
    font-family: var(--font-family-base) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--color-charcoal);
    margin: 0 !important;
    transition: color var(--transition-fast);
}

.category-circle-card:hover .category-circle-title {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .category-circle-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1.25rem !important;
        padding-bottom: 1rem !important;
    }
    .category-circle-card {
        flex: 0 0 120px;
        scroll-snap-align: start;
    }
    .category-circle-thumb {
        width: 110px;
        height: 110px;
    }
}

/* 5. Middle Promo Banner */
.home-promo-section {
    padding: 3rem 0;
}

.home-promo-card {
    background: linear-gradient(135deg, #102f27 0%, #174a3a 60%, #1d5745 100%);
    border-radius: 24px;
    padding: 3.5rem 4rem;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px -15px rgba(16, 47, 39, 0.35);
}

.home-promo-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(173, 130, 66, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.home-promo-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(173, 130, 66, 0.22);
    border: 1px solid rgba(173, 130, 66, 0.4);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.home-promo-title {
    font-family: var(--font-family-heading) !important;
    font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.18;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

.home-promo-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 52ch;
}

.home-promo-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.85rem 2rem;
}

.home-promo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-promo-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}

.home-promo-card:hover .home-promo-img {
    transform: scale(1.04) rotate(1deg);
}

@media (max-width: 991px) {
    .home-promo-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
        text-align: center;
    }
    .home-promo-subtitle {
        margin-inline: auto;
    }
}

/* 6. Product Category Filter Tabs */
.product-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tab-pill {
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-family-base);
    color: var(--color-dark-gray);
    background: #ffffff;
    border: 1px solid rgba(23, 74, 58, 0.12);
    border-radius: 999px;
    min-height: 44px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.tab-pill.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(23, 74, 58, 0.25);
}

/* 7. Product Cards Polish (Exact match to reference grid) */
.product-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(23, 74, 58, 0.08);
    box-shadow: 0 6px 20px -8px rgba(16, 47, 39, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 74, 58, 0.2);
    box-shadow: 0 16px 36px -10px rgba(16, 47, 39, 0.14);
}

.product-card .product-image {
    position: relative;
    background: #f7f9f7;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
}

.product-card .product-image img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-card .product-badge.discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #d97706;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.product-card .product-action.wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-medium-gray);
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.product-card .product-action.wishlist:hover {
    color: #e11d48;
    transform: scale(1.1);
}

.product-card .product-info {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .product-title {
    font-family: var(--font-family-base);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
    color: var(--color-charcoal);
}

.product-card .product-title a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.product-card .product-title a:hover {
    color: var(--color-primary);
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
}

.product-card .product-rating .stars {
    color: #eab308;
    letter-spacing: 1px;
}

.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.product-card .product-price .current-price {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.product-card .product-price .original-price {
    font-size: 0.88rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card .product-buttons {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.product-card .product-buttons .btn {
    flex: 1;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.product-card .product-buttons .add-to-cart {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(23, 74, 58, 0.2);
}

.product-card .product-buttons .add-to-cart:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 16px rgba(23, 74, 58, 0.3);
}

.product-card .product-buttons .buy-now {
    background: linear-gradient(135deg, #d5b579 0%, #ad8242 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(173, 130, 66, 0.25);
}

.product-card .product-buttons .buy-now:hover {
    background: linear-gradient(135deg, #c49b4e 0%, #946d32 100%);
}


/* ============================================================
   50/50 SPLIT AUTH SCREEN (Screen 06 in Reference Image)
   ============================================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: #fbfaf6;
}

.login-card-wrapper {
    width: 100%;
    max-width: 1040px;
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 60px -15px rgba(16, 47, 39, 0.16) !important;
    overflow: hidden !important;
    border: 1px solid rgba(23, 74, 58, 0.08) !important;
    opacity: 1 !important;
    transform: none !important;
}

.auth-split-promo {
    background: linear-gradient(145deg, #102f27 0%, #174a3a 50%, #1e5645 100%);
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.auth-split-promo::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(173, 130, 66, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-promo-logo {
    height: 44px;
    width: auto;
    margin-bottom: 0.5rem;
}

.auth-promo-tagline {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-soft);
    margin-bottom: 2rem;
}

.auth-promo-heading {
    font-family: var(--font-family-heading) !important;
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.015em !important;
}

.auth-promo-sub {
    font-size: 0.94rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.auth-promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-promo-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: #ffffff;
}

.feature-bullet-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(173, 130, 66, 0.25);
    color: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-promo-footer {
    display: flex;
    justify-content: center;
}

.auth-promo-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 584 / 344;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
}

.login-card {
    background: #ffffff !important;
    padding: 3.5rem 3.5rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Auth Pill Toggle */
.auth-pill-toggle {
    display: flex;
    background: #f1f4f1;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 2rem;
    border: 1px solid rgba(23, 74, 58, 0.08);
}

.auth-tab-pill {
    flex: 1;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-family-base);
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-dark-gray);
    transition: all var(--transition-fast);
}

.auth-tab-pill:hover {
    color: var(--color-primary);
}

.auth-tab-pill.active {
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .login-card-wrapper {
        grid-template-columns: 1fr !important;
        max-width: 520px !important;
    }
    .auth-split-promo {
        display: none !important;
    }
    .login-card {
        padding: 2.5rem 2rem !important;
    }
}


/* ============================================================
   SCREEN REFINEMENTS (SCREENS 02, 03, 04, 05, 07, 08)
   Matches .user_uploaded/media_1792677993959_84a99f7f.jpg
   ============================================================ */

/* ---------- SCREEN 02: Shop / Category Page ---------- */
.shop-page .shop-header {
    background: linear-gradient(135deg, #102f27 0%, #174a3a 100%) !important;
    padding: 3rem 0 2.5rem !important;
    color: #ffffff !important;
    margin-bottom: 2.5rem;
}

.shop-page .shop-header .page-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-family: var(--font-family-heading);
}

.shop-page .shop-header .page-description,
.shop-page .breadcrumb a,
.shop-page .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.75) !important;
}

.shop-page .breadcrumb-current {
    color: var(--color-accent-soft) !important;
    font-weight: 600;
}

.filter-sidebar {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(23, 74, 58, 0.08);
    box-shadow: 0 4px 20px -8px rgba(16, 47, 39, 0.06);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(23, 74, 58, 0.08);
}

.filter-title {
    font-family: var(--font-family-base) !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
}

.filter-clear {
    background: none;
    border: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    cursor: pointer;
}

.filter-group {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(23, 74, 58, 0.05);
    padding-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.25rem 0 0.75rem;
    font-family: var(--font-family-base);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-charcoal);
    cursor: pointer;
}

/* ---------- SCREEN 03: Product Detail Page ---------- */
@media (min-width: 768px) {
    .product-page .product-gallery {
        display: flex !important;
        flex-direction: row-reverse !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }

    .product-page .main-image-container {
        flex: 1 !important;
        margin-bottom: 0 !important;
        background: #ffffff !important;
        border-radius: 18px !important;
        border: 1px solid rgba(23, 74, 58, 0.08) !important;
        box-shadow: 0 8px 30px -10px rgba(16, 47, 39, 0.08) !important;
    }

    .product-page .thumbnail-gallery {
        display: flex !important;
        flex-direction: column !important;
        width: 84px !important;
        flex-shrink: 0 !important;
        gap: 10px !important;
    }

    .product-page .thumbnail {
        width: 84px !important;
        height: 84px !important;
        border-radius: 12px !important;
        border: 2px solid rgba(23, 74, 58, 0.1) !important;
        background: #ffffff !important;
        transition: all var(--transition-fast) !important;
    }

    .product-page .thumbnail.active,
    .product-page .thumbnail:hover {
        border-color: var(--color-primary) !important;
        box-shadow: 0 0 0 2px rgba(23, 74, 58, 0.2) !important;
    }
}

.product-page .product-name {
    font-family: var(--font-family-heading) !important;
    font-size: clamp(1.85rem, 3vw, 2.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--color-primary-dark) !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 0.6rem !important;
}

.product-page .price-container {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.product-page .sale-price {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--color-primary-dark) !important;
}

.product-page .original-price {
    font-size: 1.1rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}

.product-page .discount-badge {
    background: #d97706 !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 0.3rem 0.65rem !important;
    border-radius: 999px !important;
}

.product-page .stock-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 4px 12px !important;
    background: rgba(22, 163, 74, 0.1) !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    border-radius: 999px !important;
    margin-bottom: 1.25rem !important;
}

.product-page .stock-indicator.in-stock {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2) !important;
}

.product-page .stock-text {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #16a34a !important;
}

/* Capacity selector pills */
.product-page .capacity-selector {
    background: #fbfaf6 !important;
    border: 1px solid rgba(23, 74, 58, 0.12) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 1.5rem !important;
}

.product-page .capacity-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--color-primary-dark) !important;
    margin-bottom: 0.75rem !important;
}

.product-page .capacity-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.product-page .capacity-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #dde4df !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
}

.product-page .capacity-option.is-selected {
    background: #eef5f2 !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(23, 74, 58, 0.18) !important;
}

.product-page .capacity-option.is-selected .capacity-option-name {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* Side-by-side Action Buttons */
.product-page .product-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 1.5rem !important;
}

.product-page .product-actions .add-to-cart {
    flex: 1 1 180px !important;
    height: 52px !important;
    border-radius: 999px !important;
    background: var(--color-primary) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(23, 74, 58, 0.25) !important;
}

.product-page .product-actions .add-to-cart:hover {
    background: var(--color-primary-dark) !important;
    box-shadow: 0 8px 22px rgba(23, 74, 58, 0.35) !important;
}

.product-page .product-actions .checkout-now {
    flex: 1 1 180px !important;
    height: 52px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #d5b579 0%, #ad8242 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(173, 130, 66, 0.3) !important;
}

.product-page .product-actions .checkout-now:hover {
    background: linear-gradient(135deg, #c49b4e 0%, #946d32 100%) !important;
    box-shadow: 0 8px 22px rgba(173, 130, 66, 0.4) !important;
}

.product-page .product-actions .whatsapp-button {
    flex: 1 1 100% !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* ---------- SCREEN 04: Cart Page ---------- */
.cart-page .cart-item {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(23, 74, 58, 0.08) !important;
    box-shadow: 0 4px 16px -6px rgba(16, 47, 39, 0.06) !important;
    padding: 1.25rem 1.5rem !important;
}

.cart-page .summary-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(23, 74, 58, 0.08) !important;
    box-shadow: 0 8px 30px -10px rgba(16, 47, 39, 0.1) !important;
    padding: 1.75rem !important;
}

.cart-page .summary-title {
    font-family: var(--font-family-heading) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--color-primary-dark) !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid rgba(23, 74, 58, 0.08) !important;
    margin-bottom: 1.25rem !important;
}

.cart-page .checkout-btn {
    width: 100% !important;
    height: 52px !important;
    border-radius: 999px !important;
    background: var(--color-primary) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(23, 74, 58, 0.25) !important;
    cursor: pointer !important;
}

.cart-page .checkout-btn:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(23, 74, 58, 0.35) !important;
}

/* ---------- SCREEN 05: Checkout Page ---------- */
.checkout-page .progress-step.active .step-number {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(23, 74, 58, 0.2) !important;
}

.checkout-page .progress-step.completed .step-number {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

.checkout-page .form-section {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(23, 74, 58, 0.08) !important;
    box-shadow: 0 6px 20px -8px rgba(16, 47, 39, 0.06) !important;
}

.checkout-page .form-input,
.checkout-page .form-select {
    border-radius: 10px !important;
    border: 1px solid #dde4df !important;
    background: #fbfaf6 !important;
    font-size: 0.92rem !important;
    height: 46px !important;
}

.checkout-page .form-input:focus,
.checkout-page .form-select:focus {
    background: #ffffff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(23, 74, 58, 0.12) !important;
}

/* ---------- SCREEN 07: Order History Page ---------- */
.orders-page .filter-btn {
    border-radius: 999px !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600 !important;
    font-family: var(--font-family-base) !important;
    background: #ffffff !important;
    border: 1px solid rgba(23, 74, 58, 0.12) !important;
    color: var(--color-dark-gray) !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
}

.orders-page .filter-btn:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background: var(--color-primary-light) !important;
}

.orders-page .filter-btn.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 14px rgba(23, 74, 58, 0.25) !important;
}

.orders-page .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.orders-page .order-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(23, 74, 58, 0.08) !important;
    box-shadow: 0 6px 20px -8px rgba(16, 47, 39, 0.06) !important;
    padding: 1.5rem !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.orders-page .order-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px -10px rgba(16, 47, 39, 0.12) !important;
}

.orders-page .status-badge.delivered {
    background: rgba(22, 163, 74, 0.12) !important;
    color: #16a34a !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}

.orders-page .status-badge.shipped {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #2563eb !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}

.orders-page .status-badge.processing,
.orders-page .status-badge.pending {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #d97706 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}


/* ============================================================
   UNIVERSAL DEDICATED PAGE HERO BANNERS
   ============================================================ */
.page-hero-banner,
.about-page .about-hero {
    position: relative !important;
    padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3.5vw, 3rem) !important;
    background: var(--ecw-ivory, #fbf9f4) !important;
    min-height: auto !important;
    overflow: visible !important;
    border-bottom: none !important;
}

.page-hero-banner::before,
.page-hero-banner::after,
.about-page .about-hero::before,
.about-page .about-hero::after {
    display: none !important;
}

.page-hero-container,
.about-hero-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.page-hero-wrapper,
.about-hero-banner-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(23, 74, 58, 0.08);
    box-shadow: 0 16px 45px -12px rgba(16, 47, 39, 0.14);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero-wrapper:hover,
.about-hero-banner-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -15px rgba(16, 47, 39, 0.2);
}

.page-hero-img,
.about-hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Auth split banner image */
.auth-split-hero-img-wrap {
    margin-bottom: 1.75rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px -6px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #ffffff;
}

.auth-split-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.auth-mobile-hero-banner {
    display: none;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(16, 47, 39, 0.15);
    border: 1px solid rgba(23, 74, 58, 0.08);
    background: #ffffff;
}

.auth-mobile-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .auth-mobile-hero-banner {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-hero-banner,
    .about-page .about-hero {
        padding: 0.75rem 0 1.5rem !important;
    }

    .page-hero-container,
    .about-hero-container {
        width: calc(100% - 24px);
    }

    .page-hero-wrapper,
    .about-hero-banner-wrapper {
        border-radius: 14px;
    }
}
/* ============================================================
   HOME HERO FULL BANNER SLIDER
   ============================================================ */
/* Full-bleed hero. The banner artwork is a 1024x384 edge-to-edge composition,
   so the hero is deliberately NOT wrapped in a centred card: the old
   `min(1320px, 100% - 40px)` container left ~55px of ivory on each side at
   1440px, and the 24px radius + 1px border made it read as an inset tile. Width
   constraints now live only where they belong — on the inner content sections,
   never on the hero. */
.home-hero-banner {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--color-primary, #1a1d2e) !important;
    min-height: auto !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.home-hero-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.home-hero-slider {
    position: relative;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    background: var(--color-primary, #1a1d2e);
    box-sizing: border-box;
    /* The source images are 1024x384. Matching the ratio means the artwork is
       never cropped or stretched at any width up to 2100px. */
    aspect-ratio: 1024 / 384;
    /* Ultrawide guard only: 1024/384 at 2560px would be a 960px-tall band. The
       ratio starts cropping the outer edges past ~2100px, which no listed
       target width reaches (1920px renders 720px tall, untouched). */
    max-height: 90svh;
}

.home-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.home-hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.home-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.home-hero-img {
    width: 100%;
    max-width: none;
    height: 100%;
    /* `cover` + `center` keeps the artwork filling the band with no distortion;
       the 1024:384 slider ratio matches the source, so at every listed width
       the image is shown whole rather than cropped. */
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Arrows */
.home-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(23, 74, 58, 0.12);
    color: var(--ecw-forest, #174a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.home-hero-arrow:hover {
    background: var(--ecw-forest, #174a3a);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.home-hero-prev {
    left: 18px;
}

.home-hero-next {
    right: 18px;
}

/* Dots */
.home-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(16, 47, 39, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 999px;
}

.home-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--color-gold, #c9a227);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

@media (max-width: 768px) {
    .home-hero-banner {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .home-hero-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .home-hero-slider {
        /* Still edge to edge, still 1024:384. The artwork (garnish at the left
           edge, products across the right) uses the full frame, so a taller
           mobile crop would cut real content rather than empty margin. The
           height therefore scales with the viewport: ~120px at 320px wide,
           ~161px at 430px, 288px at 768px. */
        border-radius: 0;
        aspect-ratio: 1024 / 384;
    }
    .home-hero-arrow {
        width: 32px;
        height: 32px;
    }
    .home-hero-prev {
        left: 8px;
    }
    .home-hero-next {
        right: 8px;
    }
    .home-hero-dots {
        bottom: 8px;
        padding: 4px 8px;
        gap: 5px;
    }
    .home-hero-dot {
        width: 7px;
        height: 7px;
    }
    .home-hero-dot.active {
        width: 18px;
    }
}

/* Responsive image wrappers emitted by ecw_picture() and the logo markup.
   display: contents keeps the <img> as the layout child of its container, so
   every existing selector and flex/grid rule applies exactly as before. */
.ecw-picture,
.ecw-picture-inline {
    display: contents;
}

/* ===== Touch targets (WCAG 2.5.5 / Apple HIG: >= 44x44px) =====
   The slider dots (7-10px), mobile arrows (32px) and pagination/product
   buttons (42px) were too small to tap reliably. The slider controls are now
   transparent 44px buttons; the visible dot/circle is drawn by ::before, so
   the design keeps its original size. (A background-clip approach broke
   because the .active/:hover rules reset it via the background shorthand.) */
.home-hero-slider .home-hero-dots {
    bottom: 0;
    gap: 0;
    padding: 0 4px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-hero-dots .home-hero-dot,
.home-hero-dots .home-hero-dot.active {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
}

.home-hero-dots .home-hero-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.home-hero-dots .home-hero-dot.active::before {
    width: 28px;
    background: var(--color-gold, #c9a227);
}

.home-hero-dots .home-hero-dot:focus-visible {
    outline: 2px solid var(--color-gold, #c9a227);
    outline-offset: -8px;
}

.pagination-btn {
    min-width: 44px;
    min-height: 44px;
}

.product-card .btn,
.filter-clear,
.filter-apply {
    min-height: 44px;
}

@media (max-width: 768px) {
    .home-hero-slider .home-hero-arrow,
    .home-hero-slider .home-hero-arrow:hover {
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        isolation: isolate;
    }
    .home-hero-slider .home-hero-arrow::before {
        content: '';
        position: absolute;
        inset: 6px; /* painted circle stays 32px */
        z-index: -1;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(23, 74, 58, 0.12);
    }
    .home-hero-slider .home-hero-prev { left: 2px; }
    .home-hero-slider .home-hero-next { right: 2px; }

    .home-hero-dots .home-hero-dot::before {
        width: 7px;
        height: 7px;
    }
    .home-hero-dots .home-hero-dot.active::before {
        width: 18px;
    }
}

/* ===== Contact page refresh (2026-11) =====
 * Unified brand palette for card icons + solid, consistent action buttons,
 * and a split map card with a live Google Maps embed. Scoped to .contact-page
 * and placed last so it wins over the earlier .contact-page rules. */
.contact-page .contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.contact-page .contact-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.contact-page .contact-card:hover::before {
    transform: scaleX(1);
}

.contact-page .phone-card .card-icon,
.contact-page .email-card .card-icon,
.contact-page .location-card .card-icon {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border: 1px solid rgba(23, 74, 58, 0.12);
}

.contact-page .location-card .card-icon {
    background: rgba(173, 130, 66, 0.12);
    color: var(--color-copper);
    border-color: rgba(173, 130, 66, 0.22);
}

.contact-page .card-action {
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    color: #fff;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px -8px rgba(16, 47, 39, 0.55);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-page .card-action:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(16, 47, 39, 0.6);
}

.contact-page .whatsapp-card .card-action {
    background: #1DA851;
    border-color: #1DA851;
    box-shadow: 0 6px 16px -8px rgba(29, 168, 81, 0.6);
}

.contact-page .whatsapp-card .card-action:hover {
    background: #178a43;
    border-color: #178a43;
}

.contact-page .location-card .card-action {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px -8px rgba(143, 107, 54, 0.6);
}

.contact-page .location-card .card-action:hover {
    background: var(--color-copper);
    border-color: var(--color-copper);
}

.contact-page .card-action:focus-visible,
.contact-page .map-action:focus-visible,
.contact-page .social-action:focus-visible {
    outline: 3px solid var(--color-accent-soft);
    outline-offset: 3px;
}

/* Map card: info panel + live map */
.contact-page .map-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding: 0;
    text-align: left;
}

.contact-page .map-card:hover {
    transform: none;
}

.contact-page .map-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.75rem, 4vw, 3rem);
}

.contact-page .map-kicker {
    align-self: flex-start;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(213, 181, 121, 0.16);
    color: var(--color-accent-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-page .map-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-page .map-address {
    margin: 0;
    max-width: none;
    font-style: normal;
}

.contact-page .map-meta {
    list-style: none;
    margin: 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.925rem;
}

.contact-page .map-meta span {
    display: inline-block;
    min-width: 6.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .map-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-page .map-action {
    border-radius: 999px;
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.contact-page .map-action:hover {
    background: var(--color-accent-soft);
    border-color: var(--color-accent-soft);
    color: var(--color-primary-dark);
}

.contact-page .map-action-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.contact-page .map-action-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-primary);
}

.contact-page .map-frame {
    position: relative;
    min-height: 380px;
    background: var(--color-primary-dark);
}

.contact-page .map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 860px) {
    .contact-page .map-card {
        grid-template-columns: 1fr;
    }

    .contact-page .map-frame {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-page .map-buttons .map-action,
    .contact-page .card-action {
        width: 100%;
        justify-content: center;
    }
}
