/* NAMAKALLI - PREMIUM MUSEUM DARK STYLE */

/* ==========================================================================
   1. VARIABLES & SYSTEM RESET
   ========================================================================== */
:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #121215;
    --bg-tertiary: #191920;
    --accent-gold: #d4af37;
    --accent-copper: #c87a3e;
    --accent-gold-rgb: 212, 175, 55;
    --accent-copper-rgb: 200, 122, 62;
    --text-primary: #f5f5f7;
    --text-secondary: #a0a0aa;
    --text-muted: #666670;
    --border-color: #22222a;
    --border-glow: rgba(214, 175, 55, 0.15);
    --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(214, 175, 55, 0.2);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #f7d070;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   2. HEADER / NAVIGATION (GLASSMORPHISM)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-dot {
    color: var(--accent-gold);
    font-weight: 900;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-item {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-primary);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-toggle-btn {
    position: relative;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.cart-toggle-btn:hover {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-copper);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 24px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   3. HERO SECTION (CINEMATIC BACKDROP)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('assets/hero_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-color);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 40%, rgba(10, 10, 12, 0.5) 70%, rgba(10, 10, 12, 0.8) 100%),
                linear-gradient(to bottom, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 0 24px;
    margin-left: calc((100vw - 1200px) / 2 + 24px);
}

/* Fallback for margin if viewport too small */
@media (max-width: 1250px) {
    .hero-content {
        margin-left: 24px;
    }
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 16px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 620px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions-container {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    margin-top: auto;
    padding: 40px 24px 0 24px;
    margin-left: calc((100vw - 1200px) / 2 + 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
}

@media (max-width: 1250px) {
    .hero-stats {
        margin-left: 24px;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ==========================================================================
   4. GALLERY / PRODUCTS (STATES FILTER)
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 15px;
    color: var(--text-secondary);
}

.filter-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 40px;
    scrollbar-width: none; /* Firefox */
}

.filter-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.state-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-width: max-content;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    color: #000;
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-premium);
    transform: translateY(-8px);
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #000;
    overflow: hidden;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
    opacity: 1;
}

.product-state-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
}

.product-info-panel {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.product-title {
    font-size: 18px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-artisan-by {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.artisan-icon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-copper);
    display: inline-block;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

.view-detail-link {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card:hover .view-detail-link {
    color: var(--accent-gold);
}

/* ==========================================================================
   5. TRANSPARENCY SECTION
   ========================================================================== */
.transparency-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.transparency-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.transparency-content {
    max-width: 650px;
}

.transparency-breakdown {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.item-title {
    font-weight: 500;
}

.item-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-copper));
}

.item-description {
    font-size: 13px;
    color: var(--text-secondary);
}

.transparency-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 4px;
}

.donut-chart-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-segment {
    transition: stroke-dashoffset 1s ease;
}

.donut-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chart-percent {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.chart-label {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 6px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    display: inline-block;
}

.color-artisan { background-color: var(--accent-gold); }
.color-tax { background-color: var(--accent-copper); }
.color-stripe { background-color: #8c8c9a; }
.color-platform { background-color: #555; }

/* ==========================================================================
   6. IMPACT SECTION (SOCIO-CULTURAL CONTEXT)
   ========================================================================== */
.impact-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.impact-panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.impact-image-container {
    height: 500px;
    background-image: url('assets/hero_banner.png'); /* Warm artisan hands */
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: #000;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
}

.impact-text {
    display: flex;
    flex-direction: column;
}

.paragraph-large {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.impact-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.impact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.accent-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   7. MAIN FOOTER
   ========================================================================== */
.main-footer {
    background-color: #050507;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    max-width: 400px;
}

.footer-links h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   8. MODALS & SLIDE-OUT OVERLAYS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    transform: translateY(30px);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-large { max-width: 1100px; }
.modal-medium { max-width: 700px; }

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--accent-gold);
}

/* 2-Column Modal Grid */
.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 550px;
}

.product-visuals-col {
    background-color: #000;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-main-image-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 400px;
    padding-top: 0;
}

.product-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.origin-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
}

/* Artisan Portrait Card inside modal */
.artisan-portrait-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background-color: var(--bg-secondary);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.artisan-avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--accent-copper);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.artisan-info-meta {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.artisan-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2px;
}

.artisan-community {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Details Column (Right) */
.product-details-col {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-product-title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.modal-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 30px;
}

/* Tabs System */
.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    gap: 20px;
}

.tab-btn {
    padding: 10px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.tabs-content-container {
    min-height: 160px;
    margin-bottom: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tab-inside-title {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.impact-preview-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    padding: 16px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.heart-icon {
    color: var(--accent-copper);
    flex-shrink: 0;
    animation: heartBeat 2s infinite;
}

.modal-actions {
    margin-top: auto;
}

/* ==========================================================================
   9. SHOPPING CART SIDEBAR
   ========================================================================== */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.cart-sidebar-overlay.active .cart-sidebar {
    transform: translateX(0);
}

.cart-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close-btn {
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-close-btn:hover {
    color: var(--accent-gold);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-message {
    text-align: center;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.cart-empty-message p {
    font-size: 15px;
}

.cart-empty-message .cart-sub {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 250px;
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    background-color: #000;
    border-radius: 2px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-state {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background-color: var(--bg-primary);
}

.qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.02);
}

.qty-num {
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-remove-btn {
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-item-remove-btn:hover {
    color: var(--accent-copper);
}

/* Sidebar Footer */
.cart-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.shipping-selector-container {
    margin-bottom: 20px;
}

.shipping-selector-container label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control-select {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-primary);
    cursor: pointer;
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.total-row.grand-total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* ==========================================================================
   10. SECURE CHECKOUT FORM
   ========================================================================== */
.checkout-form-container {
    padding: 40px;
    overflow-y: auto;
    max-height: 80vh;
}

.checkout-title {
    font-size: 26px;
    margin-bottom: 6px;
}

.checkout-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.card-number-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.card-number-wrapper .form-input {
    padding-right: 46px;
}

.lock-icon {
    position: absolute;
    right: 16px;
    pointer-events: none;
}

.checkout-payment-totals {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkout-payment-totals span {
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-payment-totals strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* ==========================================================================
   11. POST-PURCHASE EXPERIENCE (SIMULATED VIDEO & RECEIPT)
   ========================================================================== */
.impact-success-header {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 40px 24px 40px;
}

.success-badge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.post-title {
    font-size: 28px;
    margin-bottom: 6px;
}

.post-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.customer-highlight-name {
    color: var(--accent-gold);
    font-weight: 600;
}

.post-body-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
}

.video-player-col {
    padding: 40px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.video-section-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Realistic Custom Media Player */
.simulated-video-player {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #000;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.video-poster-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_banner.png'); /* fallback photo */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition-smooth);
}

.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.artisan-video-avatar {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    z-index: 6;
    background-size: cover;
    background-position: center;
}

.video-play-center-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.video-play-center-btn svg {
    margin-left: 4px;
}

.video-play-center-btn:hover {
    transform: scale(1.1);
    background-color: #f7d070;
}

/* Active Speaking State */
.video-playing-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #08080a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.artisan-speaking-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--accent-gold);
    z-index: 5;
}

.video-animation-ring {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    animation: wavePulse 2.5s infinite linear;
    z-index: 4;
}

.video-subtitles {
    position: absolute;
    bottom: 50px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    border-left: 3px solid var(--accent-gold);
    padding: 10px 16px;
    border-radius: 2px;
    text-align: center;
    z-index: 8;
}

.video-subtitles p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(10, 10, 12, 0.95);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    z-index: 9;
    border-top: 1px solid var(--border-color);
}

.play-pause-control {
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.play-pause-control:hover {
    color: var(--accent-gold);
}

.progress-track {
    flex-grow: 1;
    height: 4px;
    background-color: #222;
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-gold);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s linear;
}

.video-timer {
    font-size: 11px;
    font-family: monospace;
    color: var(--text-secondary);
}

/* Message block */
.artisan-signature-block {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 4px;
    margin-top: auto;
}

.signature-message {
    font-style: italic;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.signature-author {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    display: block;
}

/* Physical Perforated Receipt Column (Right) */
.impact-receipt-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.receipt-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.receipt-box {
    background-color: #fff;
    color: #1a1a1a;
    padding: 30px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 13px;
    margin-bottom: 30px;
}

/* Perforated bottom edges using CSS gradients */
.receipt-box::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: radial-gradient(circle, transparent 30%, #fff 35%) repeat-x;
    background-size: 14px 14px;
    transform: rotate(180deg);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.receipt-date {
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    color: #666;
}

.receipt-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
}

.r-item-title {
    font-weight: 500;
}

.r-item-price {
    font-weight: 600;
}

.receipt-divider {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 16px 0;
}

.receipt-divider.dot-divider {
    border-top: 1px dotted #ccc;
}

.receipt-financial-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.financial-row {
    display: flex;
    justify-content: space-between;
}

.financial-row.font-large {
    font-size: 16px;
    font-weight: 700;
}

.financial-row.impact-highlight {
    background-color: #f7f3e8;
    border: 1px solid #e2d2b5;
    padding: 12px;
    border-radius: 4px;
    margin: 8px 0;
}

.impact-header-block {
    display: flex;
    flex-direction: column;
}

.impact-label-main {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-copper);
}

.artisan-target-name {
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

.impact-value-main {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-copper);
}

.receipt-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    color: #666;
    margin-top: 24px;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
}

.shield-check-icon {
    color: #2e7d32;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   12. ANIMATIONS & MEDIA QUERIES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@keyframes wavePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .transparency-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .transparency-visual {
        max-width: 450px;
        margin: 0 auto;
    }
    .impact-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .impact-image-container {
        height: 350px;
    }
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    .product-visuals-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .post-body-grid {
        grid-template-columns: 1fr;
    }
    .video-player-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    .header-container {
        padding: 10px 24px;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 69px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        overflow: hidden;
        transition: var(--transition-smooth);
    }
    .nav-menu.active {
        height: 250px;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
    }
    .hero-section {
        padding-top: 120px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions-container {
        flex-direction: column;
    }
    .hero-stats {
        gap: 30px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Fase 2: Estilos del Interruptor de Tema y Modo Fiesta Mexicana (Vibrante)
   ========================================================================== */
body.theme-vibrant {
    --bg-primary: #fdfbf7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5ede0;
    --accent-gold: #d81b60; /* Rosa Mexicano vibrante */
    --accent-copper: #00838f; /* Azul Talavera de Puebla */
    --accent-gold-rgb: 216, 27, 96;
    --accent-copper-rgb: 0, 131, 143;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a60;
    --text-muted: #8c8c9a;
    --border-color: #e6dfd3;
    --border-glow: rgba(216, 27, 96, 0.15);
    --shadow-premium: 0 15px 40px rgba(216, 27, 96, 0.06);
    --shadow-glow: 0 0 20px rgba(216, 27, 96, 0.15);
}

/* Botón Interruptor de Temas */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-primary);
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.2);
    transform: translateY(-1px);
}

.theme-toggle-btn svg {
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:active svg {
    transform: rotate(180deg);
}

.theme-btn-text {
    display: inline-block;
}

@media (max-width: 600px) {
    .theme-btn-text {
        display: none; /* Ocultar texto en móviles para ahorrar espacio */
    }
    .theme-toggle-btn {
        padding: 8px;
        margin-right: 5px;
    }
}

/* Ajustes Específicos para el Modo Fiesta Vibrante */
body.theme-vibrant .main-header {
    background: rgba(253, 251, 247, 0.85);
    border-bottom: 1px solid var(--border-color);
}

body.theme-vibrant .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

body.theme-vibrant .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.15);
}

body.theme-vibrant .hero-background-overlay {
    background: linear-gradient(to right, rgba(253, 251, 247, 0.96) 35%, rgba(253, 251, 247, 0.5) 70%, rgba(253, 251, 247, 0.85) 100%),
                linear-gradient(to bottom, rgba(253, 251, 247, 0.1) 0%, rgba(253, 251, 247, 1) 100%);
}

body.theme-vibrant .hero-tagline {
    color: var(--accent-gold);
}

body.theme-vibrant .filter-btn {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

body.theme-vibrant .filter-btn:hover, 
body.theme-vibrant .filter-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
}

body.theme-vibrant .product-card-img {
    opacity: 0.95;
}

body.theme-vibrant .product-card:hover .product-card-img {
    opacity: 1;
}

body.theme-vibrant .product-state-badge {
    background: rgba(253, 251, 247, 0.9);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

body.theme-vibrant .btn-primary {
    color: #ffffff;
}

body.theme-vibrant .btn-primary:hover {
    background-color: #c2185b; /* Rosa mexicano oscuro */
}

body.theme-vibrant .btn-outline {
    color: var(--text-primary);
}

body.theme-vibrant .btn-outline:hover {
    background-color: rgba(216, 27, 96, 0.05);
    border-color: var(--accent-gold);
}

body.theme-vibrant .main-footer {
    background-color: #111116; /* Grounding charcoal */
}

body.theme-vibrant .donut-ring {
    stroke: #e6dfd3;
}

body.theme-vibrant .donut-segment.segment-platform {
    stroke: #a0a0aa;
}

body.theme-vibrant .impact-preview-box {
    background: rgba(216, 27, 96, 0.05);
    border: 1px solid rgba(216, 27, 96, 0.1);
    color: #1a1a1a;
}

body.theme-vibrant .heart-icon {
    color: var(--accent-gold);
}

body.theme-vibrant .shield-check-icon {
    color: var(--accent-copper);
}

body.theme-vibrant .experience-badge {
    background: #ffffff;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

body.theme-vibrant .cart-empty-message svg {
    stroke: var(--text-muted);
}

/* ==========================================================================
   13. CALCULADORA DE ENVIOS POR CÓDIGO POSTAL (LOGÍSTICA SEGURA)
   ========================================================================== */

/* Cart Sidebar Calculator Container */
.shipping-zip-calculator {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
}

body.theme-vibrant .shipping-zip-calculator {
    background-color: var(--bg-primary);
}

.zip-calculator-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.zip-calculator-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Zip input and button row */
.zip-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.zip-input {
    flex: 1;
    padding: 10px 12px !important;
    font-size: 13px !important;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

body.theme-vibrant .zip-input {
    background-color: var(--bg-secondary) !important;
}

.zip-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px var(--border-glow);
}

/* Country Selector styling */
.zip-row-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.zip-country-select {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 13px !important;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 40px;
}

body.theme-vibrant .zip-country-select {
    background-color: var(--bg-secondary) !important;
}

.zip-country-select:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px var(--border-glow);
}

.btn-zip-calc {
    padding: 10px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    flex-shrink: 0;
}

/* Error message styling */
.zip-error-message {
    font-size: 11px;
    color: #d32f2f;
    font-weight: 500;
    margin-top: -2px;
    animation: fadeIn 0.3s ease;
}

/* Result box cards */
.zip-result-box {
    background-color: rgba(var(--accent-gold-rgb), 0.04);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    padding: 12px 14px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zip-result-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.zip-result-price-row strong {
    font-size: 15px;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.zip-result-details {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Product Detail Modal Calculator */
.mini-zip-calculator {
    margin-top: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 4px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
}

body.theme-vibrant .mini-zip-calculator {
    background-color: var(--bg-tertiary);
}

.mini-zip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.mini-zip-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Floating Back to Home Button */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.floating-back-btn:hover {
    background: var(--accent-gold);
    color: #000000;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.floating-back-btn svg {
    transition: transform 0.3s ease;
}

.floating-back-btn:hover svg {
    transform: translateX(-3px);
}

/* Theme adaptation for Vibrant mode */
body.theme-vibrant .floating-back-btn {
    background: rgba(253, 251, 247, 0.95);
    border-color: var(--accent-gold);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.theme-vibrant .floating-back-btn:hover {
    background: var(--accent-gold);
    color: #ffffff;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 20px;
        left: 20px;
        padding: 10px 18px;
        font-size: 10px;
    }
    
    /* Make Cart Sidebar fill the screen width on mobile */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Force solid color on mobile header dropdown menu to prevent H1 overlap */
    .nav-menu {
        background-color: #0a0a0c !important;
        z-index: 1000 !important;
    }

    body.theme-vibrant .nav-menu {
        background-color: #fdfbf7 !important;
    }

    /* Horizontal scroll layout improvements for filters */
    .state-filters {
        justify-content: flex-start !important;
        padding: 0 20px !important;
        gap: 12px !important;
    }

    .filter-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 15px !important;
    }
}


