/**
 * Chrome da loja (header, mega-nav, busca, footer) — espelha inicio.html
 * Usado em /nossosprodutos e demais páginas via SITE_HEADER_SHELL
 */
@import url('home-desktop-fluid.css');

:root {
    --container-padding: clamp(0.4rem, 2vw, 2rem);
}

body.has-site-header-shell {
    overflow-x: hidden;
}

/* ========== HEADER ========== */
.site-header-shell { position: sticky; top: 0; z-index: 10000; background: var(--site-header-bg, #1e3370); box-shadow: 0 4px 20px rgba(0,0,0,0.22); }
.site-topbar { background: #000; color: #fff; font-size: 12px; border: none; box-shadow: none; }
.site-contact-bar, .site-announcement-bar { background: var(--site-header-bg, #1e3370); border: none; box-shadow: none; }
.site-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 8px 1rem; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 56px); flex-wrap: wrap; }
.site-topbar-link { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.site-topbar-link:hover { opacity: 0.85; color: #fff; }
.site-topbar-link--whatsapp i { color: #25d366; }
.site-contact-bar { color: rgba(255,255,255,0.92); font-size: 12px; }
.site-contact-bar-inner { max-width: 1200px; margin: 0 auto; padding: 8px 1rem; display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; text-align: center; }
.site-contact-bar-left { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; flex: 0 1 auto; min-width: 0; }
.site-contact-bar-right { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.site-contact-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.88); text-decoration: none; }
.site-contact-item:hover { color: #fff; }
.site-contact-item i { font-size: 12px; color: rgba(255,255,255,0.65); }
.site-contact-sep { color: rgba(255,255,255,0.35); }
.site-contact-social { display: flex; align-items: center; gap: 12px; }
.site-contact-social a { display: inline-flex; line-height: 0; }
.site-contact-ra-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; flex-shrink: 0; }
.site-contact-ra-seal { width: 28px; height: 28px; object-fit: contain; }
.site-contact-ra-logo { height: 18px; width: auto; max-width: 110px; }
.site-contact-ra-label { font-size: 10px; color: rgba(255,255,255,0.75); font-weight: 600; margin: 0; white-space: nowrap; }
@media (max-width: 768px) { .site-contact-bar, .site-contact-bar-inner { display: none !important; } }
.site-announcement-bar { color: #fff; display: flex; justify-content: center; align-items: center; padding: 10px 1rem; font-size: 13px; line-height: 1.45; }
.site-announcement-text { margin: 0; text-align: center; max-width: 100%; line-height: 1.45; }
.site-announcement-line1::after { content: ' '; }
.site-announcement-line1,
.site-announcement-line2 { display: inline; }
.site-announcement-text strong { font-weight: 700; }
.site-announcement-icon { width: 28px; height: 21px; object-fit: contain; display: inline-block; vertical-align: middle; margin-left: 0.35em; }
@media (max-width: 768px) {
.site-announcement-line1,
.site-announcement-line2 { display: block; }
.site-announcement-line2 { white-space: nowrap; }
}
/* Banner principal full width (colado na barra de anúncio) */
.home-hero-banner-slot { width: 100%; margin: 0; padding: 0; line-height: 0; display: block; }
.home-hero-banner-slot:empty { display: none; }
.home-hero-banner-slot [data-template-id],
.home-hero-banner-slot .banner-carousel,
.home-hero-banner-slot a,
.home-hero-banner-slot div { margin: 0; padding: 0; border-radius: 0 !important; }
.home-hero-banner-slot img,
.home-hero-banner-slot .home-banner-fullwidth-img { width: 100%; height: auto; display: block; border-radius: 0 !important; max-width: none; }
@media (min-width: 769px) {
.home-hero-banner-slot,
.home-hero-banner-slot .home-banner-fullwidth,
.home-hero-banner-slot .horizontal-banner-section,
.home-hero-banner-slot [data-template-id],
.home-hero-banner-slot [data-section-id="bannerTemplate_template_1779647105469"],
.main-content > [data-section-id="bannerTemplate_template_1779647105469"],
.main-content > .home-banner-fullwidth.horizontal-banner-section {
width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; padding: 0 !important; border-radius: 0 !important; overflow: hidden; box-sizing: border-box;
}
.home-hero-banner-slot img,
.home-hero-banner-slot .home-banner-fullwidth-img,
.main-content > [data-section-id="bannerTemplate_template_1779647105469"] img,
.main-content > .home-banner-fullwidth.horizontal-banner-section img {
width: 100% !important; max-width: none !important; height: auto !important; display: block !important; border-radius: 0 !important;
}
.home-hero-banner-slot > a,
.home-hero-banner-slot > div,
.home-hero-banner-slot .banner-carousel,
.main-content > [data-section-id="bannerTemplate_template_1779647105469"] > a,
.main-content > [data-section-id="bannerTemplate_template_1779647105469"] > div {
width: 100% !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
}
}
/* Trust bar — benefícios abaixo do banner (estilo santoconceito.com.br) */
.home-trust-bar { width: 100%; background: #fff; border-bottom: 1px solid #eee; }
.home-trust-bar-inner { max-width: 1200px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 1.5vw, 24px); flex-wrap: nowrap; }
.home-trust-bar-item { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.home-trust-bar-icon { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #1a1a1a; font-size: 28px; line-height: 1; }
.home-trust-bar-icon i { display: block; }
.home-trust-bar-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.home-trust-bar-title { font-family: 'Quicksand', sans-serif; font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; color: #1a1a1a; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.25; }
.home-trust-bar-subtitle { font-size: clamp(11px, 1vw, 13px); font-weight: 400; color: #4a4a4a; line-height: 1.35; }
.home-trust-bar-item--revendedor { flex: 1 1 0; min-width: 0; text-decoration: none; gap: 10px; transition: opacity 0.2s ease; justify-content: center; }
.home-trust-bar-item--revendedor:hover { opacity: 0.85; }
.home-trust-bar-item--revendedor .home-trust-bar-icon { width: auto; height: auto; font-size: 26px; color: #1a1a1a; }
.home-trust-bar-revendedor-label { font-family: 'Quicksand', sans-serif; font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; color: #1a1a1a; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.25; white-space: nowrap; }
.home-trust-bar-item--payments { flex: 1.4 1 0; min-width: 0; justify-content: center; align-items: center; padding-right: clamp(18px, 2.5vw, 32px); box-sizing: border-box; }
.home-trust-bar-item--payments + .home-trust-bar-item { margin-left: clamp(8px, 1vw, 16px); }
.home-trust-bar-item--payments .home-trust-bar-text { gap: 10px; width: 100%; align-items: center; text-align: center; }
.home-trust-bar-item--payments .home-trust-bar-title { width: 100%; text-align: center; }
.home-trust-bar-payments-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.home-trust-bar-payments-list li { display: flex; align-items: center; flex-shrink: 0; }
.home-trust-bar-payments-list img { display: block; width: auto; height: 24px; max-height: 24px; object-fit: contain; flex-shrink: 0; }
.home-trust-bar-payments-list img[alt="Visa"] { width: 48px; }
.home-trust-bar-payments-list img[alt="Pix"] { height: 24px; width: auto; max-width: 64px; }
.home-trust-bar-payments-list img[alt="Nupay"] { height: 18px; width: auto; max-width: 76px; margin-right: 2px; }
.home-trust-bar-payments-list li:last-child { padding-right: 4px; }
.home-trust-bar-payments-list img[alt="Mercado Pago"] { height: 26px; width: 26px; object-fit: contain; }
@media (max-width: 1100px) {
.home-trust-bar-payments-list { gap: 8px; }
.home-trust-bar-payments-list img { height: 20px; max-height: 20px; }
.home-trust-bar-payments-list img[alt="Mercado Pago"] { height: 22px; width: 22px; }
.home-trust-bar-payments-list img[alt="Nupay"] { height: 16px; }
}
@media (max-width: 900px) {
.home-trust-bar-inner { flex-wrap: wrap; justify-content: center; }
.home-trust-bar-item { flex: 1 1 100%; max-width: 420px; min-width: min(100%, 220px); }
.home-trust-bar-item--revendedor { flex: 1 1 100%; max-width: 420px; justify-content: center; }
.home-trust-bar-item--payments { flex: 1 1 100%; max-width: 100%; justify-content: flex-start; padding-right: 0; }
.home-trust-bar-item--payments + .home-trust-bar-item { margin-left: 0; }
.home-trust-bar-item--payments .home-trust-bar-text { align-items: center; text-align: center; }
.home-trust-bar-item--payments .home-trust-bar-payments-list { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) {
.home-trust-bar-inner { padding: 18px 14px; gap: 18px; }
.home-trust-bar-icon { width: 32px; height: 32px; font-size: 22px; }
.home-trust-bar-item--revendedor .home-trust-bar-icon { font-size: 22px; }
.home-trust-bar-payments-list { gap: 8px 10px; flex-wrap: wrap; justify-content: center; }
.home-trust-bar-payments-list img { height: 20px; max-height: 20px; }
.home-trust-bar-payments-list img[alt="Mercado Pago"] { height: 22px; width: 22px; }
.home-trust-bar-payments-list img[alt="Nupay"] { height: 16px; }
}
header.header { background: var(--site-header-bg, #1e3370); position: relative; top: auto; z-index: 1010; box-shadow: none; border: none; overflow: visible; }
.header-content { display: flex; align-items: center; justify-content: flex-start; gap: 2rem; padding: 0.5rem 0; flex-wrap: wrap; overflow: visible; width: 100%; }
.header-main-cluster { display: flex; flex-shrink: 0; }
.header-search-group { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cep-slot { display: flex; align-items: center; flex-shrink: 0; }
.header-quick-icons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
@media (min-width: 769px) {
.header-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 2rem; }
.header-main-cluster { grid-column: 2; justify-self: center; }
.header-nav { grid-column: 3; justify-self: end; margin-left: 0; flex-shrink: 0; justify-content: flex-end; }
.header-cep-slot { display: flex; }
.search-bar { max-width: 630px; min-width: 300px; }
}
@media (max-width: 768px) { .header-cep-slot { display: none !important; } }
.mega-nav-inner > .header-categories-nav.mega-nav-menu-group { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2rem; min-width: 0; overflow: visible; }
@media (min-width: 769px) { .mega-nav-inner > .header-categories-nav { display: flex !important; } }
@media (max-width: 768px) { .mega-nav-inner > .header-categories-nav { display: none !important; } }
.header-nav { overflow: visible; }
:root { --header-brand-col: clamp(140px, 11vw, 200px); }
.header-brand { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-start; height: 44px; min-width: 0; }
.header-location { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; background: transparent; border: none; border-radius: 0; cursor: pointer; font-family: inherit; text-align: left; color: inherit; transition: opacity 0.2s; }
.header-location:hover { opacity: 0.9; }
.header-location-pin { font-size: 18px; color: #f0e000 !important; -webkit-text-fill-color: #f0e000 !important; flex-shrink: 0; margin-top: 1px; line-height: 1; }
body.has-site-header-shell .header-cep-slot .header-location-pin,
body.has-site-header-shell .header-location .header-location-pin {
    color: #f0e000 !important;
    -webkit-text-fill-color: #f0e000 !important;
}
.header-location-lines { display: flex; flex-direction: column; line-height: 1.2; gap: 0; min-width: 0; }
.header-location-label { font-size: 11px; color: rgba(255,255,255,0.65); font-weight: 400; white-space: nowrap; }
.header-location-value { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.logo { flex-shrink: 0; }
.logo a { display: flex; align-items: center; justify-content: flex-start; text-decoration: none; }
.logo-img { height: 44px; width: auto; max-height: 44px; object-fit: contain; display: block; }

.header-cep-area { position: relative; flex-shrink: 0; }
.header-cep-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99999; align-items: center; justify-content: center; }
.header-cep-modal.open { display: flex; }
.header-cep-modal-panel { background: #fff; border-radius: 12px; padding: 1.5rem; width: 100%; max-width: 380px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); position: relative; }
.header-cep-close-btn { position: absolute; top: 0.75rem; right: 0.75rem; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e5e5e5; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #666; font-size: 0.8rem; transition: all 0.2s; }
.header-cep-close-btn:hover { background: #ff5e5e; color: #fff; border-color: #ff5e5e; }
.header-cep-modal-title { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; color: #1a1a1a; }
.header-cep-modal-desc { margin: 0 0 1rem; color: #666; font-size: 0.8rem; }
.header-cep-input-group { display: flex; gap: 0.5rem; }
.header-cep-input { flex: 1; padding: 0.6rem 0.8rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: inherit; outline: none; letter-spacing: 2px; }
.header-cep-input:focus { border-color: #3483fa; box-shadow: 0 0 0 3px rgba(52,131,250,0.1); }
.header-cep-submit-btn { padding: 0.6rem 1rem; background: #3483fa; color: #fff; border: none; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.header-cep-submit-btn:hover { background: #1f64cc; }
.header-cep-help-link { display: inline-block; margin-top: 0.5rem; color: #3483fa; font-size: 0.78rem; text-decoration: none; }
.header-cep-help-link:hover { text-decoration: underline; }
.header-cep-msg { display: none; margin-top: 0.5rem; padding: 0.4rem 0.6rem; border-radius: 6px; font-size: 0.78rem; }
.header-cep-msg.error { display: block; color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; }
.header-cep-msg.success { display: block; color: #059669; background: #f0fdf4; border: 1px solid #d1fae5; }

/* Busca — réplica Santo Conceito: caixa única, placeholder "Buscar", lupa sem contorno */
.search-bar { width: 100%; max-width: 420px; position: relative; z-index: 10120; isolation: isolate; background: #fff; border: 1px solid #d4d4d4; border-radius: 0; overflow: visible; box-shadow: none; }
.search-bar:focus-within { border-color: #b8b8b8; outline: none; box-shadow: none; }
.search-bar-inner { display: flex; align-items: stretch; overflow: hidden; }
.search-bar input { flex: 1; min-width: 0; padding: 10px 12px; border: none; border-right: none; outline: none; font-size: 14px; font-family: 'Inter', sans-serif; font-weight: 400; background: #fff; color: #333; border-radius: 0; box-shadow: none; }
.search-bar input::placeholder { color: #a8a8a8; font-weight: 400; }
.search-bar input:focus { outline: none; box-shadow: none; border: none; }
.search-bar .search-btn { flex-shrink: 0; width: 40px; min-width: 40px; background: transparent; border: none; outline: none; box-shadow: none; padding: 0 10px 0 0; cursor: pointer; color: #1a1a1a; font-size: 15px; font-weight: 400; display: flex; align-items: center; justify-content: center; border-radius: 0; }
.search-bar .search-btn:hover,
.search-bar .search-btn:focus,
.search-bar .search-btn:active { background: transparent; color: #1a1a1a; outline: none; box-shadow: none; border: none; }
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: 0; box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 10150; display: none; margin-top: 4px; padding: 0; pointer-events: auto; }
.search-dropdown.show { display: block; }
.search-dropdown-scroll { overflow-x: auto; overflow-y: hidden; display: flex; gap: 0; padding: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; max-height: 200px; }
.search-dropdown-scroll::-webkit-scrollbar { height: 6px; }
.search-dropdown-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.search-dropdown-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.search-dropdown-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 10px; cursor: pointer; transition: background 0.2s; text-decoration: none; color: #333; min-width: 120px; max-width: 120px; scroll-snap-align: start; border-radius: 8px; flex-shrink: 0; }
.search-dropdown-item:hover { background: #e8f2ff; }
.search-dropdown-img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.search-dropdown-info { text-align: center; width: 100%; overflow: hidden; }
.search-dropdown-name { font-size: 0.72rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-dropdown-sku { font-size: 0.62rem; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-dropdown-prices { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.search-dropdown-discount-row { display: flex; align-items: center; justify-content: center; gap: 3px; flex-wrap: wrap; max-width: 100%; }
.search-dropdown-original { font-size: 0.58rem; color: #999; line-height: 1.2; white-space: nowrap; }
.search-dropdown-original .price-original-value { text-decoration: line-through; }
.search-dropdown-discount-row .discount-badge { font-size: 0.52rem; font-weight: 700; padding: 0.05rem 0.28rem; border-radius: 3px; line-height: 1.2; }
.search-dropdown-pix-row { display: flex; align-items: baseline; justify-content: center; gap: 3px; flex-wrap: wrap; }
.search-dropdown-price { font-size: 0.78rem; font-weight: 700; color: #10b981; white-space: nowrap; }
.search-dropdown-prices.has-discount .search-dropdown-price { color: #1a1a1a; }
.search-dropdown-pix-label { font-size: 0.55rem; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.search-dropdown-empty { padding: 24px 16px; text-align: center; color: #999; font-size: 0.85rem; }
.search-dropdown-footer { padding: 8px 12px; border-top: 1px solid #f0f0f0; text-align: center; }
.search-dropdown-footer a { color: #3483fa; text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: color 0.2s; }
.search-dropdown-footer a:hover { color: #1f64cc; }

.header-nav { display: flex; align-items: center; gap: 1rem; }
.header-quick-icons .user-area--icons { position: relative; z-index: 10001; flex-shrink: 0; display: flex; align-items: center; }
.header-nav .user-guest-auth { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 400; white-space: nowrap; }
.user-guest-auth[hidden] { display: none !important; }
body.has-site-header-shell .header-quick-icons .user-guest-auth[hidden],
body.has-site-header-shell .header-quick-icons:has(.user-area.logged-in) .user-guest-auth {
    display: none !important;
}
.user-logged-wrap[hidden] { display: none !important; }
.user-area { position: relative; z-index: 10001; }
.user-guest-icon { width: 28px; height: 28px; border: 1.5px solid rgba(255,255,255,0.85); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; flex-shrink: 0; }
.header-mobile-account,
.header-mobile-account-wrap { display: none !important; }
.user-guest-link { color: #fff; text-decoration: none; font-weight: 400; transition: opacity 0.2s; }
.user-guest-link:hover { opacity: 0.85; color: #fff; }
.user-guest-sep { color: rgba(255,255,255,0.55); font-weight: 300; user-select: none; }
.user-trigger { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; padding: 0.4rem 0.8rem; border-radius: 50px; transition: background 0.3s; color: #fff; }
.user-trigger:hover { background: rgba(255,255,255,0.1); }
.user-trigger .user-welcome { font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.user-trigger .user-action { font-size: 0.85rem; font-weight: 600; color: #F0E000; }
.user-trigger .user-action i { font-size: 0.65rem; margin-left: 4px; }
.header-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 1.2rem; transition: background 0.3s; cursor: pointer; background: transparent; border: none; text-decoration: none; }
.header-icon-btn:hover { background: rgba(255,255,255,0.1); }
.header-icon-btn .header-nav-icon { width: 24px; height: 24px; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.mobile-menu-item .header-nav-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1); }
.cart-badge { position: absolute; top: -2px; right: -2px; background: #ef4444; color: #fff; font-size: 0.6rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.user-dropdown { position: absolute; top: 100%; left: 50%; right: auto; margin-top: 4px; transform: translateX(-50%); background: #fff; border-radius: 0; box-shadow: 0 8px 32px rgba(0,0,0,0.15); border: 1px solid rgba(16,48,112,0.2); z-index: 10002; min-width: 200px; display: none; overflow: hidden; }
.header-quick-icons .user-area--icons .user-dropdown { left: 50%; right: auto; transform: translateX(-50%); }
.user-area::before { content: ''; position: absolute; top: 100%; left: -16px; right: -16px; height: 20px; z-index: 10001; }
.user-area:hover .user-dropdown,
.user-area.open .user-dropdown,
.user-area:focus-within .user-dropdown { display: block; }

/* Dropdowns do header: um aberto bloqueia hover nos demais (mega-menu, busca, usuário) */
.mega-nav { z-index: 1005; }
body.search-dropdown-active .mega-nav,
body.user-dropdown-active .mega-nav { pointer-events: none !important; }
body.search-dropdown-active .search-bar,
body.search-dropdown-active .search-bar *,
body.search-dropdown-active .search-bar-mobile,
body.search-dropdown-active .search-bar-mobile *,
body.search-dropdown-active .mobile-compact-search,
body.search-dropdown-active .mobile-compact-search *,
body.search-dropdown-active .header-search-group,
body.search-dropdown-active .header-search-group *,
body.search-dropdown-active .header-brand,
body.search-dropdown-active .header-brand *,
body.search-dropdown-active .mega-nav-inner .header-categories-nav,
body.search-dropdown-active .mega-nav-inner .header-categories-nav *,
body.search-dropdown-active .header-cep-slot,
body.search-dropdown-active .header-cep-slot * { pointer-events: auto !important; }
body.user-dropdown-active .user-area,
body.user-dropdown-active .user-area * { pointer-events: auto !important; }
body.search-dropdown-active .mega-nav-dropdown,
body.search-dropdown-active .mega-nav-dropdown-wrap:hover .mega-nav-dropdown,
body.search-dropdown-active .mega-nav-dropdown-wrap:focus-within .mega-nav-dropdown,
body.user-dropdown-active .mega-nav-dropdown,
body.user-dropdown-active .mega-nav-dropdown-wrap:hover .mega-nav-dropdown,
body.user-dropdown-active .mega-nav-dropdown-wrap:focus-within .mega-nav-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #333; text-decoration: none; font-size: 0.84rem; font-weight: 500; transition: background 0.2s; border-bottom: 1px solid #f0f0f0; }
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: #e8f4fc; color: #103070; }
.user-dropdown a i { width: 18px; color: #3483fa; font-size: 0.9rem; text-align: center; }
.user-dropdown .logout-btn { color: #333; }
.user-dropdown .logout-btn i { color: #3483fa; }

/* Mobile search */
.search-bar-mobile { display: none; padding: 0.5rem var(--container-padding); background: var(--site-header-bg, #1e3370); overflow: visible; position: relative; }
.search-bar-mobile .search-input-wrapper { display: flex; align-items: stretch; background: #fff; border: 1px solid #d4d4d4; border-radius: 0; overflow: visible; width: 100%; position: relative; box-shadow: none; }
.search-bar-mobile .search-dropdown { left: 0; right: 0; top: calc(100% + 4px); z-index: 10200; }
.search-bar-mobile input { flex: 1; min-width: 0; padding: 10px 12px; border: none; border-right: none; outline: none; font-size: 14px; font-family: 'Inter', sans-serif; background: #fff; color: #333; border-radius: 0; box-shadow: none; }
.search-bar-mobile input::placeholder { color: #a8a8a8; }
.search-bar-mobile .search-btn-mobile { flex-shrink: 0; width: 40px; min-width: 40px; background: transparent; border: none; outline: none; box-shadow: none; padding: 0 10px 0 0; cursor: pointer; color: #1a1a1a; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.search-bar-mobile .search-btn-mobile:hover,
.search-bar-mobile .search-btn-mobile:focus { background: transparent; outline: none; box-shadow: none; border: none; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 0.4rem; }

@media (max-width: 768px) {
    .search-bar { display: none; }
    .search-bar-mobile { display: flex; }
    .header-main-cluster, .header-search-group { display: contents; }
    .header-content { justify-content: flex-start !important; }
    .mobile-menu-btn { order: 1 !important; flex: 0 0 auto; }
    .header-brand { order: 2 !important; flex: 0 0 auto; }
    .header-quick-icons { order: 4 !important; margin-left: 0 !important; }
    .header-quick-icons > a.header-icon-btn { display: none !important; }
    .header-quick-icons > a.header-icon-btn#cartLink,
    .header-quick-icons > a.header-icon-btn[title="Carrinho"] { display: flex !important; }
    .header-nav > .user-guest-auth { order: 3 !important; flex: 1 1 auto; max-width: none; font-size: 12px; justify-content: center; }
    .header-nav > .user-guest-auth .user-guest-link { max-width: none; white-space: nowrap; }
    .mobile-menu-btn { display: flex; align-items: center; }
    .user-trigger .user-welcome { display: none; }
    .user-trigger .user-action span { display: none; }
    .logo-img { height: 40px; max-height: 40px; width: auto; }
    .header-content { padding: 0.3rem 0; }
}

/* ========== MEGA NAV ========== */
.mega-nav { background: var(--site-header-bg, #1e3370); border: none; overflow: visible; box-shadow: none; }
.mega-nav-inner { max-width: 100%; margin: 0 auto; padding: 0 var(--container-padding); display: flex; align-items: center; justify-content: flex-start; gap: 1rem; height: 40px; border: none; box-shadow: none; }
.mega-nav-inner .header-categories-nav { border: none; box-shadow: none; }
.mega-nav-menu-group { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2rem; min-width: 0; }
.mega-nav-inner::-webkit-scrollbar { display: none; }
.mega-nav-link, .mega-nav-btn { color: #fff; font-size: 0.8rem; font-weight: 700; white-space: nowrap; padding: 0.4rem 0.6rem; transition: color 0.3s; text-transform: uppercase; letter-spacing: 0.3px; text-decoration: none; }
.mega-nav-link:hover, .mega-nav-btn:hover { color: #F0E000; }
.mega-nav-btn { background: none; border: none; cursor: pointer; font-family: inherit; text-decoration: none; }
.mega-nav-dropdown-wrap { position: relative; overflow: visible; }
.mega-nav-dropdown-wrap:hover .mega-nav-dropdown, .mega-nav-dropdown-wrap:focus-within .mega-nav-dropdown { display: block; }
.mega-nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 0; box-shadow: 0 6px 24px rgba(0,0,0,0.2); z-index: 999; min-width: 180px; display: none; overflow: hidden; }
.mega-nav-dropdown.show { display: block; }
.mega-nav-dropdown-wrap::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; z-index: 1000; }
.mega-nav-dd-item { display: block; padding: 9px 16px; color: #333; text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: background 0.2s; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.mega-nav-dd-item:last-child { border-bottom: none; }
.mega-nav-dd-item:hover { background: #e8f4fc; color: #103070; }
.mega-nav-dd-wide { min-width: 320px; max-height: 450px; overflow-y: auto; columns: 2; column-gap: 0; }
.mega-nav-dd-wide .mega-nav-dd-item { break-inside: avoid; }
@media (max-width: 768px) { .mega-nav { display: none; } .mega-nav-inner { gap: 0.5rem; } .mega-nav-dd-wide { columns: 1; } }

/* ========== CART SIDEBAR MODAL (overlay global em /css/cart-sidebar.css) ========== */
.cart-header { position: relative; display: flex; align-items: center; justify-content: center; padding: 0.85rem 3.5rem 0.85rem 1.5rem; background: #000; border-bottom: none; flex-shrink: 0; }
.cart-header h2 { margin: 0; font-size: 0.95rem; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.3px; }
.cart-header-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; display: block; filter: brightness(0) invert(1); }
.cart-header .cart-count { display: none !important; }
.cart-header .cart-close { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background 0.2s, border-color 0.2s; }
.cart-header .cart-close:hover { background: #333; color: #fff; border-color: rgba(255,255,255,0.5); }
.cart-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e8e8e8; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #666; transition: all 0.2s; font-size: 1rem; }
.cart-close:hover { background: #ff5e5e; color: #fff; border-color: #ff5e5e; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item { display: flex; gap: 12px; padding: 1rem 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: 8px; object-fit: contain; border: 1px solid #f0f0f0; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-sku { font-size: 0.68rem; color: #999; margin-bottom: 6px; }
.cart-item-row-price { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; margin-top: 4px; }
.cart-item-prices { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cart-item-discount-row { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.cart-item-prices .price-original,
.cart-subtotal-discount .price-original { font-size: 0.72rem; color: #999; text-decoration: none; }
.cart-item-prices .price-original-value,
.cart-subtotal-discount .price-original-value { text-decoration: line-through; }
.cart-item-prices .discount-badge,
.cart-subtotal-discount .discount-badge { background: #ef4444; color: #fff; font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.35rem; border-radius: 4px; }
.cart-item-price-row--pix { display: flex; align-items: baseline; gap: 0.35rem; }
.cart-item-price-value.pix { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; }
.cart-item-price-pix-label { font-size: 0.72rem; color: #1a1a1a; font-weight: 500; text-transform: uppercase; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid #ededed; border-radius: 4px; background: #fff; height: 32px; }
.cart-qty button { width: 32px; height: 100%; border: none; background: transparent; color: #3483fa; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s; font-size: .7rem; }
.cart-qty button:hover:not(:disabled) { background: rgba(52,131,250,.1); }
.cart-qty button:disabled { color: #ccc; cursor: not-allowed; }
.cart-qty span { min-width: 36px; text-align: center; font-size: 14px; font-weight: 400; color: #333; border: none; line-height: 32px; }
.cart-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.78rem; font-weight: 500; padding: 4px 8px; transition: opacity 0.2s; }
.cart-remove:hover { opacity: 0.7; }
.ch-item-remove-text { background: transparent; border: none; color: #3483fa; font-size: 14px; font-weight: 500; cursor: pointer; padding: 0; transition: color .15s; }
.ch-item-remove-text:hover { color: #1f64cc; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty i { font-size: 3rem; color: #ddd; margin-bottom: 1rem; display: block; }
.cart-empty p { color: #999; font-size: 0.9rem; margin-bottom: 1rem; }
.cart-empty .btn { display: inline-block; padding: 0.75rem 1.5rem; background: #3483fa; color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: background 0.2s ease; }
.cart-empty .btn:hover { background: #1f64cc; }
.cart-footer { border-top: 1px solid #eee; padding: 1rem 1.5rem; flex-shrink: 0; box-sizing: border-box; }
.cart-subtotal-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin-bottom: 0.75rem; }
.cart-subtotal-discount { display: flex; align-items: center; justify-content: center; gap: 0.35rem; flex-wrap: wrap; }
.cart-subtotal { display: flex; justify-content: center; align-items: baseline; gap: 0.5rem; font-size: 0.95rem; text-align: center; flex-wrap: wrap; }
.cart-subtotal > span:first-child { color: #666; }
.cart-subtotal strong { color: #1a1a1a; font-size: 1.1rem; }
.cart-shipping-note { font-size: 0.72rem; color: #999; text-align: center; margin-bottom: 0.75rem; }
.cart-checkout-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 0.85rem; background: #000; color: #fff; border: none; border-radius: 0; font-size: 0.95rem; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 0.3px; transition: background 0.2s; }
.cart-checkout-btn:hover { background: #333; }
.cart-checkout-btn-icon { width: 1.35rem; height: 1.35rem; flex-shrink: 0; object-fit: contain; filter: brightness(0) invert(1); }

@media (max-width: 480px) { .cart-header { padding: 0.85rem 3.25rem 0.85rem 1rem; } .cart-items { padding: 1rem; } .cart-footer { padding: 1rem; } }

/* ========== MAIN CONTENT ========== */
.main-content { max-width: 100%; margin: 0 auto; padding: 0 var(--container-padding) 3rem var(--container-padding); box-sizing: border-box; }
@media (min-width: 2000px) { .main-content { padding: 0 calc((100vw - 1800px) / 2 + var(--container-padding)) 3rem; } .main-content > section { max-width: 1800px; margin-left: auto; margin-right: auto; } }
@media (min-width: 1024px) { .main-content { max-width: 1440px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; } }
.main-content > section { margin-bottom: 10px; }

/* ========== DEPARTMENTS CAROUSEL ========== */
.departments-section { background: #fff; padding: clamp(1rem, 2vw, 1.5rem) 0; max-width: 100%; width: 100%; }
.departments-container { max-width: 100%; width: 100%; margin: 0 auto; padding: 0 clamp(1rem, 2vw, 1.5rem); box-sizing: border-box; }
.departments-section-head { position: relative; width: 100%; margin-bottom: 1rem; min-height: 0; padding: 0 0.5rem; box-sizing: border-box; }
.departments-section-head .category-section-view-all { position: absolute; right: 0; top: 0; transform: none; }
.section-view-all-link { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; color: #3483fa; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.section-view-all-link:hover { color: #1f64cc; text-decoration: underline; }
.section-view-all-link i { font-size: 0.75rem; }
.departments-carousel-wrapper { position: relative; overflow: hidden; width: 100%; }
.departments-carousel { display: grid; grid-template-rows: auto; grid-auto-flow: column; grid-auto-columns: 120px; gap: 1.5rem 1rem; padding: 0.4rem 0.4rem 0.75rem; width: max-content; max-width: 100%; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; touch-action: pan-y pinch-zoom; }
.departments-carousel::-webkit-scrollbar { display: none; }
.department-card { scroll-snap-align: start; }
.department-card { display: flex; flex-direction: column; align-items: center; text-decoration: none; transition: transform 0.3s ease; cursor: pointer; }
.department-card:hover { transform: translateY(-5px); }
.department-image-container { width: 110px; height: 110px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 0.75rem; border: 3px solid rgba(16,48,112,0.3); transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.department-card:hover .department-image-container { box-shadow: 0 8px 20px rgba(16,48,112,0.4); border-color: #103070; transform: scale(1.05); }
.department-image { width: 80%; height: 80%; object-fit: contain; }
.department-icon-fallback { font-size: 3rem; color: #ccc; }
.department-name { font-size: 0.7rem; font-weight: 700; color: #103070; text-align: center; text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.2; max-width: 120px; word-wrap: break-word; padding: 0.3rem 0.4rem; border: none; border-radius: 25px; transition: all 0.3s ease; background: transparent; }
.department-card:hover .department-name { background: #103070; color: #fff; box-shadow: 0 4px 15px rgba(16,48,112,0.4); }
@media (max-width: 768px) {
    .departments-section { padding: 1.5rem 0; }
    .departments-container { padding: 0 var(--container-padding, 0.4rem); }
    .departments-carousel-wrapper { padding: 0; }
    .departments-carousel { display: flex; flex-wrap: nowrap; align-items: flex-start; grid-auto-columns: unset; grid-auto-flow: unset; gap: 0.65rem; padding: 0.35rem 0.2rem 0.65rem; width: 100%; max-width: 100%; }
    .department-card { flex: 0 0 88px; width: 88px; max-width: 88px; scroll-snap-align: start; }
    .department-image-container { width: 60px; height: 60px; border-width: 2px; }
    .department-name { font-size: 9px; max-width: 90px; color: #103070; }
}

/* ========== HERO SLIDER ========== */
.hero-banner-section { position: relative; width: 100%; overflow: hidden; border-radius: 12px; background: #1a1a1a; }
.hero-slides-container { display: flex; transition: transform 0.5s ease-in-out; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: auto; display: block; }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; background: rgba(255,255,255,0.9); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #333; transition: all 0.3s ease; z-index: 10; }
.hero-nav-btn:hover { background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.hero-nav-btn.prev { left: 1rem; }
.hero-nav-btn.next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 10; }

/* ========== CATEGORIES SHOPEE GRID ========== */
.categories-section { background: #fff; padding: clamp(1rem, 2vw, 1.5rem); border-radius: 12px; margin: var(--section-spacing) auto; max-width: 100%; width: 100%; box-sizing: border-box; }
.categories-header { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 1.25rem; text-align: center; }
.categories-title-text { display: inline-flex; align-items: center; gap: 0.4rem; color: #89CFF0; font-size: 1.5rem; font-weight: 700; }
.categories-grid-shopee { display: flex; gap: 0.4rem; overflow-x: auto; overflow-y: hidden; padding: 0.4rem 0; flex-wrap: nowrap; scrollbar-width: thin; }
.categories-grid-shopee::-webkit-scrollbar { height: 4px; }
.categories-grid-shopee::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }
.category-item-shopee { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 0.25rem; text-decoration: none; color: #333; border-radius: 8px; transition: all 0.25s ease; cursor: pointer; background: transparent; border: none; gap: 0.4rem; flex-shrink: 0; }
.category-item-shopee:hover { background: #f0f8ff; transform: translateY(-3px); }
.category-icon-shopee { width: 90px; height: 90px; min-width: 90px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: #f5f5f5; color: #999; border: none; border-radius: 50%; transition: all 0.3s ease; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.category-icon-shopee i { color: #103070; font-size: 1.75rem; }
.category-icon-shopee img { width: 100%; height: 100%; object-fit: cover; }
.category-item-shopee:hover .category-icon-shopee { background: #eef3fb; box-shadow: 0 4px 12px rgba(16,48,112,0.2); transform: scale(1.05); }
.category-name-shopee { font-size: 0.75rem; font-weight: 500; text-align: center; line-height: 1.3; color: #333; margin: 0; transition: color 0.2s ease; }
.category-item-shopee:hover .category-name-shopee { color: #103070; font-weight: 600; }
@media (max-width: 900px) { .category-icon-shopee { width: 72px; height: 72px; min-width: 72px; } }
@media (max-width: 600px) { .category-icon-shopee { width: 52px; height: 52px; min-width: 52px; } .category-name-shopee { font-size: 0.45rem; } }

/* ========== FEATURED PRODUCTS ========== */
.products-section { background: #fff; padding: var(--section-spacing) 0; border-radius: 12px; margin: var(--section-spacing) auto; max-width: 100%; width: 100%; box-sizing: border-box; }
.products-container { width: 100%; margin: 0; padding: 0 clamp(1rem, 2vw, 1.5rem); box-sizing: border-box; }
.products-header-ml { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 0 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.products-title-ml { display: inline-flex; align-items: center; gap: 0.4rem; font-family: 'Quicksand', sans-serif; font-size: 1.5rem; font-weight: 700; }
.products-title-ml .products-title-wrap { display: inline-flex; align-items: center; border-radius: 999px; border: 2px solid #103070; background: #fff; box-shadow: 0 8px 18px rgba(16,48,112,0.14); overflow: hidden; }
.products-title-ml .products-title-prefix { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.75rem 0.45rem 1.35rem; background: #fff; color: #103070; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.products-title-ml .products-title-accent { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1.35rem 0.45rem 0.75rem; background: #fff; color: #103070; font-size: 1.5rem; font-weight: 700; line-height: 1; }

.category-section-head { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; min-height: 52px; padding: 0 0.5rem; box-sizing: border-box; }
.category-section-title { display: inline-block; font-family: 'Quicksand', sans-serif; font-size: 1.5rem; font-weight: 700; color: #103070; text-align: center; letter-spacing: 0.03em; text-transform: uppercase; border: 2px solid #103070; padding: 10px 28px; border-radius: 50px; line-height: 1.2; max-width: 100%; box-sizing: border-box; }
.category-section-view-all { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 0.85rem; color: #3483fa; font-weight: 600; text-decoration: none; white-space: nowrap; }
.category-section-view-all:hover { color: #1f64cc; text-decoration: underline; }
.category-section-view-all i { font-size: 0.75rem; margin-left: 0.15rem; }

.products-carousel-wrapper { position: relative; overflow: hidden; width: 100%; container-type: inline-size; --carousel-visible: 5; --carousel-gap: 1rem; }
.products-carousel { display: flex; align-items: stretch; gap: var(--carousel-gap); overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 0.4rem 0.4rem 1rem; flex-wrap: nowrap; scroll-snap-type: x mandatory; width: 100%; }
.products-carousel::-webkit-scrollbar { display: none; }
.category-section .products-carousel .product-card { flex: 0 0 calc((100cqi - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible)); width: calc((100cqi - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible)); max-width: calc((100cqi - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible)); min-width: 0; flex-shrink: 0; scroll-snap-align: start; }
@supports not (width: 100cqi) {
    .category-section .products-carousel .product-card { flex: 0 0 calc(20% - 0.8rem); width: calc(20% - 0.8rem); max-width: calc(20% - 0.8rem); }
}
.carousel-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e5e5e5; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s ease; color: #1a1a1a; font-size: 1rem; }
.carousel-nav-btn:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.carousel-nav-btn.prev { left: 8px; }
.carousel-nav-btn.next { right: 8px; }
.ver-todos-btn { display: flex; width: fit-content; margin: 1.5rem auto 0; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 600; color: #89CFF0; background: transparent; padding: 0.75rem 1.5rem; border-radius: 25px; text-decoration: none; border: 2px solid #89CFF0; transition: all 0.3s ease; }
.ver-todos-btn:hover { background: #103070; color: #fff; border-color: #103070; transform: translateY(-2px); }
.ver-todos-btn::after { content: '\2192'; font-size: 1rem; }
.loading-spinner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; color: #999; gap: 1rem; }
.loading-spinner i { font-size: 2rem; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (min-width: 1101px) {
    .category-section .products-carousel-wrapper { --carousel-visible: 5; }
}
@media (max-width: 1100px) { .products-carousel-wrapper { --carousel-visible: 4; } }
@media (max-width: 900px) { .products-carousel-wrapper { --carousel-visible: 3; } }
@media (max-width: 768px) { .products-carousel-wrapper { --carousel-gap: 0.5rem; --carousel-visible: 2; } }

/* ========== PROMO BANNER ========== */
.promo-banner-section { padding: var(--section-spacing) 0; }
.promo-banner { background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%); border-radius: 12px; padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(255,107,53,0.3); text-decoration: none; width: 100%; min-height: clamp(200px, 30vw, 450px); }
.promo-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.4; }
.promo-banner-left { display: flex; align-items: center; gap: 1.5rem; position: relative; z-index: 1; }
.promo-icon { font-size: 3rem; color: #fff; }
.promo-text h3 { color: #fff; font-size: 1.75rem; font-weight: 900; margin-bottom: 0.25rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.promo-text p { color: rgba(255,255,255,0.9); font-size: 1rem; font-weight: 500; }
.promo-banner-right { display: flex; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.promo-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: #ff6b35; padding: 0.875rem 1.5rem; border-radius: 8px; font-weight: 800; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.promo-btn:hover { transform: scale(1.05); box-shadow: 0 6px 25px rgba(0,0,0,0.3); }
@media (max-width: 768px) { .promo-banner { flex-direction: column; text-align: center; padding: 1.5rem; height: auto; } .promo-banner-left { flex-direction: column; } .promo-text h3 { font-size: 1.35rem; } }

/* ========== BRANDS MARQUEE ========== */
.brands-section { background: #fff; padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); margin: var(--section-spacing) auto; max-width: 100%; width: 100%; overflow: hidden; text-align: center; box-sizing: border-box; }
.brands-title { display: inline-block; font-family: 'Quicksand', sans-serif; font-size: 1.5rem; font-weight: 700; color: #103070; text-align: center; margin: 0 auto 2rem auto; letter-spacing: 0.03em; text-transform: uppercase; border: 2px solid #103070; padding: 10px 28px; border-radius: 50px; }
.hide-section-title .brands-title,
.hide-section-title h2,
.hide-section-title h3,
.hide-section-title .departments-section-head a,
.hide-section-title .products-title-ml,
.hide-section-title .departments-section-head { display: none !important; }
.brands-carousel-wrapper { overflow: hidden; width: 100%; }
.brands-carousel { display: flex; align-items: center; gap: 2rem; width: max-content; animation: brandsMarquee 25s linear infinite; }
.brands-carousel:hover { animation-play-state: paused; }
@keyframes brandsMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.brand-item { flex: 0 0 220px; width: 220px; height: 200px; display: inline-flex; align-items: center; justify-content: center; padding: 1rem; transition: transform 0.3s ease; }
.brand-item:hover { transform: scale(1.08); }
.brand-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 1024px) { .brand-item { flex: 0 0 180px; width: 180px; height: 160px; } }
@media (max-width: 640px) { .brand-item { flex: 0 0 140px; width: 140px; height: 120px; padding: 0.4rem; } .brands-carousel { gap: 1rem; animation-duration: 18s; } }

/* ========== DIFFERENTIALS (Why Us) ========== */
.why-us-section { padding: var(--section-spacing) 0; }
.why-us-container { max-width: 100%; width: 100%; margin: 0 auto; padding: 0 var(--container-padding); box-sizing: border-box; }
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.why-us-card { background: #fff; padding: clamp(1.5rem, 2vw, 2rem) clamp(1rem, 2vw, 1.5rem); border-radius: 16px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 2px solid transparent; }
.why-us-card:hover { transform: translateY(-5px); border-color: #667eea; box-shadow: 0 8px 30px rgba(102,126,234,0.15); }
.why-us-icon { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: #fff; }
.why-us-card h4 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.4rem; }
.why-us-card p { font-size: 0.9rem; color: #6b7280; line-height: 1.5; }

/* ========== ABOUT / COMPANY SECTION ========== */
.about-section { background: #fff; padding: 2rem clamp(1rem, 2vw, 1.5rem); margin: var(--section-spacing) auto; max-width: 100%; width: 100%; border-radius: 12px; box-sizing: border-box; text-align: center; }
.about-container { max-width: 800px; margin: 0 auto; }
.about-section h2 { font-family: 'Quicksand', sans-serif; font-size: 1.5rem; font-weight: 700; color: #103070; margin-bottom: 1rem; }
.about-section p { font-size: 0.95rem; color: #555; line-height: 1.7; margin-bottom: 0.75rem; }

/* ========== NEWSLETTER ========== */
.newsletter-section { padding: 0; margin: 10px auto; max-width: 100%; width: 100%; box-sizing: border-box; }
.newsletter-box { background: #fff; border-radius: 16px; padding: clamp(1.5rem, 3vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2rem); flex-wrap: wrap; }
.newsletter-content { flex: 1; min-width: min(300px, 100%); }
.newsletter-content h3 { color: #000; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; margin-bottom: 0.4rem; }
.newsletter-content p { color: #333; font-size: clamp(0.875rem, 1.5vw, 1rem); }
.newsletter-form { display: flex; gap: 0.75rem; flex: 1; min-width: min(300px, 100%); max-width: 100%; }
.newsletter-form input { flex: 1; padding: 1rem 1.25rem; border: 2px solid #000; border-radius: 8px; font-size: 1rem; outline: none; font-family: 'Inter', sans-serif; }
.newsletter-form button { padding: 1rem 2rem; background: #89CFF0; color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; font-family: 'Inter', sans-serif; }
.newsletter-form button:hover { background: #5BA4D9; transform: scale(1.05); }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } .newsletter-form input, .newsletter-form button { width: 100%; } .newsletter-box { border-radius: 12px; } }

/* ========== FOOTER ========== */
.footer { background: var(--site-footer-bg, #1e3370) !important; padding: 1.5rem 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem; padding: 0.85rem 0; width: 100%; box-sizing: border-box; }
.footer-hsep { color: rgba(240,224,0,0.3); font-size: 14px; line-height: 1; flex-shrink: 0; }
.footer-vdivider { display: none; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; color: rgba(255,255,255,0.85); font-size: 13px; }
.footer-phone i { color: #F0E000; font-size: 12px; }
.footer-address { display: inline-flex; align-items: flex-start; gap: 0.4rem; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; line-height: 1.4; transition: color 0.2s; max-width: 100%; }
.footer-address:hover { color: #F0E000; }
.footer-address i { color: #F0E000; font-size: 12px; margin-top: 0.15rem; flex-shrink: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(240,224,0,0.2); }
.footer-links-col { display: flex; flex-direction: column; gap: 0.6rem; min-width: 160px; }
.footer-links-col h4 { color: #F0E000; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links-col a { color: rgba(255,255,255,0.7); font-size: 0.8rem; transition: color 0.2s; }
.footer-links-col a:hover { color: #F0E000; }
.footer-contact { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; color: rgba(255,255,255,0.8); font-size: 13px; }
.footer-contact a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer-contact a:hover { color: #F0E000; }
.footer-social { display: flex; gap: 0.6rem; align-items: center; }
.footer-social a { transition: all 0.3s; display: flex; align-items: center; }
.footer-social a:hover { transform: scale(1.1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 0.75rem clamp(16px, 3vw, 32px); border-top: 1px solid rgba(240,224,0,0.2); width: 100%; box-sizing: border-box; }
.footer-bottom-text { color: rgba(255,255,255,0.6); font-size: 12px; white-space: nowrap; text-align: center; }
.footer-dev { color: rgba(255,255,255,0.6); font-size: 12px; }
.footer-dev a { color: #F0E000; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer-dev a:hover { color: #fff; }
.footer-logo-img { height: 38px; width: auto; object-fit: contain; }
.footer-links-col--reclame { align-items: center; min-width: auto; }
.footer-links-col--reclame .contact-card--reclame { padding: 0; }
.footer-links-col--certificates { align-items: center; min-width: auto; }
.footer-certificates { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.footer-certificates img { display: block; width: auto; height: 44px; max-width: 72px; object-fit: contain; }
.footer-certificates img[alt="Let's Encrypt"] { max-width: 66px; }
.footer-certificates img[alt="PCI Certified"] { max-width: 52px; }
.contact-card-ra-link { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.contact-card-ra-link:hover .contact-ra-seal { transform: scale(1.04); }
.contact-ra-seal { width: 72px; height: 72px; object-fit: contain; display: block; transition: transform 0.2s ease; }
.contact-ra-logo { height: 26px; width: auto; max-width: 160px; display: block; }
.contact-ra-label { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; margin: 0; }
.contact-card-ra-link:hover .contact-ra-label { color: #F0E000; }
@media (max-width: 768px) {
    .footer-links { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .footer-links-col { align-items: center; }
    .footer-main { flex-direction: column; align-items: center; gap: 0.85rem; padding: 1.1rem 0 1.25rem; }
    .footer-logo-img { height: 52px; }
    .footer-contact { flex-direction: column; align-items: center; justify-content: center; gap: 0.65rem; width: 100%; max-width: 320px; text-align: center; }
    .footer-social { justify-content: center; gap: 0.85rem; width: 100%; }
    .footer-hsep { display: none; }
    .footer-vdivider { display: block; width: 1px; height: 28px; background: rgba(240,224,0,0.35); margin: 0.2rem 0; flex-shrink: 0; }
    .footer-phone { justify-content: center; font-size: 0.82rem; }
    .footer-address { justify-content: center; align-items: flex-start; text-align: center; font-size: 0.8rem; line-height: 1.45; max-width: 300px; }
    .footer-address span { display: inline; text-align: center; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.85rem 3.75rem 1.1rem 0.75rem; text-align: center; }
    .footer-bottom-text { white-space: normal; line-height: 1.45; max-width: 100%; font-size: 0.72rem; }
    .footer-dev { font-size: 0.72rem; line-height: 1.45; }
}

/* Página de catálogo */
body.has-site-header-shell.catalog-page .products-page {
    width: 100%;
    box-sizing: border-box;
}

body.has-site-header-shell.catalog-page .footer {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
}

/* Layout full-width do rodapé: ver site-store-footer.css */

body.has-site-header-shell.catalog-page .filter-overlay {
    z-index: 10040;
}

body.has-site-header-shell.catalog-page .stock-notify-modal {
    z-index: 10060;
}

/* Catálogo — layout desktop do header: site-header-desktop-fluid.css (sincronizado com /inicio) */

@media (min-width: 769px) {
    /* PC: mega-nav e anúncio sem linha branca / contorno escuro */
    body.has-site-header-shell .site-header-shell {
        box-shadow: none;
    }

    body.has-site-header-shell .mega-nav,
    body.has-site-header-shell .mega-nav-inner,
    body.has-site-header-shell .mega-nav-inner .header-categories-nav,
    body.has-site-header-shell .site-announcement-bar {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
}
