/**
 * HERBSTREASURE - SOXA THEME RE-CREATION
 * Pure Herbal Beauty E-commerce Design System
 * Inspired by Soxa Natural Product Landing Page WooCommerce Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #253D2C;
    --primary-hover: #192C1F;
    --accent-green: #445D23;
    --accent-light: #6F9A37;
    --soxa-green: #E8F3E5;
    --soxa-green-card: #EBF3E8;
    --soxa-pale: #F4F8F3;
    --soxa-olive: #566149;
    --soxa-dark: #0D0F0D;
    
    --bg-canvas: #FFFFFF;
    --bg-surface: #F9FAF8;
    --border-color: #E2E8E0;
    --border-light: #EEF2EC;

    --text-dark: #121613;
    --text-body: #4F5651;
    --text-muted: #7E8780;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --shadow-soft: 0 10px 30px rgba(37, 61, 44, 0.06);
    --shadow-hover: 0 16px 40px rgba(37, 61, 44, 0.12);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-canvas);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.font-serif {
    font-family: var(--font-serif);
}

/* ========================================================
   TOAST NOTIFICATION (LEFT HAND SIDE WITH CLOSE ICON)
   ======================================================== */
#toast-container {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 440px;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #172B1E;
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 500;
    animation: toastSlideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@keyframes toastSlideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOutUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-24px) scale(0.96);
    }
}

.toast.closing {
    animation: toastSlideOutUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.toast.success .toast-icon {
    background: #3E794F;
}

.toast.error {
    background: #3B1818;
}

.toast.error .toast-icon {
    background: #C43D3D;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #445D23;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
}

.toast-message {
    flex: 1;
    line-height: 1.4;
    padding-right: 4px;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 4px;
}

.toast-close-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* SPA Progress Bar */
#spa-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #445D23, #7AB244);
    z-index: 9999999;
    transition: width 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

#spa-progress.loading {
    opacity: 1;
}

/* ========================================================
   SOXA BUTTONS & PILLS
   ======================================================== */
.btn-soxa-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #FFFFFF !important;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(37, 61, 44, 0.2);
    border: none;
}

.btn-soxa-pill .arrow-circle {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.25s ease;
}

.btn-soxa-pill:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 61, 44, 0.3);
}

.btn-soxa-pill:hover .arrow-circle {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.3);
}

.btn-soxa-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary) !important;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--primary);
    transition: all 0.25s ease;
}

.btn-soxa-outline:hover {
    background: var(--primary);
    color: #FFFFFF !important;
}

.soxa-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.soxa-section-tag::before {
    content: "•";
    font-size: 20px;
    line-height: 1;
    color: var(--accent-green);
}

.soxa-heading-serif {
    font-family: var(--font-serif);
    font-size: 44px;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .soxa-heading-serif {
        font-size: 32px;
    }
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.announcement-bar {
    background: #19271C;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    font-weight: 500;
    padding: 9px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.announcement-bar a {
    color: #FFFFFF;
    text-decoration: underline;
    margin-left: 6px;
    font-weight: 600;
}

.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    width: 100%;
    max-width: 100%;
    padding: 0 28px;
    box-sizing: border-box;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.site-logo-img {
    height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.site-logo:hover .site-logo-img {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: #333834;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-green);
    font-weight: 600;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-green);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #253D2C;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
}

.action-icon-btn:hover {
    background: var(--soxa-green);
    color: var(--primary);
}

.badge-counter {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent-green);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #FFFFFF;
}

.cart-pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #FFFFFF !important;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-pill-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.cart-pill-btn .cart-pill-count {
    background: #FFFFFF;
    color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* ========================================================
   ESSENTIALS MODERN ROUNDED DROP-SHADOWED DROPDOWN
   ======================================================== */
.nav-dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: #333834;
    padding: 10px 0;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-dropdown-trigger .dropdown-arrow {
    transition: transform 0.25s ease;
}

.nav-dropdown-item:hover .nav-dropdown-trigger,
.nav-dropdown-item.open .nav-dropdown-trigger {
    color: var(--accent-green);
    font-weight: 600;
}

.nav-dropdown-item:hover .dropdown-arrow,
.nav-dropdown-item.open .dropdown-arrow {
    transform: rotate(180deg);
}

.soxa-nav-dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 275px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 48px rgba(37, 61, 44, 0.14), 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
    pointer-events: none;
}

.nav-dropdown-item:hover .soxa-nav-dropdown,
.nav-dropdown-item.open .soxa-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(6px);
    pointer-events: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-link:hover {
    background: var(--soxa-green);
    transform: translateX(3px);
}

.dropdown-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.dropdown-link-info {
    display: flex;
    flex-direction: column;
}

.dropdown-link-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: #17241A;
    line-height: 1.3;
}

.dropdown-link-desc {
    font-size: 11.5px;
    color: #6C7A70;
    line-height: 1.3;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 8px;
}

/* ========================================================
   USER AVATAR & FIRST NAME WHITE TEXT BLOCK (HEADER)
   ======================================================== */
.user-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 4px 14px 4px 5px;
    box-shadow: 0 4px 14px rgba(37, 61, 44, 0.06);
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.user-header-pill:hover {
    border-color: var(--accent-green);
    box-shadow: 0 6px 18px rgba(37, 61, 44, 0.12);
    transform: translateY(-1px);
}

.user-header-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.user-header-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #17241A;
    white-space: nowrap;
}

/* ========================================================
   SOXA HERO SECTION
   ======================================================== */
.soxa-hero {
    position: relative;
    background: #17261B;
    overflow: hidden;
    color: #FFFFFF;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.soxa-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.soxa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #17261B 0%, #17261B 45%, rgba(23, 38, 27, 0.7) 70%, rgba(23, 38, 27, 0.1) 100%);
    z-index: 2;
}

.soxa-hero-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding: 80px 0;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E2F0DC;
    margin-bottom: 24px;
}

.soxa-hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.1;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 22px;
}

.soxa-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #CDE8C1;
}

.soxa-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 34px;
    max-width: 500px;
}

.soxa-hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 991px) {
    .soxa-hero-bg {
        width: 100%;
        opacity: 0.35;
    }
    .soxa-hero-overlay {
        background: rgba(23, 38, 27, 0.85);
    }
    .soxa-hero-title {
        font-size: 42px;
    }
}

/* ========================================================
   SECTION 2: CLEAN CONSCIOUS SKINCARE WITH PERFORMANCE
   ======================================================== */
.soxa-features-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.soxa-features-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.soxa-features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.soxa-feat-card {
    background: var(--soxa-green);
    border-radius: 24px;
    padding: 36px 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soxa-feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(37, 61, 44, 0.08);
}

.soxa-feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(37, 61, 44, 0.06);
}

.soxa-feat-card h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: #1A261C;
    margin-bottom: 12px;
    font-weight: 600;
}

.soxa-feat-card p {
    font-size: 14.5px;
    color: #5A665D;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .soxa-features-top {
        grid-template-columns: 1fr;
    }
    .soxa-features-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   SECTION 3: COMPLETE ROUTINE 4-STEP OVERLAY
   ======================================================== */
.soxa-routine-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #FFFFFF;
    overflow: hidden;
}

.soxa-routine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 27, 20, 0.78);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.soxa-routine-content {
    position: relative;
    z-index: 2;
}

.soxa-routine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.soxa-routine-step {
    padding: 40px 28px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.soxa-routine-step:last-child {
    border-right: none;
}

.soxa-routine-step:hover {
    background: rgba(255, 255, 255, 0.05);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: #A9D499;
    margin-bottom: 16px;
    display: block;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .soxa-routine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .soxa-routine-step:nth-child(2) {
        border-right: none;
    }
}
@media (max-width: 576px) {
    .soxa-routine-grid {
        grid-template-columns: 1fr;
    }
    .soxa-routine-step {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* ========================================================
   SECTION 4: PROVEN BENEFITS & 96% CALLOUT
   ======================================================== */
.soxa-benefits-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.soxa-benefits-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.soxa-stat-box {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.soxa-stat-num {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 600;
    color: var(--accent-green);
    line-height: 1;
}

.soxa-stat-desc {
    font-size: 14px;
    font-weight: 600;
    color: #253D2C;
    max-width: 170px;
    line-height: 1.4;
}

.soxa-banner-wrap {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.soxa-banner-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.soxa-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 40px;
}

.soxa-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.soxa-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--soxa-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.soxa-benefit-item h5 {
    font-family: var(--font-serif);
    font-size: 17px;
    color: #17241A;
    margin-bottom: 6px;
    font-weight: 600;
}

.soxa-benefit-item p {
    font-size: 13.5px;
    color: #637066;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .soxa-benefits-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .soxa-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .soxa-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   SECTION 5: NATURAL INGREDIENTS SAGE BANNER
   ======================================================== */
.soxa-ingredients-section {
    background: #606A53;
    padding: 100px 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.soxa-ingredients-section::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 500px;
    height: 350px;
    background-image: url('../images/soxa/ingredients-banner.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    opacity: 0.85;
}

.soxa-ing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.soxa-ing-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    color: #17241A;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.soxa-ing-card:hover {
    transform: translateY(-8px);
}

.soxa-ing-card h5 {
    font-family: var(--font-serif);
    font-size: 16px;
    margin-bottom: 6px;
    color: #1A261C;
}

.soxa-ing-img-wrap {
    width: 110px;
    height: 110px;
    margin: 12px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soxa-ing-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.soxa-ing-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    background: var(--soxa-green);
    color: var(--accent-green);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

@media (max-width: 991px) {
    .soxa-ing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .soxa-ing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================================
   SECTION 6: EXPERIENCE MOST RADIANT GLOW (PRODUCTS)
   ======================================================== */
.soxa-products-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.soxa-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.soxa-category-pills {
    display: flex;
    gap: 10px;
    background: var(--soxa-pale);
    padding: 6px;
    border-radius: var(--radius-pill);
}

.soxa-cat-pill {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: #556258;
    cursor: pointer;
    transition: all 0.2s ease;
}

.soxa-cat-pill.active,
.soxa-cat-pill:hover {
    background: var(--primary);
    color: #FFFFFF;
}

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

/* SOXA PRODUCT CARD STYLING */
.soxa-product-card {
    background: var(--soxa-green-card);
    border-radius: 22px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.soxa-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37, 61, 44, 0.09);
}

.soxa-badge-wrap {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.soxa-badge {
    background: var(--primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

.soxa-badge.sale {
    background: #E54B4B;
}

.soxa-card-wishlist {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #8C998F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.soxa-card-wishlist:hover,
.soxa-card-wishlist.active {
    color: #E54B4B;
    transform: scale(1.1);
}

.soxa-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    margin: 10px 0 20px;
    overflow: hidden;
}

.soxa-card-img-link img {
    max-height: 260px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.soxa-product-card:hover .soxa-card-img-link img {
    transform: scale(1.06);
}

.soxa-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #FBBF24;
    font-size: 12px;
    margin-bottom: 8px;
}

.soxa-card-rating span {
    color: #6C7A70;
    font-size: 12px;
    margin-left: 4px;
}

.soxa-card-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 600;
    color: #17241A;
    line-height: 1.35;
    margin-bottom: 8px;
    display: block;
    transition: color 0.2s;
}

.soxa-card-title:hover {
    color: var(--accent-green);
}

.soxa-card-desc {
    font-size: 13.5px;
    color: #66736A;
    line-height: 1.5;
    margin-bottom: 18px;
}

.soxa-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(37, 61, 44, 0.08);
}

.soxa-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.soxa-price-current {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
}

.soxa-price-old {
    font-size: 14px;
    color: #929E95;
    text-decoration: line-through;
}

.soxa-card-add-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 61, 44, 0.08);
    transition: all 0.25s ease;
}

.soxa-card-add-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   SECTION 7: CUSTOMER RESULTS / TESTIMONIALS
   ======================================================== */
.soxa-testimonials-section {
    padding: 110px 0;
    background: #F8FAF7;
}

.soxa-testi-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.soxa-testi-left {
    position: relative;
}

.soxa-testi-left img {
    border-radius: 28px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.soxa-testi-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.soxa-testi-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(37, 61, 44, 0.04);
    display: flex;
    flex-direction: column;
}

.soxa-quote-mark {
    font-family: var(--font-serif);
    font-size: 42px;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 10px;
}

.soxa-testi-stars {
    color: #FBBF24;
    font-size: 13px;
    margin-bottom: 12px;
}

.soxa-testi-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4C574F;
    margin-bottom: 20px;
    flex: 1;
}

.soxa-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.soxa-testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.soxa-testi-author-info h6 {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: #17241A;
}

.soxa-testi-author-info span {
    font-size: 12px;
    color: #8C998F;
}

@media (max-width: 991px) {
    .soxa-testi-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .soxa-testi-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   SECTION 8: ACCORDION FAQ GUIDE
   ======================================================== */
.soxa-faq-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.soxa-faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.soxa-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.soxa-faq-item {
    background: var(--soxa-green);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.25s ease;
}

.soxa-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: #1A261C;
    user-select: none;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.soxa-faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #FFFFFF;
}

.soxa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4C574F;
    padding: 0 24px;
}

.soxa-faq-item.active .soxa-faq-answer {
    max-height: 300px;
    padding: 0 24px 22px;
}

@media (max-width: 991px) {
    .soxa-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   SECTION 9: MARQUEE TYPOGRAPHY BANNER
   ======================================================== */
.soxa-marquee-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.soxa-marquee-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.soxa-marquee-text-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0 60px;
    overflow: hidden;
    white-space: nowrap;
}

.soxa-marquee-text {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 90px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: marqueeSlide 30s linear infinite;
}

.soxa-marquee-text span {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    color: transparent;
    margin: 0 20px;
}

@keyframes marqueeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .soxa-marquee-text {
        font-size: 48px;
    }
    .soxa-marquee-section {
        min-height: 360px;
    }
}

/* ========================================================
   SECTION 10: NEWSLETTER BANNER
   ======================================================== */
.soxa-newsletter-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.soxa-newsletter-card {
    background: var(--soxa-green);
    border-radius: 28px;
    padding: 60px 70px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.soxa-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin-top: 24px;
}

.soxa-newsletter-input {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid rgba(37, 61, 44, 0.15);
    border-radius: var(--radius-pill);
    padding: 14px 22px;
    font-size: 14.5px;
    color: #17241A;
    outline: none;
    transition: border-color 0.2s;
}

.soxa-newsletter-input:focus {
    border-color: var(--accent-green);
}

.soxa-newsletter-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .soxa-newsletter-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
}
@media (max-width: 576px) {
    .soxa-newsletter-form {
        flex-direction: column;
    }
}

/* ========================================================
   FOOTER (SOXA DARK MINIMALIST)
   ======================================================== */
.site-footer {
    background: var(--soxa-dark);
    color: #FFFFFF;
    padding: 90px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 10px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 19px;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #FFFFFF;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================================
   CART DRAWER & OVERLAY
   ======================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    bottom: 0;
    width: 440px;
    max-width: 92vw;
    background: #FFFFFF;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.18);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open,
.cart-drawer-overlay.open .cart-drawer {
    right: 0 !important;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
}

.drawer-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.drawer-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E8EFE9;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
}

.drawer-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.drawer-close:hover {
    background: #F3F4F6;
    color: #111827;
    transform: rotate(90deg);
}

.free-shipping-bar {
    background: #F4F8F5;
    padding: 12px 24px 14px;
    border-bottom: 1px solid #E3ECE5;
}

.free-shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #253D2C;
    line-height: 1.4;
}

.shipping-icon {
    color: #3E794F;
    flex-shrink: 0;
}

.shipping-progress-track {
    height: 6px;
    background: #E2EBE4;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3E794F 0%, #253D2C 100%);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overscroll-behavior: contain;
}

/* Custom polished scrollbar for drawer items */
.drawer-items::-webkit-scrollbar {
    width: 5px;
}
.drawer-items::-webkit-scrollbar-track {
    background: transparent;
}
.drawer-items::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 10px;
}
.drawer-items::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Individual Cart Drawer Item Card */
.cart-drawer-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid #EEF2EF;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.cart-drawer-item:hover {
    border-color: #DDE5E0;
    box-shadow: 0 4px 12px rgba(37, 61, 44, 0.05);
}

.drawer-item-thumb-box {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    background: #F4F7F5;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 61, 44, 0.06);
}

.drawer-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cart-drawer-item:hover .drawer-item-thumb {
    transform: scale(1.05);
}

.drawer-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-item-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    width: 100%;
}

.drawer-item-title {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 600;
    color: #17241A;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.drawer-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.drawer-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
}

/* Quantity Stepper Pill: Left (-) | Middle (qty) | Right (+) */
.drawer-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #F4F7F5;
    border: 1px solid #DCE5DF;
    border-radius: 9999px;
    padding: 2px;
}

.drawer-qty-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #253D2C;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s ease;
}

.drawer-qty-btn:hover {
    background: #FFFFFF;
    color: #17241A;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.drawer-qty-btn:active {
    transform: scale(0.9);
}

.drawer-qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #17241A;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

/* Removal Action Button: SVG icon only */
.drawer-remove-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.drawer-remove-btn:hover {
    color: #DC2626;
    background: #FEE2E2;
    transform: scale(1.08);
}

.drawer-remove-btn:active {
    transform: scale(0.92);
}

/* Drawer Empty State */
.drawer-empty-state {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drawer-empty-icon {
    width: 56px;
    height: 56px;
    color: #9CA3AF;
    margin-bottom: 16px;
    opacity: 0.8;
}

.drawer-empty-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: #17241A;
    margin-bottom: 6px;
}

.drawer-empty-desc {
    font-size: 13px;
    color: #6B7280;
    max-width: 240px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #E5E7EB;
    background: #FFFFFF;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.02);
}

.drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.drawer-subtotal-label {
    font-size: 14px;
    font-weight: 500;
    color: #4B5563;
}

.drawer-subtotal-val {
    font-size: 19px;
    font-weight: 700;
    color: #17241A;
    font-variant-numeric: tabular-nums;
}

.drawer-footer-note {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0 0 16px 0;
}

/* ========================================================
   STANDALONE SHOP, PRODUCT & AUTH PAGES
   ======================================================== */
.shop-page-wrap {
    padding: 60px 0 100px;
}

.shop-page-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    background: var(--soxa-pale);
    padding: 16px 24px;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Product Detail Single */
.product-single-wrap {
    padding: 60px 0 100px;
}

.product-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.product-single-gallery {
    background: #FAFAF7;
    border-radius: 24px;
    border: 2px solid #CDE8C1;
    padding: 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(37, 61, 44, 0.05);
}

.product-single-gallery img {
    width: 100%;
    height: 100%;
    max-height: none !important;
    margin: 0;
    object-fit: cover;
    display: block;
    transition: transform 0.15s ease-out;
    pointer-events: none;
    transform-origin: center center;
}

.product-thumbnails-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-thumb-item {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    background: #FAFAF7;
    border: 2px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    padding: 0;
}
.product-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-thumb-item:hover {
    border-color: #86EFAC;
    transform: translateY(-2px);
}
.product-thumb-item.active {
    border-color: #253D2C !important;
    box-shadow: 0 0 0 2px #253D2C, 0 4px 12px rgba(37, 61, 44, 0.2) !important;
    transform: translateY(-2px);
}

.product-single-info h1 {
    font-family: var(--font-serif);
    font-size: 38px;
    color: #17241A;
    margin-bottom: 12px;
}

.product-single-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    gap: 14px;
    background: #FFFFFF;
}

.product-qty-stepper button {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    width: 24px;
}

.product-qty-stepper input {
    width: 36px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

/* Forms & Tables */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #2D3A30;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #17241A;
    outline: none;
    transition: border-color 0.2s;
    background: #FFFFFF;
}

.form-control:focus {
    border-color: var(--accent-green);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .checkout-grid,
    .product-single-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   MODERN TWO-COLUMN AUTH LAYOUT (SIGN IN & SIGN UP)
   ======================================================== */
.auth-split-wrapper {
    padding: 50px 24px 90px;
    background: var(--bg-surface);
}

.auth-split-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(37, 61, 44, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 620px;
}

.auth-visual-col {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFFFFF;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 38, 27, 0.2) 0%, rgba(23, 38, 27, 0.65) 50%, rgba(18, 27, 20, 0.92) 100%);
    z-index: 1;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
}

.auth-visual-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E4F6D4;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-visual-quote {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.35;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-style: italic;
}

.auth-visual-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.auth-feat-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-form-col {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-header h1 {
    font-family: var(--font-serif);
    font-size: 34px;
    color: var(--primary);
    margin-top: 14px;
    margin-bottom: 8px;
}

.auth-form-header p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

/* ========================================================
   COOL MODERN 6-BOX OTP UI
   ======================================================== */
.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 26px 0;
}

.otp-digit {
    width: 52px;
    height: 64px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    background: var(--soxa-pale);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    font-family: monospace;
}

.otp-digit:focus {
    border-color: var(--accent-green);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(68, 93, 35, 0.14);
    transform: translateY(-2px);
}

.otp-digit.filled {
    border-color: var(--primary);
    background: #FFFFFF;
    color: var(--primary);
}

.otp-timer-text {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 16px;
}

.otp-resend-btn {
    color: var(--accent-green);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13.5px;
}

.otp-resend-btn:disabled {
    color: var(--text-muted);
    text-decoration: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========================================================
   ADMIN MODAL OVERLAYS & CARDS (ENSURE HIDDEN BY DEFAULT)
   ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    background: #FFFFFF;
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light, #EAEFEA);
    background: #FAFCFA;
}

.modal-body {
    padding: 24px;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748B;
    cursor: pointer;
    line-height: 1;
}
.drawer-close:hover {
    color: #0F172A;
}

/* ========================================================
   FULL-WIDTH MODERN CUSTOMER PORTAL & DASHBOARD
   ======================================================== */
.portal-fluid-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 24px 28px 48px;
    background: #FAFAF7;
    box-sizing: border-box;
    min-height: calc(100vh - 82px);
}

.portal-layout-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.portal-sidebar-wrap {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 18px 15px 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 96px;
    height: fit-content;
    min-height: calc(100vh - 120px);
    box-sizing: border-box;
    align-self: start;
}

.portal-main-panes {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    min-height: 100%;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 992px) {
    .portal-fluid-wrapper {
        padding: 16px 16px 40px;
    }
    .portal-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .portal-sidebar-wrap {
        min-height: auto;
    }
    .portal-main-panes {
        padding: 24px 18px;
    }
}

/* ========================================================
   ACCOUNT TABS STYLING (FIX CLICKING & MODERN PILLS)
   ======================================================== */
.account-tab-btn {
    width: 100%;
    text-align: left;
    padding: 13px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14.5px;
    color: #4F5A51;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
}
.account-tab-btn svg {
    flex-shrink: 0;
    display: block;
    margin: 0;
}
.account-tab-btn span {
    display: inline-block;
    vertical-align: middle;
}

.account-tab-btn:hover {
    background: var(--soxa-green);
    color: var(--primary);
}

.account-tab-btn.active {
    background: var(--primary);
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 61, 44, 0.18);
}

@media (max-width: 900px) {
    .auth-split-container {
        grid-template-columns: 1fr;
    }
    .auth-visual-col {
        min-height: 240px;
        padding: 32px;
    }
    .auth-visual-quote {
        font-size: 20px;
    }
    .auth-form-col {
        padding: 36px 24px;
    }
    .otp-digit {
        width: 44px;
        height: 54px;
        font-size: 24px;
        gap: 8px;
    }
}

/* ========================================================
   ADDRESS BOOK & CHECKOUT SAVED ADDRESS STYLING
   ======================================================== */
.address-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.address-type-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-body);
    font-size: 13.5px;
    font-weight: 600;
}

.address-type-box:hover {
    border-color: var(--accent-green);
    background: var(--soxa-green);
    color: var(--primary);
    transform: translateY(-2px);
}

.address-type-box.active {
    border-color: var(--primary);
    background: var(--soxa-green);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 61, 44, 0.12);
}

.address-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.address-type-pill.address-type-home {
    background: #E8F5E9;
    color: #1E6B3E;
    border: 1px solid rgba(30, 107, 62, 0.2);
}

.address-type-pill.address-type-office {
    background: #EBF3FA;
    color: #1D5B8C;
    border: 1px solid rgba(29, 91, 140, 0.2);
}

.address-type-pill.address-type-other {
    background: #F4EFEA;
    color: #5B4A3F;
    border: 1px solid rgba(91, 74, 63, 0.2);
}

.address-default-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.btn-make-default {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-make-default:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #FFFFFF;
}

.address-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid var(--border-color);
    padding: 22px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.address-card:hover {
    border-color: rgba(37, 61, 44, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.address-card.is-default {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(37, 61, 44, 0.08);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.address-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 4px 0;
}

.address-card-body {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4F5A51;
    margin-bottom: 18px;
    flex-grow: 1;
}

.address-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.address-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
    background: var(--soxa-green);
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.address-action-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.address-action-btn.delete {
    color: #C53030;
    background: #FFF5F5;
    border-color: rgba(197, 48, 48, 0.15);
    margin-left: auto;
}

.address-action-btn.delete:hover {
    background: #C53030;
    color: #FFFFFF;
}

/* Modal styles for address form */
.address-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 17, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.address-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.address-modal {
    background: #FFFFFF;
    width: 100%;
    max-width: 540px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.address-modal-overlay.active .address-modal {
    transform: translateY(0);
}

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

.address-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--primary);
    font-family: var(--font-serif);
}

.address-modal-close {
    background: var(--soxa-pale);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.address-modal-close:hover {
    background: #FFFFFF;
    color: var(--primary);
}

.address-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
}

/* ========================================================
   CHECKOUT MODERN SAVED ADDRESS DROPDOWN
   ======================================================== */
.address-mode-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.address-mode-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    background: #FFFFFF;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.2s ease;
}

.address-mode-label:hover {
    border-color: var(--accent-green);
    background: var(--soxa-green);
}

.address-mode-label.active {
    border-color: var(--primary);
    background: var(--soxa-green);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 61, 44, 0.08);
}

.address-mode-label input[type="radio"] {
    accent-color: var(--primary);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.saved-address-dropdown-container {
    position: relative;
    width: 100%;
}

.saved-address-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.saved-address-dropdown-trigger:hover,
.saved-address-dropdown-container.open .saved-address-dropdown-trigger {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 61, 44, 0.08);
}

.dropdown-chevron {
    transition: transform 0.25s ease;
}

.saved-address-dropdown-container.open .dropdown-chevron {
    transform: rotate(180deg);
}

.saved-address-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 100;
    overflow: hidden;
    animation: dropdownSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dropdown-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: var(--soxa-pale);
}

.dropdown-search-bar svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.dropdown-search-bar input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: var(--text-body);
}

.dropdown-options-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dropdown-address-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-address-option:hover {
    background: var(--soxa-green);
}

.dropdown-address-option.selected {
    background: var(--soxa-green);
    border-color: var(--primary);
}

.dropdown-address-option input[type="radio"] {
    accent-color: var(--primary);
    margin-top: 4px;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.option-details {
    flex: 1;
    overflow: hidden;
}

.option-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.option-name {
    font-size: 14px;
    color: var(--primary);
}

.option-phone {
    font-size: 12.5px;
    color: var(--text-muted);
}

.option-address-line {
    font-size: 13px;
    color: #4F5A51;
    line-height: 1.4;
}

.dropdown-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--border-color);
    background: #FAF8F5;
    font-size: 13px;
}

.dropdown-add-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    font-size: 13px;
}

.dropdown-add-new-btn:hover {
    text-decoration: underline;
}

.dropdown-manage-link {
    color: var(--text-muted);
    font-size: 12.5px;
    text-decoration: none;
}

.dropdown-manage-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================================
   CHECKOUT CONTAINER & SIDEBAR SIZING (PER ANNOTATIONS)
   ======================================================== */
.checkout-page-container {
    max-width: 1340px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 480px;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
    width: 100%;
}

@media (max-width: 1100px) {
    .checkout-grid {
        grid-template-columns: minmax(0, 1.2fr) 420px;
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Spinner for buttons */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin-icon {
    animation: spin 0.75s linear infinite;
    display: inline-block;
}
