@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Hanken+Grotesk:wght@100..900&family=Manrope:wght@200..800&family=Montserrat:wght@400..900&display=swap');

/* Design Tokens & Variables */
:root {
    --color-primary: #7A1313;
    --color-primary-hover: #5c0e0e;
    --color-secondary: #F1C40F;
    --color-tertiary: #C0392B;
    --color-neutral: #2C2C2C;
    --color-neutral-light: #4A4A4A;
    --color-background: #FDFDFD;
    --color-bg-alt: #F7F5F2;
    --color-white: #FFFFFF;
    --color-border: #E6E6E6;
    
    /* Fontes */
    --font-headline: 'Montserrat', sans-serif;
    --font-body: 'Hanken Grotesk', sans-serif;
    --font-label: 'Manrope', sans-serif;
    
    /* Transições & Sombras */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

/* Reset Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-neutral);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

button, input, textarea, select {
    font-family: var(--font-label);
    border: none;
    outline: none;
    background: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--color-neutral);
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* Transparente no topo (específico para a Home) */
.main-header.header-transparent {
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}

/* Quando scrolled na Home, volta a ser opaco escuro */
.main-header.header-transparent.scrolled {
    background-color: var(--color-neutral);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(122, 19, 19, 0.15));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 2px 6px rgba(122, 19, 19, 0.25));
    transform: scale(1.03);
}

.nav-menu {
    display: none;
}

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

.action-btn {
    cursor: pointer;
    color: var(--color-white);
    position: relative;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.action-btn svg {
    display: block;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    transform: translateY(-1px);
}

.action-btn:hover svg {
    transform: scale(1.1);
}

/* Logo no header scrolled — fica mais brilhante */
.main-header.scrolled .logo img {
    filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.25)) brightness(1.15);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-label);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 640px;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero-gallery {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-gallery .gallery-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 20s infinite alternate ease-in-out;
    z-index: 0;
}

.hero-bg-desktop {
    display: block;
}

.hero-bg-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-bg-desktop {
        display: none !important;
    }
    .hero-bg-mobile {
        display: block !important;
    }
    .hero {
        height: 55vh;
        min-height: 420px;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: var(--font-label);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #e5e5e5;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

/* Diferenciais Premium */
.usps-premium {
    padding: 80px 0;
    background-color: #1A1513; /* Fundo escuro como no print */
    color: var(--color-white);
}

.usps-header {
    text-align: center;
    margin-bottom: 50px;
}

.usps-badge {
    font-family: var(--font-label);
    background-color: rgba(241, 196, 15, 0.1);
    color: var(--color-secondary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(241, 196, 15, 0.3);
    margin-bottom: 20px;
}

.usps-title {
    font-family: var(--font-headline);
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--color-white);
}

.usps-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .usps-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.usp-card {
    background-color: #261F1C;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.1);
}

.usp-img-wrapper {
    height: 180px;
    overflow: hidden;
    padding: 20px;
}

.usp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.usp-card:hover .usp-img-wrapper img {
    transform: scale(1.05);
}

.usp-content {
    padding: 0 20px 30px 20px;
    text-align: center;
}

.usp-content h3 {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.usp-content p {
    font-family: var(--font-body);
    font-size: 13px;
    color: #A39B98;
    line-height: 1.5;
}

/* Catalog / Filtros */
.catalog-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-neutral);
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--font-label);
    font-size: 0.95rem;
    color: var(--color-neutral-light);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    background-color: var(--color-white);
    color: var(--color-neutral-light);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img-container {
    position: relative;
    background-color: var(--color-bg-alt);
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .gallery-slide.active {
    transform: scale(1.05);
}

/* Product Gallery (Slider com Dots) */
.product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Gallery Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Gallery Dots */
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.gallery-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.gallery-dot.active {
    background-color: var(--color-white);
    transform: scale(1.3);
}

.gallery-dot:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Acessibilidade: respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .gallery-slide {
        transition: none;
    }
    .gallery-dot {
        transition: none;
    }
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-secondary);
    color: var(--color-neutral);
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 6;
}

.badge-out-of-stock {
    background-color: #e74c3c !important;
    color: #ffffff !important;
}

.btn-out-of-stock {
    background-color: #95a5a6 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border-color: #95a5a6 !important;
}

.btn-out-of-stock:hover {
    background-color: #95a5a6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.stock-warning-badge {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #e74c3c;
    margin-top: 4px;
}

.stock-warning-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #c62828;
    margin-top: 6px;
    flex-wrap: wrap;
}

.btn-stock-fix {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-stock-fix:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.cart-item-out-of-stock {
    border: 1px dashed #e74c3c !important;
    background-color: #fff8f8 !important;
    border-radius: 6px;
    padding: 8px;
}



.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-family: var(--font-label);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-neutral-light);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.25rem;
    color: var(--color-neutral);
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 52px;
}

.product-details {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--color-neutral-light);
}

.product-detail-item {
    font-family: var(--font-label);
    background-color: var(--color-bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
}

.product-desc {
    font-size: 13px;
    color: var(--color-neutral-light);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}

.product-price {
    font-family: var(--font-label);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.add-to-cart-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary-hover);
}

/* História */
.history-section {
    background-color: var(--color-bg-alt);
    padding: 85px 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.history-content h2 {
    font-size: 2.2rem;
    color: var(--color-neutral);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.history-content h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.history-content p {
    font-size: 15px;
    color: var(--color-neutral-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.history-content .history-highlight {
    font-weight: 700;
    color: var(--color-primary);
    font-style: italic;
    padding-left: 14px;
    border-left: 3px solid var(--color-secondary);
    margin-top: 24px;
}

/* Moldura Circular */
.history-visual-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.history-circle-frame {
    position: relative;
    width: 360px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-circle-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: 
        0 0 0 2px rgba(212, 175, 55, 0.6),
        0 14px 32px rgba(62, 39, 35, 0.18);
    background-color: #2C2C2C;
    transition: box-shadow 0.3s ease;
}

.history-circle-frame:hover .history-circle-img {
    box-shadow: 
        0 0 0 2px rgba(212, 175, 55, 0.85),
        0 18px 38px rgba(62, 39, 35, 0.24);
}

.history-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s ease;
}

.history-circle-frame:hover .history-circle-img img {
    transform: scale(1.03);
}

/* Degradê suave nas cores da marca */
.history-circle-gradient {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        transparent 50%,
        rgba(122, 19, 19, 0.12) 75%,
        rgba(38, 31, 28, 0.45) 100%
    );
    pointer-events: none;
}

.history-caption {
    text-align: center;
}

.history-caption strong {
    display: block;
    font-family: var(--font-headline);
    font-size: 15px;
    color: var(--color-neutral);
    letter-spacing: 0.5px;
}

.history-caption span {
    display: block;
    font-family: var(--font-label);
    font-size: 12px;
    color: #8C7B75;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Contato */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--color-neutral-light);
    margin-bottom: 30px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-text h4 {
    font-family: var(--font-label);
    font-size: 14px;
    color: var(--color-neutral-light);
}

.contact-text p {
    font-weight: 700;
    margin: 0;
    color: var(--color-neutral);
}

.contact-form {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-neutral-light);
}

.form-control {
    width: 100%;
    border: 1px solid var(--color-border);
    padding: 12px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(122, 19, 19, 0.15);
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-primary-hover);
}

/* Footer */
.main-footer {
    background-color: var(--color-neutral);
    color: var(--color-white);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-about .footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 13px;
    color: #b3b3b3;
    max-width: 300px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-label);
    font-size: 13px;
}

.footer-links ul a {
    color: #b3b3b3;
}

.footer-links ul a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #8c8c8c;
}

/* Carrinho Lateral Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--color-white);
    z-index: 110;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
    right: 0;
}

/* (bloco duplicado removido — header base já definido em L75) */

/* (bloco duplicado removido — scrolled já definido em L1381+) */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Corpo rolável do carrinho (itens + resumo + frete rolam juntos) */
.cart-body {
    flex: 1 1 auto;
    min-height: 0; /* essencial para permitir o scroll dentro do flex */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-summary {
    padding: 4px 24px 16px;
}

.cart-title {
    font-size: 1.6rem;
    color: var(--color-neutral);
}

.close-cart-btn {
    cursor: pointer;
    font-size: 24px;
    color: var(--color-neutral);
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: var(--color-primary);
}

/* Barra de Desconto Progressivo */
.cart-upsell-container {
    background-color: var(--color-bg-alt);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
}

.upsell-text {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-neutral);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Itens do Carrinho */
.cart-items-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-message {
    text-align: center;
    margin: auto;
    font-family: var(--font-label);
    color: var(--color-neutral-light);
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--color-bg-alt);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-neutral);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--color-neutral-light);
    margin-bottom: 6px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    background-color: var(--color-bg-alt);
}

.qty-btn:hover {
    background-color: var(--color-border);
}

.qty-value {
    width: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.remove-item-btn {
    cursor: pointer;
    font-size: 14px;
    color: var(--color-tertiary);
}

.cart-item-price {
    font-family: var(--font-label);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Footer do Carrinho (fixo no rodapé: total + botão sempre visíveis) */
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
    background: var(--color-white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-label);
    font-size: 14px;
    margin-bottom: 10px;
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-neutral);
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin-bottom: 20px;
}

.discount-tag {
    color: var(--color-tertiary);
    font-weight: 700;
}

.packs-count-tag {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 13px;
}

.btn-checkout {
    display: block;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-continue-shopping {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding: 10px;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-continue-shopping:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.btn-checkout:hover {
    background-color: var(--color-primary-hover);
}

/* Notificação Toast */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--color-neutral);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toast-success {
    border-left: 4px solid var(--color-secondary);
}

/* Animações */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breakpoints Responsivos (Mobile First) */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 8px;
        font-family: var(--font-label);
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-menu a {
        color: var(--color-white);
        padding: 8px 16px;
        border-radius: 8px;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 2px;
        background-color: var(--color-secondary);
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.08);
        color: var(--color-white);
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        transform: translateX(-50%) scaleX(1);
    }

    .hero {
        height: 85vh;
        min-height: 680px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .usps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
    }
}

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

/* Header scrolled: opaco escuro (sem transparência) */
.main-header.scrolled {
    background-color: var(--color-neutral);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.main-header.scrolled .nav-menu a {
    color: var(--color-white);
}
.main-header.scrolled .nav-menu a:hover,
.main-header.scrolled .nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

/* Modal de Produto */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background-color: var(--color-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.product-modal-overlay.open .product-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    transform: scale(1.08);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-gallery-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

/* Reusa as classes do product-gallery para o modal */
.modal-gallery-container .product-gallery {
    height: 100%;
}

.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-category {
    font-family: var(--font-label);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-neutral-light);
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-name {
    font-size: 2rem;
    color: var(--color-neutral);
    margin-bottom: 5px;
    line-height: 1.2;
}

.modal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-description {
    font-size: 15px;
    color: var(--color-neutral-light);
    line-height: 1.7;
    margin-bottom: 20px;
    white-space: pre-wrap; /* Preserva as quebras de linha do admin */
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.modal-price {
    font-family: var(--font-label);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

/* Responsividade do Modal */
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
    
    .modal-gallery-container {
        width: 50%;
        align-self: flex-start;
    }
    
    .modal-info {
        width: 50%;
        padding: 40px;
    }
}

/* ==========================================
   ESTILOS FASE 4: CHECKOUT E ÁREA DO CLIENTE
   ========================================== */

/* Badges de Status do Pedido */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-label);
    letter-spacing: 0.5px;
}
.status-pending { background-color: #FEF3C7; color: #D97706; border: 1px solid #FCD34D; }
.status-paid { background-color: #D1FAE5; color: #059669; border: 1px solid #A7F3D0; }
.status-preparing { background-color: #DBEAFE; color: #2563EB; border: 1px solid #BFDBFE; }
.status-shipped { background-color: #F3E8FF; color: #7C3AED; border: 1px solid #E9D5FF; }
.status-delivered { background-color: #CCFBF1; color: #0D9488; border: 1px solid #99F6E4; }
.status-expired { background-color: #F3F4F6; color: #4B5563; border: 1px solid #E5E7EB; }
.status-cancelled { background-color: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }

/* Botões do E-commerce */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
}
.btn-secondary:hover {
    background-color: var(--color-bg-alt);
}

/* ==========================================
   FORMULÁRIOS COMPARTILHADOS E CONTROLES
   ========================================== */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-label);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-neutral);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--color-background);
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(122, 19, 19, 0.15);
}

/* ==========================================
   COPIAR CÓDIGO (PIX / BOLETO)
   ========================================== */
.copy-code-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto;
}
.code-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
    resize: none;
    background-color: var(--color-white);
    color: var(--color-neutral);
    text-align: center;
}
.btn-copy {
    padding: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}
.btn-copy:hover {
    background-color: var(--color-primary-hover);
}
.btn-copy.copied {
    background-color: #27ae60;
}

/* ==========================================
   TELA DE AUTENTICAÇÃO (auth.php)
   ========================================== */
.auth-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 20px;
}
.auth-container {
    background-color: var(--color-bg-alt);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.auth-tabs {
    display: flex;
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
}
.auth-tab {
    flex: 1;
    padding: 18px;
    text-align: center;
    font-family: var(--font-headline);
    font-weight: 700;
    cursor: pointer;
    color: var(--color-neutral-light);
    transition: var(--transition);
    background: none;
    border: none;
    font-size: 16px;
}
.auth-tab.active {
    color: var(--color-primary);
    background-color: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
}
.auth-form-panel {
    padding: 30px;
    display: none;
    background-color: var(--color-white);
}
.auth-form-panel.active {
    display: block;
}
.btn-auth-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    margin-top: 10px;
}
.btn-auth-submit:hover {
    background-color: var(--color-primary-hover);
}
.auth-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 14px;
}
.auth-alert-error {
    background-color: #fdf2f2;
    color: #ec5b5b;
    border: 1px solid #fbd5d5;
}
.auth-alert-success {
    background-color: #f3faf7;
    color: #27ae60;
    border: 1px solid #def7ec;
}
.auth-footer-text {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-neutral-light);
    margin-top: 15px;
}
.auth-footer-text a {
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================
   TELA DE CHECKOUT (index.php)
   ========================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin: 40px 0;
}
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}
.checkout-section {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}
.checkout-section-title {
    font-family: var(--font-headline);
    font-size: 18px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.checkout-form-grid .full-width {
    grid-column: span 2;
}
@media (max-width: 600px) {
    /* Mantém 2 colunas no mobile: CEP|Número e Cidade|Estado lado a lado.
       Só os campos .full-width (Rua, Bairro, Complemento) ocupam a linha toda.
       Isso encurta bastante a rolagem do passo de endereço. */
    .checkout-form-grid {
        gap: 12px;
    }
    .checkout-form-grid .form-group {
        margin-bottom: 0;
    }
    .checkout-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    .checkout-section-title {
        margin-bottom: 14px;
    }
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.payment-option-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.payment-option-card:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-alt);
}
.payment-option-card.active {
    border-color: var(--color-primary);
    background-color: rgba(122, 19, 19, 0.03);
    box-shadow: var(--shadow-sm);
}
.payment-radio {
    margin-top: 4px;
}
.payment-info h4 {
    font-family: var(--font-headline);
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--color-neutral);
}
.payment-info p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-neutral-light);
}
.summary-card {
    position: sticky;
    top: 100px;
}
.summary-item-list {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.summary-item-info {
    flex: 1;
    padding-right: 15px;
}
.summary-item-name {
    font-weight: 600;
    margin-bottom: 2px;
}
.summary-item-qty {
    font-size: 12px;
    color: var(--color-neutral-light);
}
.summary-item-price {
    font-weight: 700;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-neutral-light);
}
.summary-row.total {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-neutral);
    border-top: 1px dashed var(--color-border);
    padding-top: 15px;
    margin-top: 15px;
}
.summary-row.discount {
    color: #27ae60;
    font-weight: 600;
}
.btn-order-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    box-shadow: var(--shadow-md);
}
.btn-order-submit:hover:not(:disabled) {
    background-color: var(--color-primary-hover);
}
.btn-order-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}
.checkout-upsell-badge {
    background-color: #def7ec;
    color: #03543f;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid #bcf0da;
    display: none;
}
/* ===== Opções de Frete (Melhor Envio) ===== */
.shipping-hint {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-neutral-light);
    padding: 6px 0;
}
#shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shipping-group-title {
    font-family: var(--font-headline);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-neutral);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 6px 0 2px;
}
/* ===== Frete/retirada no carrinho e no modal de produto ===== */
.cart-shipping {
    margin: 14px 0;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}
.cart-shipping-cep {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.cart-shipping-cep input {
    flex: 1;
    padding: 9px 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-body);
}
.cart-shipping-cep button {
    padding: 9px 14px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
.ship-hint {
    font-size: 12px;
    color: var(--color-neutral-light);
    padding: 4px 0;
    font-family: var(--font-body);
}
.ship-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-neutral);
    margin: 8px 0 4px;
    font-family: var(--font-headline);
}
.ship-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.ship-card:hover { border-color: var(--color-primary); }
.ship-card.active {
    border-color: var(--color-primary);
    background: rgba(122, 19, 19, 0.04);
}
.ship-card-info { flex: 1; display: flex; flex-direction: column; }
.ship-card-name { font-size: 13px; font-weight: 600; color: var(--color-neutral); }
.ship-card-sub { font-size: 11px; color: var(--color-neutral-light); }
.ship-card-price { font-size: 13px; font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.modal-shipping {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.modal-shipping-title {
    font-family: var(--font-headline);
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.shipping-option-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}
.shipping-option-card:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-alt);
}
.shipping-option-card.active {
    border-color: var(--color-primary);
    background-color: rgba(122, 19, 19, 0.03);
    box-shadow: var(--shadow-sm);
}
.shipping-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shipping-name {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-neutral);
}
.shipping-deadline {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-neutral-light);
}
.shipping-price {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-border);
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   TELA DE SUCESSO (success.php)
   ========================================== */
.success-container {
    max-width: 650px;
    margin: 50px auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}
.success-icon {
    font-size: 48px;
    color: #27ae60;
    margin-bottom: 20px;
}
.success-title {
    font-family: var(--font-headline);
    font-size: 24px;
    color: var(--color-neutral);
    margin-bottom: 10px;
}
.order-badge {
    display: inline-block;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 25px;
}
.success-description {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-neutral-light);
    line-height: 1.6;
    margin-bottom: 30px;
}
.payment-box {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}
.payment-title {
    font-family: var(--font-headline);
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--color-primary);
}
.pix-qr-img {
    max-width: 200px;
    margin: 0 auto 20px;
    border: 1px solid var(--color-border);
    padding: 10px;
    background-color: white;
    border-radius: 6px;
}
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.btn-action-primary {
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}
.btn-action-primary:hover {
    background-color: var(--color-primary-hover);
}
.btn-action-secondary {
    padding: 12px 24px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 6px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}
.btn-action-secondary:hover {
    background-color: var(--color-bg-alt);
}

/* ==========================================
   ÁREA DO CLIENTE - DASHBOARD (dashboard.php)
   ========================================== */
.dashboard-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.welcome-title {
    font-family: var(--font-headline);
    font-size: 24px;
    color: var(--color-neutral);
}
.welcome-title span {
    color: var(--color-primary);
}
.btn-logout {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-label);
    font-size: 13px;
    color: var(--color-neutral-light);
    cursor: pointer;
    transition: var(--transition);
}
.btn-logout:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
}
.orders-section-title {
    font-family: var(--font-headline);
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-neutral);
}
.orders-table-wrapper {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.orders-table th {
    background-color: var(--color-bg-alt);
    padding: 15px;
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-neutral-light);
    border-bottom: 1px solid var(--color-border);
}
.orders-table td {
    padding: 15px;
    font-family: var(--font-body);
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
}
.orders-table tr:last-child td {
    border-bottom: none;
}
.btn-view-details {
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-label);
    font-size: 13px;
}
.btn-view-details:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}
.orders-mobile-list {
    display: none;
    flex-direction: column;
    gap: 15px;
}
.order-mobile-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}
.order-mobile-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.order-mobile-row:last-child {
    margin-bottom: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
    margin-top: 10px;
}
@media (max-width: 650px) {
    .orders-table-wrapper {
        display: none;
    }
    .orders-mobile-list {
        display: flex;
    }
}
.empty-orders {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}
.empty-orders p {
    color: var(--color-neutral-light);
    margin-bottom: 20px;
}

/* ==========================================
   ÁREA DO CLIENTE - DETALHES (order_details.php)
   ========================================== */
.details-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
}
.back-link:hover {
    color: var(--color-primary-hover);
}
.order-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}
.order-title-info h1 {
    font-family: var(--font-headline);
    font-size: 24px;
    color: var(--color-neutral);
}
.order-title-info p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-neutral-light);
    margin-top: 4px;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 700px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}
.info-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.info-card-title {
    font-family: var(--font-headline);
    font-size: 15px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}
.info-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-neutral-light);
    line-height: 1.5;
    margin-bottom: 6px;
}
.items-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}
.items-list {
    margin-bottom: 20px;
}
.item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}
.item-row:last-child {
    border-bottom: none;
}
.item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}
.item-details {
    flex: 1;
}
.item-name {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-neutral);
}
.item-meta {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-neutral-light);
    margin-top: 4px;
}
.item-total-price {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-neutral);
}
.totals-box {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
}
.totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-neutral-light);
}
.totals-row.total-final {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-neutral);
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin-top: 10px;
}

/* Espaçador superior para compensar o Header Fixed nas páginas do App */
.main-app-container {
    padding-top: 100px;
}

/* ============================================
   PÁGINAS LEGAIS (Privacidade, Termos, LGPD)
   ============================================ */
.legal-page {
    padding-bottom: 60px;
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.legal-content h1 {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--color-neutral);
    margin-bottom: 8px;
    line-height: 1.3;
}
.legal-updated {
    font-size: 0.85rem;
    color: var(--color-neutral-light);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.legal-section {
    margin-bottom: 32px;
}
.legal-section h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary-light, #e8ddd3);
}
.legal-section h3 {
    font-size: 1.05rem;
    color: var(--color-neutral);
    margin: 16px 0 8px;
}
.legal-section p {
    font-size: 0.95rem;
    color: var(--color-neutral);
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-section ul {
    padding-left: 24px;
    margin-bottom: 12px;
}
.legal-section ul li {
    font-size: 0.95rem;
    color: var(--color-neutral);
    line-height: 1.7;
    margin-bottom: 6px;
}
.legal-section code {
    background: #f5f0eb;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
}

/* Tabela Legal */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--color-border);
}
.legal-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}
.legal-table td {
    color: var(--color-neutral);
}
.legal-table tbody tr:nth-child(even) {
    background: #faf7f4;
}

/* Contato Legal */
.legal-contact {
    background: #faf7f4;
    border-left: 4px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}
.legal-contact p {
    margin-bottom: 4px;
}
.legal-contact a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Cards LGPD (bases legais) */
.legal-card {
    background: #faf7f4;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.legal-card h3 {
    font-size: 1.05rem;
    color: var(--color-neutral);
    margin-bottom: 8px;
}

/* Grid de Direitos LGPD */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.right-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.right-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.right-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}
.right-card h4 {
    font-size: 0.95rem;
    color: var(--color-neutral);
    margin-bottom: 6px;
}
.right-card p {
    font-size: 0.85rem;
    color: var(--color-neutral-light);
    line-height: 1.5;
}

/* Voltar / Links */
.legal-back {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-legal-back,
.btn-legal-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-legal-back {
    background: var(--color-primary);
    color: #fff;
}
.btn-legal-back:hover {
    background: var(--color-primary-dark, #5a3e2b);
    transform: translateY(-1px);
}
.btn-legal-link {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-legal-link:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ============================================
   BANNER DE COOKIES (LGPD)
   ============================================ */
.cookie-consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 0;
    animation: cookieSlideUp 0.5s ease;
}
@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-consent-modal {
    background: #fff;
    padding: 14px 28px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-consent-info {
    flex: 1;
    min-width: 0;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.cookie-icon {
    font-size: 1.2rem;
}
.cookie-consent-header h3 {
    font-family: var(--font-headline);
    font-size: 0.95rem;
    color: var(--color-neutral);
    margin: 0;
}
.cookie-consent-text {
    font-size: 0.82rem;
    color: var(--color-neutral-light);
    line-height: 1.4;
    margin: 0;
}
.cookie-consent-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Botões Cookie */
.cookie-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-align: center;
    white-space: nowrap;
}
.cookie-btn:active {
    transform: scale(0.97);
}

.cookie-btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.cookie-btn-primary:hover {
    background: var(--color-primary-dark, #5a3e2b);
    border-color: var(--color-primary-dark, #5a3e2b);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-btn-secondary {
    background: #f5f0eb;
    color: var(--color-neutral);
    border-color: #e0d5ca;
}
.cookie-btn-secondary:hover {
    background: #ede5dc;
    border-color: var(--color-primary);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--color-neutral-light);
    border-color: var(--color-border);
}
.cookie-btn-outline:hover {
    background: #f5f0eb;
    color: var(--color-neutral);
    border-color: var(--color-neutral-light);
}

/* Painel de Personalização */
.cookie-customize-panel {
    background: #fff;
    padding: 24px 32px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--color-primary);
}
.cookie-customize-panel h3 {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    color: var(--color-neutral);
    margin-bottom: 8px;
}
.cookie-customize-desc {
    font-size: 0.88rem;
    color: var(--color-neutral-light);
    margin-bottom: 20px;
}

/* Toggles */
.cookie-toggle-group {
    margin-bottom: 20px;
}
.cookie-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}
.cookie-toggle-row:last-child {
    border-bottom: none;
}
.cookie-toggle-info {
    flex: 1;
    padding-right: 16px;
}
.cookie-toggle-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-neutral);
    margin-bottom: 2px;
}
.cookie-toggle-info span {
    font-size: 0.82rem;
    color: var(--color-neutral-light);
    line-height: 1.4;
}

/* Switch Toggle */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: background 0.3s;
}
.cookie-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.cookie-switch input:checked + .cookie-slider {
    background: var(--color-primary);
}
.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(22px);
}
.cookie-switch-disabled .cookie-slider {
    background: var(--color-primary);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-customize-actions {
    display: flex;
    gap: 10px;
}

/* ============================================
   RESPONSIVO — PÁGINAS LEGAIS + COOKIES
   ============================================ */
@media (max-width: 768px) {
    .main-app-container {
        padding-top: 90px;
    }
    .legal-content {
        padding: 28px 20px;
        border-radius: 12px;
    }
    .legal-content h1 {
        font-size: 1.5rem;
    }
    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .rights-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .right-card {
        padding: 14px;
    }
    .cookie-consent-modal {
        flex-direction: column;
        padding: 14px 16px;
        gap: 12px;
    }
    .cookie-customize-panel {
        padding: 16px;
    }
    .cookie-consent-actions {
        flex-wrap: wrap;
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        min-width: 0;
    }
    .cookie-customize-actions {
        flex-direction: column;
    }
}

/* ===== Menu mobile (hambúrguer) — redesign elegante 01/08/2026 ===== */
/* Botão hambúrguer que anima para X */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color .2s ease;
}
.menu-toggle:hover { background: rgba(122, 19, 19, 0.08); }
.menu-toggle-bars {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 18px;
}
.menu-toggle-bars > span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #1a0f08;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.35); /* halo p/ aparecer sobre fundos escuros do hero */
    transition: transform .28s cubic-bezier(.4,0,.2,1),
                top .28s cubic-bezier(.4,0,.2,1),
                opacity .18s ease,
                background-color .18s ease;
}
.menu-toggle-bars > span:nth-child(1) { top: 0; }
.menu-toggle-bars > span:nth-child(2) { top: 8px; }
.menu-toggle-bars > span:nth-child(3) { top: 16px; }
.menu-toggle.is-open .menu-toggle-bars > span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bars > span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bars > span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
/* Quando o menu está aberto, as barras (agora um X) ficam em bordô — o header mantém sua identidade */
body.menu-open .menu-toggle-bars > span { background: var(--color-primary, #7A1313); box-shadow: none; }
.main-header.scrolled .menu-toggle-bars > span { background: #fff; box-shadow: none; }

@media (min-width: 768px) {
    .menu-toggle { display: none; }
}

@media (max-width: 767px) {
    /* Backdrop escuro atrás do menu; recebe clique-fora pra fechar (via listener JS que já checa !menu.contains) */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 12, 6, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 900;
        animation: navFade .22s ease-out;
    }

    /* Painel do menu — vinho escuro com gradient e blur, tipografia clara com acento dourado */
    .main-header .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px 0 18px;
        gap: 0;
        list-style: none;
        z-index: 1200;
        background: linear-gradient(180deg, #2b1a10 0%, #1a0f08 100%);
        border-bottom: 1px solid rgba(241, 196, 15, 0.18);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
        border-radius: 0 0 20px 20px;
        transform-origin: top center;
        animation: navSlideDown .24s cubic-bezier(.4,0,.2,1);
    }
    .main-header .nav-menu.open li {
        width: 100%;
        opacity: 1;
        animation: navItemIn .28s cubic-bezier(.4,0,.2,1) backwards;
    }
    .main-header .nav-menu.open li:nth-child(1) { animation-delay: .04s; }
    .main-header .nav-menu.open li:nth-child(2) { animation-delay: .08s; }
    .main-header .nav-menu.open li:nth-child(3) { animation-delay: .12s; }
    .main-header .nav-menu.open li:nth-child(4) { animation-delay: .16s; }
    .main-header .nav-menu.open li:nth-child(5) { animation-delay: .20s; }

    .main-header .nav-menu.open a,
    .main-header.scrolled .nav-menu.open a {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 54px;
        padding: 14px 24px;
        font-family: var(--font-headline, 'Montserrat', sans-serif);
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0.2px;
        font-size: 16px;
        line-height: 1.2;
        color: #ffffff;
        text-decoration: none;
        border-left: 3px solid transparent;
        transition: background-color .18s ease,
                    color .18s ease,
                    border-left-color .18s ease,
                    padding-left .18s ease;
    }
    .main-header .nav-menu.open .nav-ico {
        flex: 0 0 auto;
        color: rgba(241, 196, 15, 0.75);
        transition: color .18s ease, transform .18s ease;
    }
    .main-header .nav-menu.open a:hover,
    .main-header .nav-menu.open a:focus-visible,
    .main-header .nav-menu.open a.active,
    .main-header.scrolled .nav-menu.open a:hover,
    .main-header.scrolled .nav-menu.open a.active {
        background: linear-gradient(90deg, rgba(241,196,15,0.10), rgba(241,196,15,0) 60%);
        color: var(--color-secondary, #F1C40F);
        border-left-color: var(--color-secondary, #F1C40F);
        padding-left: 28px;
    }
    .main-header .nav-menu.open a:hover .nav-ico,
    .main-header .nav-menu.open a.active .nav-ico {
        color: var(--color-secondary, #F1C40F);
        transform: translateX(2px);
    }
    .main-header .nav-menu.open a:active {
        background: rgba(241, 196, 15, 0.16);
    }
    /* Divisórias sutis douradas entre itens */
    .main-header .nav-menu.open li + li a {
        border-top: 1px solid rgba(241, 196, 15, 0.06);
    }
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px) scaleY(.98); }
    to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}
@keyframes navItemIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
@keyframes navFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    /* Apenas desliga a animação — NÃO zera transform/opacity (que definem o estado do X aberto e do stagger inicial dos itens já se torna irrelevante sem animação). */
    .menu-toggle-bars > span,
    .main-header .nav-menu.open,
    .main-header .nav-menu.open a,
    .main-header .nav-menu.open .nav-ico,
    body.menu-open::before { transition: none !important; animation: none !important; }
    /* Itens não animam; garante que fiquem visíveis mesmo sem o animation:forwards */
    .main-header .nav-menu.open li { opacity: 1 !important; transform: none !important; }
}

/* ===== Busca com expansão horizontal + autocomplete — adicionado 25/07/2026 ===== */
.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 42px;
    height: 42px;
    border-radius: 24px;
    transition: width .3s ease, background-color .3s ease, padding .3s ease;
    overflow: visible;
}
.search-bar-container.active {
    width: 280px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0 6px 0 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.search-toggle-btn { flex: 0 0 auto; z-index: 2; }
.search-bar-container.active .search-toggle-btn { color: #fff; }
.main-header.scrolled .search-bar-container.active .search-toggle-btn { color: #fff; }
#search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    opacity: 0;
    height: 32px;
    border: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: width .3s ease, opacity .3s ease;
    padding: 0;
}
.search-bar-container.active #search-input {
    width: 100%;
    opacity: 1;
    padding: 0 6px;
}
#search-input::placeholder { color: rgba(255, 255, 255, 0.7); }
/* Remove o "x" nativo do Chrome/Edge */
#search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 28px);
    max-height: 60vh;
    overflow-y: auto;
    background: #1a1108;
    color: #f5eee4;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    z-index: 1001;
}
.search-bar-container.active .search-results-dropdown.open { display: block; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color .12s ease;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255, 255, 255, 0.06); }
.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: #2a1a10;
    flex: 0 0 auto;
}
.search-result-info { flex: 1 1 auto; min-width: 0; }
.search-result-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-price {
    color: var(--color-secondary, #e0a63a);
    font-weight: 700;
    font-size: 13px;
}
.search-result-item .add-to-cart-btn {
    flex: 0 0 auto;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    background: var(--color-secondary, #e0a63a);
    color: #2b1a10;
    border: none;
    cursor: pointer;
    font-weight: 700;
}
.search-result-item .add-to-cart-btn:disabled,
.search-result-item .add-to-cart-btn.btn-out-of-stock {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    cursor: not-allowed;
}
.search-empty, .search-loading {
    padding: 14px;
    text-align: center;
    color: rgba(245, 238, 228, 0.7);
    font-size: 13px;
}
@media (max-width: 768px) {
    .search-bar-container.active {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        width: min(280px, calc(100vw - 28px));
        z-index: 1100;
    }
    .search-results-dropdown {
        width: min(320px, calc(100vw - 28px));
        right: 0;
        left: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .search-bar-container,
    #search-input { transition: none; }
}

/* ===== Aviso de prazo de envio no checkout ===== */
.shipping-eta-note {
    margin-top: 12px;
    padding: 12px 14px;
    background: #FBF6EC;
    border: 1px solid var(--color-secondary);
    border-left: 4px solid var(--color-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-neutral);
}
.shipping-eta-note a {
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}
.shipping-eta-note a:hover { text-decoration: underline; }

/* ===== Página Política de Envio ===== */
.shipping-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-neutral-light);
    margin-bottom: 8px;
}
.shipping-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}
.shipping-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}
.shipping-step:last-child { border-bottom: none; }
.shipping-step-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
}
.shipping-step strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-size: 1.02rem;
}
.shipping-step p { margin: 0; line-height: 1.6; color: var(--color-neutral-light); }
.shipping-highlight {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, #FBF6EC 0%, #F7F5F2 100%);
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
}
.shipping-highlight-icon { font-size: 2rem; flex-shrink: 0; }
.shipping-highlight strong { display: block; color: var(--color-primary); margin-bottom: 4px; }
.shipping-highlight p { margin: 0; line-height: 1.6; color: var(--color-neutral-light); }

/* ===== Checkout em passos (wizard) ===== */
.checkout-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto 24px;
    padding: 0 8px;
}
.cstep {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-neutral-light);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.cstep-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-neutral-light);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.cstep.active .cstep-num { background: var(--color-primary); color: #fff; }
.cstep.active { color: var(--color-primary); }
.cstep.done .cstep-num { background: var(--color-secondary); color: var(--color-neutral); }
.cstep.done { color: var(--color-neutral); }
.cstep-sep {
    flex: 1;
    height: 2px;
    max-width: 60px;
    background: var(--color-border);
}
@media (max-width: 480px) {
    .cstep-label { display: none; }
    .cstep-sep { max-width: none; }
}

/* Painéis de passo: só o ativo aparece */
.checkout-step { display: none; }
.checkout-step.active { display: block; }

.checkout-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}
.checkout-step-nav .btn-step-next { margin-left: auto; }
.btn-step-next,
.btn-step-back {
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: background .2s, opacity .2s;
}
.btn-step-next {
    background: var(--color-primary);
    color: #fff;
}
.btn-step-next:hover { background: var(--color-primary-hover); }
.btn-step-back {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

/* ============================================
   CLUBE DO CAFÉ (/clube-do-cafe)
   ============================================ */
.club-page { padding-bottom: 0; }

.btn-club-primary {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.btn-club-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Hero */
.club-hero {
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    display: flex;
    align-items: center;
    min-height: 420px;
}
.club-hero-content {
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
}
.club-hero-title {
    font-family: var(--font-headline);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.club-hero-subtitle {
    color: #f1f1f1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Por que assinar */
.club-why {
    background: var(--color-bg-alt);
    padding: 64px 0;
}
.club-why-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.club-why-content h2 {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    color: var(--color-neutral);
    margin-bottom: 16px;
}
.club-why-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-neutral-light);
}

/* Benefícios */
.club-benefits { padding: 64px 0; }
.club-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.club-benefit-card {
    text-align: center;
}
.club-benefit-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}
.club-benefit-card h3 {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    color: var(--color-neutral);
    margin-bottom: 10px;
}
.club-benefit-card p {
    font-size: 0.95rem;
    color: var(--color-neutral-light);
    line-height: 1.65;
}

/* Como funciona */
.club-steps {
    background: var(--color-bg-alt);
    padding: 64px 0;
}
.club-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.club-step {
    text-align: center;
    padding: 0 12px;
}
.club-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 14px;
}
.club-step h3 {
    font-family: var(--font-headline);
    font-size: 1rem;
    color: var(--color-neutral);
    margin-bottom: 6px;
}
.club-step p {
    font-size: 0.9rem;
    color: var(--color-neutral-light);
    line-height: 1.6;
}

/* Planos */
.club-plans { padding: 64px 0; }
.club-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 32px;
}
.club-plan-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.club-plan-featured {
    border: 2px solid var(--color-secondary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.club-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: var(--color-neutral);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.club-plan-name {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    color: var(--color-neutral);
    margin-bottom: 6px;
}
.club-plan-tagline {
    font-size: 0.9rem;
    color: var(--color-neutral-light);
    margin-bottom: 16px;
    min-height: 40px;
}
.club-plan-price {
    font-family: var(--font-headline);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.club-plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-neutral-light);
}
.club-plan-shipping-note {
    font-size: 0.8rem;
    color: var(--color-neutral-light);
    margin-top: -14px;
    margin-bottom: 20px;
}
.club-plan-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}
.club-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-neutral);
    line-height: 1.5;
    margin-bottom: 12px;
}
.club-check {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
}
.btn-club-plan {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-club-plan:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn-club-plan-featured {
    background: var(--color-primary);
    color: #fff;
}
.btn-club-plan-featured:hover {
    background: var(--color-primary-hover);
}
.club-plan-soon {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-neutral-light);
    margin-top: 8px;
}

/* Prova / confiança */
.club-trust {
    background: var(--color-bg-alt);
    padding: 64px 0;
}
.club-trust-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}
.club-trust-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}
.club-trust-content h2 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-neutral);
    margin-bottom: 12px;
}
.club-trust-content p {
    font-size: 0.98rem;
    color: var(--color-neutral-light);
    line-height: 1.7;
}

/* FAQ */
.club-faq { padding: 64px 0; }
.club-faq-list {
    max-width: 760px;
    margin: 32px auto 0;
}
.club-faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.club-faq-item summary {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--color-neutral);
    cursor: pointer;
}
.club-faq-item p {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--color-neutral-light);
    line-height: 1.65;
}
.club-faq-item a { color: var(--color-primary); font-weight: 600; }

/* CTA final */
.club-cta-final {
    background: var(--color-neutral);
    padding: 64px 0;
    text-align: center;
}
.club-cta-final h2 {
    font-family: var(--font-headline);
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 24px;
}

/* Responsivo */
@media (max-width: 900px) {
    .club-benefits-grid { grid-template-columns: 1fr; }
    .club-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .club-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .club-plan-featured { transform: none; }
    .club-trust-content { grid-template-columns: 1fr; }
    .club-trust-img { height: 220px; }
}
@media (max-width: 480px) {
    .club-hero-title { font-size: 1.8rem; }
    .club-steps-grid { grid-template-columns: 1fr; }
}
.btn-step-back:hover { border-color: var(--color-primary); }

/* ============================================
   MODAL DE ASSINATURA (Clube do Café — Fase 5)
   ============================================ */
.subscribe-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.subscribe-modal-overlay.open {
    display: flex;
}
.subscribe-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}
.subscribe-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-neutral-light);
    cursor: pointer;
}
.subscribe-modal h3 {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    color: var(--color-neutral);
    margin-bottom: 4px;
    padding-right: 30px;
}
.subscribe-modal-price {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.subscribe-modal-price span { font-size: inherit; }
.subscribe-modal-shipping-note {
    font-size: 0.8rem;
    color: var(--color-neutral-light);
    margin-bottom: 20px;
}
.subscribe-modal-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.subscribe-modal-msg-success { background: #e6f4ea; color: #1e7a34; }
.subscribe-modal-msg-error { background: #fdecec; color: #a41c1c; }
.subscribe-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}
.subscribe-fieldset legend {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-neutral);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    padding: 0;
}
.subscribe-fieldset input,
.subscribe-fieldset select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    margin-bottom: 10px;
}
.subscribe-fieldset input:focus,
.subscribe-fieldset select:focus {
    outline: none;
    border-color: var(--color-primary);
}
.subscribe-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.subscribe-form-row input:only-child { grid-column: 1 / -1; }
.subscribe-flavor-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.subscribe-flavor-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 10px;
}
.subscribe-flavor-row label {
    font-size: 0.85rem;
    color: var(--color-neutral-light);
}
.subscribe-flavor-row select { margin-bottom: 0; }
@media (max-width: 480px) {
    .subscribe-flavor-row { grid-template-columns: 1fr; gap: 2px; }
}
.subscribe-submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.subscribe-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.subscribe-modal-security {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-neutral-light);
    margin-top: 12px;
}
@media (max-width: 480px) {
    .subscribe-modal { padding: 24px 20px; }
    .subscribe-form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Aviso em popup do site
   Caixa informativa exibida na carga do site e/ou ao abrir o carrinho.
   Conteúdo, liga/desliga e os dois gatilhos vêm da tabela `site_notice` e são
   editados em /admin/hero. Não depende mais de flag no .env nem de deploy.
   Os nomes das classes continuam `pix-notice-*` por causa do primeiro uso
   (aviso de pagamento só por PIX, set/2026); o recurso é genérico — renomear
   obrigaria a mexer no CSS e no HTML sem ganho nenhum.
   ========================================================================== */
.pix-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pix-notice-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.pix-notice-box {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 100%;
    padding: 32px 28px 26px;
    text-align: center;
    position: relative;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pix-notice-overlay.is-open .pix-notice-box {
    transform: translateY(0) scale(1);
}

.pix-notice-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--color-neutral-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.pix-notice-close:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

.pix-notice-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.pix-notice-box h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.pix-notice-box p {
    font-size: 0.97rem;
    color: var(--color-neutral-light);
    margin-bottom: 10px;
}

.pix-notice-box p:last-of-type {
    margin-bottom: 22px;
}

.pix-notice-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-family: var(--font-label);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.pix-notice-btn:hover {
    background: var(--color-primary-hover);
}

@media (max-width: 480px) {
    .pix-notice-box {
        padding: 28px 20px 22px;
    }
    .pix-notice-box h3 {
        font-size: 1.12rem;
    }
}
