/* Intuism Modern Organic Design System & Tokens (Alamon Botanical Theme) */
:root {
    --color-primary: #2d6a4f;
    --color-primary-hover: #1b4332;
    --color-primary-light: #e8f5e9;
    --color-primary-dark: #143627;
    
    --color-accent: #ba8860;
    --color-accent-hover: #9c6e48;
    --color-accent-light: #f7efe9;
    
    --color-secondary: #23201d;
    --color-secondary-hover: #37332f;
    
    --color-bg: #faf8f5;
    --color-surface: #ffffff;
    --color-surface-muted: #f4f0e9;
    
    --color-text-main: #212529;
    --color-text-muted: #6c757d;
    --color-border: #e7e2d8;
    
    --color-success: #2d6a4f;
    --color-warning: #e07a5f;
    --color-danger: #c94a29;

    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
    
    --shadow-xs: 0 1px 2px rgba(35, 32, 29, 0.04);
    --shadow-sm: 0 1px 3px rgba(35, 32, 29, 0.06), 0 1px 2px rgba(35, 32, 29, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(35, 32, 29, 0.07), 0 2px 4px -2px rgba(35, 32, 29, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(35, 32, 29, 0.07), 0 4px 6px -4px rgba(35, 32, 29, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(35, 32, 29, 0.07), 0 8px 10px -6px rgba(35, 32, 29, 0.03);
}

.site-announcement-bar {
    background-color: var(--color-primary-dark, #143627);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-align: center;
    letter-spacing: 0.01em;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Headings & Text Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.015em;
}

h4 {
    font-size: 1.05rem;
}

p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-main);
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.brand-logo img,
.brand-logo-img {
    height: 27px;
    width: auto;
    max-height: 30px;
    display: block;
    object-fit: contain;
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-text-main, #0f172a);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 0;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: #f8fafc;
    border-color: var(--color-primary, #6b4423);
    color: var(--color-primary, #6b4423);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.brand-badge {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
    color: var(--color-text-main);
    background: var(--color-surface-muted);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.badge-link {
    background: var(--color-surface-muted);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

/* Harmonized Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5625rem 1.125rem;
    min-height: 38px;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled, .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Sizes */
.btn-xs {
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.25rem 0.5rem;
    min-height: 28px;
    border-radius: var(--radius-xs);
    gap: 0.25rem;
}

.btn-sm {
    font-size: 0.8125rem;
    line-height: 1.125rem;
    padding: 0.375rem 0.75rem;
    min-height: 32px;
    border-radius: var(--radius-sm);
    gap: 0.375rem;
}

.btn-lg {
    font-size: 0.9375rem;
    line-height: 1.375rem;
    padding: 0.75rem 1.5rem;
    min-height: 46px;
    border-radius: var(--radius-md);
    gap: 0.625rem;
}

.btn-block {
    width: 100%;
}

/* Button Variants */
.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-main);
    border-color: var(--color-border);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--color-surface-muted);
    border-color: #cbd5e1;
    color: var(--color-text-main);
}

.btn-dark {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: var(--shadow-xs);
}

.btn-dark:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.btn-danger {
    background: var(--color-danger);
    color: #ffffff;
    border-color: var(--color-danger);
    box-shadow: var(--shadow-xs);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

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

.btn-outline:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--color-surface-muted);
    color: var(--color-text-main);
}

/* Form Controls & Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

.form-control {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5625rem 0.875rem;
    min-height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-main);
    outline: none;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-control-sm {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    min-height: 32px;
    border-radius: var(--radius-sm);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Hero Section */
.hero-section {
    padding: 4.5rem 0 5rem;
    background: var(--color-surface-muted);
    border-bottom: 1px solid var(--color-border);
}

.hero-container {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    color: var(--color-text-main);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
}

.hero-title {
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--color-text-main);
}

.hero-lead {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.feature-card,
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.product-card:hover img {
    transform: scale(1.02);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--color-text-main);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.feature-card code {
    background: var(--color-surface-muted);
    padding: 0.1rem 0.3rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-primary-dark);
}

/* Content Area */
.site-content {
    flex: 1;
}

/* Footer */
/* Professional Enterprise Storefront Footer */
.site-footer {
    background: #0b1120;
    color: #94a3b8;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.footer-trust-banner {
    border-bottom: 1px solid #1e293b;
    padding: 2rem 0;
    background: rgba(15, 23, 42, 0.5);
}

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

.footer-trust-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.footer-trust-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.15rem;
}

.footer-trust-subtitle {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.footer-meta-icon {
    color: #38bdf8;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-heading {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.15rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 2px;
    background: #38bdf8;
    border-radius: 2px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-wa-card {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    padding: 0.6rem 0.95rem;
    border-radius: 8px;
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    transition: all 0.2s ease;
    margin-bottom: 0.85rem;
}

.footer-wa-card:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}


.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    background: #080d1a;
}

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

.footer-copyright {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0;
}

.footer-provider-box {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #64748b;
}

.intuism-credit-link,
.intuism-credit-badge {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.intuism-credit-link:hover,
.intuism-credit-badge:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: Hide multi-column links and trust cards, leaving compact copyright & provider bar */
    .footer-trust-banner,
    .footer-inner {
        display: none !important;
    }

    .site-footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    body:has(.checkout-container) .site-footer {
        padding-bottom: 0;
    }

    .footer-bottom {
        border-top: none;
        padding: 1.15rem 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.45rem;
    }

    .footer-copyright {
        text-align: center;
        font-size: 0.78rem;
    }

    .footer-provider-box {
        justify-content: center;
        font-size: 0.78rem;
    }
}

/* Error Pages */
.error-page-body {
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.error-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 520px;
    width: 90%;
}

.error-code {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.error-code-red {
    color: var(--color-danger);
}

.error-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.error-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Desktop: Hide Mobile Bottom Bar and Sticky Action Bar */
.mobile-bottom-bar,
.mobile-sticky-action-bar {
    display: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-surface-muted, #f1f5f9);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text-main, #0f172a);
}

.header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Minimalist Desktop & Adaptive Header User Button */
.header-user-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    min-height: 40px;
    border-radius: var(--radius-full, 9999px);
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-text-main, #0f172a);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-user-btn:hover {
    background: #f8fafc;
    border-color: var(--color-primary, #6b4423);
    color: var(--color-primary, #6b4423);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.header-user-btn:active {
    transform: scale(0.95);
}

/* Minimalist Icon-Only Header Cart Button */
.header-cart-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-text-main, #0f172a);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.header-cart-icon-btn:hover {
    background: #f8fafc;
    border-color: var(--color-primary, #6b4423);
    color: var(--color-primary, #6b4423);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.header-cart-icon-btn:active {
    transform: scale(0.95);
}

.header-cart-badge {
    background: var(--color-primary, #6b4423);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.header-cart-icon-btn .header-cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

@media (max-width: 768px) {
    .site-content {
        padding-bottom: 74px; /* Clearance for floating bottom bar */
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.25rem 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--color-border, #e2e8f0);
        background: #ffffff;
        color: var(--color-text-main, #0f172a);
        flex-shrink: 0;
        cursor: pointer;
        padding: 0;
    }

    .brand-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        text-align: center;
        min-width: 0;
    }

    .brand-logo img,
    .brand-logo-img {
        height: 24px !important;
        max-height: 26px !important;
        width: auto;
        max-width: 130px;
        object-fit: contain;
    }

    .main-nav {
        display: none; /* Handled by drawer & bottom mobile bar */
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex-shrink: 0;
    }

    .header-user-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .header-user-btn span,
    .header-user-text,
    .header-user-name {
        display: none !important;
    }

    .header-cart-icon-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .admin-portal-btn {
        display: none; /* Keep mobile header clean */
    }


    .hero-actions {
        flex-direction: column;
    }

    /* Floating Bottom App Bar */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 990;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
    }

    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        font-size: 0.7rem;
        font-weight: 500;
        gap: 3px;
        flex: 1;
        height: 100%;
        transition: color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-item:active,
    .mobile-bottom-item.active {
        color: var(--color-primary, #047857);
        font-weight: 600;
    }

    .mobile-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .mobile-cart-icon-wrapper {
        position: relative;
    }

    .mobile-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: #ef4444;
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        line-height: 1;
    }

    /* Mobile Sticky Product Action Bar */
    .mobile-sticky-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--color-border, #e2e8f0);
        padding: 0.5rem 0.75rem;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
        z-index: 1000;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        display: block;
    }

    .mobile-sticky-inner {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .mobile-action-icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--color-text-main, #0f172a);
        background: #fafaf9;
        border: 1px solid var(--color-border, #e2e8f0);
        border-radius: var(--radius-sm, 6px);
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        transition: background-color 0.15s ease;
    }

    .mobile-action-icon-btn:hover {
        background: #f1f5f9;
    }

    .mobile-action-sublabel {
        font-size: 0.575rem;
        font-weight: 600;
        color: var(--color-text-muted, #64748b);
        margin-top: 1px;
    }

    .mobile-sticky-btn {
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        border-radius: var(--radius-md, 8px) !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        padding: 0 0.65rem !important;
    }

    .mobile-sticky-btn.cart-btn {
        flex: 1;
        font-size: 0.8125rem !important;
        background: #fafaf9;
        border: 1px solid var(--color-border, #e2e8f0);
        color: var(--color-text-main, #0f172a);
    }

    .mobile-sticky-btn.buynow-btn {
        flex: 1.25;
        font-size: 0.85rem !important;
        background: var(--color-primary, #6b4423);
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(107, 68, 35, 0.25);
    }

    /* When sticky product or checkout bar is present on mobile, hide the generic bottom nav bar */
    body:has(.mobile-sticky-action-bar) .mobile-bottom-bar,
    body:has(.mobile-checkout-bar) .mobile-bottom-bar,
    body:has(.checkout-container) .mobile-bottom-bar {
        display: none !important;
    }
}

/* ==========================================================================
   Seamless Marketplace Cart & Checkout System (Shopee/Tokopedia Inspired)
   ========================================================================== */

/* Layout Grids */
.checkout-layout,
.cart-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .checkout-layout,
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Form Responsiveness */
.form-row-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .form-control {
        font-size: 16px !important; /* Critical: prevents iOS Safari auto-zoom */
        min-height: 44px;
        padding: 0.65rem 0.875rem;
    }

    textarea.form-control {
        min-height: 90px;
    }
}

/* Section Cards */
.checkout-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .checkout-card {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-md, 8px);
        margin-bottom: 1rem;
    }
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.checkout-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main, #0f172a);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-card-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary, #2d6a4f);
    flex-shrink: 0;
}

/* Shipping Option Selectable Cards */
.shipping-pill-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    padding: 0.875rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

.shipping-pill-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.shipping-pill-card.active {
    background: #f0fdf4 !important;
    border-color: #16a34a !important;
    border-width: 2px !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

@media (max-width: 480px) {
    .shipping-pill-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.shipping-pill-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.shipping-pill-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.shipping-pill-card.active .shipping-pill-indicator {
    border-color: #16a34a;
    background: #16a34a;
    color: #ffffff;
}

.shipping-pill-indicator svg {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

.shipping-pill-card.active .shipping-pill-indicator svg {
    opacity: 1;
    transform: scale(1);
}

.shipping-pill-title {
    font-weight: 700;
    font-size: 0.925rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.2s ease;
}

.shipping-pill-card.active .shipping-pill-title {
    color: #14532d;
}

.shipping-pill-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.2rem;
    transition: color 0.2s ease;
}

.shipping-pill-card.active .shipping-pill-desc {
    color: #15803d;
}

.shipping-pill-cost {
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
    transition: color 0.2s ease;
}

.shipping-pill-card.active .shipping-pill-cost {
    color: #15803d;
    font-weight: 800;
}

.shipping-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.shipping-pill-card.active .shipping-badge {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

/* Payment Method Card */
.payment-selector {
    border: 1.5px solid var(--color-primary, #2d6a4f);
    background: #f8faf9;
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-md, 8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.payment-selector:hover {
    background: #f0fdf4;
}

.payment-bank-badges {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}

.bank-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

/* Checkout Items Preview */
.checkout-items-scroll {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 1.25rem;
    padding-right: 0.25rem;
}

.checkout-item-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.checkout-item-row:last-child {
    border-bottom: none;
}

.checkout-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    background: var(--color-surface-muted, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    flex-shrink: 0;
}

.checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-main, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.checkout-item-meta {
    font-size: 0.775rem;
    color: var(--color-text-muted, #64748b);
    margin-top: 0.2rem;
}

.checkout-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-main, #0f172a);
    text-align: right;
    flex-shrink: 0;
}

/* Cart Page Styling */
.cart-items-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cart-items-header {
    padding: 1.125rem 1.5rem;
    background: var(--color-surface-muted, #f8fafc);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 640px) {
    .cart-items-header {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

.cart-item-row {
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.cart-item-row:last-child {
    border-bottom: none;
}

@media (max-width: 640px) {
    .cart-item-row {
        padding: 1rem;
        grid-template-columns: 70px 1fr;
        gap: 0.875rem;
        align-items: flex-start;
    }

    .cart-item-bottom {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        border-top: 1px dashed var(--color-border, #e2e8f0);
        margin-top: 0.5rem;
    }
}

.cart-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    background: var(--color-surface-muted, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .cart-item-thumb {
        width: 70px;
        height: 70px;
    }
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modern Shopee Quantity Stepper */
.cart-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border, #cbd5e1);
    border-radius: var(--radius-sm, 6px);
    background: var(--color-surface, #ffffff);
    height: 32px;
    overflow: hidden;
}

.cart-stepper-btn {
    width: 32px;
    height: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main, #0f172a);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    -webkit-user-select: none;
    user-select: none;
    padding: 0;
}

.cart-stepper-btn:hover {
    background: var(--color-surface-muted, #f1f5f9);
    color: var(--color-primary, #2d6a4f);
}

.cart-stepper-btn:active {
    background: #e2e8f0;
}

.cart-stepper-input {
    width: 44px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--color-border, #cbd5e1);
    border-right: 1px solid var(--color-border, #cbd5e1);
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text-main, #0f172a);
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

/* Trash Icon Button */
.cart-trash-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.4rem;
    border-radius: var(--radius-sm, 6px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.cart-trash-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* Mobile Sticky Checkout Bar */
.mobile-checkout-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-checkout-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        padding: 0.75rem 1rem env(safe-area-inset-bottom, 0.75rem);
        z-index: 995;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .mobile-checkout-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }

    .mobile-checkout-label {
        font-size: 0.725rem;
        color: var(--color-text-muted, #64748b);
        line-height: 1.2;
    }

    .mobile-checkout-total {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--color-primary, #2d6a4f);
        line-height: 1.2;
    }

    .mobile-checkout-btn {
        flex-shrink: 0;
        min-width: 140px;
        padding: 0.65rem 1.25rem !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        height: 44px;
    }
}

/* ==========================================================================
   Modern Storefront Catalog Toolbar & Seamless Chips
   ========================================================================== */
.catalog-header-area {
    margin-bottom: 2rem;
}

.catalog-breadcrumb {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.catalog-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.catalog-breadcrumb a:hover {
    color: var(--color-primary);
}

.catalog-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-text-main);
    margin: 0 0 0.35rem;
}

.catalog-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 2-Tier Modern Toolbar */
.catalog-toolbar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

/* Tier 1: Search & Sort Bar */
.catalog-search-row {
    display: flex;
    gap: 0.875rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.catalog-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
    max-width: 480px;
}

.catalog-search-box {
    position: relative;
    width: 100%;
}

.catalog-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.catalog-search-input {
    width: 100%;
    height: 44px;
    padding: 0 2.5rem 0 2.85rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.9rem;
    color: var(--color-text-main);
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.catalog-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 72, 40, 0.15);
    background: #ffffff;
}

.catalog-search-clear {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.catalog-search-clear:hover {
    color: var(--color-text-main);
    background: var(--color-surface-muted, #f1f5f9);
}

/* Sort Dropdown Pill */
.catalog-sort-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.catalog-sort-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.catalog-sort-select {
    height: 44px;
    padding: 0 2.5rem 0 2.65rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.catalog-sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 72, 40, 0.15);
}

.catalog-sort-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Tier 2: Horizontal Scrollable Category Chips */
.catalog-chips-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.catalog-chips-track {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0.25rem 0.5rem;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    width: 100%;
}

@supports (scrollbar-width: none) {
    .catalog-chips-track {
        scrollbar-width: none;
    }
}

.catalog-chips-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.catalog-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-user-select: none;
    user-select: none;
}

.catalog-chip:hover {
    color: var(--color-text-main);
    border-color: var(--color-text-muted);
    background: var(--color-surface-muted, #f8fafc);
    transform: translateY(-1px);
}

.catalog-chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(112, 72, 40, 0.22);
}

/* Tier 3: Active Filter Feedback Bar */
.catalog-filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1.15rem;
    background: var(--color-surface-muted, #f8fafc);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.catalog-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    padding: 0.2rem 0.65rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.catalog-filter-reset {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity 0.15s ease;
}

.catalog-filter-reset:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==========================================================================
   Storefront Catalog Header & Breadcrumb
   ========================================================================== */
.catalog-page-header {
    margin-bottom: 1.5rem;
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 0.4rem;
}

.catalog-breadcrumb a {
    color: var(--color-text-muted, #64748b);
    text-decoration: none;
    transition: color 0.15s ease;
}

.catalog-breadcrumb a:hover {
    color: var(--color-primary, #6b4423);
}

.catalog-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.catalog-breadcrumb-current {
    color: var(--color-text-main, #0f172a);
    font-weight: 600;
}

.catalog-page-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-text-main, #0f172a);
    margin: 0 0 0.35rem;
}

.catalog-page-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted, #64748b);
    margin: 0;
}

/* ==========================================================================
   Storefront Product Grid & Cards (Modern 2-Column Mobile Standard)
   ========================================================================== */
.storefront-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.storefront-product-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
}

.storefront-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.08);
    border-color: rgba(107, 68, 35, 0.3);
}

.product-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #fafaf9;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}

.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.storefront-product-card:hover .product-card-thumb img {
    transform: scale(1.05);
}

.product-card-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
    line-height: 1.2;
}

.product-card-overlay-soldout {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 3;
}

.product-card-overlay-soldout span {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 0.725rem;
    color: var(--color-primary, #6b4423);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.45rem;
    line-height: 1.4;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: #1e293b;
    text-decoration: none;
    font-weight: inherit;
    transition: color 0.15s ease;
}

.product-card-title a:hover {
    color: var(--color-primary, #6b4423);
}

.product-card-prices {
    margin-top: auto;
    padding-top: 0.45rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.product-card-prices .product-price-current,
.product-price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #6b4423);
    white-space: nowrap !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.product-card-prices .product-price-original,
.product-price-original {
    font-size: 0.75rem;
    color: var(--color-text-muted, #94a3b8);
    text-decoration: line-through;
    white-space: nowrap !important;
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.55rem 0.75rem;
    background: #fafaf9;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text-main, #0f172a);
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    line-height: 1.25;
}

.product-card-btn:hover {
    background: var(--color-primary, #6b4423);
    color: #ffffff;
    border-color: var(--color-primary, #6b4423);
    box-shadow: 0 3px 8px rgba(107, 68, 35, 0.2);
}

/* Tablet Layout (3 columns) */
@media (min-width: 641px) and (max-width: 991px) {
    .storefront-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* Mobile Responsive Overrides: Strictly 2-Columns Per Row */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }

    .catalog-page-header {
        margin-bottom: 1rem;
    }

    .catalog-page-title {
        font-size: 1.4rem;
    }

    .catalog-page-subtitle {
        font-size: 0.8125rem;
    }

    .catalog-filter-status {
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .catalog-filter-reset {
        font-size: 0.75rem;
    }

    .storefront-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.625rem !important;
    }

    .storefront-product-card {
        border-radius: 10px;
    }

    .product-card-thumb img {
        padding: 0.45rem;
    }

    .product-card-badge-discount {
        top: 6px;
        left: 6px;
        font-size: 0.625rem;
        padding: 0.125rem 0.35rem;
        border-radius: 3px;
    }

    .product-card-overlay-soldout span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .product-card-body {
        padding: 0.625rem 0.625rem 0.75rem;
    }

    .product-card-category {
        font-size: 0.675rem;
        margin-bottom: 0.2rem;
    }

    .product-card-title {
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1.35;
        margin-bottom: 0.3rem;
        min-height: 2.2em;
    }

    .product-card-title a {
        color: #1e293b;
        font-weight: 500;
    }

    .product-card-prices {
        padding-top: 0.2rem;
        gap: 0.25rem 0.35rem;
        align-items: baseline;
    }

    .product-card-prices .product-price-current,
    .storefront-product-card .product-price-current {
        font-size: 0.875rem !important; /* 14px compact Shopee-style price */
        font-weight: 700 !important;
        line-height: 1.25;
    }

    .product-card-prices .product-price-original,
    .storefront-product-card .product-price-original {
        font-size: 0.6875rem !important; /* 11px subtle crossed-out original price */
        color: #94a3b8 !important;
    }

    .product-card-btn {
        margin-top: 0.5rem;
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-height: 28px;
        border-radius: 6px;
    }
}

/* ==========================================================================
   Mobile Off-Canvas Navigation Drawer
   ========================================================================== */
.nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #ffffff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-drawer.open {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    background: #fafaf9;
}

.drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.drawer-brand img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #e2e8f0);
    background: #ffffff;
    color: var(--color-text-muted, #64748b);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.nav-drawer-close:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: #fef2f2;
}

.nav-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem 2rem;
}

.nav-drawer-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.nav-drawer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nav-drawer-heading {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #94a3b8);
    margin-bottom: 0.65rem;
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main, #0f172a);
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
}

.nav-drawer-link:hover {
    background: #fafaf9;
    color: var(--color-primary, #6b4423);
    padding-left: 0.95rem;
}

.nav-drawer-link.active {
    background: rgba(107, 68, 35, 0.08);
    color: var(--color-primary, #6b4423);
    font-weight: 700;
}

.nav-drawer-link svg {
    color: var(--color-text-muted, #64748b);
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.nav-drawer-link:hover svg,
.nav-drawer-link.active svg {
    color: var(--color-primary, #6b4423);
}

.nav-drawer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border, #cbd5e1);
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-drawer-link:hover .nav-drawer-dot {
    background: var(--color-primary, #6b4423);
    transform: scale(1.3);
}

.nav-drawer-badge {
    margin-left: auto;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
}

.nav-drawer-footer {
    padding: 1rem 1.25rem;
    background: #fafaf9;
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.nav-drawer-brand-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-main, #0f172a);
}

.nav-drawer-subtag {
    font-size: 0.7rem;
    color: var(--color-text-muted, #64748b);
    margin-top: 0.15rem;
}

/* ==========================================================================
   Modern Product Detail Page (Mobile-First E-Commerce UX)
   ========================================================================== */
.product-detail-section {
    padding: 1.5rem 0 4rem;
}

.product-breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #64748b);
}

.product-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-muted, #64748b);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease, transform 0.15s ease;
}

.product-back-btn:hover {
    color: var(--color-primary, #6b4423);
    transform: translateX(-2px);
}

.product-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.product-breadcrumb-trail a {
    color: var(--color-text-muted, #64748b);
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-breadcrumb-trail a:hover {
    color: var(--color-primary, #6b4423);
}

.product-breadcrumb-trail .sep {
    color: #cbd5e1;
}

.product-breadcrumb-trail .current {
    color: var(--color-text-main, #0f172a);
    font-weight: 600;
}

/* Two-Column Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: 3rem;
    align-items: start;
}

/* Gallery Column */
.product-gallery-col {
    position: sticky;
    top: 5rem;
}

.product-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fafaf9;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--color-border, #e2e8f0);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.product-gallery-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    z-index: 2;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.gallery-thumb-btn {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm, 6px);
    border: 1.5px solid var(--color-border, #e2e8f0);
    background: #fafaf9;
    padding: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumb-btn:hover {
    border-color: var(--color-primary, #6b4423);
    transform: translateY(-1px);
}

/* Info Column */
.product-category-pill {
    display: inline-block;
    background: rgba(107, 68, 35, 0.08);
    color: var(--color-primary, #6b4423);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.product-category-pill:hover {
    background: rgba(107, 68, 35, 0.15);
}

.product-detail-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.65rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #64748b);
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.meta-dot {
    color: #cbd5e1;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.stock-in {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.stock-low {
    background: #fef3c7;
    color: #92400e;
}

.stock-out {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Price Card - Prevents "Rp" wrapping bug */
.product-price-card {
    background: #fafaf9;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-md, 10px);
    padding: 1rem 1.25rem;
    margin-bottom: 1.35rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.product-price-card .product-price-current,
.product-price-row .product-price-current {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--color-primary, #6b4423);
    white-space: nowrap !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.product-price-card .product-price-original,
.product-price-row .product-price-original {
    font-size: clamp(0.8125rem, 2vw, 0.95rem);
    text-decoration: line-through;
    color: var(--color-text-muted, #94a3b8);
    white-space: nowrap !important;
}

.product-price-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap !important;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.25);
}

.product-short-desc {
    color: var(--color-text-muted, #64748b);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-size: 0.925rem;
}

/* Variants */
.product-variants-group {
    margin-bottom: 1.35rem;
}

.form-label-bold {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-main, #0f172a);
}

.variant-chips-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.variant-chip-label {
    cursor: pointer;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    padding: 0.5rem 0.85rem;
    font-size: 0.825rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    transition: all 0.15s ease;
}

.variant-chip-label:hover {
    border-color: var(--color-primary, #6b4423);
    background: #fafaf9;
}

.variant-chip-label.active,
.variant-chip-label:has(.variant-radio:checked) {
    border-color: var(--color-primary, #6b4423);
    background: rgba(107, 68, 35, 0.08);
    box-shadow: 0 0 0 1px var(--color-primary, #6b4423);
}

.variant-chip-label.active .variant-chip-title,
.variant-chip-label:has(.variant-radio:checked) .variant-chip-title {
    color: var(--color-primary, #6b4423);
    font-weight: 700;
}

.variant-chip-label.active .variant-chip-price,
.variant-chip-label:has(.variant-radio:checked) .variant-chip-price {
    color: var(--color-primary, #6b4423);
    font-weight: 600;
}

.variant-radio {
    accent-color: var(--color-primary, #6b4423);
}

.variant-chip-title {
    color: var(--color-text-main, #0f172a);
}

.variant-chip-price {
    color: var(--color-text-muted, #64748b);
    font-size: 0.78rem;
}

/* Quantity Section */
.product-qty-section {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.qty-section-label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-text-main, #0f172a);
}

.qty-stepper-control {
    display: inline-flex;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    height: 42px;
    background: #ffffff;
}

.qty-btn {
    border: none;
    background: #fafaf9;
    width: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-text-main, #0f172a);
    transition: background-color 0.15s ease;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.qty-btn:active {
    background: #e2e8f0;
}

.qty-input-box {
    width: 48px;
    text-align: center;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    background: #ffffff;
    color: var(--color-text-main, #0f172a);
}

.qty-stock-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted, #64748b);
}

/* In-Page Action Buttons */
.product-inpage-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.inpage-cart-btn {
    flex: 1;
    min-height: 46px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.inpage-buynow-btn {
    flex: 1.25;
    min-height: 46px;
    font-weight: 700;
    font-size: 0.925rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 68, 35, 0.22);
}

/* Trust / Guarantee Badges */
.product-guarantee-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 1rem;
    padding: 0.75rem 0.875rem;
    background: #f8fafc;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-sm, 8px);
    margin: 1.25rem 0 1.5rem;
}

.guarantee-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    color: #475569;
    font-weight: 500;
}

.guarantee-badge-item svg {
    color: var(--color-primary, #6b4423);
    flex-shrink: 0;
}

/* Full Description */
.product-full-desc-card {
    border-top: 1px solid var(--color-border, #e2e8f0);
    padding-top: 2rem;
    margin-top: 2.5rem;
}

.full-desc-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--color-text-main, #0f172a);
}

.full-desc-content {
    color: var(--color-text-muted, #64748b);
    line-height: 1.8;
    font-size: 0.95rem;
    white-space: pre-line;
}

/* ==========================================================================
   Mobile Overrides for Product Detail Page
   ========================================================================== */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 0 0 5rem;
    }

    .product-detail-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .product-breadcrumb-trail {
        display: none; /* Hide multi-level trail on mobile */
    }

    .product-breadcrumb-nav {
        padding: 0.75rem 1rem 0.5rem;
        margin-bottom: 0;
    }

    .product-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .product-gallery-col {
        position: static;
        width: 100%;
        margin: 0;
    }

    .product-gallery-main {
        width: 100%;
        max-height: none;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid var(--color-border, #e2e8f0);
        background: #ffffff;
        margin-bottom: 0;
    }

    .product-gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0.75rem;
    }

    .product-gallery-discount-badge {
        top: 14px;
        left: 14px;
    }

    .product-gallery-thumbs {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--color-border, #f1f5f9);
        background: #ffffff;
        margin-bottom: 0;
    }

    .product-info-col {
        padding: 1.25rem 1rem 0;
    }

    .product-price-card {
        padding: 0.75rem 0.875rem;
        margin-bottom: 1rem;
    }

    .product-price-row {
        gap: 0.4rem 0.65rem;
    }

    .product-price-card .product-price-current,
    .product-price-row .product-price-current {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
    }

    .product-price-card .product-price-original,
    .product-price-row .product-price-original {
        font-size: 0.8125rem !important;
    }

    .product-inpage-actions {
        display: none !important; /* Hide duplicate buttons on mobile; sticky action bar handles purchases cleanly */
    }

    .product-guarantee-badges {
        margin: 1rem 0 1.25rem;
        gap: 0.5rem 0.75rem;
        padding: 0.625rem 0.75rem;
    }

    .guarantee-badge-item {
        font-size: 0.725rem;
    }

    .product-full-desc-card {
        padding-top: 1.5rem;
        margin-top: 1.75rem;
    }
}

/* ==========================================================================
   Checkout Success & Confirmation Page Responsive Styles
   ========================================================================== */
.checkout-success-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.checkout-success-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
    text-align: center;
}

.checkout-success-icon-badge {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.checkout-success-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: var(--color-text-main, #0f172a);
}

.checkout-success-subtitle {
    color: var(--color-text-muted, #64748b);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.checkout-success-ordernumber {
    background: var(--color-surface-muted, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    padding: 1.125rem 1.5rem;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 2rem;
}

.checkout-success-ordernumber-label {
    font-size: 0.85rem;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 0.25rem;
}

.checkout-success-ordernumber-code {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main, #0f172a);
    letter-spacing: 0.05em;
    word-break: break-all;
}

.checkout-payment-box {
    border-radius: var(--radius-md, 8px);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.checkout-payment-cod {
    background: #fefce8;
    border: 1.5px solid #fef08a;
}

.checkout-payment-transfer {
    background: var(--color-surface-muted, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
}

.checkout-payment-header {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-payment-cod .checkout-payment-header {
    color: #854d0e;
}

.checkout-payment-transfer .checkout-payment-header {
    color: var(--color-text-main, #0f172a);
}

.checkout-payment-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.checkout-payment-cod .checkout-payment-desc {
    color: #713f12;
}

.checkout-payment-transfer .checkout-payment-desc {
    color: var(--color-text-muted, #64748b);
}

.checkout-payment-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm, 6px);
    border: 1px solid #fef08a;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.checkout-payment-transfer .checkout-payment-total-row {
    border-color: var(--color-border, #e2e8f0);
}

.checkout-payment-total-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #854d0e;
}

.checkout-payment-total-sub {
    font-size: 0.825rem;
    color: #a16207;
}

.checkout-payment-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: #854d0e;
    white-space: nowrap;
    text-align: right;
}

.checkout-payment-meta {
    font-size: 0.85rem;
    line-height: 1.5;
}

.checkout-payment-cod .checkout-payment-meta {
    color: #713f12;
}

.checkout-payment-transfer .checkout-payment-meta {
    color: var(--color-text-muted, #64748b);
}

.checkout-items-list-card {
    text-align: left;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    margin-bottom: 2rem;
}

.checkout-items-list-header {
    padding: 0.75rem 1rem;
    background: var(--color-surface-muted, #f8fafc);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-main, #0f172a);
}

.checkout-items-list-body {
    padding: 0.875rem 1rem;
}

.checkout-items-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--color-border, #e2e8f0);
}

.checkout-items-list-item:last-child {
    border-bottom: none;
}

.checkout-item-title {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    line-height: 1.4;
}

.checkout-item-subtotal {
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
    color: var(--color-text-main, #0f172a);
}

.checkout-success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-success-wa-btn {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.checkout-success-wa-btn:hover {
    background: #20ba59;
    color: #ffffff;
    border-color: #20ba59;
}

/* Order Tracking Responsive Form */
.order-track-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

/* Account Dashboard Mobile-Friendly Styles */
.account-profile-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 2rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.account-profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.account-orders-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
}

.account-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   Customer Account: Compact Order Shortcuts & Mobile-First Order Cards
   ========================================================================== */
.account-shortcuts-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.account-shortcuts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #f1f5f9;
}

.account-shortcuts-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.account-shortcuts-all-btn {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s ease;
}

.account-shortcuts-all-btn:hover {
    color: var(--color-primary, #15803d);
}

.account-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.status-shortcut-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.45rem 0.25rem;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.status-shortcut-btn:hover {
    background: #f8fafc;
}

.status-shortcut-btn.active {
    background: rgba(21, 128, 61, 0.08);
    border-color: rgba(21, 128, 61, 0.25);
}

.status-icon-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    margin-bottom: 0.2rem;
    transition: color 0.15s ease;
}

.status-shortcut-btn:hover .status-icon-wrap,
.status-shortcut-btn.active .status-icon-wrap {
    color: var(--color-primary, #15803d);
}

.status-badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.35);
}

.status-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.15s ease;
}

.status-shortcut-btn:hover .status-label,
.status-shortcut-btn.active .status-label {
    color: var(--color-primary, #15803d);
    font-weight: 700;
}

/* Filter Status Pills */
.order-filter-pills {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

@supports (scrollbar-width: none) {
    .order-filter-pills {
        scrollbar-width: none;
    }
}

.order-filter-pills::-webkit-scrollbar {
    display: none;
}

.order-pill-tab {
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.order-pill-tab:hover {
    border-color: #cbd5e1;
    color: #334155;
}

.order-pill-tab.active {
    background: var(--color-primary, #15803d);
    color: #ffffff;
    border-color: var(--color-primary, #15803d);
}

/* Order Cards */
.orders-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.account-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-card-number {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary, #15803d);
    text-decoration: none;
}

.order-card-dot {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.order-card-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.order-card-badges {
    display: flex;
    gap: 0.35rem;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
}

.badge-unpaid {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-processing {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-shipped {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.badge-completed {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-neutral {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.order-card-body {
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.order-card-product-summary {
    min-width: 0;
    flex: 1;
}

.order-card-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.order-card-product-more {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

.order-card-payment-method {
    font-size: 0.72rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.order-card-total-box {
    text-align: right;
    flex-shrink: 0;
}

.order-card-total-label {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 2px;
}

.order-card-total-amount {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.order-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f8fafc;
}

/* Customer Account Orders Pagination */
.account-orders-pagination {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.account-orders-pagination .pagination-info {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.account-orders-pagination .pagination-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.account-orders-pagination .pagination-page-indicator {
    font-size: 0.82rem;
    color: #475569;
    padding: 0 0.35rem;
}

.account-shortcuts-all-btn.active {
    color: var(--color-primary, #15803d);
    font-weight: 700;
}

/* Mobile Screen Specific Overrides (max-width: 640px) */
@media (max-width: 640px) {
    .checkout-success-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .checkout-success-card {
        padding: 1.75rem 1rem;
        border-radius: var(--radius-md, 8px);
    }

    .checkout-success-title {
        font-size: 1.45rem;
    }

    .checkout-success-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .checkout-success-ordernumber {
        padding: 0.875rem 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .checkout-success-ordernumber-code {
        font-size: 1.25rem;
        letter-spacing: 0.02em;
    }

    .checkout-payment-box {
        padding: 1.125rem 0.875rem;
        margin-bottom: 1.5rem;
    }

    .checkout-payment-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.875rem;
    }

    .checkout-payment-total-amount {
        font-size: 1.25rem;
        text-align: left;
    }

    .checkout-items-list-card {
        margin-bottom: 1.5rem;
    }

    .checkout-items-list-header {
        padding: 0.65rem 0.875rem;
    }

    .checkout-items-list-body {
        padding: 0.75rem 0.875rem;
    }

    .checkout-items-list-item {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    .checkout-success-actions {
        flex-direction: column;
        width: 100%;
    }

    .checkout-success-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
    }

    .order-track-form {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .order-track-form .btn {
        width: 100%;
    }

    .account-profile-card {
        padding: 1.25rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .account-profile-actions {
        width: 100%;
    }

    .account-profile-actions .btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .account-orders-card {
        padding: 1.15rem 0.85rem;
    }

    .account-shortcuts-card {
        padding: 0.75rem 0.65rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .account-shortcuts-title {
        font-size: 0.9rem;
    }

    .account-shortcuts-all-btn {
        font-size: 0.75rem;
    }

    .status-icon-wrap {
        width: 34px;
        height: 34px;
        margin-bottom: 0.15rem;
    }

    .status-label {
        font-size: 0.7rem;
    }

    .account-order-card {
        padding: 0.85rem;
    }

    .order-card-product-name {
        font-size: 0.82rem;
    }

    .order-card-total-amount {
        font-size: 0.92rem;
    }
}

/* ==========================================================================
   Storefront Dynamic Toast Notification System
   ========================================================================== */
.site-toast-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    pointer-events: none;
    width: max-content;
    max-width: calc(100vw - 1.5rem);
}

.site-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    color: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 9999px;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    padding: 0.32rem 0.65rem 0.32rem 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: toastSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.2s ease;
}

.site-toast.toast-hiding {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    background: rgba(22, 163, 74, 0.14);
    color: #16a34a;
}

.toast-icon.error {
    background: rgba(220, 38, 38, 0.14);
    color: #dc2626;
}

.toast-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.toast-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.toast-desc {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
}

.toast-action-btn {
    background: rgba(21, 128, 61, 0.08);
    color: var(--color-primary, #15803d) !important;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: 9999px;
    white-space: nowrap;
    border: 1px solid rgba(21, 128, 61, 0.2);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.toast-action-btn:hover {
    background: var(--color-primary, #15803d);
    color: #ffffff !important;
    border-color: var(--color-primary, #15803d);
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.toast-close-btn:hover {
    color: #334155;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.badge-pop {
    animation: badgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin-icon {
    animation: spin 0.8s linear infinite;
}

@media (max-width: 640px) {
    .site-toast-container {
        top: 0.75rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100vw - 1rem);
        align-items: center;
    }

    .site-toast {
        padding: 0.28rem 0.55rem 0.28rem 0.4rem;
        gap: 0.4rem;
    }

    .toast-icon {
        width: 18px;
        height: 18px;
    }

    .toast-title {
        font-size: 0.75rem;
        max-width: 140px;
    }

    .toast-action-btn {
        font-size: 0.7rem;
        padding: 0.18rem 0.45rem;
    }
}

/* ==========================================================================
   Customer Saved Address Book & Checkout Address Selector
   ========================================================================== */
.active-address-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md, 10px);
    padding: 1.15rem 1.25rem;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.active-address-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.active-address-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.active-address-tags {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.address-label-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-transform: capitalize;
}

.address-default-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.btn-change-address {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--color-primary, #15803d);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-change-address:hover {
    background: var(--color-primary, #15803d);
    color: #ffffff;
    border-color: var(--color-primary, #15803d);
}

.active-address-recipient {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #0f172a;
    flex-wrap: wrap;
}

.active-address-phone {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.active-address-line {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.55;
}

/* Quick Label Chips */
.quick-label-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.chip-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-btn:hover,
.chip-btn.active {
    background: var(--color-primary, #15803d);
    color: #ffffff;
    border-color: var(--color-primary, #15803d);
}

/* Address Selection Modal */
.address-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

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

.address-modal {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.address-modal-backdrop.active .address-modal {
    transform: scale(1) translateY(0);
}

.address-modal-header {
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.address-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.address-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.address-modal-close:hover {
    color: #334155;
}

.address-modal-body {
    padding: 1.25rem 1.35rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.address-option-item {
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md, 10px);
    padding: 1rem 1.15rem;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #ffffff;
}

.address-option-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.address-option-item.selected {
    border-color: var(--color-primary, #15803d);
    background: rgba(22, 163, 74, 0.03);
    box-shadow: 0 0 0 1px var(--color-primary, #15803d);
}

.address-radio-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    margin-top: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.address-option-item.selected .address-radio-indicator {
    border-color: var(--color-primary, #15803d);
}

.address-option-item.selected .address-radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary, #15803d);
}

.address-option-details {
    flex: 1;
    min-width: 0;
}

.address-modal-footer {
    padding: 1rem 1.35rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #f8fafc;
}

@media (max-width: 640px) {
    .address-modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .address-modal {
        max-width: 100%;
        max-height: 90vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transform: translateY(100%);
    }

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