/* ==========================================================================
   Ateliê Natal - Premium E-commerce Design System (Mobile-First)
   ========================================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    /* Colors - Premium Christmas Palette */
    --color-primary: #0A3B2C; /* Deep Moss Green */
    --color-primary-light: #156b50;
    --color-secondary: #8B0000; /* Deep Red */
    --color-secondary-hover: #b30000;
    --color-accent: #D4AF37; /* Subtle Gold */
    
    /* Neutrals */
    --color-bg: #F7F9FA;
    --color-surface: #FFFFFF;
    --color-text-main: #1A1A1A;
    --color-text-muted: #555555;
    --color-border: #EAEAEA;
    
    /* Spacing & Sizes */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-bottom-nav: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    
    /* padding bottom to account for fixed mobile nav */
    padding-bottom: 70px;
}

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

ul, ol {
    list-style: none;
}

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

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

/* ==========================================================================
   MOBILE-FIRST COMPONENTS
   ========================================================================== */

/* --- Logo TopBar (acima da barra de escassez) --- */
.logo-topbar-wrapper {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.logo-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 50px;
}

/* Center logo */
.logo-center {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-center img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Left nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.header-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-main);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.header-nav-link i {
    font-size: 17px;
}
.header-nav-link:hover {
    background: rgba(139,0,0,0.06);
    color: var(--color-primary);
}

/* Right actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
}

/* Mobile: only show cart in header-actions */
@media (max-width: 767px) {
    .logo-topbar-inner {
        padding: 0 16px;
        min-height: 48px;
        justify-content: center;
        position: relative;
    }
    .logo-center img {
        max-height: 50px;
    }
    .logo-topbar-inner .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 12px;
        width: 40px;
        height: 40px;
        padding: 4px;
        background: none;
        border: 0;
        color: var(--color-text-main);
        font-size: 28px;
        cursor: pointer;
    }
    .logo-topbar-inner .header-actions {
        display: flex;
    }
    .header-actions {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        flex: none;
    }
}

/* --- Header --- */
.top-bar {
    background: linear-gradient(90deg, var(--color-secondary), #990000);
    color: white;
    text-align: center;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}
.top-bar strong {
    font-weight: 900;
    color: var(--color-accent);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: transparent;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--space-md);
    gap: var(--space-lg);
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* --- Header Actions (Desktop) --- */
.track-order-link {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}
.track-order-link:hover {
    background: rgba(0,0,0,0.04);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-text-main);
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px;
    border-radius: 50%;
}
.action-btn:hover {
    color: var(--color-primary);
    background: rgba(139,0,0,0.06);
    transform: none;
}

/* --- Legacy header (kept for fallback) --- */

/* Search Bar */
.search-bar {
    display: none;
}


.action-btn:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.cart-btn .cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: #E60000;
    color: white;
    font-size: 11px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(230,0,0,0.4);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Mobile Search Row (Injected under header top) */
@media (max-width: 767px) {
    .header-top {
        flex-wrap: wrap;
        padding-bottom: var(--space-sm);
    }
    
    .search-bar {
        display: block;
        flex: 1 1 100%;
        order: 3;
    }
    
    .header-actions {
        display: none; /* Hide header actions on mobile in favor of bottom nav */
    }
}

.search-bar form {
    display: flex;
    align-items: center;
    background-color: #f6f7f9;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 0 16px;
    height: 44px;
    transition: all 0.3s ease;
}

.search-bar form:focus-within {
    border-color: var(--color-primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.08);
}

.search-icon {
    color: var(--color-text-muted);
    font-size: 20px;
    font-weight: 600;
    margin-right: 10px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: var(--color-text-main);
    outline: none;
}

/* --- Stories Category Navigation --- */
.stories-category-nav {
    background-color: var(--color-surface);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.stories-container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--space-md);
    gap: 20px;
    align-items: flex-start;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 76px;
    flex-shrink: 0; /* Prevent squishing */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-item:active {
    transform: scale(0.92);
}

.story-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    /* Default gradient: more subtle and elegant */
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    padding: 2px;
    margin-bottom: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0; /* Prevent avatar from becoming oval */
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-item:hover .story-avatar {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.story-item.active .story-avatar {
    /* Premium Active Gradient: Gold to Deep Red */
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.25);
    padding: 3px; /* Thicker ring for active state */
}

.story-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-surface); /* The white gap */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-ring img {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.story-item:hover .story-ring img {
    transform: scale(1.15);
}

.story-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.story-item.active .story-name {
    color: var(--color-primary);
    font-weight: 800;
}

/* --- Hero Banner --- */
.hero-banner {
    width: 100%;
    margin-bottom: var(--space-lg);
}

.banner-carousel {
    position: relative;
    width: 96%;
    max-width: 1200px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.banner-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.banner-track::-webkit-scrollbar {
    display: none; /* Safari e Chrome */
}

.banner-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
@media (min-width: 768px) {
    .banner-slide img {
        /* Se quiser manter um tamanho fixo no desktop, pode usar max-height */
        max-height: 500px;
        object-fit: cover; /* No desktop geralmente banners largos são melhores cortados que vazios */
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .banner-slide img {
        aspect-ratio: 21/9;
    }
}

/* --- Main Layout --- */
.main-content {
    padding: 0 var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Product Showcase (Grid) --- */
.showcase {
    margin-bottom: var(--space-xl);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.showcase-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.showcase-header .view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* CSS Grid for Mobile (2 Columns) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.4s ease-out forwards;
}

/* --- Product Card (CRO Optimized & Premium) --- */
.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-secondary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(139, 0, 0, 0.3);
}

/* --- Badge Mais Vendido --- */
.badge-best-seller {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    color: #d4af37; /* Dourado sofisticado */
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.badge-best-seller i { 
    font-size: 11px; 
    color: #d4af37; 
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4));
}

/* --- Seção Mais Vendidos --- */
.best-sellers-section {
    background: transparent;
    border-radius: 0;
    padding: 24px 0 10px 0;
    border: none;
    margin-bottom: 20px;
}
.best-sellers-header {
    align-items: flex-end !important;
    padding: 0 16px;
    margin-bottom: 20px !important;
}
.best-sellers-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.best-sellers-icon {
    width: 38px;
    height: 38px;
    background: #111;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fde047;
    flex-shrink: 0;
}
.best-sellers-section .showcase-header h2 {
    color: #111;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}
.best-sellers-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-weight: 400;
}
.best-seller-card {
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
/* Grid layout for best sellers (carousel 2 rows) */
.best-sellers-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(60% - 10px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 16px 16px;
    scrollbar-width: none;
}
.best-sellers-grid::-webkit-scrollbar {
    display: none;
}
.best-sellers-grid .product-card {
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .best-sellers-grid {
        grid-auto-columns: calc(33.333% - 8px);
    }
}
@media (min-width: 1024px) {
    .best-sellers-grid {
        grid-auto-columns: calc(25% - 9px);
    }
}

.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: #f9f9f9;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
    word-break: break-word;
    hyphens: auto;
}

.product-title a {
    color: var(--color-text-main);
}

.product-price-box {
    margin-top: auto;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: #16a34a; /* Verde para remeter a dinheiro/desconto */
}

.installments {
    font-size: 11px;
    color: var(--color-text-muted);
}

.btn-buy {
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .product-info {
        padding: 8px 6px !important;
    }
    .product-title {
        font-size: 12px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    .current-price {
        font-size: 19px !important;
        font-weight: 800 !important;
    }
    .product-price-box {
        margin-bottom: 8px !important;
    }
    .badge-discount {
        top: 6px !important;
        left: 6px !important;
        font-size: 9px !important;
        padding: 3px 6px !important;
    }
    .badge-best-seller {
        top: 6px !important;
        right: 6px !important;
        font-size: 7px !important;
        padding: 3px 5px !important;
        gap: 2px !important;
    }
    .badge-best-seller i {
        font-size: 9px !important;
    }
    .product-actions {
        gap: 4px !important;
    }
    .product-card .btn-buy {
        font-size: 10px !important;
        padding: 6px 2px !important;
        gap: 2px !important;
        height: 32px !important;
    }
    .product-card button.btn-buy {
        flex: 0 0 32px !important;
        width: 32px !important;
    }
    .product-card button.btn-buy i {
        font-size: 1rem !important;
    }
}

.btn-buy:active {
    transform: scale(0.98);
}

.btn-buy:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 59, 44, 0.25);
}

/* --- Trust Indicators Section --- */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    align-items: center;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 8px 12px;
    transition: transform 0.25s ease;
}

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

.trust-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #faf8f5;
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-box i {
    font-size: 24px;
    color: #D4AF37;
    display: inline-block;
    line-height: 1;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.trust-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0a3b2c;
    letter-spacing: 0.2px;
}

.trust-text span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

/* ==========================================================================
   Rastreio de Pedidos (Tracking View)
   ========================================================================== */
.track-container {
    max-width: 600px;
    margin: 40px auto;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 32px;
}

.track-header {
    text-align: center;
    margin-bottom: 24px;
}

.track-header h1 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.track-header p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.track-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.track-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.track-input-group i {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: var(--color-text-muted);
}

.track-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--color-bg);
}

.track-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.1);
    background-color: var(--color-surface);
}

.btn-track {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-track:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.tracking-result {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.tracking-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: var(--color-bg);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.status-code {
    font-weight: 600;
    color: var(--color-text-main);
}

.status-tag {
    background: rgba(139, 0, 0, 0.1);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: 3px solid var(--color-surface);
}

.timeline-item.active::before {
    background-color: var(--color-secondary);
}

.timeline-item.active::after {
    background-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

.timeline-item.completed::after {
    background-color: var(--color-primary);
}

.timeline-content h4 {
    font-size: 15px;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

.timeline-content .time {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* --- Footer --- */
.footer {
    background-color: #fcfcfc;
    color: #555555;
    padding: var(--space-xl) var(--space-md) calc(var(--space-xl) + 70px) var(--space-md);
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: left;
}

/* --- Footer Premium --- */
/* --- Footer E-Commerce Real --- */
.footer {
    background-color: #0b291e;
    color: #a7b9b0;
    padding: 50px 20px calc(50px + 65px) 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.brand-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #8aa095;
    margin: 12px auto 16px;
    max-width: 320px;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    transition: background 0.2s ease;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-links li {
    text-align: center;
}

.footer-links li a {
    font-size: 13.5px;
    color: #8aa095;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-pay-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.pay-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pay-badge i {
    font-size: 15px;
    color: #d4af37;
}

.footer-security-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #8aa095;
    width: 100%;
}

.footer-security-line i {
    font-size: 18px;
    color: #22c55e;
}

.footer-bottom {
    max-width: 1140px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 12px;
    color: #647d72;
}

/* --- Bottom Navigation (Mobile App-Like) --- */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-bottom-nav);
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
}

.nav-item i {
    font-size: 24px;
}

.nav-item.active {
    color: var(--color-primary);
}

/* ==========================================================================
   LATERAL CART (DRAWER) - PREMIUM DESIGN
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: #fff;
    z-index: 1001;
    box-shadow: -8px 0 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Garante ocupar a tela toda no mobile incluindo safe area */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cart-drawer.open { transform: translateX(0); }

/* ── Header ── */
.cart-drawer-header {
    flex: 0 0 auto;
    padding: 16px 18px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid var(--color-primary);
    position: relative;
}
.cart-drawer-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.cart-drawer-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    box-shadow: 0 3px 10px rgba(10,59,44,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-drawer-icon-wrap i {
    font-size: 20px;
    color: #fff;
}
.cart-drawer-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 1px;
    line-height: 1.2;
    font-family: inherit;
}
#cartDrawerCount {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    display: block;
}
.cart-drawer-close {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.cart-drawer-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}


/* ── Body (scrollable) ── */
.cart-drawer-body {
    flex: 1 1 0;          /* ocupa todo espaço disponível */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    background: #f8f9fa;
    min-height: 0;        /* CRUCIAL para flex scroll funcionar */
}
.cart-drawer-body::-webkit-scrollbar { width: 3px; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ── Empty State ── */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    gap: 12px;
}
.cart-empty-state i { font-size: 52px; color: #d1d5db; }
.cart-empty-state p { font-size: 15px; font-weight: 600; color: #6b7280; margin: 0; }
.cart-empty-state small { font-size: 13px; color: #9ca3af; }

/* ── Items ── */
.drawer-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    align-items: center;
}
.drawer-item img {
    width: 68px; height: 68px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}
.drawer-item-info { 
    flex: 1; min-width: 0; 
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.drawer-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.drawer-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-item-price {
    font-size: 14px;
    font-weight: 800;
    color: #16a34a;
    margin: 0;
}
.drawer-item-qty {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.drawer-item-qty button {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    font-size: 14px; color: var(--color-primary);
    transition: background 0.15s;
}
.drawer-item-qty button:hover { background: #e5e7eb; }
.drawer-item-qty input {
    width: 34px; height: 30px;
    text-align: center; border: none;
    font-size: 14px; font-weight: 700;
    background: transparent; color: #1f2937;
    outline: none;
}
.drawer-item-remove {
    background: none; border: none;
    color: #9ca3af; cursor: pointer;
    font-size: 18px; padding: 2px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.drawer-item-remove:hover { color: #ef4444; }

/* ── Footer (tamanho fixo, não scroll) ── */
.cart-drawer-footer {
    flex: 0 0 auto;
    background: #fff;
    border-top: 2px solid #f0f0f0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

/* ── Shipping Box ── */
.cart-shipping-box {
    margin-bottom: 15px;
}
.cart-shipping-toggle-btn {
    width: 100%;
    background: rgba(22,101,52,0.05);
    border: 1px solid rgba(22,101,52,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-shipping-toggle-btn:hover {
    background: rgba(22,101,52,0.1);
}
.cart-shipping-form-wrapper {
    margin-top: 10px;
    animation: fadeInDown 0.3s ease;
}
.cart-shipping-form-wrapper.active {
    display: block !important;
}

.cart-shipping-form {
    display: flex;
    gap: 7px;
}
.cart-cep-input {
    flex: 1;
    padding: 8px 11px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    font-family: inherit;
}
.cart-cep-input:focus { border-color: var(--color-primary); }
.cart-cep-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cart-cep-btn:hover { background: var(--color-primary-light); }
.cart-shipping-result {
    font-size: 12px;
    margin-top: 6px;
    color: #6b7280;
    min-height: 16px;
}

.cart-bump-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    padding: 0 4px;
}
.cart-bump-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}
.cart-bump-hint {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: bounceRight 2s infinite;
}
@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.cart-bump-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 15px;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 10px;
    -webkit-overflow-scrolling: touch;
}

/* Two-column grid when only 1 item is in cart */
.cart-bump-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
}
.cart-bump-two-cols .cart-order-bump {
    width: auto;
    flex-shrink: unset;
    scroll-snap-align: none;
}
.cart-bump-carousel::-webkit-scrollbar {
    height: 6px;
}
.cart-bump-carousel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
}
.cart-bump-carousel::-webkit-scrollbar-thumb {
    background: rgba(22,101,52,0.4);
    border-radius: 10px;
}
.cart-order-bump {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    position: relative;
    width: 150px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cart-order-bump:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.cart-order-bump img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.04);
}
.cart-order-bump-info { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
    flex: 1;
}
.cart-order-bump-tag {
    font-size: 8px; font-weight: 700;
    color: #16a34a; text-transform: uppercase;
    background: rgba(22,101,52,0.12);
    padding: 3px 6px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px; 
    margin-bottom: 6px;
    white-space: nowrap;
}
.cart-order-bump-name {
    font-size: 13px; font-weight: 500; color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 4px;
}
.cart-order-bump-price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 8px;
}
.cart-order-bump-old-price {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
}
.cart-order-bump-price { font-size: 14px; font-weight: 800; color: #16a34a; }
.cart-order-bump-btn {
    background: transparent; color: #16a34a;
    border: 1.5px solid #16a34a; border-radius: 20px;
    padding: 8px; font-size: 12px; font-weight: 700;
    cursor: pointer; text-transform: uppercase;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart-order-bump-btn:hover {
    background: #16a34a;
    color: #fff;
}
.cart-order-bump-btn:active { transform: scale(0.95); }

/* ── Totals ── */
.cart-totals-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px 13px;
    border: 1px solid #e5e7eb;
}
.cart-subtotal-row, .cart-total-row {
    display: flex; justify-content: space-between; align-items: center;
}
.cart-subtotal-row {
    font-size: 13px; color: #9ca3af;
    padding-bottom: 7px; margin-bottom: 7px;
    border-bottom: 1px dashed #e5e7eb;
}
.cart-total-row { font-size: 14px; font-weight: 700; color: #374151; }
.cart-total-row strong { font-size: 20px; font-weight: 900; color: var(--color-primary); }

/* ── Checkout Section ── */
.cart-checkout-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cart-checkout-btn {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.1s;
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.cart-checkout-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}
.cart-checkout-btn:active { transform: translateY(0); }
.cart-checkout-arrow { font-size: 18px; }
.cart-checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}
.cart-checkout-security i { color: var(--color-primary); font-size: 13px; }

/* ── Continue Button ── */
.cart-continue-btn {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: color 0.2s;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cart-continue-btn:hover { color: var(--color-primary); }


/* ── Trust Row ── */
.cart-trust-row {
    display: flex; justify-content: space-around;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.cart-trust-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 9px; color: #9ca3af; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.cart-trust-item i { font-size: 16px; color: var(--color-primary); }



.nav-item .icon-wrapper {
    position: relative;
}

.nav-item .badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background-color: var(--color-secondary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-surface);
}

/* ==========================================================================
   DESKTOP / TABLET OVERRIDES
   ========================================================================== */
@media (min-width: 768px) {
    body {
        padding-bottom: 0; /* No bottom nav on desktop */
    }

    .bottom-nav {
        display: none;
    }
    
    .search-bar {
        display: block;
        flex: 1;
        max-width: 350px;
        margin: 0;
        order: 1;
    }
    
    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }
    
    .header-actions {
        display: flex; /* Restore header actions on desktop */
        flex: 1;
        justify-content: flex-end;
        order: 3;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer {
        padding-bottom: var(--space-xl);
    }
    
    .product-title {
        font-size: 15px;
    }
    
    .current-price {
        font-size: 22px;
    }
    
    .btn-buy {
        font-size: 15px;
        padding: 12px;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   PDP (Product Detail Page) PREMIUM
   ========================================================================== */
.pdp-main {
    padding-top: var(--space-md);
    padding-bottom: var(--space-xl);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb i { font-size: 12px; }
.breadcrumb span { color: var(--color-text-main); font-weight: 600; }

.pdp-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

/* Mobile PDP Reordering (Image -> Title -> Price -> Button) */
@media (max-width: 767px) {
    .pdp-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .pdp-info {
        display: contents;
    }
    
    /* 1. Galeria muito mais compacta */
    .pdp-gallery { 
        order: 1; 
        margin: 0 auto 10px auto; 
        width: 100%;
    }
    .pdp-gallery .main-image {
        max-height: 500px;
        border-radius: 8px;
    }
    .pdp-gallery .main-image img {
        object-fit: cover;
        background-color: #ffffff;
    }
    .pdp-gallery .thumbnails {
        display: flex; /* Mostrar miniaturas no mobile */
    }

    /* 2. Textos e espaçamentos comprimidos */
    .pdp-title { order: 2; margin-bottom: 4px; font-size: 18px; line-height: 1.1; }
    .pdp-sku { display: none; } /* Oculta SKU no mobile para focar na conversão */
    .pdp-reviews { order: 3; margin-bottom: 6px; font-size: 12px; }
    
    #pdpUrgencyCopy { order: 4; margin: 6px 0; padding: 6px; font-size: 12px; }
    
    /* 3. Card de Preço Compacto */
    .pdp-price-box { order: 5; margin-bottom: 8px; padding: 12px; }
    .pdp-price-box .current-price { font-size: 32px !important; line-height: 1; font-weight: 900 !important; }
    .pdp-price-box .old-price { font-size: 14px; }
    .pdp-price-box .installments { font-size: 13px; margin-top: 4px; }
    .pdp-price-box .pix-price { font-size: 15px !important; margin-top: 4px; font-weight: 700; }

    #pdpFeaturesList { order: 6; }
    #pdpVariationsSection { order: 7; }
    #pdpFreeShippingBanner { margin: 6px 0 10px 0; padding: 8px; font-size: 12px; }

    /* 4. Botão de Comprar visível */
    .pdp-action { order: 8; margin-bottom: 16px; }
    .pdp-action .qty-selector { height: 44px; }
    .pdp-action .btn-buy { padding: 10px 15px; font-size: 16px; height: 44px; }

    /* 5. Demais itens abaixo da dobra */
    .pdp-shipping { order: 9; margin-bottom: 20px; }
    .pdp-trust { order: 10; margin-bottom: 20px; }
    .pdp-accordion { order: 11; }
}

/* Gallery */
.pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.main-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-surface);
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-soft);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.thumbnails::-webkit-scrollbar { display: none; }

.thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
    flex-shrink: 0;
}
.thumb.active, .thumb:hover {
    border-color: var(--color-primary);
    opacity: 1;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.pdp-sku {
    display: none;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.pdp-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.pdp-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
    font-size: 13px;
    color: var(--color-text-muted);
}
.stars { color: var(--color-accent); font-size: 16px; display: flex; gap: 2px; }

/* Price Block */
.pdp-price-box {
    background-color: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border);
}
.pdp-price-box .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}
.pdp-price-box .current-price {
    font-size: 34px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
    margin-bottom: 10px;
}
.pdp-price-box .pix-price {
    font-size: 15px;
    color: var(--color-primary);
    margin-bottom: 6px;
}
.pdp-price-box .installments {
    font-size: 13px;
    color: var(--color-text-main);
}

/* Action */
.pdp-action {
    display: flex;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.qty-selector {
    display: flex;
    align-items: center;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    height: 52px;
}
.qty-btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-main);
    transition: background 0.2s;
}
.qty-btn:hover { background-color: var(--color-bg); }
.qty-selector input {
    width: 40px;
    height: 100%;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pdp-btn-buy {
    flex: 1;
    height: 52px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shipping */
/* Shipping section on PDP */
.pdp-shipping {
    background: linear-gradient(135deg, rgba(22,101,52,0.04) 0%, rgba(212,175,55,0.03) 100%);
    border: 1px solid rgba(22,101,52,0.14);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: var(--space-lg);
}
.pdp-shipping-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-primary);
}
.pdp-shipping-header i { font-size: 18px; }
.pdp-shipping-header strong { font-weight: 700; }

.pdp-shipping-form {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}
.pdp-cep-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    letter-spacing: 1px;
}
.pdp-cep-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(22,101,52,0.1);
}
.pdp-cep-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.pdp-cep-btn:hover { background: #155a26; }
.pdp-cep-btn:active { transform: scale(0.97); }
.pdp-cep-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Shipping results */
.pdp-shipping-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.pdp-shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    gap: 12px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pdp-shipping-option.best {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(22,101,52,0.1);
    background: linear-gradient(135deg, rgba(22,101,52,0.03), #fff);
}
.pdp-shipping-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.pdp-shipping-option-left > i {
    font-size: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.pdp-shipping-name {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}
.pdp-shipping-days {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pdp-shipping-price {
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
    flex-shrink: 0;
}
.pdp-shipping-price.free {
    color: #16a34a;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.pdp-shipping-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Error state */
.pdp-shipping-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
}
.pdp-shipping-error i { font-size: 16px; flex-shrink: 0; }


/* Trust */
.pdp-trust {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.trust-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex: 1;
}
.trust-icon i {
    font-size: 28px;
    color: var(--color-primary);
}
.trust-icon span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Accordion */
.pdp-accordion details {
    background-color: var(--color-surface);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.pdp-accordion summary {
    padding: 18px var(--space-md);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion details[open] summary i { transform: rotate(180deg); }
.pdp-accordion summary i { transition: transform 0.3s ease; color: var(--color-primary); font-size: 18px; }
.pdp-accordion .content {
    padding: 0 var(--space-md) 18px var(--space-md);
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.pdp-accordion .content ul { padding-left: 18px; list-style-type: disc; margin-top: 8px;}
.pdp-accordion .content li { margin-bottom: 6px; }

/* Sticky Buy Button Mobile */
.sticky-buy-mobile {
    position: fixed;
    bottom: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    padding: 12px 16px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--color-border);
}
.sticky-buy-mobile.visible {
    transform: translateY(0);
}
.sticky-info {
    display: flex;
    flex-direction: column;
}
.sticky-info .title { font-size: 12px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 2px;}
.sticky-info .price { font-size: 22px; font-weight: 900; color: #16a34a; }
.sticky-buy-mobile .btn-buy { width: auto; padding: 12px 24px; font-size: 14px; }

/* Desktop Overrides for PDP */
@media (min-width: 768px) {
    .pdp-container {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 40px;
    }
    .pdp-title { font-size: 28px; }
    .sticky-buy-mobile { display: none !important; }
}

/* ==========================================================================
   LOGIN & REGISTER PAGE
   ========================================================================== */
.login-main {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    max-width: 900px;
}

.login-page-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

.login-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .login-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.auth-box {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.auth-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: var(--color-text-muted);
}

.input-wrapper input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.1);
}

.forgot-password {
    text-align: right;
    margin-top: -8px;
}

.forgot-password a {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
}

.auth-btn {
    height: 48px;
    font-size: 15px;
    margin-top: 8px;
    cursor: pointer;
}

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

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

.trust-benefits {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.benefit i {
    font-size: 18px;
    color: var(--color-primary);
}

/* ==========================================================================
   MOBILE CENTERING TWEAKS
   ========================================================================== */
@media (max-width: 767px) {
    /* Trust Indicators Mobile Fix */
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 16px 8px;
    }
    
    .trust-item {
        gap: 8px;
        padding: 0;
    }
    
    .trust-item i {
        font-size: 24px;
        padding: 10px;
    }
    
    .trust-text strong {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .trust-text span {
        font-size: 10px;
    }

    /* Footer */
    .footer-col {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .footer-col h3 {
        margin-bottom: 12px;
    }
    
    .footer-col p {
        margin: 0 auto;
        max-width: 280px;
    }
    
    .footer-col ul {
        align-items: center;
    }

    .security-badges {
        justify-content: center;
    }

    .hamburger-btn {
        display: block;
        order: 1;
        font-size: 28px;
        background: none;
        border: none;
        color: var(--color-text-main);
        cursor: pointer;
        padding: 4px;
    }

    .logo {
        order: 2;
    }

    .mobile-header-placeholder {
        display: block;
        width: 36px;
        order: 3;
    }

    .desktop-only {
        display: none !important;
    }
}

/* ==========================================================================
   HAMBURGER & SIDEBAR
   ========================================================================== */
.hamburger-btn {
    display: none;
}
.mobile-header-placeholder {
    display: none;
}

/* Mobile Sidebar Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-content {
    position: absolute;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--color-surface);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.active .mobile-menu-content {
    left: 0;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
}
.close-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-muted);
    cursor: pointer;
}
.mobile-menu-links {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}
.mobile-menu-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--color-text-main);
    font-weight: 500;
    transition: background 0.2s;
}
.mobile-menu-links li a:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}
.mobile-menu-links li a i {
    font-size: 22px;
    color: var(--color-primary);
}
.mobile-menu-footer {
    padding: 20px;
    background-color: var(--color-bg);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    border-top: 1px solid var(--color-border);
}

/* Top bar tracking link */
.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 10px;
        padding: 4px 10px;
    }
}
.track-order-link {
    position: absolute;
    right: 16px;
    color: white;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 600;
}
.track-order-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */
.cart-main {
    padding-top: var(--space-xl);
    padding-bottom: calc(var(--space-xl) * 2);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.cart-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-sm);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr 380px;
        align-items: start;
    }
}

.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    gap: 16px;
    background-color: var(--color-surface);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    position: relative;
    flex-wrap: wrap;
}

@media (min-width: 500px) {
    .cart-item {
        flex-wrap: nowrap;
    }
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    min-width: 150px;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 4px;
    line-height: 1.3;
}

.item-sku {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 800;
    color: #16a34a;
}

.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

@media (min-width: 500px) {
    .item-actions {
        width: auto;
    }
}

.item-actions .qty-selector {
    height: 36px;
    border-radius: 4px;
}
.item-actions .qty-btn {
    width: 32px;
}
.item-actions .qty-selector input {
    width: 32px;
    font-size: 14px;
}

.remove-btn {
    background: none;
    border: none;
    color: #E60000;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.remove-btn:hover {
    opacity: 0.7;
}

/* Cart Summary */
.summary-box {
    background-color: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.summary-box h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.summary-shipping {
    background-color: var(--color-bg);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.summary-shipping label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.summary-shipping .shipping-form {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 4px 8px;
}
.summary-shipping .shipping-form i {
    color: var(--color-text-muted);
}
.summary-shipping .shipping-form input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 13px;
    padding: 4px 0;
}
.summary-shipping .shipping-form button {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.summary-shipping .shipping-result {
    font-size: 13px;
    color: var(--color-secondary);
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.summary-total strong {
    font-size: 24px;
    color: var(--color-secondary);
}

.summary-installments {
    text-align: right;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
    margin-bottom: 24px;
}

.checkout-btn {
    width: 100%;
    height: 54px;
    font-size: 16px;
    border-radius: var(--radius-full);
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}


/* --- Side Cart Drawer Styles --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}
.cart-drawer-header h2 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}
.cart-drawer-close:hover {
    color: #c90000;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-empty {
    text-align: center;
    padding: 50px 0;
    color: #888;
}
.cart-drawer-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 15px;
}
.cart-drawer-empty p {
    margin-bottom: 20px;
}
.cart-drawer-empty button {
    background: #0a3b2c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.cart-drawer-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f2f2f2;
    position: relative;
}
.cart-drawer-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.cart-drawer-item-info {
    flex: 1;
}
.cart-drawer-item-info h4 {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    color: #333;
    line-height: 1.3;
}
.cart-drawer-item-price {
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 10px;
}
.cart-drawer-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 90px;
    overflow: hidden;
}
.cart-drawer-qty-controls button {
    background: #f9f9f9;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
}
.cart-drawer-qty-controls button:hover {
    background: #eee;
}
.cart-drawer-qty-controls input {
    width: 30px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
}
.cart-drawer-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.cart-drawer-item-remove:hover {
    color: #c90000;
}

/* Badge bump animation */
.bump {
    animation: bump 0.3s;
}
@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* Modais de Checkout e Pix */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85); /* restored dark background */
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 16px;
}
.modal-overlay.active {
    display: flex !important;
}

/* --- Ultra Modern PIX Modal Component --- */
.pix-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: pixModalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pixModalPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.pix-modal-header-new {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pix-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pix-header-icon {
    width: 40px;
    height: 40px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.pix-header-title-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.pix-header-title-box p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}
.pix-close-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #64748b;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.pix-close-btn:hover { background: #e2e8f0; color: #0f172a; transform: rotate(90deg); }

.pix-modal-body-new {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 80vh;
}

/* Escassez / Urgência Refinada */
.pix-scarcity-card {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pix-scarcity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.pix-scarcity-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #c2410c;
}
.pix-scarcity-timer {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 16px;
    font-weight: 800;
    color: #ea580c;
    background: #ffedd5;
    padding: 4px 10px;
    border-radius: 8px;
}
.pix-scarcity-track { display: none; /* Removed visually distracting track */ }
.pix-scarcity-bar { display: none; }

/* QR Code Wrapper */
.pix-qr-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.pix-qr-img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: contain;
}

/* Code Box Input */
.pix-code-box {
    width: 100%;
}
.pix-code-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: monospace;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s;
}
.pix-code-input:focus {
    outline: none;
    border-color: #0A3B2C;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.1);
}

.pix-copy-action-btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    background: #0A3B2C;
    box-shadow: 0 4px 14px rgba(10, 59, 44, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pix-copy-action-btn:hover {
    background: #156B50;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 59, 44, 0.35);
}

.pix-steps-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
}
.pix-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    flex: 1;
}
.pix-step-num {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}

.pix-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    padding: 16px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid #bbf7d0;
}
.pix-status-pulse {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 1.5s infinite;
    flex-shrink: 0;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.pix-status-text-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #166534;
}
.pix-status-text-sub {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #15803d;
    font-weight: 500;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eeeeee;
    background: #f9f9f9;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #111111;
}
.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666666;
}
.modal-body {
    padding: 24px;
}
.form-group {
    margin-bottom: 16px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.2);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-primary {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(10,59,44,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(10,59,44,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(0); }

/* ========================================================================= */
/* CHECKOUT DE ALTA CONVERSÃO */
/* ========================================================================= */

.checkout-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px;
    gap: 32px;
    align-items: flex-start;
}

.checkout-steps-container {
    flex: 1;
    min-width: 0;
}

.checkout-header-safe {
    background: linear-gradient(135deg, rgba(10,59,44,0.05) 0%, rgba(212,175,55,0.05) 100%);
    border: 1px solid rgba(10,59,44,0.1);
    color: var(--color-primary);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.checkout-header-safe i {
    color: var(--color-primary);
    font-size: 18px;
}

.checkout-step {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.checkout-step:not(.active) {
    background: #fcfcfc;
    border-color: #eee;
}

.step-title {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    border-bottom: 1px solid transparent;
}
.checkout-step.active .step-title {
    border-bottom-color: #f0f0f0;
    background: linear-gradient(to right, rgba(10,59,44,0.02), transparent);
}

.step-title h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    letter-spacing: -0.3px;
}
.step-number {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 3px 8px rgba(10,59,44,0.3);
}

.checkout-step:not(.active) .step-number {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
}

.btn-edit-step {
    position: absolute;
    right: 24px;
    background: rgba(10,59,44,0.05);
    border: 1px solid rgba(10,59,44,0.2);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.btn-edit-step:hover {
    background: var(--color-primary);
    color: #fff;
}

.step-body {
    padding: 24px;
}

/* Sidebar Checkout */
.checkout-sidebar {
    width: 360px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.checkout-sidebar h3 {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--color-text-main);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    font-weight: 800;
}

.chk-sidebar-items {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
}
.chk-sidebar-items::-webkit-scrollbar { width: 4px; }
.chk-sidebar-items::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.chk-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #f0f0f0;
}
.chk-item img {
    width: 64px; height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}
.chk-item-info { flex:1; min-width:0; }
.chk-item-info h4 { 
    font-size: 13px; margin-bottom: 4px; color:#4b5563; font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.chk-item-info p { font-size: 14px; font-weight: 800; color: var(--color-primary); }

.chk-summary-totals .line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}
.chk-summary-totals hr {
    border: 0;
    border-top: 2px dashed #e2e8f0;
    margin: 16px 0;
}
.chk-summary-totals .total {
    font-size: 18px;
    color: var(--color-text-main);
    font-weight: 800;
}
.chk-summary-totals .total strong {
    color: var(--color-accent);
    font-size: 22px;
}

.trust-badges-chk {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.t-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}
.t-badge i { font-size: 20px; color: var(--color-primary); }

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.shipping-option:hover {
    border-color: var(--color-primary);
    background: rgba(10,59,44,0.02);
}
.shipping-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--color-primary);
}
.shipping-option.selected {
    border-color: var(--color-primary);
    background: rgba(10,59,44,0.03);
    box-shadow: 0 0 0 1px var(--color-primary);
}

@media (max-width: 900px) {
    .checkout-wrapper {
        flex-direction: column;
        padding: 20px 16px;
        gap: 24px;
    }
    .checkout-sidebar {
        width: 100%;
        position: static;
        padding: 20px;
    }
}

/* Skeleton Loaders */
.skeleton-card {
    pointer-events: none;
    background: #fff;
}
.skeleton-card .skeleton-img {
    width: 100%;
    height: 250px;
    background: #f1f5f9;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px 8px 0 0;
}
.skeleton-card .skeleton-text {
    height: 16px;
    background: #f1f5f9;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
}
.skeleton-card .skeleton-title {
    width: 80%;
    margin-bottom: 15px;
    height: 20px;
}
.skeleton-card .skeleton-price {
    width: 50%;
    height: 24px;
    margin-bottom: 5px;
}
.skeleton-card .skeleton-installments {
    width: 60%;
    height: 14px;
    margin-bottom: 15px;
}
.skeleton-card .skeleton-btn {
    width: 100%;
    height: 40px;
    background: #f1f5f9;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% { background-color: #f1f5f9; }
    50% { background-color: #e2e8f0; }
    100% { background-color: #f1f5f9; }
}

/* --- Welcome Gift Modal --- */
.welcome-gift-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 20px;
    opacity: 0;
    animation: fadeInGift 0.4s forwards ease-out;
}
@keyframes fadeInGift { to { opacity: 1; } }

.welcome-gift-content {
    background: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    transform: translateY(20px);
    animation: slideUpGift 0.4s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
@keyframes slideUpGift { to { transform: translateY(0); } }

.welcome-gift-close {
    position: absolute;
    top: 16px; right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    transition: 0.2s;
    z-index: 10;
}
.welcome-gift-close:hover { background: #e2e8f0; color: #0f172a; }

.welcome-gift-step {
    display: none;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.welcome-gift-step.active { display: block; }
@keyframes popIn { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.welcome-gift-badge {
    display: inline-block;
    background: #fffbeb; color: #d97706;
    padding: 6px 12px; border-radius: 50px;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.welcome-gift-badge.success { background: #dcfce7; color: #16a34a; }

.welcome-gift-title { font-size: 24px; font-weight: 900; color: #0f172a; margin-bottom: 12px; }
.welcome-gift-title .highlight { color: #16a34a; }
.welcome-gift-desc { font-size: 14px; color: #475569; line-height: 1.5; margin-bottom: 24px; }

.welcome-gift-mystery-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px;
}
.welcome-gift-mystery-box p { font-size: 13px; color: #64748b; font-weight: 600; margin-bottom: 16px; }

.mystery-box-animation {
    font-size: 72px;
    color: #16a34a;
    margin-bottom: 16px;
    cursor: pointer;
    display: inline-block;
    animation: shakeGift 2s infinite ease-in-out;
    transition: transform 0.2s;
}
.mystery-box-animation:hover { transform: scale(1.1); animation: none; }
.mystery-box-animation:active { transform: scale(0.95); }

@keyframes shakeGift {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-8deg); }
    20%, 40%, 60%, 80% { transform: rotate(8deg); }
}

.welcome-gift-coupon {
    background: #f0fdf4;
    border: 2px dashed #86efac;
    padding: 16px;
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.welcome-gift-coupon span { font-size: 22px; font-weight: 900; color: #15803d; letter-spacing: 2px; font-family: monospace; }
.copy-coupon-btn { background: #16a34a; color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
.copy-coupon-btn:hover { background: #15803d; }


/* =========================================================
   MARQUEE REVIEWS (HORIZONTAL)
   ========================================================= */
.marquee-row {
    animation: scrollMarqueeLeft linear infinite;
}

.marquee-speed-1 {
    animation-duration: 20s;
}

.marquee-speed-2 {
    animation-duration: 26s;
    animation-delay: -10s;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-row {
    animation-play-state: paused;
}

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

@media (max-width: 768px) {
    .marquee-container {
        gap: 12px !important;
    }
    .marquee-row {
        gap: 12px !important;
    }
    .storefront-review-card {
        padding: 16px !important;
        width: 300px !important;
    }
    .review-text {
        font-size: 14px !important;
    }
}

/* =========================================================
   PDP PRO DESCRIPTION (HIGH CONVERSION)
   ========================================================= */
.pdp-pro-description {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #334155;
    line-height: 1.8;
    font-size: 16px;
}

.pdp-pro-description p {
    margin-bottom: 20px;
}

.pdp-pro-description h1, 
.pdp-pro-description h2, 
.pdp-pro-description h3 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pdp-pro-description h2 {
    font-size: 22px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    display: inline-block;
}

.pdp-pro-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.pdp-pro-description ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.pdp-pro-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #059669;
    font-weight: bold;
    background: #ecfdf5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pdp-pro-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    margin: 24px 0;
    border: 1px solid #f1f5f9;
}

.pdp-pro-description strong {
    color: #0f172a;
    font-weight: 700;
}

/* ==========================================================================
   DESKTOP RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (min-width: 992px) {
    /* 1. Body and Header */
    body {
        padding-bottom: 0 !important;
    }
    
    /* 2. Category Stories */
    .stories-container {
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* 3. Product Grids */
    .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
    }
    .best-sellers-grid {
        grid-auto-columns: calc(25% - 15px);
        gap: 20px;
    }

    /* 4. Product Details Page (PDP) */
    .pdp-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
    
    .pdp-gallery {
        position: sticky;
        top: 100px;
    }

    .pdp-info {
        padding: 0 20px;
    }

    /* 5. Utility overrides */
    .desktop-only {
        display: block !important;
    }
}

/* ==================== PREMIUM DESCRIPTION V4 ==================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');
.premium-desc-v4 { font-family: 'Inter', sans-serif; color: #1e293b; line-height: 1.6; margin: -20px; }
.premium-desc-v4 .section-light { background: #ffffff; padding: 40px 20px; }

@keyframes auroraMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.premium-desc-v4 .section-dark { 
    position: relative;
    padding: 60px 20px; 
    color: #f8fafc; 
    background: linear-gradient(-45deg, #041008, #113622, #0a1f12, #041008);
    background-size: 400% 400%;
    animation: auroraMove 15s ease infinite;
    overflow: hidden;
}

.premium-desc-v4 .section-dark.theme-emerald {
    background: linear-gradient(-45deg, #041008, #113622, #0a1f12, #041008);
}

.premium-desc-v4 .section-dark.theme-ruby {
    background: linear-gradient(-45deg, #1c0409, #4a0e17, #2d070f, #1c0409);
}

.premium-desc-v4 .section-dark.theme-midnight {
    background: linear-gradient(-45deg, #050b14, #0f172a, #1e1b4b, #050b14);
}

.premium-desc-v4 .section-dark.theme-amber {
    background: linear-gradient(-45deg, #1c1003, #422608, #291804, #1c1003);
}

.premium-desc-v4 .section-dark.theme-burgundy {
    background: linear-gradient(-45deg, #17040c, #3b0a20, #240614, #17040c);
}

.premium-desc-v4 .section-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.premium-desc-v4 .super-title { font-size: 11px; font-weight: 800; color: #b91c1c; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.premium-desc-v4 .main-title { font-size: 28px; font-weight: 700; color: #1e293b; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 15px; position: relative; z-index: 2; }
.premium-desc-v4 .main-title.dark { color: #ffffff; }
.premium-desc-v4 .italic-accent { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; color: #b91c1c; font-size: 32px; display: inline-block; margin-top: 4px; }
.premium-desc-v4 .italic-accent.gold { color: #d4af37; text-shadow: 0 2px 15px rgba(212, 175, 55, 0.3); }
.premium-desc-v4 .desc-text { font-size: 16px; color: #475569; margin-bottom: 30px; line-height: 1.7; position: relative; z-index: 2; }
.premium-desc-v4 .desc-text.dark { color: #cbd5e1; }
.premium-desc-v4 .placeholder-media { width: 100%; max-width: 100%; border-radius: 12px; margin-bottom: 30px; display: block; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.premium-desc-v4 .benefits-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; position: relative; z-index: 2; }
.premium-desc-v4 .benefit-item { 
    display: flex; flex-direction: column; gap: 8px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 24px; border-radius: 16px; 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.premium-desc-v4 .benefit-num { font-family: 'Playfair Display', serif; font-size: 32px; color: #d4af37; font-weight: 600; line-height: 1; opacity: 0.9; }
.premium-desc-v4 .benefit-title { font-size: 18px; font-weight: 700; color: #ffffff; letter-spacing: -0.3px; }
.premium-desc-v4 .benefit-desc { font-size: 15px; color: #94a3b8; margin: 0; line-height: 1.6; }

.premium-desc-v4 .care-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; }
.premium-desc-v4 .care-icon { font-size: 24px; color: #b91c1c; }
.premium-desc-v4 .care-content h4 { margin: 0 0 4px 0; font-size: 15px; font-weight: 700; color: #1e293b; }
.premium-desc-v4 .care-content p { margin: 0; font-size: 14px; color: #475569; line-height: 1.5; }

.premium-desc-v4 .cta-section { text-align: center; padding: 50px 20px; background: #fafafa; border-top: 1px solid #e2e8f0; margin-bottom:-20px; }

/* Secao 4 - Prova Social */
.premium-desc-v4 .social-card { 
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.premium-desc-v4 .social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
}
.premium-desc-v4 .social-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #f1f5f9;
}
.premium-desc-v4 .social-card-body {
    padding: 20px 20px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.premium-desc-v4 .social-author-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.premium-desc-v4 .social-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.premium-desc-v4 .social-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.premium-desc-v4 .social-author-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.premium-desc-v4 .verified-badge {
    font-size: 10px;
    background: #ecfdf5;
    color: #059669;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.premium-desc-v4 .social-review-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.premium-desc-v4 .stars { color: #d4af37; font-size: 15px; margin: 0; display: flex; gap: 2px; }
.premium-desc-v4 .quote-title { font-size: 17px; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.3; }
.premium-desc-v4 .quote-text { font-size: 14px; color: #475569; line-height: 1.6; margin: 0; font-style: normal; }

/* Premium Glow Effect (Replicated from Panel) */
:root {
  --glow-base: 0;
  --glow-spread: 30;   
  --glow-radius: 16;
  --glow-border: 2;
  --glow-backdrop: rgba(255, 255, 255, 0.02);
  --glow-backup-border: rgba(0, 0, 0, 0.05); /* Light theme backup border */
  --glow-size: 250;
  --glow-border-size: calc(var(--glow-border) * 1px);
  --glow-spotlight-size: calc(var(--glow-size) * 1px);
}

[data-glow] {
    --hue: calc(var(--glow-base) + (var(--xp, 0) * var(--glow-spread, 0)));
    position: relative;
    background-color: var(--glow-backdrop, transparent);
    background-size: calc(100% + (2 * var(--glow-border-size))) calc(100% + (2 * var(--glow-border-size)));
    background-position: 50% 50%;
    background-attachment: fixed;
    border: var(--glow-border-size) solid var(--glow-backup-border);
    touch-action: none;
    border-radius: calc(var(--glow-radius) * 1px);
    
    background-image: radial-gradient(
        var(--glow-spotlight-size) var(--glow-spotlight-size) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        hsla(var(--hue, 0), 100%, 60%, 0.1), transparent
    );
    transition: box-shadow 0.3s ease;
}
[data-glow]:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

[data-glow]::before,
[data-glow]::after {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: calc(var(--glow-border-size) * -1);
    border: var(--glow-border-size) solid transparent;
    border-radius: calc(var(--glow-radius) * 1px);
    background-attachment: fixed;
    background-size: calc(100% + (2 * var(--glow-border-size))) calc(100% + (2 * var(--glow-border-size)));
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    -webkit-mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in, xor;
    mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
}

[data-glow]::before {
    background-image: radial-gradient(
        calc(var(--glow-spotlight-size) * 0.75) calc(var(--glow-spotlight-size) * 0.75) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        hsla(var(--hue, 0), 100%, 50%, 0.8), transparent 100%
    );
}

[data-glow]::after {
    background-image: radial-gradient(
        calc(var(--glow-spotlight-size) * 0.5) calc(var(--glow-spotlight-size) * 0.5) at
        calc(var(--x, 0) * 1px)
        calc(var(--y, 0) * 1px),
        rgba(255, 255, 255, 0.8), transparent 100%
    );
}

