/* Claravellas Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Outfit:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
    /* Premium Warm Pastel Colors */
    --bg-main: #FCFBF8;
    --bg-card: rgba(255, 255, 255, 0.6);
    --bg-header: rgba(252, 251, 248, 0.85);
    --text-main: #2A2825;
    --text-muted: #8B8579;
    --accent-primary: #EAB875;
    --accent-secondary: #F6D6A7;
    --accent-tertiary: #FFEDE1;
    --border-light: rgba(255, 255, 255, 0.4);
    --border-solid: #EBE5DB;
    --shadow-soft: 0 8px 32px 0 rgba(234, 184, 117, 0.1);
    --shadow-heavy: 0 20px 40px 0 rgba(234, 184, 117, 0.15);
    --font-brand: 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-theme: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg-main: #0F0E0C;
    --bg-card: rgba(30, 28, 25, 0.7);
    --bg-header: rgba(15, 14, 12, 0.9);
    --text-main: #F0EDE8;
    --text-muted: #7A7570;
    --accent-primary: #EAB875;
    --accent-secondary: #C8943A;
    --accent-tertiary: rgba(234, 184, 117, 0.1);
    --border-light: rgba(234, 184, 117, 0.08);
    --border-solid: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 20px 40px 0 rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body::before {
    background: radial-gradient(circle, rgba(234, 184, 117, 0.04) 0%, transparent 70%);
}
[data-theme="dark"] body::after {
    background: radial-gradient(circle, rgba(200, 148, 58, 0.05) 0%, transparent 70%);
}
[data-theme="dark"] .footer-main,
[data-theme="dark"] .product-card,
[data-theme="dark"] .trust-card,
[data-theme="dark"] .cart-sidebar {
    background: rgba(20, 18, 15, 0.9);
    border-color: var(--border-solid);
}
[data-theme="dark"] .announcement-bar {
    background: #050503;
}
[data-theme="dark"] .search-bar input {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border-color: var(--border-solid);
}
[data-theme="dark"] .search-bar input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .cart-footer {
    background: rgba(15, 14, 12, 0.8);
}
[data-theme="dark"] .checkout-modal-content {
    background: #1a1815;
    border-color: var(--border-solid);
}

/* === CANDLELIGHT MODE (Luz de Velas Luxo) === */
[data-theme="candlelight"] {
    --bg-main: #140E0A;
    --bg-card: rgba(38, 26, 18, 0.75);
    --bg-header: rgba(20, 14, 10, 0.92);
    --text-main: #FAF2E8;
    --text-muted: #B8A898;
    --accent-primary: #FFB347;
    --accent-secondary: #EAB875;
    --accent-tertiary: rgba(255, 179, 71, 0.15);
    --border-light: rgba(255, 179, 71, 0.15);
    --border-solid: rgba(234, 184, 117, 0.18);
    --shadow-soft: 0 8px 32px 0 rgba(255, 140, 0, 0.15);
    --shadow-heavy: 0 20px 40px 0 rgba(255, 100, 0, 0.25);
}

[data-theme="candlelight"] body::before {
    background: radial-gradient(circle, rgba(255, 160, 50, 0.12) 0%, transparent 70%);
    animation: candlePulse 6s ease-in-out infinite alternate;
}
[data-theme="candlelight"] body::after {
    background: radial-gradient(circle, rgba(234, 140, 30, 0.08) 0%, transparent 70%);
    animation: candlePulse 8s ease-in-out infinite alternate-reverse;
}
[data-theme="candlelight"] .footer-main,
[data-theme="candlelight"] .product-card,
[data-theme="candlelight"] .trust-card,
[data-theme="candlelight"] .cart-sidebar {
    background: rgba(28, 19, 13, 0.92);
    border-color: var(--border-solid);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.08);
}
[data-theme="candlelight"] .announcement-bar {
    background: #0B0705;
    color: #FFB347;
}

@keyframes candlePulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.08); }
    100% { opacity: 0.6; transform: scale(0.96); }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: auto;
    transition: var(--transition-theme);
}



/* .dark-mode-toggle — reutiliza .header-icon-btn, sem estilo próprio */

/* Subtle background glowing orbs for "Light Futuristic" feel */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
}
body::before {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
}
body::after {
    bottom: -10%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* Announcement Bar */
.announcement-bar {
    background: #111; color: var(--accent-primary);
    text-align: center; padding: 0.6rem;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; display: flex; justify-content: center; align-items: center; gap: 0.5rem;
}
.announcement-bar strong { color: #fff; font-weight: 600; }

/* ===  HEADER PREMIUM (3 colunas robustas) === */
.header-main, .header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: var(--bg-header);
    -webkit-backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-solid);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* Container interno do header: flexbox limpo com alinhamento perfeito */
.header-content, .header-container {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 1.5rem;
}

/* Logo: primeira coluna, alinhado à esquerda */
.logo {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
    z-index: 5;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Nav: centralizado com Flexbox limpo (sem colisão com o logo) */
.nav-links {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
    overflow: visible;
}

/* Elementos do drawer mobile: invisíveis no desktop por padrão */
.mobile-drawer-header,
.mobile-drawer-footer {
    display: none;
}

/* Links de navegação: visíveis no desktop como flex row */
.mobile-drawer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    flex: 1;
    justify-content: center;
}

/* Links da nav no desktop */
.mobile-drawer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 1.5px;
    bottom: -4px; left: 0;
    background: var(--accent-primary);
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-links a:hover::after { width: 100%; }

/* === ÍCONES DO HEADER (bloco de ações à direita) === */
.header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    z-index: 2;
}

/* Botão ícone do header — padrão único para todos: search, dark mode, user, cart */
.header-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    font-size: 0;
    overflow: visible;
}
.header-icon-btn:hover {
    color: var(--accent-primary);
    background-color: rgba(234, 184, 117, 0.1);
}

/* SVG dos ícones Lucide dentro dos botões */
.header-icon-btn i,
.header-icon-btn svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px;
    min-height: 17px;
    pointer-events: none;
    display: block;
    flex-shrink: 0;
}

/* Badge de contagem do carrinho */
.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    min-width: 16px; height: 16px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-badge.empty { display: none; }
.cart-badge.bump {
    animation: cartBadgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes cartBadgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.6); }
    100% { transform: scale(1); }
}

/* Divider vertical discreto entre grupos de ícones */
.header-divider {
    width: 1px; height: 18px;
    background: var(--border-solid);
    flex-shrink: 0;
    margin: 0 0.4rem;
}

/* === SEARCH OVERLAY (slide-down premium) === */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--bg-header);
    -webkit-backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border-solid);
    z-index: 1100;
    height: 72px;
    display: flex; align-items: center;
    padding: 0 2.5rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    pointer-events: none;
}
.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.search-overlay-inner {
    max-width: 1400px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; gap: 1.5rem;
}
.search-overlay-inner .so-icon {
    color: var(--accent-primary);
    flex-shrink: 0; width: 20px; height: 20px;
}
.search-overlay-inner input {
    flex: 1; border: none; background: none;
    font-family: var(--font-body); font-size: 1.1rem;
    color: var(--text-main); outline: none;
    caret-color: var(--accent-primary);
}
.search-overlay-inner input::placeholder { color: var(--text-muted); }
.search-overlay-close {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); display: flex; align-items: center;
    transition: color 0.2s; flex-shrink: 0; padding: 0;
    width: 32px; height: 32px; border-radius: 50%;
    justify-content: center;
}
.search-overlay-close:hover { color: var(--text-main); background: var(--accent-tertiary); }

/* .search-box usado em loja.html */
.search-box { position: relative; }
.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.2rem; border: 1px solid var(--border-solid);
    border-radius: 20px; background: rgba(255,255,255,0.7);
    font-family: var(--font-body); font-size: 0.85rem; transition: var(--transition);
    width: 200px; color: var(--text-main);
}
.search-box input:focus {
    outline: none; border-color: var(--accent-primary); width: 260px;
    background: #fff; box-shadow: 0 0 0 3px rgba(234, 184, 117, 0.1);
}
.search-icon { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); width: 16px; color: var(--text-muted); pointer-events: none; }

/* Manter .cart-btn compatível */
.cart-btn {
    background: transparent; border: none; font-family: var(--font-body);
    font-size: 0.8rem; cursor: pointer; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.4rem; text-transform: uppercase;
    letter-spacing: 0.8px; font-weight: 500; white-space: nowrap;
    transition: color 0.3s ease;
}
.cart-btn:hover { color: var(--text-main); }

/* Hero Carousel */
.hero-carousel {
    position: relative; width: 100%; height: 100vh;
    overflow: hidden; background: var(--bg-main);
}
.carousel-inner {
    position: relative; width: 100%; height: 100%;
}
.carousel-item {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden; transition: opacity 1s ease-in-out;
    display: flex; align-items: center; justify-content: center;
}
.carousel-item.active { opacity: 1; visibility: visible; }

.carousel-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
}

.carousel-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.carousel-content {
    position: relative; z-index: 3; width: 100%; height: 100%;
    display: flex; align-items: center; padding: 0 10%;
}

.hero-text-box {
    max-width: 700px; padding: 3.5rem;
    background: linear-gradient(135deg, rgba(15, 12, 9, 0.65) 0%, rgba(20, 16, 12, 0.45) 100%);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    transform: translateY(40px); opacity: 0; transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #fff;
}
.carousel-item.active .hero-text-box { transform: translateY(0); opacity: 1; }

.hero-text-box span.tag {
    display: inline-block; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-primary); margin-bottom: 1.5rem;
    font-weight: 700;
}
.hero-text-box h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.08; margin-bottom: 1.5rem;
    color: #fff; font-family: var(--font-heading); text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hero-text-box p {
    font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.92); margin-bottom: 2.2rem;
    font-weight: 300; line-height: 1.6; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 0.75rem; align-items: center;
}
.carousel-dot {
    width: 36px; height: 4px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer; transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}
.carousel-dot.active {
    background: var(--accent-primary, #d4af37);
    width: 55px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

/* Buttons */
.btn {
    display: inline-block; padding: 1.2rem 3rem;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
    border-radius: 50px; cursor: pointer; transition: var(--transition);
    border: none; position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #E5A95A);
    color: #fff; box-shadow: 0 10px 20px rgba(234, 184, 117, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(234, 184, 117, 0.5); transform: translateY(-3px);
}

/* Trust / Credibility Section */
.trust-section {
    padding: 6rem 0 2rem;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(255, 237, 225, 0.3) 100%);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.trust-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}
.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-family: var(--font-brand);
}
.trust-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Products Section */
.products-section { padding: 8rem 0; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3rem;
}
.product-card {
    background: var(--bg-card); -webkit-backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 24px;
    padding: 1.5rem; transition: var(--transition);
    box-shadow: var(--shadow-soft); text-align: center;
}
.product-card:hover {
    transform: translateY(-10px); box-shadow: var(--shadow-heavy);
}
.product-image-container {
    height: 350px; border-radius: 16px; margin-bottom: 1.5rem;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: #fff; position: relative;
}
.product-image-container img {
    width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease, transform 0.8s ease;
}
.product-image-container .hover-img {
    position: absolute; top: 0; left: 0; opacity: 0;
}
/* Só ativa o swap se o card TIVER uma hover-img (via classe has-hover) */
.product-card.has-hover:hover .product-image-container .hover-img { opacity: 1; transform: scale(1.05); }
.product-card.has-hover:hover .product-image-container .main-img { opacity: 0; transform: scale(1.05); }
/* Hover genérico (sem swap de imagem): leve zoom na principal */
.product-card:not(.has-hover):hover .product-image-container .main-img { transform: scale(1.06); }

.product-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.product-info .scent { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.product-info .price { font-size: 1.2rem; font-family: var(--font-body); font-weight: 600; color: var(--text-main); margin-bottom: 1.5rem; display: block; }

.btn-add-cart {
    background: #fff; border: 1px solid var(--border-solid);
    padding: 1rem 2rem; border-radius: 50px; width: 100%;
    font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}
.btn-add-cart:hover {
    background: var(--accent-primary); color: #fff; border-color: var(--accent-primary);
}

/* Product Card — linha dourada no hover */
.product-card::after {
    content: ''; position: absolute; bottom: 0; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    border-radius: 0 0 24px 24px;
    opacity: 0; transition: opacity 0.4s ease;
}
.product-card { position: relative; }
.product-card:hover::after { opacity: 1; }

/* Skeleton Loading */
@keyframes shimmer {
    0%   { background-position: -800px 0; }
    100% { background-position: 800px 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--border-solid) 25%, rgba(255,255,255,0.7) 50%, var(--border-solid) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 12px;
}
.skeleton-img { height: 280px; width: 100%; border-radius: 16px; margin-bottom: 0; }
.skeleton-line { height: 16px; border-radius: 8px; }
.skeleton-btn { height: 48px; border-radius: 50px; width: 80%; margin: 0 auto; }

/* Cart Sidebar (Glassmorphism Light) */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(42, 40, 37, 0.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    z-index: 1999; opacity: 0; visibility: hidden; transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed; top: 0; right: -450px; width: 450px; height: 100vh;
    background: rgba(252, 251, 248, 0.96); -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255,255,255,0.9); z-index: 2000;
    box-shadow: -15px 0 50px rgba(42, 40, 37, 0.08); transition: right 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }

.cart-header { padding: 2.5rem; border-bottom: 1px solid var(--border-solid); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 1.8rem; }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.close-cart:hover { transform: rotate(90deg); color: var(--accent-primary); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-item { 
    display: flex; gap: 1.2rem; margin-bottom: 1.5rem; 
    padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-solid); 
    transition: var(--transition);
}
.cart-item:hover { transform: translateX(5px); }
.cart-item-img { 
    width: 80px; height: 80px; border-radius: 12px; 
    object-fit: cover; box-shadow: var(--shadow-soft);
}
.cart-item-details { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.cart-item-header { display: flex; justify-content: space-between; align-items: flex-start; }
.cart-item-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-main); font-weight: 500; }
.cart-item-price { color: var(--text-muted); font-size: 0.9rem; }

.cart-item-actions { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-top: 0.5rem; 
}
.qty-selector { 
    display: flex; align-items: center; gap: 0.8rem; 
    background: var(--bg-main); padding: 0.3rem; border-radius: 50px;
    border: 1px solid var(--border-solid);
}
.qty-btn { 
    width: 24px; height: 24px; border-radius: 50%; border: none; 
    background: #fff; color: var(--text-main); cursor: pointer; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1rem; transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.qty-btn:hover { background: var(--accent-primary); color: #fff; }
.qty-value { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }

.item-subtotal { font-weight: 600; color: var(--accent-primary); font-size: 1rem; }

.remove-btn { 
    background: rgba(231, 76, 60, 0.05); border: none; color: #E74C3C; 
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.remove-btn:hover { background: #E74C3C; color: #fff; transform: scale(1.1); }

.cart-footer { padding: 2rem; background: var(--bg-header); border-top: 1px solid var(--border-solid); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.4rem; font-family: var(--font-heading); margin-bottom: 1.5rem; font-weight: 600; }
.cart-total span:last-child { color: var(--accent-primary); }

/* Admin Area - Dashboard Layout */
.admin-body { background: #f0f0f4; overflow-y: hidden; }
.admin-layout { display: flex; height: 100vh; width: 100vw; overflow: hidden; }
admin-sidebar { display: block; width: 280px; height: 100vh; flex-shrink: 0; }
.admin-sidebar { width: 280px; height: 100vh; max-height: 100vh; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-right: 1px solid var(--border-solid); display: flex; flex-direction: column; overflow: hidden; }
.admin-logo { padding: 2rem; font-family: var(--font-brand); font-size: 1.5rem; border-bottom: 1px solid var(--border-solid); }
.admin-nav { padding: 2rem 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; }
.admin-nav a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; color: var(--text-muted); text-decoration: none; border-radius: 12px; transition: var(--transition); font-weight: 500; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(234, 184, 117, 0.1); color: var(--accent-primary); }
.admin-footer { padding: 2rem; border-top: 1px solid var(--border-solid); }
.admin-footer a { display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); text-decoration: none; font-weight: 500; }

.admin-main { flex: 1; overflow-y: auto; padding: 2rem 4rem; display: flex; flex-direction: column; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.admin-topbar h1 { font-family: var(--font-heading); font-size: 2rem; }
.topbar-actions { display: flex; gap: 1rem; }

.admin-grid { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: start; }
.admin-card { background: #fff; border: 1px solid var(--border-solid); border-radius: 16px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.admin-card h3 { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 2rem; color: var(--text-main); padding-bottom: 1rem; border-bottom: 1px solid var(--border-solid); }
.admin-card h3 svg { width: 20px; color: var(--accent-primary); }

.form-group { margin-bottom: 1.5rem; }
.form-row { display: flex; gap: 1.5rem; }
.form-row .form-group { flex: 1; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.form-control { width: 100%; padding: 0.9rem 1.2rem; border: 1px solid var(--border-solid); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; background: #fafafa; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--accent-primary); background: #fff; box-shadow: 0 0 0 4px rgba(234, 184, 117, 0.1); }
textarea.form-control { resize: vertical; }

.drag-drop-zone { border: 2px dashed var(--border-solid); border-radius: 12px; padding: 3rem 2rem; text-align: center; background: #fafafa; cursor: pointer; transition: var(--transition); }
.drag-drop-zone:hover, .drag-drop-zone.dragover { border-color: var(--accent-primary); background: rgba(234, 184, 117, 0.05); }
.drag-drop-zone .upload-icon { width: 48px; height: 48px; color: var(--accent-primary); margin-bottom: 1rem; }
.drag-drop-zone p span { color: var(--accent-primary); font-weight: 600; text-decoration: underline; }

.sticky-preview { position: sticky; top: 2rem; }

/* Admin SPA Views */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.admin-view { display: none; animation: fadeIn 0.4s ease forwards; }
.admin-view.active { display: block; }

/* Admin Data Table */
.data-table-wrapper { background: #fff; border: 1px solid var(--border-solid); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 1.5rem; border-bottom: 1px solid var(--border-solid); }
.data-table th { background: #fafafa; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.data-table td { vertical-align: middle; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.status-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.status-badge.success { background: #e8f8f5; color: #2ecc71; }
.status-badge.pending { background: #fef9e7; color: #f1c40f; }
.status-badge.approved { background: rgba(234, 184, 117, 0.15); color: var(--accent-primary); }
.status-badge.danger { background: #fde8e8; color: #e74c3c; }
.status-badge.info { background: #e8f4fd; color: #3498db; }

.placeholder-view { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60vh; text-align: center; color: var(--text-muted); }
.placeholder-view svg { width: 64px; height: 64px; color: var(--border-solid); margin-bottom: 1.5rem; }

/* Dashboard BI (Visão Geral) */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.kpi-card { background: #fff; border: 1px solid var(--border-solid); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.02); display: flex; flex-direction: column; }
.kpi-header { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem; }
.kpi-header svg { width: 20px; color: var(--accent-primary); }
.kpi-value { font-family: var(--font-heading); font-size: 1.8rem; color: var(--text-main); font-weight: 600; }

.dashboard-charts { background: #fff; border: 1px solid var(--border-solid); border-radius: 16px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.dashboard-charts h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--text-main); }
.chart-container { position: relative; height: 300px; width: 100%; }

.dashboard-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dashboard-table-card { background: #fff; border: 1px solid var(--border-solid); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.dashboard-table-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-solid); display: flex; align-items: center; gap: 0.5rem; }
.dashboard-table-card h3 svg { width: 18px; color: var(--accent-primary); }


/* Footer */
.footer-main {
    background: var(--bg-main);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-solid);
    position: relative;
}
.footer-gold-line {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    margin-bottom: 0;
    position: absolute;
    top: 0; left: 0; right: 0;
}
.footer-content { display: flex; justify-content: space-between; margin-bottom: 4rem; gap: 4rem; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }
.footer-links { display: flex; gap: 4rem; flex: 1; justify-content: flex-end; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1rem; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.9rem; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent-primary); }

/* Footer Social Links */
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-icon {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border-solid);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon:hover { color: var(--accent-primary); border-color: var(--accent-primary); background: rgba(234,184,117,0.08); }
.social-icon svg { width: 15px; height: 15px; }

/* Footer Security Badges */
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.footer-badge {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--text-muted); font-weight: 500;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-solid);
    border-radius: 50px;
}
.footer-badge svg { width: 12px; height: 12px; color: var(--accent-primary); }

/* Footer Bottom */
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid var(--border-solid);
    font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom-right { display: flex; align-items: center; gap: 1.5rem; }

/* === ANNOUNCEMENT TICKER === */
.announcement-ticker { position: relative; min-height: 1em; display: flex; align-items: center; justify-content: center; width: 100%; }
.ticker-item {
    display: none; align-items: center; gap: 0.4rem;
    animation: tickerFadeIn 0.5s ease;
}
.ticker-item.active { display: inline-flex; }
.ticker-item svg { width: 13px; height: 13px; }
@keyframes tickerFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === TRUST ICONS (Lucide) === */
.trust-icon-lucide {
    width: 60px; height: 60px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.trust-card:hover .trust-icon-lucide { transform: scale(1.15) rotate(-5deg); background: rgba(234,184,117,0.2); }
.trust-icon-lucide svg { width: 26px; height: 26px; color: var(--accent-primary); }

/* === JOURNEY SECTION (Como Funciona) === */
.journey-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(234,184,117,0.04) 100%);
}
.journey-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; margin-top: 5rem;
}
.journey-step {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; flex: 1; max-width: 220px; padding: 0 1rem;
}
.journey-connector {
    flex: 0 0 60px; height: 2px;
    background: linear-gradient(to right, var(--accent-primary), transparent);
    margin-top: 48px;
    opacity: 0.4;
}
.journey-number {
    font-family: var(--font-heading);
    font-size: 0.7rem; letter-spacing: 3px;
    color: var(--accent-primary); margin-bottom: 1rem;
    text-transform: uppercase; font-weight: 600;
}
.journey-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.journey-step:hover .journey-icon { transform: translateY(-6px); box-shadow: var(--shadow-heavy); }
.journey-icon svg { width: 28px; height: 28px; color: var(--accent-primary); }
.journey-step h3 { font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 0.3px; }
.journey-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* === COLLECTIONS GRID === */
.collections-section { padding: 8rem 0; }
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 360px);
    gap: 1.5rem;
    margin-top: 4rem;
}
.collection-card {
    position: relative; overflow: hidden;
    border-radius: 24px; display: block;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
}
.collection-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.collection-card:hover img { transform: scale(1.07); }
.collection-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: background 0.4s ease;
}
.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 70%, rgba(234,184,117,0.1) 100%);
}
.collection-label {
    font-family: var(--font-heading);
    font-size: 1.8rem; color: #fff;
    font-weight: 500; display: block;
    margin-bottom: 0.3rem;
}
.collection-sub { font-size: 0.85rem; color: rgba(255,255,255,0.75); letter-spacing: 1px; display: block; }
.collection-cta {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(234,184,117,0.15); -webkit-backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(234,184,117,0.4);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-primary);
    transform: translateX(10px); opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.collection-card:hover .collection-cta { transform: translateX(0); opacity: 1; }
.collection-cta svg { width: 18px; height: 18px; }

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(234,184,117,0.04) 0%, var(--bg-main) 100%);
}
.testimonials-slider { overflow: hidden; margin-top: 4rem; }
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(4, 100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.testimonial-card {
    background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 28px; padding: 3rem;
    box-shadow: var(--shadow-soft);
    margin: 0 1rem;
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 1.5rem; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--accent-primary); color: var(--accent-primary); }
.testimonial-quote {
    font-size: 1.1rem; line-height: 1.7;
    color: var(--text-main); font-style: italic;
    margin-bottom: 2rem; font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #E5A95A);
    color: #fff; font-weight: 600; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; letter-spacing: 0.5px;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--text-main); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; display: block; }
.testimonials-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; margin-top: 2.5rem;
}
.testimonial-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border-solid); background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-muted);
    transition: all 0.3s ease;
}
.testimonial-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(234,184,117,0.08); }
.testimonial-btn svg { width: 16px; height: 16px; }
.testimonial-dots { display: flex; gap: 0.5rem; }
.t-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border-solid); cursor: pointer;
    transition: all 0.3s ease;
}
.t-dot.active { background: var(--accent-primary); width: 24px; border-radius: 4px; }

/* === WHATSAPP PREMIUM BUTTON === */
.whatsapp-btn {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    color: #fff; text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 26px; height: 26px; position: relative; z-index: 2; }
.whatsapp-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    background: #25D366; z-index: 1;
    animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-tooltip {
    position: absolute; right: 70px;
    background: rgba(20,20,20,0.85); -webkit-backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #fff; font-size: 0.78rem; white-space: nowrap;
    padding: 0.45rem 0.9rem; border-radius: 8px;
    pointer-events: none; opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
    .hero-text-box h1 { font-size: 3rem; }
    .hero-text-box { padding: 2rem; }
    .carousel-overlay { background: linear-gradient(to top, rgba(252, 251, 248, 0.95) 0%, rgba(252, 251, 248, 0.6) 100%); }
    .footer-content { flex-direction: column; gap: 3rem; }
    .footer-links { flex-direction: column; gap: 2rem; }
    .cart-sidebar { width: 100%; right: -100%; }
    .journey-steps { flex-direction: column; align-items: center; gap: 2rem; }
    .journey-connector { display: none; }
    .collections-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 220px); gap: 1rem; }
    .testimonials-track { grid-template-columns: repeat(4, 100%); }
    .footer-links { flex-wrap: wrap; }
}

/* Auth / Login Page Styles */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 120px 2rem 4rem; }
.auth-container { display: flex; width: 100%; max-width: 1000px; background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-heavy); border: 1px solid rgba(255,255,255,0.8); }
.auth-panel { flex: 1; padding: 4rem; display: flex; flex-direction: column; justify-content: center; transition: var(--transition); }
.auth-panel h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-main); font-family: var(--font-brand); }
.auth-panel p { color: var(--text-muted); margin-bottom: 2rem; }
.auth-divider { width: 1px; background: linear-gradient(to bottom, transparent, var(--border-solid), transparent); }

.auth-form .form-group { margin-bottom: 1.5rem; }
.auth-form .form-control { background: #fff; padding: 1.2rem; border-radius: 12px; border: 1px solid var(--border-solid); }

/* Switcher for mobile */
.auth-switcher { display: none; text-align: center; margin-top: 1.5rem; color: var(--text-muted); cursor: pointer; text-decoration: underline; }

@media (max-width: 768px) {
    .auth-container { flex-direction: column; }
    .auth-divider { display: none; }
    .auth-panel { padding: 2rem; }
    #register-panel { display: none; }
    .auth-switcher { display: block; }
}

/* Checkout Success Modal */
.checkout-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(42, 40, 37, 0.4); -webkit-backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.checkout-modal.active { opacity: 1; visibility: visible; }
.checkout-modal-content { background: var(--bg-main); padding: 4rem; border-radius: 30px; text-align: center; max-width: 500px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); border: 1px solid #fff; transform: translateY(30px); transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.checkout-modal.active .checkout-modal-content { transform: translateY(0); }
.checkout-modal-content h2 { font-family: var(--font-brand); font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent-primary); }
.checkout-modal-content p { color: var(--text-muted); margin-bottom: 2.5rem; }
.checkout-modal-icon { font-size: 4rem; margin-bottom: 1.5rem; }

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Toast Notifications */
.toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-card); -webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--border-light); padding: 1rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-heavy); display: flex; align-items: center; gap: 1rem; transform: translateX(-100%); opacity: 0; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.toast.show { transform: translateX(0); opacity: 1; }
.toast-icon { font-size: 1.2rem; }
.toast-success .toast-icon { color: #2ecc71; }
.toast-error .toast-icon { color: #e74c3c; }

/* Mobile Menu configuration is defined in the media queries section below */

/* Newsletter */
.newsletter-box { display: flex; gap: 1rem; margin-top: 1rem; }
.newsletter-box input { flex: 1; padding: 1rem; border: 1px solid var(--border-solid); border-radius: 30px; background: rgba(255,255,255,0.5); outline: none; transition: var(--transition); }
.newsletter-box input:focus { border-color: var(--accent-primary); background: #fff; }
.newsletter-box button { padding: 1rem 2rem; border-radius: 30px; border: none; background: var(--text-main); color: #fff; cursor: pointer; transition: var(--transition); font-weight: 600; }
.newsletter-box button:hover { background: var(--accent-primary); }

/* --- My Candle Experience (CX & CRM) --- */
.cx-view { display: none; animation: fadeIn 0.4s ease forwards; }
.cx-view.active { display: flex; flex-direction: column; gap: 2rem; }

/* Asymmetric Grids */
.cx-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.cx-grid-col { display: flex; flex-direction: column; gap: 2rem; }

/* Cards & Glassmorphism */
.cx-card { background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 24px; padding: 2rem; border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-soft); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-heavy); }
.cx-card h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; }

/* Loyalty Widget */
.loyalty-widget { background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(234,184,117,0.1) 100%); }
.loyalty-points { font-family: var(--font-heading); font-size: 3rem; color: var(--accent-primary); font-weight: 700; line-height: 1; margin: 1rem 0; text-shadow: 0 4px 12px rgba(234,184,117,0.3); }

/* Timeline Stepper 5-Steps */
.cx-progress-track { display: flex; justify-content: space-between; position: relative; margin: 3rem 0 1rem; }
.cx-progress-track::before { content: ''; position: absolute; top: 20px; left: 0; width: 100%; height: 4px; background: #eee; z-index: 1; border-radius: 2px; }
.cx-progress-track::after { content: ''; position: absolute; top: 20px; left: 0; width: var(--progress-width, 0%); height: 4px; background: var(--accent-primary); z-index: 2; transition: width 1s ease; border-radius: 2px; }
.cx-step { display: flex; flex-direction: column; align-items: center; z-index: 3; gap: 0.8rem; width: 80px; }
.cx-step-icon { width: 44px; height: 44px; border-radius: 50%; background: #eee; display: flex; justify-content: center; align-items: center; color: var(--text-muted); transition: all 0.5s ease; border: 4px solid #fff; }
.cx-step.active .cx-step-icon { background: var(--accent-primary); color: #fff; box-shadow: 0 0 15px rgba(234, 184, 117, 0.4); transform: scale(1.1); }
.cx-step-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.cx-step.active .cx-step-label { color: var(--text-main); }

/* Concierge & Events */
.event-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border: 1px solid var(--border-solid); border-radius: 12px; margin-bottom: 1rem; background: #fff; }
.event-date { background: rgba(234,184,117,0.1); color: var(--accent-primary); padding: 0.4rem 0.8rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.concierge-video-mock { width: 100%; height: 180px; border-radius: 16px; background-size: cover; background-position: center; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-bottom: 1rem; }
.concierge-video-mock::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: background 0.3s ease; }
.concierge-video-mock:hover::after { background: rgba(0,0,0,0.4); }
.play-btn { z-index: 2; color: #fff; background: rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border-radius: 50%; padding: 1rem; }

@media (max-width: 900px) {
    .cx-grid { grid-template-columns: 1fr; }
    .cx-progress-track { overflow-x: auto; padding-bottom: 1rem; }
    .cx-progress-track::before, .cx-progress-track::after { width: 500px; }
}

/* --- Cart Enhancements --- */
.cart-shipping-progress { 
    margin-bottom: 1.5rem; padding: 1.2rem; 
    background: var(--bg-main); border-radius: 16px; 
    border: 1px solid var(--border-solid); 
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
.shipping-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; text-align: center; letter-spacing: 0.5px; }
.shipping-text strong { color: var(--text-main); }
.shipping-bar-bg { height: 6px; background: var(--border-solid); border-radius: 10px; overflow: hidden; position: relative; }
.shipping-bar-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #dfc299, var(--accent-primary)); 
    border-radius: 10px; 
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
    position: relative;
    box-shadow: 0 0 5px rgba(234, 184, 117, 0.2);
}
.shipping-bar-fill.completed {
    background: linear-gradient(90deg, var(--accent-primary), #ecd0a5);
    box-shadow: 0 0 12px rgba(234, 184, 117, 0.6);
    animation: gold-pulse 2s infinite ease-in-out;
}

@keyframes gold-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(234, 184, 117, 0.5); }
    50% { box-shadow: 0 0 16px rgba(234, 184, 117, 0.85); }
}

.empty-cart-msg-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
}
.empty-cart-icon {
    font-size: 2.2rem;
    color: var(--accent-primary);
    margin-bottom: 1.2rem;
    animation: sparklesPulse 2s infinite ease-in-out;
}
.empty-cart-icon i {
    width: 32px;
    height: 32px;
}
.empty-cart-msg-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}
.empty-cart-msg-wrapper p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}
.btn-explore-catalog {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.8rem;
    border: 1px solid var(--accent-primary);
    background: transparent;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}
.btn-explore-catalog:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}
.cart-suggestions-section {
    width: 100%;
    border-top: 1px solid var(--border-solid);
    padding-top: 2rem;
    text-align: left;
}
.cart-suggestions-section h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-suggestions-section h4 i {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}
.cart-suggestions-list {
    display: grid;
    gap: 1rem;
}
.cart-suggestion-item {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background: rgba(234, 184, 117, 0.03);
    border: 1px solid var(--border-solid);
    padding: 0.8rem;
    border-radius: 14px;
    transition: var(--transition);
}
.cart-suggestion-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.cart-suggestion-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
.cart-suggestion-info {
    flex: 1;
}
.suggestion-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}
.suggestion-price {
    font-size: 0.78rem;
    color: var(--accent-primary);
    font-weight: 700;
}
.btn-add-suggestion {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-suggestion:hover {
    background: var(--accent-primary);
    color: #fff;
}
@keyframes sparklesPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.cart-item { transition: var(--transition); border-bottom: 1px solid var(--border-solid); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.cart-item:hover { transform: translateX(5px); }

.qty-btn { transition: var(--transition); border: 1px solid var(--border-solid); background: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); transform: scale(1.1); }

.remove-btn { transition: var(--transition); background: none; border: none; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; margin-left: auto; }
.remove-btn:hover { color: #e74c3c; }

.btn-checkout { position: relative; overflow: hidden; }
.btn-checkout::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent); transform: rotate(45deg); transition: 0.8s; left: -100%; }
.btn-checkout:hover::after { left: 100%; }

/* === STOCK BADGE === */
.stock-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    -webkit-backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: pulse-badge 2s ease-in-out infinite;
}
.stock-badge.low-stock {
    background: rgba(234, 184, 117, 0.92);
    color: #2A2825;
}
.stock-badge.out-of-stock {
    background: rgba(231, 76, 60, 0.92);
    color: #fff;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.04); }
}
.product-card.out-of-stock { opacity: 0.65; }
.product-card.out-of-stock .btn-add-cart {
    background: #eee;
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}

/* === RELATED PRODUCTS SECTION === */
.related-section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border-solid);
}
.related-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}
.related-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
@media (max-width: 1100px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .related-section { padding: 3rem 1rem; }
    .related-section h2 { font-size: 1.5rem; }
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}
.related-card-img-wrapper { overflow: hidden; }
.related-card-img {
    width: 100%; aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.related-card:hover .related-card-img { transform: scale(1.06); }
.related-card-info { padding: 1.2rem; }
.related-card-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-card-info .scent {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-card-info .price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

/* === SOCIAL PROOF NOTIFICATIONS (Growth Hacking) === */
#social-proof-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.social-proof-toast {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-heavy);
    width: max-content;
    max-width: 380px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-proof-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.social-proof-toast .sp-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(234, 184, 117, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.social-proof-toast .sp-icon svg {
    width: 18px;
    height: 18px;
}

.social-proof-toast .sp-content {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
}

.social-proof-toast .sp-content strong {
    font-weight: 600;
    color: var(--accent-primary);
}

.social-proof-toast .sp-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
    transition: color 0.3s ease;
}

.social-proof-toast .sp-close:hover {
    color: var(--text-main);
}

.social-proof-toast .sp-close svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    #social-proof-container {
        bottom: auto;
        top: 80px;
        left: 1rem;
        right: 1rem;
        align-items: center;
    }
    .social-proof-toast {
        max-width: 100%;
    }
}

/* ===== ADDITIONS: Hero Scroll Indicator ===== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
@media (max-width: 768px) {
    .hero-scroll-indicator { display: none; }
}

/* ===== --border-subtle alias (compatibility) ===== */
:root {
    --border-subtle: var(--border-solid);
    --bg-alt: var(--bg-main);
    --font-main: var(--font-body);
}

/* ===== Admin Dark Mode & Mobile ===== */
[data-theme="dark"] .admin-sidebar {
    background: rgba(15, 14, 12, 0.95);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .admin-main {
    background: #0a0907;
}
[data-theme="dark"] .admin-card,
[data-theme="dark"] .kpi-card,
[data-theme="dark"] .dashboard-charts,
[data-theme="dark"] .dashboard-table-card,
[data-theme="dark"] .data-table-wrapper {
    background: rgba(20,18,15,0.9);
    border-color: rgba(255,255,255,0.06);
    color: var(--text-main);
}
[data-theme="dark"] .data-table th { background: rgba(30,28,25,0.8); }
[data-theme="dark"] .data-table tbody tr:hover { background: rgba(234,184,117,0.04); }
[data-theme="dark"] .form-control {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-main);
}
[data-theme="dark"] .form-control:focus {
    background: rgba(255,255,255,0.08);
}
[data-theme="dark"] .drag-drop-zone {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
    .admin-body { overflow-y: auto !important; }
    .admin-layout { flex-direction: column; height: auto; overflow: visible; }
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 100;
        border-right: none;
        border-bottom: 1px solid var(--border-solid);
    }
    admin-sidebar {
        width: 100%;
        height: auto;
        display: block;
    }
    .admin-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.25rem;
    }
    .admin-nav a {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .admin-nav a svg { display: none; }
    .admin-footer { display: none; }
    .admin-main { padding: 1.5rem; overflow-y: visible; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-grid { grid-template-columns: 1fr; }
    .dashboard-tables { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .kpi-grid { grid-template-columns: 1fr; }
}

/* Admin: navegação compacta, tabelas roláveis e requisitos WCAG 2.2 AA */
.admin-mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-solid);
    border-radius: 10px;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
}
.admin-mobile-menu-toggle svg { width: 20px; height: 20px; }
.admin-layout,
.admin-main,
.admin-card,
.data-table-wrapper { min-width: 0; }
.admin-table-scroll {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}
.admin-table-scroll > table { min-width: 640px; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.admin-body :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .admin-layout { width: 100%; max-width: 100%; }
    .admin-mobile-menu-toggle { display: inline-flex; flex: 0 0 40px; }
    .admin-sidebar .admin-nav,
    .admin-sidebar .admin-status-panel,
    .admin-sidebar .admin-footer { display: none !important; }
    .admin-sidebar.admin-menu-open .admin-nav,
    .admin-sidebar.admin-menu-open .admin-status-panel,
    .admin-sidebar.admin-menu-open .admin-footer { display: flex !important; }
    .admin-sidebar.admin-menu-open .admin-nav {
        flex-direction: column;
        max-height: min(60vh, 520px);
        overflow: auto;
        padding: 0.5rem 1rem 1rem;
    }
    .admin-sidebar.admin-menu-open .admin-nav a { width: 100%; font-size: 0.85rem; }
    .admin-sidebar.admin-menu-open .admin-nav a svg { display: block; }
    .admin-sidebar.admin-menu-open .admin-status-panel { flex-direction: column; }
    .admin-sidebar.admin-menu-open .admin-footer { flex-direction: column; }
    .admin-logo { padding: 0.75rem 1rem; }
    .admin-main { width: 100%; max-width: 100%; padding: 1.25rem; }
    .admin-topbar { align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
    .admin-topbar,
    .topbar-actions,
    .form-row { flex-wrap: wrap; }
    .topbar-actions { width: 100%; max-width: 100%; }
    .topbar-actions > * { max-width: 100%; }
    .admin-card { max-width: 100%; padding: 1.25rem; overflow-wrap: anywhere; }
    .dashboard-charts,
    .dashboard-table-card,
    .data-table-wrapper { max-width: 100%; }
    .dashboard-tables { min-width: 0; width: 100%; }
    .dashboard-table-card { min-width: 0; width: 100%; overflow: hidden; }
    .kanban-board,
    .crm-kanban,
    [class*="kanban"] { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 520px) {
    .admin-main { padding: 0.9rem; }
    .admin-topbar { flex-direction: column; }
    .admin-topbar h1 { font-size: 1.55rem; }
    .topbar-actions { display: grid; grid-template-columns: 1fr; }
    .topbar-actions :where(.btn, button, a) { width: 100%; }
    .form-row { flex-direction: column; gap: 0; }
    .admin-card { padding: 1rem; border-radius: 12px; }
    #admin-profile-drawer { width: min(100vw, 360px) !important; }
    .support-ticket-filters { width: 100%; flex-wrap: wrap; }
    .support-ticket-filters .filter-btn { flex: 1 1 7rem; }
}

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


@media (prefers-contrast: more) {
    .admin-body { --border-solid: currentColor; }
    .admin-body :where(.btn, button, input, select, textarea) { border-width: 2px; }
}

/* ===== Btn outline global ===== */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1.5px solid var(--border-solid);
    border-radius: 50px;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(234,184,117,0.06);
}

/* ===== Glass Panel (admin) ===== */
.glass-panel {
    background: rgba(255,255,255,0.7);
    -webkit-backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.glass-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--border-solid);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.8);
    color: var(--text-main);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.glass-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(234,184,117,0.1);
}

/* ===== Checkout Success (standalone) ===== */
.checkout-modal-content h2 {
    font-family: var(--font-brand);
    color: var(--accent-primary);
}

/* ===== Hero text animation refinements ===== */
.hero-text-box { will-change: transform, opacity; }
.carousel-item.active .hero-text-box .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Product overlay button for admin preview */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-img-wrapper { position: relative; overflow: hidden; }
.product-img-wrapper:hover .product-overlay { opacity: 1; }
.product-img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ======================================================================
   SISTEMA DE RESPONSIVIDADE — Claravellas E-commerce
   Breakpoints: Mobile < 480px | Tablet 480-768px | Laptop 768-1024px | Desktop > 1024px
   Mobile-first approach: estilos base para mobile, sobrepostos por @media (min-width:...)
   ====================================================================== */

/* ─── Alias de variáveis utilitárias ─────────────────────────────────────── */
:root {
    --border-subtle: var(--border-solid);
    --bg-alt: var(--bg-card);
    --font-main: var(--font-body);
    /* Tamanhos fluidos com clamp(min, preferred, max) */
    --fs-hero:   clamp(2rem,   5.5vw, 5rem);
    --fs-h1:     clamp(1.8rem, 4vw,   3.5rem);
    --fs-h2:     clamp(1.4rem, 3vw,   2.4rem);
    --fs-h3:     clamp(1.1rem, 2vw,   1.6rem);
    --space-xs:  clamp(0.5rem, 1vw, 0.75rem);
    --space-sm:  clamp(0.75rem, 2vw, 1rem);
    --space-md:  clamp(1rem,   3vw, 1.5rem);
    --space-lg:  clamp(1.5rem, 4vw, 3rem);
    --space-xl:  clamp(2rem,   6vw, 5rem);
}

/* ─── Reset global responsivo ─────────────────────────────────────────────── */
img, video { max-width: 100%; height: auto; display: block; }
table { width: 100%; overflow-x: auto; }

/* ─── Utilitários ─────────────────────────────────────────────────────────── */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hide-mobile  { display: block; }
.show-mobile  { display: none; }
.hide-tablet  { display: block; }

/* ─── Tipografia fluida ───────────────────────────────────────────────────── */
.hero-text-box h1,
.hero-text-box h2  { font-size: var(--fs-hero); line-height: 1.05; }
.section-title,
.page-title         { font-size: var(--fs-h2); }

/* ─── Header Mobile: hamburger ────────────────────────────────────────────── */
.mobile-menu-btn {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0.5rem; border-radius: 8px;
    color: var(--text-main);
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn:hover { background: var(--accent-tertiary); }
.mobile-menu-btn svg   { width: 24px; height: 24px; stroke: currentColor; }

/* ─── Skip link de acessibilidade ─────────────────────────────────────────── */
.skip-link {
    position: absolute; top: -9999px; left: 0; z-index: 9999;
    padding: 0.75rem 1.5rem; background: var(--accent-primary);
    color: #000; font-weight: 600; border-radius: 0 0 8px 0;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ─── Focus visível para teclado ─────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: var(--text-muted);
    padding: 0.75rem 0; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-primary); }
.breadcrumb .separator { color: var(--border-solid); font-size: 0.7rem; }
.breadcrumb .current   { color: var(--text-main); font-weight: 500; }

/* ─── Reviews / Avaliações ───────────────────────────────────────────────── */
.reviews-section { padding: var(--space-xl) 0; }
.reviews-header  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--space-lg); }
.rating-summary  { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.rating-big      { font-size: 3.5rem; font-weight: 700; color: var(--accent-primary); line-height: 1; }
.stars-row       { display: flex; gap: 2px; color: var(--accent-primary); }
.stars-row svg   { width: 18px; height: 18px; fill: currentColor; }
.rating-histogram { flex: 1; min-width: 200px; }
.histogram-bar   { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 4px; font-size: 0.8rem; }
.histogram-track { flex: 1; height: 8px; background: var(--border-solid); border-radius: 4px; overflow: hidden; }
.histogram-fill  { height: 100%; background: var(--accent-primary); border-radius: 4px; transition: width 0.5s ease; }

.review-card {
    padding: 1.5rem; border-radius: 16px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.review-header   { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.reviewer-info   { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tertiary); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 600; color: var(--accent-primary); flex-shrink: 0; }
.review-verified { display: inline-flex; align-items: center; gap: 4px; background: rgba(39,174,96,0.1); color: #27ae60; font-size: 0.75rem; padding: 2px 8px; border-radius: 20px; }
.review-text     { color: var(--text-main); line-height: 1.7; margin-top: 0.5rem; }
.review-helpful  { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.review-helpful button { background: none; border: 1px solid var(--border-subtle); border-radius: 20px; padding: 4px 12px; cursor: pointer; font-size: 0.8rem; color: var(--text-muted); transition: all 0.2s; }
.review-helpful button:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* Formulário de avaliação */
.review-form { margin-top: var(--space-lg); }
.star-picker { display: flex; gap: 8px; margin-bottom: 1rem; }
.star-picker label { cursor: pointer; color: var(--border-solid); transition: color 0.2s; }
.star-picker label:hover,
.star-picker label.active { color: var(--accent-primary); }
.star-picker svg { width: 28px; height: 28px; fill: currentColor; }

/* ─── Skeleton Loaders ───────────────────────────────────────────────────── */
@keyframes skeleton-pulse {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.skeleton {
    background: linear-gradient(90deg,
        var(--border-solid) 25%,
        rgba(255,255,255,0.5) 50%,
        var(--border-solid) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-pulse 1.4s ease infinite;
    border-radius: 8px;
}
[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.06) 25%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.06) 75%
    );
    background-size: 200% 100%;
}
.skeleton-card   { border-radius: 20px; aspect-ratio: 3/4; }
.skeleton-img    { width: 100%; aspect-ratio: 1; border-radius: 12px 12px 0 0; }
.skeleton-line   { height: 1rem; border-radius: 4px; margin-bottom: 0.5rem; }
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }

/* ─── Página 404 ─────────────────────────────────────────────────────────── */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404 .code-404 { font-size: clamp(6rem, 20vw, 12rem); font-family: var(--font-brand); color: var(--accent-primary); line-height: 1; }
.page-404 h1 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.page-404 p  { color: var(--text-muted); max-width: 400px; margin: 0 auto 2rem; }

/* ─── Cupom de desconto ──────────────────────────────────────────────────── */
.coupon-row { display: flex; gap: 0.5rem; margin: 1rem 0; }
.coupon-row input { flex: 1; }
.coupon-msg { font-size: 0.85rem; margin-top: 0.25rem; }
.coupon-msg.success { color: #27ae60; }
.coupon-msg.error   { color: #e74c3c; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; background: rgba(39,174,96,0.08); border: 1px solid rgba(39,174,96,0.2); border-radius: 10px; padding: 0.5rem 0.75rem; font-size: 0.85rem; color: #27ae60; }
.coupon-applied button { background: none; border: none; cursor: pointer; color: #e74c3c; font-size: 1rem; line-height: 1; }

/* ─── PIX / Boleto payment badges ───────────────────────────────────────── */
.payment-methods-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.payment-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem; border: 2px solid var(--border-subtle); border-radius: 12px; cursor: pointer; transition: all 0.2s; background: var(--bg-card); font-size: 0.9rem; font-weight: 500; flex: 1; min-width: 120px; justify-content: center; }
.payment-badge:hover, .payment-badge.selected { border-color: var(--accent-primary); background: rgba(234,184,117,0.06); color: var(--accent-primary); }
.payment-badge svg { width: 20px; height: 20px; }

/* ─── Checkout Progress Steps ───────────────────────────────────────────── */
.checkout-steps { display: flex; align-items: center; gap: 0; margin-bottom: var(--space-lg); }
.checkout-step  { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; flex: 1; position: relative; }
.checkout-step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 60%; width: 80%; height: 2px; background: var(--border-subtle); z-index: 0; }
.checkout-step.completed::after { background: var(--accent-primary); }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; z-index: 1; border: 2px solid var(--border-subtle); background: var(--bg-main); color: var(--text-muted); transition: all 0.3s; }
.checkout-step.active   .step-circle { border-color: var(--accent-primary); background: var(--accent-primary); color: #000; }
.checkout-step.completed .step-circle { border-color: var(--accent-primary); background: var(--accent-primary); color: #000; }
.step-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); white-space: nowrap; }
.checkout-step.active .step-label { color: var(--accent-primary); font-weight: 600; }

/* ─── Image Lightbox ─────────────────────────────────────────────────────── */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox-overlay.open { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; transform: scale(0.9); transition: transform 0.3s; }
.lightbox-overlay.open .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ======================================================================
   MEDIA QUERIES — Mobile First
   ====================================================================== */

/* ─── Tablet e menor (≤ 1024px) ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }

    /* Header: mostrar hamburger, esconder nav desktop */
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .hide-tablet      { display: none !important; }

    /* Nav links: drawer lateral no mobile */
    .header-nav,
    .nav-links,
    #nav-links {
        position: fixed !important; top: 0 !important; right: -100% !important; width: min(320px, 85vw) !important;
        height: 100dvh !important; background: var(--bg-main) !important; z-index: 2000 !important;
        display: flex !important; flex-direction: column !important; padding: 1.5rem !important;
        box-shadow: -10px 0 40px rgba(0,0,0,0.2) !important;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        border-left: 1px solid var(--border-subtle) !important;
        left: auto !important;
        transform: none !important;
    }
    .header-nav.open,
    .nav-links.open,
    #nav-links.open {
        right: 0 !important;
    }

    /* Overlay escuro atrás do menu */
    .nav-overlay {
        position: fixed; inset: 0; z-index: 1999;
        background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
        opacity: 0; visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .nav-overlay.open { opacity: 1; visibility: visible; display: block !important; }

    /* Estilos internos da gaveta de navegação */
    .mobile-drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .mobile-drawer-logo {
        font-family: var(--font-brand);
        font-size: 1.4rem;
        color: var(--text-main);
        letter-spacing: 2px;
    }
    .mobile-drawer-close {
        background: none;
        border: none;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
        color: var(--text-muted);
        padding: 0 0.5rem;
    }
    .mobile-drawer-links {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        flex: 1;
    }

    /* Links do menu no drawer */
    .header-nav a,
    .nav-links a,
    #nav-links a {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 0.5rem !important;
        font-size: 0.95rem !important;
        border-bottom: 1px solid var(--border-subtle) !important;
        color: var(--text-main) !important;
        text-decoration: none !important;
        border-radius: 8px;
        transition: background 0.2s ease, padding-left 0.2s ease;
    }
    .nav-links a i,
    .nav-links a svg {
        width: 18px;
        height: 18px;
        color: var(--accent-primary);
        flex-shrink: 0;
    }
    .header-nav a:hover,
    .nav-links a:hover,
    #nav-links a:hover { color: var(--accent-primary) !important; background: rgba(234,184,117,0.08); padding-left: 0.75rem !important; }

    .mobile-drawer-footer {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid var(--border-subtle);
    }

    /* Hero: tipografia fluida */
    .hero-text-box h1  { font-size: clamp(2.2rem, 5vw, 4rem); }
    .hero-text-box      { padding: 2.5rem; max-width: 90%; }

    /* Product grid: 2 colunas */
    .products-grid,
    .product-grid      { grid-template-columns: repeat(2, 1fr); }

    /* Checkout: coluna única */
    .checkout-grid     { grid-template-columns: 1fr; }
    .order-summary     { order: -1; margin-bottom: 1.5rem; }

    /* Profile: coluna única */
    .profile-grid      { grid-template-columns: 1fr; }
    .profile-sidebar   { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
    .profile-nav-item  { flex: 0 0 auto; }
}

/* ─── Mobile (≤ 768px) ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hide-mobile  { display: none !important; }
    .show-mobile  { display: flex !important; }
    .container    { padding: 0 1rem; }

    /* Announcement bar: menor */
    .announcement-bar { font-size: 0.72rem; padding: 0.45rem 0.5rem; }

    /* Header: mais compacto */
    .header-content,
    .header-container { height: 60px; padding: 0 1rem; }

    /* Logo menor e sem overflow */
    .logo { font-size: 1.2rem !important; max-width: 140px; }
    .brand-name { font-size: 1.2rem !important; letter-spacing: 3px; }

    /* Hero fullscreen melhor no mobile */
    .hero-carousel { height: 100dvh; }
    .hero-text-box {
        padding: 1.75rem; max-width: 100%;
        border-radius: 20px;
        margin: 0 1rem;
    }
    .hero-text-box h1   { font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.1; }
    .hero-text-box p    { font-size: 0.9rem; }
    .carousel-content   { padding: 0 1rem; align-items: flex-end; padding-bottom: 6rem; }

    /* Section header mobile spacing */
    .section-header     { margin-bottom: 2rem !important; text-align: center; }
    .section-header h2  { font-size: 1.8rem !important; margin-bottom: 0.5rem !important; }
    .section-header p   { font-size: 0.9rem !important; margin-bottom: 0 !important; }

    /* Product grid: 2 colunas no mobile por padrão */
    .products-grid:not(.list-view),
    .product-grid       { grid-template-columns: repeat(2, 1fr) !important; gap: 0.85rem !important; }
    
    .products-grid.list-view { grid-template-columns: 1fr !important; gap: 1rem; }

    /* Product card: proporções mobile perfeitas */
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        border-radius: 16px !important;
        padding: 0.75rem !important;
        overflow: hidden;
    }
    
    .product-card .product-image-container,
    .product-grid .product-image-container,
    .products-grid:not(.list-view) .product-image-container,
    .product-card-image,
    .product-card-img-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 12px !important;
        overflow: hidden;
        position: relative;
        margin-bottom: 0.75rem !important;
    }
    
    .product-image-container img,
    .product-img-wrapper img,
    .product-card-image img,
    .product-card-img-wrap img,
    .product-card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .product-card .product-info,
    .product-card-body {
        flex: 1;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
        min-width: 0;
        text-align: center;
    }

    .product-info h3 {
        font-size: 0.92rem !important;
        font-family: var(--font-brand) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.3em;
    }

    .product-info .scent {
        font-size: 0.75rem !important;
        color: var(--text-muted) !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-info .price {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.75rem !important;
        display: block;
    }

    .btn-add-cart {
        padding: 0.55rem 0.5rem !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
        border-radius: 30px !important;
        width: 100% !important;
    }

    /* Se for list-view, forçar horizontal */
    .products-grid.list-view .product-card { flex-direction: row !important; padding: 0.75rem !important; }
    .products-grid.list-view .product-card-image,
    .products-grid.list-view .product-card-img-wrap { width: 30% !important; max-width: 140px !important; min-width: 90px !important; flex-shrink: 0; aspect-ratio: 1 !important; border-radius: 12px 0 0 12px !important; margin-bottom: 0 !important; }
    .products-grid.list-view .product-card-image img,
    .products-grid.list-view .product-card-img-wrap img { border-radius: 12px 0 0 12px !important; }

    /* Cart sidebar: fullscreen */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    /* Cart items: compacto */
    .cart-item { gap: 0.75rem; }
    .cart-item-image { width: 60px; height: 60px; border-radius: 8px; }

    /* Checkout */
    .checkout-container { padding: 0.75rem; }
    .checkout-section   { padding: 1.25rem; border-radius: 16px; }
    .checkout-steps     { gap: 0; }
    .step-label         { font-size: 0.65rem; }
    .form-row           { flex-direction: column; }

    /* Profile */
    .profile-sidebar    { gap: 0.35rem; }
    .profile-sidebar li a { font-size: 0.8rem; padding: 0.5rem 0.75rem; border-radius: 30px; }
    .profile-content    { padding: 1rem; }

    /* Loja: filtros em scroll horizontal */
    .filter-row         { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
    .filter-row::-webkit-scrollbar { display: none; }
    .filter-btn         { flex-shrink: 0; }

    /* Footer: coluna única */
    .footer-grid        { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand       { text-align: center; }
    .footer-links       { align-items: center; }

    /* Sections: menor espaçamento */
    section             { padding: clamp(2.5rem, 6vw, 5rem) 0; }

    /* Trust cards: 2 colunas */
    .trust-grid         { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .trust-card         { padding: 1rem; }

    /* Produto detalhe: stack */
    .product-detail-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .product-gallery     { position: static !important; }
    .product-thumbnails  { flex-direction: row; justify-content: center; max-height: none; overflow-x: auto; }
    .product-thumbnail   { flex-shrink: 0; width: 64px; height: 64px; }

    /* Checkout steps mobile: apenas ícone */
    .step-label { display: none; }
    .step-circle { width: 28px; height: 28px; font-size: 0.7rem; }

    /* Clube: cards em coluna */
    .plans-grid { grid-template-columns: 1fr; }

    /* Admin: forçar coluna */
    .kpi-grid           { grid-template-columns: repeat(2, 1fr); }
    .dashboard-tables   { grid-template-columns: 1fr; }
}

/* ─── Mobile pequeno (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .hero-text-box h1   { font-size: clamp(1.5rem, 8vw, 2.5rem); }
    .hero-text-box      { padding: 1.25rem; border-radius: 14px; }

    /* 2 colunas apenas quando em modo grid */
    .products-grid:not(.list-view),
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
    .products-grid:not(.list-view) .product-card,
    .product-grid .product-card { font-size: 0.85rem; flex-direction: column; }
    .products-grid:not(.list-view) .product-card-body,
    .product-grid .product-info { padding: 0.75rem; }
    .products-grid:not(.list-view) .product-card-image,
    .products-grid:not(.list-view) .product-card-img-wrap,
    .product-grid .product-image-container { width: 100%; max-width: 100%; aspect-ratio: 1; border-radius: 12px 12px 0 0; }

    /* Trust grid: 1 coluna */
    .trust-grid { grid-template-columns: 1fr; }

    /* Cart floating button */
    .cart-fab {
        position: fixed; bottom: 1.5rem; left: 1.5rem; right: auto; z-index: 900;
        width: 56px; height: 56px; border-radius: 50%;
        background: var(--accent-primary); color: #000;
        border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
        box-shadow: 0 8px 24px rgba(234,184,117,0.4);
        transition: transform 0.2s;
    }
    .cart-fab:active { transform: scale(0.92); }
    .cart-fab-count { position: absolute; top: -4px; right: -4px; background: #e74c3c; color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

    /* WhatsApp floating button mobile adjustments */
    .whatsapp-btn {
        bottom: 1.5rem; right: 1.5rem;
        width: 50px; height: 50px;
    }
    .whatsapp-btn svg { width: 22px; height: 22px; }

    /* Social proof: menor */
    .social-proof-toast { max-width: calc(100vw - 2rem); font-size: 0.8rem; padding: 0.75rem; }

    /* KPI cards: 1 coluna */
    .kpi-grid { grid-template-columns: 1fr; }
}

/* ─── Tablets em paisagem / Desktop pequeno (768px - 1024px) ─────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid,
    .product-grid { grid-template-columns: repeat(3, 1fr); }

    .product-card { flex-direction: column; }
    .product-card-image,
    .product-card-img-wrap { width: 100%; aspect-ratio: 4/3; border-radius: 12px 12px 0 0; }

    .checkout-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}

/* ─── Desktop (> 1024px) ─────────────────────────────────────────────────── */
@media (min-width: 1025px) {
    .products-grid,
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

    .product-card         { flex-direction: column; }
    .product-card-image,
    .product-card-img-wrap { width: 100%; aspect-ratio: 4/3; border-radius: 12px 12px 0 0; }

    /* Checkout: 2 colunas (form + summary) */
    .checkout-grid { grid-template-columns: 1fr 380px; }

    /* Profile: sidebar + content */
    .profile-grid  { grid-template-columns: 240px 1fr; }
}

/* ─── Print ───────────────────────────────────────────────────────────────── */
@media print {
    .header-main, .cart-sidebar, .announcement-bar,
    .footer-main, .social-proof-toast, .lightbox-overlay,
    .mobile-menu-btn, .whatsapp-btn { display: none !important; }
    body { background: #fff; color: #000; }
    .checkout-section { box-shadow: none; border: 1px solid #ccc; }
}

/* ─── Reduced Motion (acessibilidade) ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .skeleton { animation: none; background: var(--border-solid); }
}

/* Event-only 3D commerce flow */
.admin-3d-config {
    border-color: color-mix(in srgb, var(--accent-primary) 45%, var(--border-solid));
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent-primary) 6%, var(--bg-card)), var(--bg-card));
}

.admin-3d-config__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.admin-3d-config__header h3 {
    margin: 0.15rem 0 0;
}

.admin-3d-config__eyebrow {
    margin: 0;
    color: var(--accent-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-3d-config__description {
    max-width: 760px;
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.admin-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    white-space: nowrap;
}

.admin-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.admin-switch span {
    position: relative;
    width: 46px;
    height: 26px;
    border: 1px solid var(--border-solid);
    border-radius: 999px;
    background: color-mix(in srgb, var(--text-muted) 20%, transparent);
    transition: 180ms ease;
}

.admin-switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
    content: '';
    transition: 180ms ease;
}

.admin-switch input:checked + span {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
}

.admin-switch input:checked + span::after {
    transform: translateX(20px);
}

.admin-switch input:focus-visible + span {
    outline: 3px solid color-mix(in srgb, var(--accent-primary) 35%, transparent);
    outline-offset: 3px;
}

.admin-switch input:disabled + span,
.admin-switch input:disabled ~ strong {
    cursor: not-allowed;
    opacity: 0.42;
}

.admin-3d-config__status {
    align-self: end;
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-solid);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.admin-3d-config__status.is-enabled {
    border-color: rgba(39, 174, 96, 0.35);
    background: rgba(39, 174, 96, 0.07);
    color: #239b56;
}

.admin-preview-3d-badge,
.admin-table-3d-badge,
.landing-product-card__3d,
.product-card-3d-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 1px solid rgba(234, 184, 117, 0.4);
    border-radius: 999px;
    background: rgba(234, 184, 117, 0.12);
    color: var(--accent-primary);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-preview-3d-badge,
.admin-table-3d-badge,
.landing-product-card__3d {
    margin-top: 0.45rem;
    padding: 0.28rem 0.55rem;
}

.product-card-3d-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 6;
    padding: 0.38rem 0.65rem;
    background: rgba(15, 14, 12, 0.82);
    backdrop-filter: blur(8px);
}

.product-3d-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.product-3d-section {
    margin: 5rem 0 1rem;
    scroll-margin-top: 110px;
}

.product-3d-section__intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.product-3d-section__intro h2 {
    margin: 0.45rem 0 0.7rem;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
}

.product-3d-section__intro > p:last-child {
    color: var(--text-muted);
    line-height: 1.7;
}

.cvs-product-context {
    display: block;
    margin-top: 0.7rem;
    color: #dfba83;
    font-size: 0.69rem;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.cvs-share-status {
    min-height: 2.4em;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
    line-height: 1.45;
    text-align: center;
}

.cvs-share-status[data-state='success'] {
    color: #8ce1ac;
}

.cvs-share-status[data-state='error'] {
    color: #ff9d9d;
}

@media (max-width: 720px) {
    .admin-3d-config__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-3d-section {
        margin-top: 3.5rem;
    }

    .product-card-3d-badge {
        bottom: 9px;
        left: 9px;
        font-size: 0.58rem;
    }
}

/* === FILTROS SENSORIAIS (AROMAS E INTENSIDADE) === */
.filter-sensorial select {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-solid);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eab875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}
.filter-sensorial select:hover, .filter-sensorial select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(234, 184, 117, 0.15);
}

/* === EXIT-INTENT POPUP MODAL === */
.exit-intent-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.exit-intent-overlay.show {
    opacity: 1; pointer-events: auto;
}
.exit-intent-modal {
    background: var(--bg-card, #FAF9F6);
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.exit-intent-overlay.show .exit-intent-modal {
    transform: scale(1);
}
.exit-intent-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: none; border: none;
    color: var(--text-muted); cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.exit-intent-close:hover {
    color: var(--accent-primary);
}
.exit-intent-modal h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}
.exit-intent-modal p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.exit-intent-coupon-box {
    background: rgba(234, 184, 117, 0.1);
    border: 2px dashed var(--accent-primary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}
.exit-intent-coupon-box:hover {
    background: rgba(234, 184, 117, 0.18);
}
.exit-intent-coupon-code {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: var(--accent-primary);
    font-weight: 700;
}
.exit-intent-coupon-copy-hint {
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-top: 0.35rem;
}

/* CEP Loading Style */
.checkout-input.loading-cep {
    background: rgba(234, 184, 117, 0.05) !important;
    border-color: var(--accent-primary) !important;
    cursor: wait;
    opacity: 0.7;
}

/* Quantity Tiers Styles */
.qty-tier-btn {
    transition: var(--transition);
}
.qty-tier-btn:hover {
    border-color: var(--accent-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* === INSTAGRAM SECTION === */
.instagram-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(234,184,117,0.03) 100%);
    border-top: 1px solid var(--border-solid);
}
.instagram-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.instagram-header .section-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}
.instagram-header h2 {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 1.2rem;
}
.instagram-handle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-solid);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.4);
}
.instagram-handle:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.05);
    transform: translateY(-2px);
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}
@media (min-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.2rem;
    }
}
.instagram-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 40, 37, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    color: #fff;
    padding: 1rem;
    text-align: center;
}
.instagram-overlay i {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--accent-primary);
}
.instagram-overlay span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}
.instagram-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}
.instagram-item:hover img {
    transform: scale(1.08);
}
.instagram-item:hover .instagram-overlay {
    opacity: 1;
}
.instagram-item:hover .instagram-overlay i,
.instagram-item:hover .instagram-overlay span {
    transform: translateY(0);
}

/* === EXPERIENCE SECTION REVAMP === */
.experience-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(234,184,117,0.03) 100%);
    border-top: 1px solid var(--border-solid);
    overflow: hidden;
}
.experience-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 1024px) {
    .experience-split {
        grid-template-columns: 1.1fr 1.9fr;
        gap: 5rem;
    }
}
@keyframes futuristicScanBeam {
    0% { top: -10%; opacity: 0; }
    15% { opacity: 0.85; }
    85% { opacity: 0.85; }
    100% { top: 110%; opacity: 0; }
}

@keyframes badgeFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.experience-banner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(234, 184, 117, 0.3);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 2rem;
    color: #fff;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.experience-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(234, 184, 117, 0.25);
    border-color: var(--accent-primary);
}

/* Palco 3D da Vela Branca Desmonta/Monta (Sem feixe laser antiquado) */
.experience-banner::after {
    display: none;
}

.white-candle-3d-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    perspective: 1200px;
    overflow: hidden;
}

.candle-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.candle-3d-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.candle-3d-img.state-assembled {
    opacity: 0;
    transform: scale(0.96);
}

.candle-3d-img.state-flame {
    opacity: 1;
    transform: scale(1);
}

/* Aura de Chama Quente e Efeito de Ignição */
.candle-3d-aura {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 195, 90, 0.5) 0%, rgba(234, 184, 117, 0.18) 50%, transparent 75%);
    filter: blur(35px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
    animation: candleFlameFlicker 3s infinite ease-in-out;
}

@keyframes candleFlameFlicker {
    0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
    30% { opacity: 0.95; transform: translate(-50%, -52%) scale(1.08); }
    70% { opacity: 0.8; transform: translate(-49%, -48%) scale(0.96); }
}

.experience-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.82) 100%);
    z-index: 2;
}

.experience-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.experience-banner:hover img {
    transform: scale(1.08);
}

.sensory-floating-badge {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(18, 14, 11, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 184, 117, 0.4);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    animation: badgeFloat 4s ease-in-out infinite;
}

.experience-banner-content {
    position: relative;
    z-index: 3;
}

.experience-banner-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.experience-banner h3 {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.experience-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.experience-banner-glow {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(234, 184, 117, 0.45) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: flamePulse 5s ease-in-out infinite;
}

@keyframes flamePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.3); }
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

/* Cartões com Iluminação 3D e Rastreamento de Cursor */
.experience-card {
    background: radial-gradient(
        circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(234, 184, 117, 0.15) 0%,
        var(--bg-card) 75%
    ) !important;
    border: 1px solid var(--border-solid);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.45s ease !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.experience-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, rgba(234, 184, 117, 0.3) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 50px rgba(42, 40, 37, 0.14), 0 0 25px rgba(234, 184, 117, 0.25) !important;
    border-color: var(--accent-primary) !important;
}

.experience-card:hover::after {
    opacity: 1;
}

.experience-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(234, 184, 117, 0.08);
    border: 1px solid rgba(234, 184, 117, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                background-color 0.4s ease, 
                box-shadow 0.4s ease, 
                color 0.4s ease;
}

.experience-card:hover .experience-card-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 0 20px rgba(234, 184, 117, 0.6);
}

.experience-card-icon i {
    width: 24px;
    height: 24px;
}

.experience-card h4 {
    font-family: var(--font-brand);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.experience-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =============================================
   SKELETON LOADERS (UX/UI Polish)
   ============================================= */
.skeleton-card {
    pointer-events: none;
}
.skeleton-img, .skeleton-title, .skeleton-scent, .skeleton-price, .skeleton-btn {
    background: linear-gradient(90deg, var(--border-solid) 25%, rgba(234, 184, 117, 0.1) 50%, var(--border-solid) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
    border-radius: 8px;
}
.skeleton-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px 16px 0 0;
}
.skeleton-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.skeleton-title {
    height: 1.25rem;
    width: 80%;
}
.skeleton-scent {
    height: 0.85rem;
    width: 50%;
}
.skeleton-price {
    height: 1.1rem;
    width: 35%;
    margin-top: 0.5rem;
}
.skeleton-btn {
    height: 2.8rem;
    width: 100%;
    border-radius: 50px;
    margin-top: 1rem;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================
   STEPPED CHECKOUT WIZARD (UX/UI Polish)
   ============================================= */
.checkout-step-container {
    background: var(--bg-card);
    border: 1px solid var(--border-solid);
    border-radius: 18px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-soft);
}
.checkout-step-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: rgba(234, 184, 117, 0.02);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.checkout-step-header:hover {
    background: rgba(234, 184, 117, 0.04);
}
.checkout-step-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    flex: 1;
}
.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-solid);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
}
.step-status-icon {
    opacity: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}
.checkout-step-body {
    max-height: 0;
    padding: 0 1.5rem;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0.4s;
}

.checkout-step-container.active .checkout-step-header {
    border-bottom-color: var(--border-solid);
    background: rgba(234, 184, 117, 0.05);
}
.checkout-step-container.active .step-number {
    background: var(--accent-primary);
    color: #2A2825;
}
.checkout-step-container.active .checkout-step-body {
    max-height: 1200px;
    padding: 1.8rem 1.5rem;
    opacity: 1;
    visibility: visible;
}
.checkout-step-container.completed .step-status-icon {
    opacity: 1;
}
.checkout-step-container.completed .step-number {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}
.btn-next-step {
    width: auto;
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 0.82rem;
    border-radius: 50px;
}

/* Product Card Cross-Fade Hover (Desktop) */
@media (min-width: 769px) {
    .product-card:hover .main-img,
    .product-card:hover .product-card-img.main-img {
        opacity: 0 !important;
    }
    .product-card:hover .hover-img,
    .product-card:hover .product-card-img.hover-img {
        opacity: 1 !important;
    }
}

/* Hub Cards */
.hub-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary) !important;
    background: rgba(234, 184, 117, 0.06) !important;
    box-shadow: 0 8px 24px rgba(234, 184, 117, 0.08);
}

/* ==========================================================================
   EFEITOS AVANÇADOS UX/UI & LUXO (Gold Shimmer, Scent Pyramid, Quiz & Scroll)
   ========================================================================== */

/* 1. Botão Gold Shimmer (Efeito Líquido Dourado) */
.btn-gold-shimmer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EAB875 0%, #C8943A 100%);
    color: #1A1815 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 15px rgba(234, 184, 117, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-gold-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: rotate(30deg);
    transition: all 0.75s ease;
}
.btn-gold-shimmer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 184, 117, 0.45);
}
.btn-gold-shimmer:hover::after {
    left: 130%;
}

/* 2. Pirâmide Olfativa nos Cards de Produto */
.scent-pyramid-badge {
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(234, 184, 117, 0.08);
    border: 1px solid var(--border-solid);
    border-radius: 8px;
    font-size: 0.73rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    transition: all 0.3s ease;
}
.product-card:hover .scent-pyramid-badge {
    background: rgba(234, 184, 117, 0.15);
    border-color: var(--accent-primary);
}
.scent-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.4rem;
    background: var(--bg-main);
    border-radius: 4px;
    font-weight: 500;
    color: var(--text-main);
}

/* 3. Quiz Olfativo Interativo ("Descubra seu Aroma Ideal") */
.fragrance-quiz-banner {
    background: linear-gradient(135deg, rgba(234, 184, 117, 0.1) 0%, rgba(200, 148, 58, 0.05) 100%);
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.fragrance-quiz-banner h2 {
    font-family: var(--font-brand);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.fragrance-quiz-banner p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-size: 0.95rem;
}

/* Quiz Modal */
claravellas-fragrance-quiz {
    display: block;
    position: relative;
    z-index: 100000;
}

.quiz-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.quiz-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.quiz-modal {
    background: var(--bg-main);
    border: 1px solid var(--border-solid);
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    padding: 2.5rem;
    box-shadow: var(--shadow-heavy);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.quiz-overlay.open .quiz-modal {
    transform: translateY(0) scale(1);
}
.quiz-close-btn {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.quiz-close-btn:hover { color: var(--text-main); }

.quiz-progress-bar {
    height: 4px;
    background: rgba(234, 184, 117, 0.2);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.quiz-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 33%;
    transition: width 0.4s ease;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.quiz-option-card {
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-solid);
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}
.quiz-option-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(234, 184, 117, 0.15);
}
.quiz-option-card i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    display: block;
}
.quiz-option-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.quiz-option-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 4. Scroll Reveal Smooth Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. SKELETON SCREENS & CORE WEB VITALS (Zero CLS)
   ========================================================================== */
.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(234, 184, 117, 0.06) 25%, rgba(234, 184, 117, 0.18) 50%, rgba(234, 184, 117, 0.06) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s infinite linear;
}
.skeleton-title {
    height: 20px;
    width: 70%;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(234, 184, 117, 0.06) 25%, rgba(234, 184, 117, 0.18) 50%, rgba(234, 184, 117, 0.06) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s infinite linear;
}
.skeleton-text {
    height: 14px;
    width: 90%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(234, 184, 117, 0.06) 25%, rgba(234, 184, 117, 0.18) 50%, rgba(234, 184, 117, 0.06) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s infinite linear;
}
.skeleton-btn {
    height: 42px;
    width: 100%;
    border-radius: 50px;
    margin-top: auto;
    background: linear-gradient(90deg, rgba(234, 184, 117, 0.06) 25%, rgba(234, 184, 117, 0.18) 50%, rgba(234, 184, 117, 0.06) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s infinite linear;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   6. CARROSSEL DE DEPOIMENTOS INTERATIVO (UX & Acessibilidade)
   ========================================================================== */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 3rem 0;
}
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
    .testimonial-card { flex: 0 0 calc(50% - 0.75rem); max-width: calc(50% - 0.75rem); }
}
@media (min-width: 1024px) {
    .testimonial-card { flex: 0 0 calc(33.333% - 1rem); max-width: calc(33.333% - 1rem); }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
/* ==========================================================================
   6. LUXURY MOTION DESIGN & MICRO-ANIMATIONS SUITE (Claravellas®)
   ========================================================================== */

/* Keyframes de Animação de Luxo */
@keyframes goldSheen {
    0% { transform: translateX(-100%) rotate(25deg); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
}

@keyframes luxuryFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0px); }
}

@keyframes ambientCandlePulse {
    0% { opacity: 0.6; filter: drop-shadow(0 0 2px rgba(234, 184, 117, 0.3)); }
    50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(234, 184, 117, 0.8)); }
    100% { opacity: 0.6; filter: drop-shadow(0 0 2px rgba(234, 184, 117, 0.3)); }
}

@keyframes borderGlowSweep {
    0% { border-color: rgba(234, 184, 117, 0.2); box-shadow: 0 0 5px rgba(234, 184, 117, 0.1); }
    50% { border-color: rgba(234, 184, 117, 0.7); box-shadow: 0 0 20px rgba(234, 184, 117, 0.3); }
    100% { border-color: rgba(234, 184, 117, 0.2); box-shadow: 0 0 5px rgba(234, 184, 117, 0.1); }
}

@keyframes badgePulseRing {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(39, 174, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

@keyframes goldBadgePulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 184, 117, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(234, 184, 117, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 184, 117, 0); }
}

/* Polimento das Transições de Cartões e Produtos */
.product-card, .collection-card, .highlight-card, .testimonial-card {
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.45s ease, 
                background-color 0.45s ease !important;
    will-change: transform, box-shadow;
}

.product-card:hover, .collection-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(42, 40, 37, 0.12), 0 0 15px rgba(234, 184, 117, 0.2) !important;
    border-color: rgba(234, 184, 117, 0.4) !important;
}

.product-card .product-img, 
.collection-card img,
.gallery-thumb img {
    transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease !important;
}

.product-card:hover .product-img,
.collection-card:hover img {
    transform: scale(1.07);
}

/* Efeito Sheen (Reflexo de Luz Diagonal no Hover) nos Botões e Cartões */
.btn-primary, .product-card, .bundle-builder-card, .custom-builder-container {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 45%, 
        rgba(255, 255, 255, 0.35) 50%, 
        rgba(255, 255, 255, 0.15) 55%, 
        transparent 100%
    );
    transform: translateX(-100%) rotate(25deg);
    pointer-events: none;
    transition: none;
}

.btn-primary:hover::before, .product-card:hover::before {
    animation: goldSheen 0.85s ease-in-out;
}

/* Interação com Botões (Feedback Magnético/Clique) */
.btn, .btn-primary, .btn-secondary, .btn-outline, .qty-btn-detail, .home-tier-btn, .qty-tier-btn {
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.25s ease, 
                background-color 0.25s ease, 
                color 0.25s ease, 
                border-color 0.25s ease !important;
}

.btn:active, .btn-primary:active, .btn-outline:active {
    transform: scale(0.96) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 184, 117, 0.35);
}

/* Badges Animadas */
.badge-stock-ok, .status-badge.success {
    animation: badgePulseRing 2.5s infinite;
}

.gallery-badge.badge-collection, .club-vip-badge {
    animation: goldBadgePulse 3s infinite;
}

/* Icones Especiais Animados */
[data-lucide="flame"], .flame-icon-animated {
    animation: ambientCandlePulse 2s infinite ease-in-out;
}

.floating-element {
    animation: luxuryFloat 4s ease-in-out infinite;
}

/* Versões Avançadas do Scroll Reveal */
.reveal, .reveal-up, .reveal-scale, .reveal-fade, .reveal-left, .reveal-right, .reveal-on-scroll {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

.reveal, .reveal-up, .reveal-on-scroll {
    transform: translateY(35px);
}

.reveal-scale {
    transform: scale(0.94);
}

.reveal-fade {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

/* Estados Ativados pelo Scroll Observer */
.reveal.active, .reveal-up.active, .reveal-scale.active, .reveal-fade.active, 
.reveal-left.active, .reveal-right.active, .reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) translateX(0) !important;
}

/* Efeito de Underline Animado nos Links de Navegação */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animação Suave nas Thumbs da Galeria de Fotos */
.gallery-thumb {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.gallery-thumb:hover {
    transform: scale(1.06);
    border-color: var(--accent-primary) !important;
    box-shadow: 0 4px 12px rgba(234, 184, 117, 0.3);
}

.gallery-thumb.active {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 2px var(--accent-primary);
}

/* ==========================================================================
   STICKY CRO BUY BAR (GSAP High-Conversion Floating Bar)
   ========================================================================== */
.sticky-cro-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(18, 14, 11, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--accent-primary);
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.4);
    z-index: 1500;
    padding: 0.8rem 1.5rem;
    transition: bottom 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sticky-cro-bar.visible {
    bottom: 0;
}

.sticky-cro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-cro-badge {
    font-size: 0.72rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.sticky-cro-info h4 {
    font-family: var(--font-brand);
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.sticky-cro-action {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sticky-cro-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .sticky-cro-info { display: none; }
    .sticky-cro-container { justify-content: center; }
}

/* ==========================================================================
   SUITE DE ANIMAÇÕES LUXUOSAS E MICRO-INTERAÇÕES (Claravellas)
   ========================================================================== */

/* 1. Barra de Progresso de Rolagem de Página no Topo do Header */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #EAB875 0%, #FFF0D4 50%, #EAB875 100%);
    background-size: 200% 100%;
    z-index: 99999;
    box-shadow: 0 0 12px rgba(234, 184, 117, 0.85);
    animation: goldSheenSweep 3s linear infinite;
    pointer-events: none;
    transition: width 0.1s ease-out;
}

/* 2. Canvas de Brasas Douradas de Vela em Seções Hero */
.ember-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

/* 3. Efeito Ripple (Onda de Clique) nos Botões */
.ripple-container {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(234, 184, 117, 0.2) 70%, transparent 100%);
    transform: scale(0);
    animation: rippleEffect 0.65s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* 4. Sheen Dourado (Varredura de Brilho Metálico) em Botões Primários */
.btn-primary, .cta-button, .hero-cta, .add-to-cart-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, background 0.3s ease;
}

.btn-primary::after, .cta-button::after, .hero-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 80%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );
    transform: rotate(25deg);
    transition: none;
}

.btn-primary:hover::after, .cta-button:hover::after, .hero-cta:hover::after {
    left: 200%;
    transition: left 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes goldSheenSweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 5. Aura de Chama Oscilante nos Cards de Produtos no Hover */
.product-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.3s ease !important;
}

.product-card:hover {
    animation: flameAuraPulse 3s ease-in-out infinite alternate;
    border-color: rgba(234, 184, 117, 0.5) !important;
}

@keyframes flameAuraPulse {
    0% {
        box-shadow: 0 12px 35px rgba(234, 184, 117, 0.18), 0 0 15px rgba(255, 160, 50, 0.1);
    }
    50% {
        box-shadow: 0 18px 45px rgba(234, 184, 117, 0.35), 0 0 25px rgba(255, 180, 80, 0.25);
    }
    100% {
        box-shadow: 0 14px 38px rgba(234, 184, 117, 0.22), 0 0 18px rgba(255, 150, 40, 0.15);
    }
}

/* Reflexo Holográfico Glare em Cards 3D */
.product-card::before, .trust-card::before, .experience-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.12),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover::before, .trust-card:hover::before, .experience-card:hover::before {
    opacity: 1;
}

/* 6. Novas Animações de Scroll Reveal */
.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.75s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.75s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-blur-in {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(25px);
    transition: opacity 0.85s ease, filter 0.85s ease, transform 0.85s ease;
}

.reveal-flip {
    opacity: 0;
    transform: perspective(900px) rotateX(-25deg) translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-rotate {
    opacity: 0;
    transform: rotate(-4deg) scale(0.94);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-zoom-in.active, .reveal-blur-in.active, .reveal-flip.active, .reveal-rotate.active,
.reveal-zoom-in.revealed, .reveal-blur-in.revealed, .reveal-flip.revealed, .reveal-rotate.revealed {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: none !important;
}

/* 7. Suporte a Desativação de Animações em Preferência do Usuário (Acessibilidade WCAG) */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ember-canvas, .sensory-video-bg { display: none !important; }
}

/* ==========================================================================
   SEÇÃO CINEMATOGRÁFICA IMERSIVA COM VÍDEO & SCROLL PARALLAX
   ========================================================================== */
.sensory-ambient-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
    border-radius: 32px;
    box-shadow: var(--shadow-heavy);
    background: #0F0D0A;
}

.sensory-video-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 125%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
    filter: brightness(0.75) contrast(1.15) saturate(1.1);
    transition: transform 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.sensory-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(20, 14, 10, 0.35) 0%, rgba(10, 7, 5, 0.88) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.sensory-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #FAF2E8;
    padding: 3.8rem 2.5rem;
    border-radius: 28px;
    background: rgba(18, 13, 9, 0.52);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(234, 184, 117, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(234, 184, 117, 0.12);
    animation: ambientCandlePulseGlow 4s ease-in-out infinite alternate;
}

@keyframes ambientCandlePulseGlow {
    0% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(234, 184, 117, 0.1);
        border-color: rgba(234, 184, 117, 0.25);
    }
    50% {
        box-shadow: 0 30px 75px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 170, 60, 0.25);
        border-color: rgba(234, 184, 117, 0.5);
    }
    100% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(234, 184, 117, 0.15);
        border-color: rgba(234, 184, 117, 0.3);
    }
}

.sensory-badge {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 1.2rem;
    background: rgba(234, 184, 117, 0.12);
    border: 1px solid rgba(234, 184, 117, 0.25);
    border-radius: 50px;
}

.sensory-title {
    font-family: var(--font-brand);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    color: #FAF2E8;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.sensory-desc {
    font-size: 1.05rem;
    color: rgba(250, 242, 232, 0.85);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.sensory-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .sensory-ambient-section {
        min-height: 60vh;
        margin: 3rem 1rem;
        border-radius: 24px;
    }
    .sensory-content {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   SEÇÃO SCROLLYTELLING "A ALMA DA CLARAVELLAS" (GSAP + ScrollTrigger 3D)
   ========================================================================== */
.scrollytelling-section {
    position: relative;
    height: auto;
    padding: 3.5rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-main, #FAF8F5) 0%, #F5F0EB 50%, var(--bg-main, #FAF8F5) 100%);
    transition: background-color 0.4s ease;
    overflow: hidden;
}

[data-theme="dark"] .scrollytelling-section {
    background: linear-gradient(180deg, #0B0A08 0%, #12100C 50%, #0B0A08 100%);
}

.scrollytelling-section .pin-wrapper {
    position: relative;
    top: 0;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.scrollytelling-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    height: auto;
    max-height: 85vh;
    width: 100%;
    max-width: 1400px;
}

/* --- LADO ESQUERDO: PALCO CINEMÁTICO DE CAMADAS FOTORREALISTAS --- */
.scrolly-visual-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    perspective: 1000px;
}

.scrolly-studio-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    border-radius: 36px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 24, 18, 0.95) 0%, rgba(12, 10, 8, 0.98) 100%);
    border: 1.5px solid rgba(234, 184, 117, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(234, 184, 117, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

[data-theme="dark"] .scrolly-studio-card {
    border-color: rgba(234, 184, 117, 0.25);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 40px rgba(234, 184, 117, 0.15);
}

/* Container de Camadas Fotorrealistas (Cross-Fade 8K) */
.scrolly-layers-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    z-index: 2;
}

#scrolly-main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.06) brightness(0.95);
    border-radius: 36px;
    pointer-events: none;
    transition: filter 0.8s ease, transform 0.8s ease;
}

.scrolly-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    filter: contrast(1.05) brightness(0.96);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
    will-change: opacity, transform;
}

.scrolly-layer.active {
    opacity: 1;
    transform: scale(1);
}

/* Reflexo de Vidro Premium */
.scrolly-glass-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Aura de Iluminação Quente da Chama */
.scrolly-ambient-warmth {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 180, 70, 0.45) 0%, rgba(234, 184, 117, 0.15) 45%, transparent 75%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scrolly-ambient-warmth.active {
    opacity: 1;
    animation: warmthPulse 3.5s infinite ease-in-out;
}

@keyframes warmthPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Partículas Douradas de Essências (Scent Sparks) */
.scrolly-scent-sparks {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 160px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 4;
}

.scrolly-scent-sparks.active {
    opacity: 0.9;
}

.scrolly-scent-sparks span {
    position: absolute;
    bottom: 0;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, rgba(255, 220, 160, 0.95) 0%, rgba(234, 184, 117, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    filter: blur(6px);
    animation: sparkRise 3.2s infinite ease-in-out;
}

.scrolly-scent-sparks span:nth-child(1) { left: 10%; animation-delay: 0s; }
.scrolly-scent-sparks span:nth-child(2) { left: 32%; animation-delay: 0.7s; }
.scrolly-scent-sparks span:nth-child(3) { left: 55%; animation-delay: 1.4s; }
.scrolly-scent-sparks span:nth-child(4) { left: 75%; animation-delay: 2.1s; }
.scrolly-scent-sparks span:nth-child(5) { left: 90%; animation-delay: 2.8s; }

@keyframes sparkRise {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    50% { opacity: 0.85; }
    100% { transform: translateY(-130px) scale(2.4); opacity: 0; }
}

.scrolly-gold-flare {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(234, 184, 117, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 4;
}

/* --- LADO DIREITO: NARRATIVA EDITORIAL & STEPPER INTERATIVO --- */
.scrolly-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
}

.scrolly-header-tag span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
}

.scrolly-header-tag h2 {
    font-family: var(--font-brand);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

/* Stepper Editorial de Progresso (Pílulas) */
.scrolly-nav-stepper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.scrolly-nav-stepper::-webkit-scrollbar { display: none; }

.scrolly-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
}

[data-theme="dark"] .scrolly-step-pill {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.scrolly-step-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background-color 0.35s ease, transform 0.35s ease;
}

.scrolly-step-pill:hover {
    border-color: var(--accent-primary);
    color: var(--text-main);
}

.scrolly-step-pill.active {
    background: rgba(234, 184, 117, 0.16);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 700;
}

.scrolly-step-pill.active .pill-dot {
    background: var(--accent-primary);
    transform: scale(1.4);
}

.scrolly-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

[data-theme="dark"] .scrolly-progress-track {
    background: rgba(255, 255, 255, 0.08);
}

.scrolly-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0.25);
    background: linear-gradient(90deg, var(--accent-primary) 0%, #F5D096 100%);
    border-radius: 4px;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Container de Vidro Estável (Zero Flashes / Zero Espaço em Branco) */
.scrolly-cards-wrapper {
    position: relative;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(234, 184, 117, 0.35);
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 0 0 35px rgba(234, 184, 117, 0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    will-change: transform;
}

[data-theme="dark"] .scrolly-cards-wrapper {
    background: rgba(24, 20, 16, 0.92);
    border-color: rgba(234, 184, 117, 0.25);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(234, 184, 117, 0.14);
}

.scrolly-step-card {
    position: absolute;
    inset: 0;
    padding: 1.8rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 32px, 0) scale(0.96);
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
}

.scrolly-step-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.scrolly-step-card.prev {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -32px, 0) scale(0.96);
}

.scrolly-step-card.next {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 32px, 0) scale(0.96);
}

.scrolly-step-card .step-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.14);
    border: 1px solid rgba(234, 184, 117, 0.35);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.scrolly-step-card h3 {
    font-family: var(--font-brand);
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.scrolly-step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== SCROLLYTELLING: RESPONSIVIDADE COMPLETA ===== */

/* Tablet larga (992–1280px) */
@media (max-width: 1280px) {
    .scrolly-studio-card {
        max-width: 420px;
        height: 420px;
    }
}

/* Tablet (768–992px): empilhar vídeo em cima, texto abaixo */
@media (max-width: 992px) {
    .scrollytelling-section {
        height: auto;
        min-height: 100vh;
    }
    .scrollytelling-section .pin-wrapper {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 5rem 0 3rem;
        align-items: flex-start;
        overflow: visible;
    }
    .scrollytelling-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: none;
        height: auto;
        align-items: flex-start;
    }
    .scrolly-visual-stage {
        height: auto;
        justify-content: center;
    }
    .scrolly-studio-card {
        height: 340px;
        max-width: 360px;
        border-radius: 28px;
    }
    .scrolly-text-column {
        height: auto;
        justify-content: flex-start;
    }
    .scrolly-cards-wrapper {
        min-height: 200px;
    }
    .scrolly-step-card {
        padding: 1.3rem;
    }
    .scrolly-step-pill {
        padding: 0.35rem 0.75rem;
        font-size: 0.7rem;
    }
    .scrolly-header-tag h2 {
        font-size: 1.5rem;
    }
}

/* Mobile (≤ 767px): layout compacto de tela cheia */
@media (max-width: 767px) {
    .scrollytelling-section {
        height: auto;
    }
    .scrollytelling-section .pin-wrapper {
        position: relative;
        height: auto;
        padding: 5.5rem 0 2.5rem;
        overflow: visible;
    }
    .scrollytelling-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-height: none;
        height: auto;
    }
    .scrolly-studio-card {
        height: 260px;
        max-width: 100%;
        border-radius: 20px;
    }
    .scrolly-nav-stepper {
        gap: 0.4rem;
        padding-bottom: 0.6rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .scrolly-step-pill {
        padding: 0.3rem 0.65rem;
        font-size: 0.68rem;
        flex-shrink: 0;
    }
    .scrolly-header-tag h2 {
        font-size: 1.3rem;
    }
    .scrolly-step-card {
        padding: 1.1rem;
        border-radius: 16px;
    }
    .scrolly-step-card h3 {
        font-size: 1.1rem;
    }
    .scrolly-step-card p {
        font-size: 0.88rem;
    }
    .scrolly-cards-wrapper {
        min-height: 160px;
    }
}

/* Mobile pequeno (≤ 480px) */
@media (max-width: 480px) {
    .scrolly-studio-card {
        height: 220px;
        border-radius: 16px;
    }
    .scrolly-ambient-warmth {
        width: 200px;
        height: 200px;
    }
}

/* ==========================================================================
   OTIMIZAÇÃO DE PERFORMANCE E ACELERAÇÃO DE HARDWARE (GPU LAYERS 60 FPS)
   ========================================================================== */
.scrollytelling-section,
.scrolly-visual-stage,
.scrolly-studio-card,
#scrolly-main-video,
.experience-banner,
.hero-carousel,
.product-card {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Rendering Otimizado de Conteúdo e Imagens */
.collection-card, .product-card, .experience-card {
    content-visibility: auto;
    contain-intrinsic-size: 1px 300px;
}

/* ==========================================================================
   SCROLLYTELLING: ANIMAÇÃO DE TROCA DE CAPÍTULO
   ========================================================================== */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.scrolly-step-card.card-entering {
    animation: cardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scrolly-step-card.card-exiting {
    animation: cardExit 0.3s ease forwards;
}

/* Indicador de scroll live dentro da seção */
.scrolly-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.scrolly-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.7); opacity: 0.4; }
}

/* ==========================================================================
   BARRA FLUTUANTE DE ACESSO RÁPIDO À VITRINE
   ========================================================================== */
.floating-shop-bar {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
    pointer-events: none;
}

.floating-shop-bar.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fsb-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Atalhos de categoria — ocultos por padrão, revelados no hover */
.fsb-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                transform 0.35s ease;
}

.floating-shop-bar:hover .fsb-shortcuts,
.floating-shop-bar:focus-within .fsb-shortcuts {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.fsb-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border-solid);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.fsb-shortcut:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.08);
    transform: translateX(-4px);
}

.fsb-shortcut-icon {
    font-size: 0.9rem;
    line-height: 1;
}

/* Botão principal da barra */
.fsb-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: var(--accent-primary);
    color: #1a1410;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 6px 24px rgba(234, 184, 117, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.fsb-main-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 32px rgba(234, 184, 117, 0.55);
    background: #f0c884;
}

.fsb-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Dark mode */
[data-theme="dark"] .fsb-shortcut {
    background: rgba(30, 25, 18, 0.92);
    border-color: rgba(234, 184, 117, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .fsb-shortcut:hover {
    background: rgba(234, 184, 117, 0.12);
}

/* Mobile: compactar e ajustar posição */
@media (max-width: 767px) {
    .floating-shop-bar {
        bottom: 5rem;
        right: 1rem;
    }
    .fsb-main-btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.8rem;
    }
    .fsb-label {
        display: none;
    }
    .fsb-icon {
        font-size: 1.2rem;
    }
    .fsb-main-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

/* ==========================================================================
   SIMULADOR INTERATIVO DE RÓTULOS & ATELIÊ VIRTUAL (LIVE PREVIEW)
   ========================================================================== */
.label-simulator-wrapper {
    position: relative;
    padding: 4.5rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-main, #FAF8F5) 0%, #F4ECE1 50%, var(--bg-main, #FAF8F5) 100%);
    border-top: 1px solid var(--border-solid);
    border-bottom: 1px solid var(--border-solid);
    overflow: hidden;
}

[data-theme="dark"] .label-simulator-wrapper {
    background: linear-gradient(180deg, #0D0B08 0%, #15110B 50%, #0D0B08 100%);
}

.simulator-container {
    max-width: 1240px;
    margin: 0 auto;
}

.simulator-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.simulator-badge {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-primary);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.4rem 1.2rem;
/* Alternador de Modo 3D vs 2D */
.sim-mode-toggle {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid var(--border-solid);
}

[data-theme="dark"] .sim-mode-toggle {
    background: rgba(255, 255, 255, 0.05);
}

.sim-toggle-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sim-toggle-btn.active {
    background: var(--accent-primary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(234, 184, 117, 0.3);
}

/* Canvas 3D WebGL */
.sim-3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    cursor: grab;
    z-index: 2;
}

.sim-3d-canvas:active {
    cursor: grabbing;
}

.sim-3d-canvas.show {
    display: block;
}

.sim-3d-hint {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFF;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    pointer-events: none;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    white-space: nowrap;
}

.sim-3d-hint.show {
    display: block;
}

/* Visibilidade Condicional 2D */
.sim-bg-img, .sim-overlay-shade, .sim-ribbon-band, .sim-label-tag {
    display: none;
}

.sim-bg-img.show, .sim-overlay-shade.show, .sim-ribbon-band.show, .sim-label-tag.show {
    display: block;
}

.sim-label-tag.show {
    display: flex;
    flex-direction: column;
}
    border: 1px solid rgba(234, 184, 117, 0.3);
    border-radius: 50px;
}

.simulator-header h2 {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.simulator-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* --- STAGE DE PREVIEW FOTORREALISTA --- */
.simulator-preview-stage {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preview-card-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 35px rgba(234, 184, 117, 0.15);
    border: 1.5px solid rgba(234, 184, 117, 0.35);
    background: #0D0A08;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.sim-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88) contrast(1.05);
    transition: opacity 0.5s ease;
}

.sim-overlay-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

/* Fita de Cetim Dinâmica */
.sim-ribbon-band {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 38px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: background-color 0.4s ease;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

/* Rótulo / Tag Flutuante */
.sim-label-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 72%;
    padding: 1.5rem 1.2rem;
    background: rgba(253, 250, 246, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 184, 117, 0.5);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #2A221B;
    z-index: 3;
    transition: all 0.35s ease;
}

.sim-label-tag .tag-pin {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    display: none;
}

.sim-label-title {
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.4rem;
    color: #1A1410;
}

.sim-label-sub {
    font-size: 0.85rem;
    color: #66574B;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sim-label-date {
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: #8C7867;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.sim-label-brand {
    font-size: 0.62rem;
    letter-spacing: 3px;
    color: var(--accent-primary, #C29553);
    font-weight: 700;
    text-transform: uppercase;
    border-top: 1px solid rgba(194, 149, 83, 0.25);
    padding-top: 0.5rem;
}

/* Tipografias */
.sim-label-tag.cursive .sim-label-title { font-family: 'Playfair Display', serif; font-style: italic; }
.sim-label-tag.serif .sim-label-title { font-family: 'Cinzel', serif; letter-spacing: 1px; }
.sim-label-tag.sans .sim-label-title { font-family: 'Outfit', sans-serif; font-weight: 500; }

.sim-price-badge {
    text-align: center;
    background: var(--bg-card, rgba(255, 255, 255, 0.9));
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 460px;
}

.sim-price-badge span {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.3rem;
}

.sim-price-badge h3 {
    font-family: var(--font-brand);
    font-size: 2rem;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.sim-price-badge small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- PAINEL DE CONTROLES --- */
.simulator-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    background: var(--bg-card, rgba(255,255,255,0.85));
    border: 1px solid var(--border-solid);
    border-radius: 28px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
}

.sim-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sim-control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.sim-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
}

.sim-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-solid);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .sim-input {
    background: rgba(255, 255, 255, 0.05);
}

.sim-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(234, 184, 117, 0.25);
}

/* Seletor de Modelo Grid */
.sim-model-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.sim-model-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--border-solid);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
}

.sim-model-btn strong {
    font-size: 0.82rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.2rem;
}

.sim-model-btn span {
    font-size: 0.72rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.sim-model-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.08);
}

.sim-model-btn.active {
    border-color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.16);
    box-shadow: 0 4px 12px rgba(234, 184, 117, 0.2);
}

/* Tipografias */
.sim-font-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.sim-font-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-solid);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sim-font-btn:hover, .sim-font-btn.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(234, 184, 117, 0.14);
    font-weight: 600;
}

/* Pílulas de Fita */
.sim-ribbon-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sim-ribbon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    border: 1px solid var(--border-solid);
    background: transparent;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.ribbon-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
}

.sim-ribbon-pill:hover, .sim-ribbon-pill.active {
    border-color: var(--accent-primary);
    color: var(--text-main);
    background: rgba(234, 184, 117, 0.12);
}

/* Quantidade Wrapper */
.sim-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 180px;
}

.sim-qty-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border-solid);
    background: transparent;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sim-qty-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.sim-qty-input {
    text-align: center;
    font-weight: 700;
}

/* Ações */
.sim-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.sim-action-whatsapp, .sim-action-cart {
    width: 100%;
    padding: 1.1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    justify-content: center;
}

@media (max-width: 992px) {
    .simulator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .simulator-preview-stage {
        position: relative;
        top: 0;
    }
    .preview-card-wrap {
        height: 380px;
    }
}



/* ==========================================================================
   ✨ ANIMAÇÕES DE ALTO LUXO DA PÁGINA DO PRODUTO (PRODUCT PAGE MICRO-INTERACTIONS)
   ========================================================================== */

/* 1. Efeito Magnificador e Glow na Imagem Principal da Galeria */
#gallery-media-container {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

#gallery-media-container:hover {
    transform: scale(1.025) translateY(-4px);
    box-shadow: 0 24px 60px rgba(212, 168, 64, 0.22);
}

#main-gallery-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

#gallery-media-container:hover #main-gallery-img {
    transform: scale(1.04);
    filter: brightness(1.03) contrast(1.02);
}

/* 2. Animação nas Thumbnails da Galeria */
.gallery-thumb {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-thumb:hover {
    transform: scale(1.08) translateY(-2px);
    border-color: var(--accent-primary, #D4A840) !important;
    box-shadow: 0 8px 20px rgba(212, 168, 64, 0.25);
}

.gallery-thumb.active {
    transform: scale(1.06);
    border-color: var(--accent-primary, #D4A840) !important;
    box-shadow: 0 0 18px rgba(212, 168, 64, 0.45);
    animation: thumbPulse 2s infinite alternate ease-in-out;
}

@keyframes thumbPulse {
    from { box-shadow: 0 0 12px rgba(212, 168, 64, 0.3); }
    to { box-shadow: 0 0 22px rgba(212, 168, 64, 0.65); }
}

/* 3. Shimmer Metalizado nos Botões de Compra e CTA */
@keyframes metallicShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.btn-add-cart, .btn-buy-now, #btn-add-to-cart, #btn-buy-now {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: 200% 100% !important;
}

.btn-add-cart:hover, .btn-buy-now:hover, #btn-add-to-cart:hover, #btn-buy-now:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 12px 32px rgba(212, 168, 64, 0.4) !important;
}

.btn-add-cart:active, .btn-buy-now:active, #btn-add-to-cart:active, #btn-buy-now:active {
    transform: translateY(0) scale(0.98);
}

/* Linha de Luz Varrendo o Botão no Hover */
.btn-add-cart::after, .btn-buy-now::after, #btn-add-to-cart::after, #btn-buy-now::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    transition: none;
}

.btn-add-cart:hover::after, .btn-buy-now:hover::after, #btn-add-to-cart:hover::after, #btn-buy-now:hover::after {
    left: 130%;
    transition: all 0.75s ease-in-out;
}

/* 4. Flutuação Suave nos Selos de Garantia (Trust Badges) */
.trust-guarantees-row .guarantee-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-guarantees-row .guarantee-item:hover {
    transform: translateY(-4px);
    color: var(--accent-primary, #D4A840);
}

.trust-guarantees-row .guarantee-item i, .trust-guarantees-row .guarantee-item svg {
    transition: transform 0.3s ease;
}

.trust-guarantees-row .guarantee-item:hover i, .trust-guarantees-row .guarantee-item:hover svg {
    transform: scale(1.2) rotate(-5deg);
}

/* 5. Animação de Pulso nas Estrelas de Avaliação */
.stars-row i, .stars-row svg {
    transition: transform 0.2s ease, fill 0.2s ease;
}

.title-rating-summary:hover .stars-row i, .title-rating-summary:hover .stars-row svg {
    animation: starPulse 0.4s ease forwards;
}

.title-rating-summary:hover .stars-row i:nth-child(1) { animation-delay: 0.05s; }
.title-rating-summary:hover .stars-row i:nth-child(2) { animation-delay: 0.10s; }
.title-rating-summary:hover .stars-row i:nth-child(3) { animation-delay: 0.15s; }
.title-rating-summary:hover .stars-row i:nth-child(4) { animation-delay: 0.20s; }
.title-rating-summary:hover .stars-row i:nth-child(5) { animation-delay: 0.25s; }

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(10deg); color: #FFD700; }
    100% { transform: scale(1); }
}

/* 6. Animação Elegante dos Accordions */
.accordion-item {
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.accordion-header {
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent-primary, #D4A840);
}

.accordion-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-primary, #D4A840);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
}

.accordion-item.open .accordion-content {
    opacity: 1;
    max-height: 500px;
}

/* 7. Efeito Heartbeat no Botão de Favorito */
.btn-wishlist {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wishlist:hover {
    transform: scale(1.15);
    color: #e74c3c !important;
}

.btn-wishlist.active {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.35); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 8. Pulsar Discreto no Banner do Ateliê 3D */
@keyframes auraPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 168, 64, 0.3); }
    70% { box-shadow: 0 0 0 12px rgba(212, 168, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 168, 64, 0); }
}

.custom-builder-container, a[href=desenvolvimento-sob-medida.html] {
    animation: auraPulse 3s infinite ease-in-out;
}

/* ========================================================================== */
/* CLARAVELLAS 3D — ATELIÊ ENCANTADO                                          */
/* ========================================================================== */

claravellas-candle-studio,
claravellas-label-simulator {
    display: block;
    width: 100%;
    color-scheme: dark;
}

.cvs-studio {
    --cvs-gold: #d9aa5d;
    --cvs-gold-light: #f0cb8e;
    --cvs-ink: #090806;
    --cvs-panel: #100d0a;
    --cvs-line: rgba(225, 181, 111, 0.14);
    --cvs-muted: #a18c72;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    min-height: 760px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(222, 178, 105, 0.26);
    border-radius: 32px;
    background: #080706;
    box-shadow: 0 35px 100px rgba(18, 11, 5, 0.38), 0 0 0 1px rgba(255, 244, 220, 0.035) inset;
    font-family: "Outfit", "Inter", sans-serif;
}

.cvs-stage {
    position: relative;
    min-width: 0;
    min-height: 760px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 46%, rgba(124, 70, 28, 0.2), transparent 34%),
        linear-gradient(160deg, #0d0a08, #050504 66%);
}

.cvs-stage::before,
.cvs-stage::after {
    position: absolute;
    z-index: 2;
    content: "";
    pointer-events: none;
}

.cvs-stage::before {
    inset: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.52) 100%);
    mix-blend-mode: multiply;
}

.cvs-stage::after {
    top: -18%;
    left: 12%;
    width: 55%;
    height: 60%;
    opacity: 0.12;
    background: linear-gradient(115deg, transparent 28%, #ffe6b1 50%, transparent 68%);
    filter: blur(44px);
    transform: rotate(-12deg);
}

.cvs-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
    cursor: grab;
    touch-action: pan-y;
}

.cvs-canvas:active {
    cursor: grabbing;
}

.cvs-canvas:focus-visible {
    box-shadow: 0 0 0 3px var(--cvs-gold) inset;
}

.cvs-loader {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f6e7ce;
    background:
        radial-gradient(circle at center, rgba(86, 49, 21, 0.27), transparent 38%),
        #080706;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.cvs-loader.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.cvs-loader strong {
    margin-top: 28px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cvs-loader-copy {
    margin-top: 6px;
    color: var(--cvs-muted);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cvs-loader-orbit {
    position: relative;
    width: 78px;
    height: 78px;
    border: 1px solid rgba(226, 181, 106, 0.24);
    border-radius: 50%;
    animation: cvs-orbit 3s linear infinite;
}

.cvs-loader-orbit::before,
.cvs-loader-orbit::after,
.cvs-loader-orbit span,
.cvs-loader-orbit i {
    position: absolute;
    display: block;
    content: "";
    border-radius: 50%;
}

.cvs-loader-orbit::before {
    inset: 12px;
    border: 1px solid rgba(226, 181, 106, 0.35);
}

.cvs-loader-orbit::after {
    inset: 27px;
    background: radial-gradient(circle at 55% 30%, #fff5c7, #e89a32 42%, #8e3d12 72%, transparent 74%);
    filter: drop-shadow(0 0 12px #ef9a35);
    transform: rotate(45deg) scaleX(0.75);
}

.cvs-loader-orbit span {
    top: -4px;
    left: 35px;
    width: 8px;
    height: 8px;
    background: var(--cvs-gold-light);
    box-shadow: 0 0 14px var(--cvs-gold);
}

.cvs-loader-track {
    width: min(230px, 58vw);
    height: 2px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.cvs-loader-progress {
    display: block;
    width: 8%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9f642d, #f0c77f, #fff3cf);
    box-shadow: 0 0 12px #d69245;
    transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cvs-orbit {
    to { transform: rotate(360deg); }
}

.cvs-fallback {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #0c0907;
}

.cvs-fallback[hidden] {
    display: none;
}

.cvs-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.cvs-fallback::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 35%, rgba(5, 4, 3, 0.92));
}

.cvs-fallback div {
    position: absolute;
    right: 8%;
    bottom: 9%;
    left: 8%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: #f6e8d0;
}

.cvs-fallback strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
}

.cvs-fallback span {
    color: var(--cvs-muted);
}

.cvs-stage-topline {
    position: absolute;
    top: 24px;
    right: 26px;
    left: 26px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.cvs-live-badge,
.cvs-model-name,
.cvs-performance {
    border: 1px solid rgba(224, 177, 102, 0.2);
    background: rgba(10, 8, 6, 0.52);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px);
}

.cvs-live-badge,
.cvs-model-name {
    padding: 8px 13px;
    border-radius: 999px;
    color: #cfae7c;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.cvs-live-badge i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #e5ac58;
    box-shadow: 0 0 10px #efb861;
    animation: cvs-live 1.8s ease-in-out infinite;
}

@keyframes cvs-live {
    50% { opacity: 0.35; transform: scale(0.75); }
}

.cvs-toolbar {
    position: absolute;
    top: 50%;
    left: 22px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transform: translateY(-50%);
}

.cvs-toolbar[hidden] {
    display: none;
}

.cvs-toolbar button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(226, 181, 106, 0.2);
    border-radius: 12px;
    color: #c6a16c;
    background: rgba(12, 9, 7, 0.66);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    font: 700 0.78rem "Outfit", sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cvs-toolbar button:hover,
.cvs-toolbar button:focus-visible,
.cvs-toolbar button.is-active {
    border-color: rgba(239, 190, 111, 0.72);
    color: #fff0cf;
    background: rgba(111, 66, 26, 0.62);
    outline: none;
    transform: translateX(3px);
}

.cvs-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    z-index: 4;
    margin: 0;
    color: rgba(218, 190, 151, 0.55);
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.cvs-hint span {
    margin: 0 7px;
    color: rgba(226, 176, 98, 0.62);
}

.cvs-performance {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 4;
    padding: 7px 10px;
    border-radius: 8px;
    color: rgba(200, 170, 128, 0.62);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.cvs-panel {
    position: relative;
    z-index: 6;
    display: flex;
    min-width: 0;
    max-height: 760px;
    flex-direction: column;
    border-left: 1px solid var(--cvs-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 28%),
        var(--cvs-panel);
}

.cvs-panel-header {
    padding: 28px 28px 21px;
    border-bottom: 1px solid var(--cvs-line);
}

.cvs-panel-header > span {
    color: var(--cvs-gold);
    font-family: "Cinzel", "Cormorant Garamond", serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.32em;
}

.cvs-panel-header h2 {
    margin: 8px 0 2px;
    color: #f3e6d1;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.cvs-panel-header p {
    margin: 8px 0 0;
    color: #8f7c64;
    font-size: 0.74rem;
}

.cvs-panel-scroll {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #574028 transparent;
    scrollbar-width: thin;
}

.cvs-panel-scroll::-webkit-scrollbar {
    width: 4px;
}

.cvs-panel-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #574028;
}

.cvs-fieldset {
    min-width: 0;
    margin: 0;
    padding: 20px 24px;
    border: 0;
    border-bottom: 1px solid var(--cvs-line);
    transition: opacity 0.25s ease;
}

.cvs-fieldset.is-disabled {
    display: none;
}

.cvs-fieldset legend {
    width: 100%;
    margin-bottom: 13px;
    padding: 0;
    color: #a88a60;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.cvs-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.cvs-type {
    display: flex;
    min-width: 0;
    padding: 11px 5px 9px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(222, 179, 109, 0.12);
    border-radius: 13px;
    color: #8f7b62;
    background: rgba(255, 255, 255, 0.015);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cvs-type img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: saturate(0.7) sepia(0.15);
}

.cvs-type span {
    overflow: hidden;
    font-size: 0.65rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cvs-type:hover,
.cvs-type:focus-visible,
.cvs-type.is-active {
    border-color: rgba(226, 178, 98, 0.7);
    color: #e8c68f;
    background: rgba(144, 91, 38, 0.16);
    outline: none;
    transform: translateY(-2px);
}

.cvs-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cvs-swatch {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.13) inset, 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cvs-swatch::after {
    position: absolute;
    inset: 4px 5px auto;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    content: "";
    filter: blur(2px);
}

.cvs-swatch span {
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 8px);
    left: 50%;
    display: none;
    padding: 5px 7px;
    border: 1px solid rgba(224, 176, 99, 0.2);
    border-radius: 6px;
    color: #dbc49f;
    background: #17110c;
    font-size: 0.58rem;
    white-space: nowrap;
    transform: translateX(-50%);
}

.cvs-swatch:hover span {
    display: block;
}

.cvs-swatch:hover,
.cvs-swatch:focus-visible,
.cvs-swatch.is-active {
    border-color: #e5b55f;
    outline: none;
    box-shadow: 0 0 0 2px #110d09, 0 0 0 3px rgba(231, 183, 98, 0.7), 0 5px 14px rgba(0, 0, 0, 0.3);
    transform: scale(1.08);
}

.cvs-chips {
    display: flex;
    margin-top: 13px;
    flex-wrap: wrap;
    gap: 6px;
}

.cvs-chips button {
    padding: 6px 9px;
    border: 1px solid rgba(220, 175, 105, 0.13);
    border-radius: 999px;
    color: #8e7a61;
    background: rgba(255, 255, 255, 0.016);
    font: 600 0.61rem "Outfit", sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cvs-chips button:hover,
.cvs-chips button:focus-visible,
.cvs-chips button.is-active {
    border-color: rgba(229, 181, 99, 0.68);
    color: #e6c48d;
    background: rgba(139, 85, 33, 0.18);
    outline: none;
}

.cvs-label,
.cvs-input-row label > span {
    display: block;
    margin: 10px 0 6px;
    color: #8d785e;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cvs-label:first-of-type {
    margin-top: 0;
}

.cvs-input {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid rgba(222, 177, 105, 0.14);
    border-radius: 10px;
    color: #e0cfb4;
    background: rgba(255, 255, 255, 0.025);
    font: 500 0.76rem "Outfit", sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cvs-input:focus {
    border-color: rgba(231, 183, 100, 0.65);
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(203, 143, 66, 0.09);
}

.cvs-input-row {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 9px;
}

.cvs-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #a98a60 50%),
        linear-gradient(135deg, #a98a60 50%, transparent 50%);
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.cvs-actions {
    padding: 17px 23px 20px;
    border-top: 1px solid var(--cvs-line);
    background: rgba(7, 6, 5, 0.42);
}

.cvs-actions button {
    width: 100%;
    border-radius: 12px;
    font-family: "Outfit", sans-serif;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cvs-actions button:hover,
.cvs-actions button:focus-visible {
    outline: none;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.cvs-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.cvs-primary {
    display: flex;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5bb78;
    color: #1d130b;
    background: linear-gradient(135deg, #f0cc91, #c88840);
    box-shadow: 0 10px 28px rgba(178, 111, 43, 0.22), 0 1px 0 rgba(255, 255, 255, 0.55) inset;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.cvs-primary b {
    font-size: 1.05rem;
}

.cvs-secondary {
    margin-top: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(222, 176, 103, 0.25);
    color: #bf9d6e;
    background: transparent;
    font-size: 0.68rem;
}

.cvs-actions small {
    display: block;
    margin-top: 10px;
    color: #665645;
    font-size: 0.56rem;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 1020px) {
    .cvs-studio {
        grid-template-columns: minmax(0, 1fr) 350px;
        min-height: 700px;
        border-radius: 24px;
    }

    .cvs-stage {
        min-height: 700px;
    }

    .cvs-panel {
        max-height: 700px;
    }
}

@media (max-width: 820px) {
    .cvs-studio {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .cvs-stage {
        min-height: min(680px, 72vh);
        border-radius: 24px 24px 0 0;
    }

    .cvs-panel {
        max-height: none;
        border-top: 1px solid var(--cvs-line);
        border-left: 0;
        border-radius: 0 0 24px 24px;
    }

    .cvs-panel-scroll {
        max-height: 560px;
    }

    .cvs-hint {
        bottom: 18px;
    }
}

@media (max-width: 540px) {
    .cvs-studio {
        margin-right: -10px;
        margin-left: -10px;
        border-radius: 20px;
    }

    .cvs-stage {
        min-height: 560px;
        border-radius: 20px 20px 0 0;
    }

    .cvs-stage-topline {
        top: 16px;
        right: 16px;
        left: 16px;
    }

    .cvs-live-badge,
    .cvs-model-name {
        padding: 7px 9px;
        font-size: 0.55rem;
    }

    .cvs-toolbar {
        top: auto;
        bottom: 52px;
        left: 50%;
        flex-direction: row;
        transform: translateX(-50%);
    }

    .cvs-toolbar button:hover,
    .cvs-toolbar button:focus-visible,
    .cvs-toolbar button.is-active {
        transform: translateY(-2px);
    }

    .cvs-hint {
        display: none;
    }

    .cvs-performance {
        display: none;
    }

    .cvs-panel-header {
        padding: 23px 20px 17px;
    }

    .cvs-fieldset {
        padding: 18px 18px;
    }

    .cvs-actions {
        padding: 16px 18px 19px;
    }

    .cvs-type img {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cvs-loader-orbit,
    .cvs-live-badge i {
        animation: none;
    }

    .cvs-loader,
    .cvs-loader-progress,
    .cvs-toolbar button,
    .cvs-type,
    .cvs-swatch,
    .cvs-chips button,
    .cvs-actions button {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   HOME EXPERIENCE — LUZ QUE RESPIRA, AROMA QUE FLUTUA, OURO QUE RESPONDE
   ========================================================================== */
.home-page {
    --home-amber: #eab875;
    --home-amber-soft: #f5d5a5;
    --home-ivory: #fff8ed;
    --home-espresso: #130e0a;
    --home-motion-distance: 34px;
    --home-motion-duration: 950ms;
    overflow-x: clip;
}

.home-page .home-hero {
    min-height: 100svh;
    height: 100svh;
    isolation: isolate;
    background: var(--home-espresso);
}

.home-page .home-hero .carousel-item {
    min-height: 100%;
    overflow: hidden;
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.1s;
}

.home-page .home-hero .carousel-bg {
    object-position: center center;
    transform: translate3d(0, var(--home-hero-shift, 0), 0) scale(1.045);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
    filter: saturate(0.92) contrast(1.04) brightness(0.86);
}

.home-page .home-hero .carousel-item.home-hero-animated .carousel-bg {
    transform: translate3d(0, var(--home-hero-shift, 0), 0) scale(1);
}

.home-page .home-hero .carousel-overlay {
    background:
        linear-gradient(90deg, rgba(10, 7, 5, 0.96) 0%, rgba(12, 8, 5, 0.78) 38%, rgba(11, 7, 4, 0.16) 72%, rgba(8, 5, 3, 0.38) 100%),
        linear-gradient(180deg, rgba(8, 5, 3, 0.24) 0%, transparent 55%, rgba(8, 5, 3, 0.82) 100%);
}

.home-page .home-hero .carousel-content {
    padding: clamp(7rem, 12vh, 9rem) max(1.25rem, calc((100vw - 1240px) / 2));
    align-items: center;
}

.home-page .home-hero .hero-text-box {
    width: min(720px, 100%);
    max-width: 720px;
    padding: 0;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-page .home-hero .hero-eyebrow {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.35rem;
    color: var(--home-amber-soft);
    font-size: clamp(0.68rem, 1vw, 0.78rem);
    letter-spacing: 0.28em;
}

.home-page .home-hero .hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--home-amber));
}

.home-page .home-hero .hero-title,
.home-page .home-hero .hero-text-box h2 {
    max-width: 700px;
    margin: 0 0 1.4rem;
    color: var(--home-ivory);
    font-family: 'Playfair Display', var(--font-brand), serif;
    font-size: clamp(3rem, 7.2vw, 6.5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.34);
}

.home-page .home-hero .hero-title em,
.home-page .home-hero .hero-text-box h2 em {
    color: var(--home-amber-soft);
    font-weight: 400;
}

.home-page .home-hero .hero-subtitle {
    max-width: 610px;
    margin-bottom: 2rem;
    color: rgba(255, 248, 237, 0.82);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55);
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.home-page .hero-actions .btn {
    min-height: 52px;
    padding: 0.95rem 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.13em;
}

.home-page .hero-actions .btn svg { width: 17px; height: 17px; }

.home-page .home-hero-secondary {
    color: var(--home-ivory);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 248, 237, 0.34);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.home-page .home-hero-secondary:is(:hover, :focus-visible) {
    color: #fff;
    border-color: var(--home-amber);
    background: rgba(234, 184, 117, 0.14);
}

.home-page .home-hero-signature {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.4rem;
    margin-top: 2.2rem;
    color: rgba(255, 248, 237, 0.66);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-page .home-hero-signature span:not(:first-child)::before {
    content: '·';
    margin-right: 1.4rem;
    color: var(--home-amber);
}

.home-hero-atmosphere,
.home-hero-atmosphere > span {
    position: absolute;
    pointer-events: none;
}

.home-hero-atmosphere { inset: 0; z-index: 2; overflow: hidden; }

.home-hero-aura {
    right: 8%;
    top: 20%;
    width: min(42vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 173, 68, 0.24) 0%, rgba(234, 184, 117, 0.08) 38%, transparent 72%);
    filter: blur(20px);
    animation: homeAuraBreath 5.5s ease-in-out infinite alternate;
}

.home-hero-dust {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 224, 178, 0.82);
    box-shadow: 0 0 16px rgba(255, 190, 100, 0.72);
    animation: homeDustFloat 8s ease-in-out infinite;
}
.home-hero-dust--one { left: 58%; top: 66%; }
.home-hero-dust--two { left: 76%; top: 28%; animation-delay: -2.7s; }
.home-hero-dust--three { left: 88%; top: 58%; animation-delay: -5.1s; }

@keyframes homeAuraBreath {
    from { opacity: 0.68; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes homeDustFloat {
    0%, 100% { opacity: 0.18; transform: translate3d(0, 18px, 0) scale(0.7); }
    48% { opacity: 0.72; transform: translate3d(12px, -24px, 0) scale(1); }
}

.home-page .home-light-thread {
    position: absolute;
    z-index: 8;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    transform-origin: left;
    background: linear-gradient(90deg, transparent 4%, rgba(234, 184, 117, 0.88) 46%, transparent 96%);
    box-shadow: 0 0 18px rgba(234, 184, 117, 0.42);
}

.home-page .carousel-controls {
    bottom: clamp(1.25rem, 4vh, 2.5rem);
    gap: 0.55rem;
}

.home-page .carousel-dot {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
}

.home-page .carousel-dot::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    top: 50%;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-page .carousel-dot.active::after {
    background: var(--home-amber);
    transform: scaleX(1.18);
    box-shadow: 0 0 12px rgba(234, 184, 117, 0.62);
}

.home-page .carousel-play-toggle,
.home-page .scrolly-pause-toggle {
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(234, 184, 117, 0.34);
    color: var(--home-ivory);
    background: rgba(12, 9, 6, 0.58);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.home-page .carousel-play-toggle svg { width: 16px; height: 16px; }

.home-page .home-manifesto {
    position: relative;
    isolation: isolate;
}

.home-page .home-manifesto::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: min(60vw, 720px);
    height: 200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(234, 184, 117, 0.14), transparent 70%);
    filter: blur(20px);
}

.home-page .home-3d-grid { perspective: 1000px; }

.home-page .home-3d-card,
.home-page .collection-card {
    position: relative;
    content-visibility: visible;
    transform: perspective(1000px) rotateX(var(--home-card-rx, 0deg)) rotateY(var(--home-card-ry, 0deg));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-page .home-3d-card::after,
.home-page .collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--home-card-x, 50%) var(--home-card-y, 50%), rgba(255, 238, 211, 0.18), transparent 42%);
    transition: opacity 0.35s ease;
}

.home-page .home-3d-card:is(:hover, :focus-within)::after,
.home-page .collection-card:is(:hover, :focus-visible)::after { opacity: 1; }

.home-page .home-3d-card:is(:hover, :focus-within) {
    border-color: rgba(234, 184, 117, 0.52) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28), 0 0 34px rgba(234, 184, 117, 0.1);
}

.home-page .home-3d-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
    color: var(--home-amber);
    stroke-width: 1.35;
}

.home-page .collection-card img {
    transform: scale(1.025);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.home-page .collection-card:is(:hover, :focus-visible) img { transform: scale(1.065); }
.home-page .collection-card:is(:hover, :focus-visible) .collection-overlay { transform: translateY(-7px); }
.home-page .collection-overlay { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }

.home-page .home-motion-ready .home-reveal:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, var(--home-motion-distance), 0);
}

.home-page .home-reveal {
    opacity: 1;
    transform: none;
    transition: opacity var(--home-motion-duration) ease, transform var(--home-motion-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .scrolly-pause-toggle {
    gap: 0.45rem;
    width: auto;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    margin: -0.9rem 0 1rem auto;
    color: var(--text-muted);
    background: rgba(234, 184, 117, 0.08);
    font: inherit;
    font-size: 0.72rem;
}
.home-page .scrolly-pause-toggle svg { width: 14px; height: 14px; }

.home-page .sensory-motion-toggle {
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 248, 237, 0.32);
    border-radius: 999px;
    color: rgba(255, 248, 237, 0.82);
    background: rgba(12, 9, 6, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.home-page .sensory-motion-toggle:is(:hover, :focus-visible) {
    border-color: var(--home-amber);
    color: #fff;
}
.home-page .sensory-motion-toggle:disabled {
    cursor: default;
    opacity: 0.72;
}
.home-page .sensory-motion-toggle svg { width: 14px; height: 14px; }

.home-page .scrolly-step-card[hidden] { display: none !important; }
.home-page .scrolly-progress-bar { width: 100%; transform: scaleX(0.25); }

.home-page .sensory-ambient-section {
    isolation: isolate;
    background-image: url('./assets/images/claravellas-home-hero-v2.jpg');
    background-size: cover;
    background-position: center;
}

.home-page .sensory-content {
    animation-duration: 7s;
}

.home-page .testimonials-controls .t-dot {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.home-page .testimonials-controls .t-dot::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--border-solid);
}
.home-page .testimonials-controls .t-dot.active::after { background: var(--accent-primary); box-shadow: 0 0 0 4px rgba(234, 184, 117, 0.14); }

.home-page .floating-shop-bar {
    opacity: 0;
    transform: translate3d(-50%, 18px, 0);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-page .floating-shop-bar.home-floating-visible:not(.home-floating-hidden) {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
    pointer-events: auto;
}

.home-cursor-glow {
    position: fixed;
    z-index: 0;
    left: -180px;
    top: -180px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(234, 184, 117, 0.075), transparent 68%);
    mix-blend-mode: screen;
}

.home-page :where(.scrollytelling-section, .scrolly-visual-stage, .scrolly-studio-card, #scrolly-main-video, .hero-carousel, .product-card) {
    will-change: auto;
}

@media (max-width: 768px) {
    .home-page { --home-motion-distance: 18px; }
    .home-page .home-hero { min-height: 100svh; height: 100svh; }
    .home-page .home-hero .carousel-bg {
        object-position: 68% center;
        transform: scale(1.02);
    }
    .home-page .home-hero .carousel-overlay {
        background: linear-gradient(180deg, rgba(10, 7, 5, 0.34) 0%, rgba(10, 7, 5, 0.72) 43%, rgba(8, 5, 3, 0.97) 100%);
    }
    .home-page .home-hero .carousel-content {
        align-items: flex-end;
        padding: 7rem 1.15rem 7.5rem;
    }
    .home-page .home-hero .hero-title,
    .home-page .home-hero .hero-text-box h2 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
    .home-page .hero-actions { display: grid; grid-template-columns: 1fr; }
    .home-page .hero-actions .btn { width: 100%; }
    .home-page .home-hero-signature { gap: 0.55rem 0.8rem; }
    .home-page .home-hero-signature span:not(:first-child)::before { margin-right: 0.8rem; }
    .home-page .home-hero-aura { right: -25%; top: 18%; width: 92vw; }
    .home-page .home-3d-card,
    .home-page .collection-card { transform: none !important; }
    .home-cursor-glow { display: none; }
}

@media (max-width: 390px) {
    .home-page .home-hero .carousel-content { padding-inline: 0.9rem; padding-bottom: 6.8rem; }
    .home-page .home-hero .hero-eyebrow { padding-left: 2.5rem; letter-spacing: 0.2em; }
    .home-page .home-hero-signature { font-size: 0.61rem; letter-spacing: 0.08em; }
    .home-page .home-hero-signature span:not(:first-child)::before { display: none; }
    .home-page .floating-shop-bar { bottom: 0.65rem; width: calc(100% - 4.6rem); }
    .home-page #whatsapp-btn { right: 0.7rem; bottom: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero-aura,
    .home-page .home-hero-dust,
    .home-page .sensory-content,
    .home-page .scrolly-scent-sparks span { animation: none !important; }
    .home-page .home-hero .carousel-bg,
    .home-page .home-reveal,
    .home-page .home-3d-card,
    .home-page .collection-card,
    .home-page .floating-shop-bar { transform: none !important; transition: none !important; }
    .home-page .home-motion-ready .home-reveal { opacity: 1 !important; }
    .home-page .sensory-video-bg { display: block !important; opacity: 0 !important; }
    .home-cursor-glow { display: none !important; }
}

.home-page .home-catalog-empty {
    grid-column: 1 / -1;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    border: 1px solid rgba(234, 184, 117, 0.28);
    border-radius: 28px;
    background: radial-gradient(circle at 50% 0%, rgba(234, 184, 117, 0.14), transparent 56%), var(--bg-card);
    box-shadow: var(--shadow-soft);
}
.home-page .home-catalog-empty > span {
    color: var(--accent-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.home-page .home-catalog-empty h3 {
    margin: 0.8rem 0;
    font-family: var(--font-brand);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    color: var(--text-main);
}
.home-page .home-catalog-empty p {
    max-width: 560px;
    margin: 0 auto 1.6rem;
    color: var(--text-muted);
    line-height: 1.7;
}
