body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    padding-bottom: 4.5rem;
}
.hero-cover {
    background-color: #FDC204;
    background-image: none;
    background-size: cover;
    background-position: center;
}
/* Scrollbar customizada */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #FBC91B; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #FDC204; }

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.home-promo-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

@media (max-width: 640px) {
    .home-promo-banner {
        border-radius: 0.625rem;
    }
}

/* Estilos do Carrinho */
#cart-content.collapsed #cart-expanded {
    display: none;
}
#cart-content:not(.collapsed) #cart-collapsed {
    display: none;
}
/* Barra superior de categorias */
#main-category-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background: #FDC204;
    border-bottom: 1px solid #e3a900;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.16);
}

#category-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.6vw, 2.5rem);
    width: 100%;
    max-width: 84rem;
    min-height: 3.55rem;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

#category-nav-links::-webkit-scrollbar {
    display: none;
}

.category-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.55rem;
    flex: 0 0 auto;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.category-link:hover,
.category-link.active {
    color: #111827;
    opacity: 1;
}

.category-link.active {
    font-weight: 800;
}

.category-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.72rem;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

@media (max-width: 768px) {
    #category-nav-links {
        justify-content: flex-start;
        gap: 1.45rem;
        min-height: 3.25rem;
        padding: 0 1rem;
    }

    .category-link {
        min-height: 3.25rem;
        font-size: 0.9rem;
    }
}
/* Estilo para a categoria da grade ativa */
.category-grid-item.active p {
    color: #A37700;
    font-weight: 700;
}
.category-grid-item.active .category-grid-thumb {
    border-color: #FDC204;
    transform: scale(1.05);
}
/* Animação para destacar produto */
@keyframes highlight {
    0% { background-color: #FEF3C7; } /* amber-100 */
    100% { background-color: transparent; }
}
.highlight-product {
    animation: highlight 2s ease-out;
}

/* Modal de localização (onboarding CEP) */
#cep-overlay {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(253, 194, 4, 0.24), transparent 34rem),
        rgba(17, 24, 39, 0.66);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#cep-overlay.is-open { display: flex; }
.cep-modal-card {
    width: min(100%, 24rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    scrollbar-width: none;
}
.cep-modal-card::-webkit-scrollbar {
    display: none;
}
.cep-modal-logo {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.25rem;
    border: 1px solid rgba(253, 194, 4, 0.65);
    border-radius: 1.25rem;
    background: #fdc204;
    box-shadow: 0 12px 28px rgba(253, 194, 4, 0.25);
    object-fit: cover;
}
.cep-modal-card > h2 {
    margin-top: 0.35rem;
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.12;
    font-weight: 800;
}
.cep-modal-card > h2 + p {
    margin-top: 0.35rem;
    margin-bottom: 1.35rem;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.35;
}
#cep-step-1 > p:first-child {
    margin-bottom: 0.7rem;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 800;
}
#cep-input {
    height: 3.35rem;
    margin-bottom: 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    background: #f9fafb;
    color: #111827;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}
#cep-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}
#cep-input:focus {
    border-color: #fdc204;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(253, 194, 4, 0.18);
}
#cep-error {
    margin-bottom: 0.65rem;
    color: #dc2626;
    font-weight: 600;
}
#cep-confirm,
#cep-finish {
    min-height: 3.25rem;
    border-radius: 1rem;
    background: #fdc204;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(253, 194, 4, 0.26);
}
#cep-confirm:hover,
#cep-finish:hover {
    background: #f0b500;
    transform: translateY(-1px);
}
#cep-confirm:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}
#cep-skip {
    margin-top: 0.8rem;
    color: #6b7280;
    font-weight: 700;
}
#cep-skip:hover {
    color: #111827;
}
.cep-availability-card {
    margin: 0.75rem 0 1rem;
    padding: 0.95rem;
    border: 1px solid #d1fae5;
    border-radius: 1rem;
    background: #f0fdf4;
    text-align: left;
}
.cep-availability-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
}
.cep-availability-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}
.cep-driver-name {
    margin-top: 0.5rem;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 700;
}
.cep-address {
    margin-top: 0.2rem;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.35;
}
@media (max-height: 620px) {
    #cep-overlay {
        align-items: flex-start;
        padding: 0.5rem;
    }
    .cep-modal-card {
        max-height: calc(100dvh - 1rem);
        padding: 1rem;
        border-radius: 1.25rem;
    }
    .cep-modal-logo {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.35rem;
    }
    .cep-modal-card > p {
        margin-bottom: 0.75rem;
    }
    #cep-step-1 > p:first-child {
        margin-bottom: 0.5rem;
    }
    #cep-input {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
    #cep-confirm {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
    #cep-skip {
        margin-top: 0.45rem;
    }
    .cep-modal-card:has(#cep-step-3:not(.hidden)) > .cep-modal-logo,
    .cep-modal-card:has(#cep-step-3:not(.hidden)) > h2,
    .cep-modal-card:has(#cep-step-3:not(.hidden)) > h2 + p {
        display: none;
    }
    #cep-step-3 > .w-16 {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0.45rem;
    }
    #cep-step-3 > .w-16 svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    .cep-availability-card {
        margin-top: 0.5rem;
        margin-bottom: 0.6rem;
        padding: 0.7rem;
    }
    #cep-step-3 > p.text-xs {
        margin-bottom: 0.65rem;
        line-height: 1.25;
    }
    #cep-finish {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}
@keyframes cep-dot-pulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}
.cep-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #FDC204;
    display: inline-block;
    animation: cep-dot-pulse 1.2s infinite ease-in-out;
}
.cep-dot:nth-child(2) { animation-delay: 0.2s; }
.cep-dot:nth-child(3) { animation-delay: 0.4s; }

/* Pisca-pisca do indicador "Pedidos Online" / "Aberto" */
@keyframes btn-pisca {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.72);
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
}
.btn-pisca {
    animation: btn-pisca 1s infinite ease-in-out;
}

@keyframes badge-live {
    0%, 100% {
        border-color: #bbf7d0;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08), 0 0 0 rgba(34, 197, 94, 0);
    }
    50% {
        border-color: #22c55e;
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.10), 0 0 14px rgba(34, 197, 94, 0.28);
    }
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1rem;
    text-align: center;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.75rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background: #fff;
    color: #374151;
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.store-badge-super {
    border-color: #fde68a;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}

.store-badge-live {
    gap: 0.375rem;
    color: #166534;
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    font-weight: 700;
    animation: badge-live 1.6s infinite ease-in-out;
}

.store-live-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    background: #22c55e;
}

.mansao-section {
    margin-bottom: 3rem;
}

.mansao-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.mansao-head h2 {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.mansao-head button {
    flex: 0 0 auto;
    color: #d97706;
    font-size: 0.875rem;
    font-weight: 800;
}

.chip-promo {
    background: #dcfce7;
    color: #047857;
}

.seo-delivery-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #fffdf6 0%, #ffffff 52%, #f8fafc 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.seo-delivery-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.25rem;
    background: linear-gradient(90deg, #f59e0b, #facc15, #22c55e);
}

.seo-delivery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 3.35rem;
    margin-top: 1.25rem;
    padding: 0.85rem 2.15rem;
    border-radius: 0.9rem;
    background: #fbbf24;
    color: #111827;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.seo-delivery-cta:hover {
    transform: translateY(-2px);
    background: #f59e0b;
    box-shadow: 0 16px 28px rgba(217, 119, 6, 0.28);
}

.seo-delivery-cta svg {
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.seo-delivery-cta:hover svg {
    transform: translateX(3px);
}

.seo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.seo-benefit-card {
    min-height: 10.5rem;
    border: 1px solid #edf0f4;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.15rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.seo-benefit-card:hover {
    transform: translateY(-3px);
    border-color: #fbbf24;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.09);
}

.seo-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 0.8rem;
    border-radius: 0.85rem;
    background: #fffbeb;
    color: #d97706;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.22);
}

.seo-benefit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.site-footer {
    border-top: 1px solid rgba(146, 64, 14, 0.14);
    background: #fbbf24;
    color: #111827;
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.65rem 0 1.75rem;
    text-align: center;
}

.site-footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.2;
}

.site-footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.12);
}

.site-footer-badge svg {
    width: 1rem;
    height: 1rem;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.site-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    color: rgba(17, 24, 39, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer-links a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.34);
    color: #111827;
}

.site-footer-links svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}

.site-footer-legal {
    color: rgba(17, 24, 39, 0.62);
    font-size: 0.68rem;
    line-height: 1.2;
}

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

@media (max-width: 640px) {
    .seo-delivery-panel {
        padding: 1.6rem 1rem;
    }

    .seo-delivery-cta {
        width: 100%;
        max-width: 20rem;
        padding-inline: 1.25rem;
    }

    .seo-benefit-grid {
        grid-template-columns: 1fr;
    }

    .seo-benefit-card {
        min-height: auto;
    }

    .site-footer-inner {
        padding-bottom: 5.75rem;
    }
}

.bottom-app-nav {
    display: none;
}

.bottom-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 800;
}

.bottom-app-item svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.bottom-app-item.is-active {
    color: #facc15;
}

#shopping-cart-container {
    bottom: 0;
    padding: 0 !important;
    background: transparent !important;
}

#shopping-cart-container:has(.cart-shell.collapsed) {
    padding: 0 !important;
}

.cart-shell {
    max-width: min(35rem, calc(100vw - 1rem)) !important;
    border-radius: 0.875rem !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cart-shell.collapsed {
    overflow: visible !important;
    max-width: min(39rem, calc(100vw - 2rem)) !important;
}

.cart-shell.collapsed #cart-expanded {
    display: none;
}

.cart-shell.collapsed #cart-collapsed {
    display: none;
}

.cart-shell.collapsed .cart-head {
    border-bottom: 0;
    border-radius: 0.875rem 0.875rem 0 0;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.16);
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    background: #FDC204;
    color: #111827;
    border-bottom: 1px solid #e3a900;
    border-radius: 0.875rem 0.875rem 0 0;
}

.cart-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-brand img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
}

.cart-brand h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.cart-brand p {
    margin-top: 0.15rem;
    color: rgba(17, 24, 39, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
}

.cart-close {
    color: #111827;
    opacity: 0.75;
}

.cart-body {
    max-height: min(74vh, 42rem);
    overflow-y: auto;
    padding: 1.35rem;
    background: #f4f4f5;
    border-radius: 0 0 0.875rem 0.875rem;
}

.cart-body h2 {
    margin-bottom: 1rem;
    color: #111827;
    font-size: 1.45rem;
    font-weight: 800;
}

.cart-items-list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-line-item {
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 5.75rem;
    padding: 0.85rem;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.cart-line-item > img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.cart-line-name {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.cart-line-price,
.cart-line-total {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.15;
}

.cart-line-actions {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 0.35rem;
    color: #111827;
    font-weight: 800;
}

.cart-qty-btn {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #111827;
    font-weight: 900;
    line-height: 1;
}

.cart-trash-btn {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 0.45rem;
    color: #9ca3af;
}

.cart-trash-btn svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.cart-summary {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    color: #374151;
    font-size: 0.95rem;
}

.cart-summary-row + .cart-summary-row {
    border-top: 1px solid #e5e7eb;
}

.cart-summary-row strong {
    color: #111827;
}

.cart-shipping-row strong {
    color: #16a34a;
}

.cart-total-row {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 800;
}

.cart-total-row strong {
    color: #e11d48;
    font-size: 1.45rem;
}

.cart-checkout-btn,
.cart-more-btn {
    width: 100%;
    min-height: 3.45rem;
    border-radius: 0.75rem;
    font-weight: 900;
    font-size: 1rem;
}

.cart-checkout-btn {
    margin-top: 0.8rem;
    background: #FDC204;
    color: #0f0f0f;
}

.cart-more-btn {
    margin-top: 0.75rem;
    border: 2px solid #FDC204;
    background: #fff;
    color: #111827;
}

@media (max-width: 520px) {
    .cart-body {
        max-height: min(72vh, 38rem);
        padding: 1rem;
    }

    .cart-line-item {
        grid-template-columns: 3.75rem minmax(0, 1fr);
    }

    .cart-line-actions {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.45rem;
    }

    .cart-line-item > img {
        width: 3.5rem;
        height: 3.5rem;
    }
}

@media (max-width: 520px) {
    .mansao-head h2 {
        font-size: 1.45rem;
    }
}

/* Verificacao de idade */
.age-gate-container.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.age-gate-popup.swal2-popup {
    width: min(92vw, 560px);
    padding: 34px 32px 30px;
    border: 1px solid rgba(253, 194, 4, 0.34);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(253, 194, 4, 0.12), transparent 36%),
        #101010;
    color: #fff7d6;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.age-gate-title-wrap.swal2-title {
    padding: 0;
    margin: 0;
}

.age-gate-title {
    color: #ffffff;
    display: block;
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.12;
}

.age-gate-html.swal2-html-container {
    margin: 20px 0 0;
    overflow: visible;
}

.age-gate-content {
    text-align: center;
}

.age-gate-badge {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto 20px;
    border-radius: 999px;
    background: #FDC204;
    color: #101010;
    border: 5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(253, 194, 4, 0.28);
}

.age-gate-badge span {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
}

.age-gate-copy {
    max-width: 410px;
    margin: 0 auto 8px;
    color: #f4e8b3;
    font-size: 1rem;
    line-height: 1.55;
}

.age-gate-copy strong {
    color: #FDC204;
    font-weight: 800;
}

.age-gate-question {
    margin: 0;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
}

.age-gate-actions.swal2-actions {
    width: 100%;
    gap: 12px;
    margin-top: 28px;
}

.age-gate-button.swal2-styled {
    min-width: 168px;
    min-height: 50px;
    margin: 0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.age-gate-button.swal2-styled:focus {
    box-shadow: 0 0 0 4px rgba(253, 194, 4, 0.22);
}

.age-gate-button.swal2-styled:hover {
    transform: translateY(-1px);
}

.age-gate-confirm.swal2-confirm {
    color: #111111;
    box-shadow: 0 12px 24px rgba(253, 194, 4, 0.22);
}

.age-gate-cancel.swal2-cancel {
    color: #ffffff;
    border: 1px solid rgba(253, 194, 4, 0.34);
}

@media (max-width: 520px) {
    .age-gate-popup.swal2-popup {
        padding: 28px 20px 24px;
    }

    .age-gate-actions.swal2-actions {
        flex-direction: column;
    }

    .age-gate-button.swal2-styled {
        width: 100%;
    }
}

/* =================================================================== */
/* CÓDIGO ATUALIZADO PARA A BARRA DE PESQUISA FIXA (29/08/2025) */
/* =================================================================== */
#search-container.fixed-search {
    position: fixed;
    /* Alterado para 0 para colar no topo da tela */
    top: 0; 
    left: 0;
    right: 0;
    /* Aumentado para ficar na frente de tudo */
    z-index: 30; 
    
    /* Alterado para a cor primária do site */
    background-color: #FDC204;
    
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

/* Melhoria de contraste para o campo de busca quando fixo */
#search-container.fixed-search input {
    background-color: white;
    border-color: #FBC91B; /* Tom mais claro da paleta */
}

/* Classe para adicionar o espaçamento no 'main' e evitar o "pulo" do conteúdo */
main.search-is-fixed {
    /* A altura exata será definida via JavaScript para ser precisa */
    padding-top: 80px; 
}
.category-grid-list {
    display: grid;
    grid-template-columns: repeat(8, minmax(4.75rem, 1fr));
    gap: 1rem 0.625rem;
    align-items: start;
    min-width: 45rem;
}

.category-grid-item {
    display: grid;
    grid-template-rows: 4.5rem minmax(2.25rem, auto);
    justify-items: center;
    align-items: start;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
    cursor: pointer;
    text-align: center;
}

.category-grid-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.category-grid-item > p {
    width: 100%;
    max-width: 5.8rem;
    min-height: 2.25rem;
    text-align: center;
    color: #1f2937;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 767px) {
    .category-grid-list {
        grid-template-columns: repeat(8, 4.75rem);
        gap: 0.85rem 0.45rem;
        min-width: max-content;
    }

    .category-grid-item {
        grid-template-rows: 4.25rem minmax(2.25rem, auto);
    }

    .category-grid-thumb {
        width: 4.25rem;
        height: 4.25rem;
    }
}

#carousels-container section > div:last-child > div {
    flex: 0 0 10rem;
    width: 10rem;
}

#carousels-container figure > div {
    top: 0.5rem;
    left: 0.5rem;
}

/* ===== Tema preto & amarelo (carrinho / checkout) ===== */
.bg-preto { background-color: #0f0f0f !important; }
.text-amarelo { color: #FDC204 !important; }

/* ===== Utilitários de tamanho ausentes no Tailwind compilado ===== */
.w-2\.5 { width: 0.625rem; }   .h-2\.5 { height: 0.625rem; }
.w-3 { width: 0.75rem; }       .h-3 { height: 0.75rem; }
.w-4 { width: 1rem; }          .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }       .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }        .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }       .h-7 { height: 1.75rem; }
.w-10 { width: 2.5rem; }       .h-10 { height: 2.5rem; }
.w-16 { width: 4rem; }         .h-16 { height: 4rem; }

/* ===== Utilitários de layout ausentes no Tailwind compilado ===== */
.inline-flex { display: inline-flex; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.mt-auto { margin-top: auto; }
.pt-2 { padding-top: 0.5rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.gap-1\.5 { gap: 0.375rem; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Grid dos cards do topo (2 colunas) ===== */
.top-status-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.top-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.25rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: #22c55e;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.25);
}

.top-status-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background: #fff;
    flex: 0 0 auto;
}

.header-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: min(100%, 36rem);
    margin: 0 auto;
}

.header-info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.625rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.header-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 9999px;
    background: #FDC204;
    color: #111827;
}

@media (max-width: 420px) {
    .top-status-wrap {
        margin-bottom: 1rem;
    }

    .header-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Card de produto (carrossel) — robusto, sem depender do Tailwind compilado ===== */
.pcard {
    display: flex;
    flex-direction: column;
    flex: 0 0 10rem;
    width: 10rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.pcard-fig {
    width: 100%;
    height: 8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin: 0;
}
.pcard-fig img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}
.pcard-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.7rem;
}
.pcard-nome {
    font-size: 0.82rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.pcard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.4rem;
}
.pcard-foot {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* ===== Tags abaixo dos produtos ===== */
.prod-nome {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    line-height: 1.25;
}
.prod-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.08rem 0.42rem;
    border-radius: 9999px;
    white-space: nowrap;
}
.chip-quente { background: #dc2626; color: #fff; }
.chip-vendido { background: #FDC204; color: #0f0f0f; }

/* ============================================================
   Utilitários Tailwind ausentes na build estática (tailwind.css)
   Necessários para a página de categoria / "Carregar mais",
   chips de tags, carrinho e modais renderizados via JS.
   ============================================================ */
/* Layout / grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.items-start { align-items: flex-start; }
/* Tamanhos */
.h-20 { height: 5rem; }
.h-40 { height: 10rem; }
.h-full { height: 100%; }
.w-20 { width: 5rem; }
/* Espaçamento */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.p-6 { padding: 1.5rem; }
/* Tipografia */
.font-medium { font-weight: 500; }
.text-md { font-size: 1rem; line-height: 1.5rem; }
.text-\[10px\] { font-size: 10px; }
.line-through { text-decoration-line: line-through; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
/* Bordas / raios */
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
/* Cores (chips de tags / badges) */
.bg-blue-100 { background-color: #dbeafe; }
.bg-green-100 { background-color: #dcfce7; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-red-100 { background-color: #fee2e2; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.text-blue-800 { color: #1e40af; }
.text-green-800 { color: #166534; }
.text-yellow-800 { color: #854d0e; }
.text-red-800 { color: #991b1b; }
.text-purple-800 { color: #6b21a8; }
.text-red-500 { color: #ef4444; }
/* z-index */
.z-\[999\] { z-index: 999; }
/* Estados hover / focus */
.hover\:bg-amber-600:hover { background-color: #d97706; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:text-gray-600:hover { color: #4b5563; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
/* Responsivo */
@media (min-width: 640px) {
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-8 { padding: 2rem; }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Avisos de conformidade (idade / consumo responsável) ===== */
.site-footer-age {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  max-width: 600px;
  margin: .25rem auto 0;
  font-size: .72rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.82);
  text-align: left;
}
.site-footer-age-badge,
.seo-responsible-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: #7c2d12;
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .02em;
}
.seo-responsible-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.5rem auto 0;
  max-width: 640px;
  padding: .85rem 1rem;
  border: 1px solid #f3d9a8;
  background: #fffaf0;
  border-radius: .75rem;
  font-size: .82rem;
  line-height: 1.5;
  color: #7c5a17;
  text-align: left;
}
.cep-age-notice {
  margin-top: .85rem;
  font-size: .7rem;
  line-height: 1.4;
  color: #9ca3af;
  text-align: center;
}
.cep-age-notice strong {
  color: #b45309;
}
.cart-age-note {
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px dashed #e5e7eb;
  font-size: .68rem;
  line-height: 1.4;
  color: #6b7280;
  text-align: center;
}
.cart-age-note strong {
  color: #7c2d12;
}
