/* ===== Design de e-commerce: cabeçalho, filtros, carrosséis, promo, compartilhar ===== */
:root { --font-display: 'Isometra', 'Ubuntu', system-ui, sans-serif; --hdr-h: 124px; }
.font-display, #radar-luxe-root h1, #radar-luxe-root h2.store-title, .hero2 h1, .promo h2, .woocommerce div.product .product_title,
.woocommerce-products-header__title, .woocommerce .page-title, .woocommerce div.product .related > h2 {
    font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; font-synthesis: none; }
#radar-luxe-root h2.store-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }

/* ---------- Cabeçalho em 3 faixas ---------- */
.radar-header, .radar-header.scrolled { height: auto; display: block; background: #fff; backdrop-filter: none; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.radar-topbar { background: var(--chumbo); color: #e6e8ea; font-size: .78rem; }
.radar-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; }
.radar-topbar a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.radar-topbar a:hover { text-decoration: underline; }
.radar-nav { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.radar-logo img { height: 50px; width: auto; }

.radar-searchbar { flex: 1; display: flex; align-items: stretch; max-width: 720px; height: 48px; border: 2px solid var(--primary); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.radar-searchbar:focus-within { box-shadow: 0 0 0 4px var(--primary-glow); }
.radar-searchbar select { border: 0; border-right: 1px solid var(--border); background: var(--muted); padding: 0 12px; font: 600 .85rem var(--font-h); color: var(--foreground); max-width: 150px; cursor: pointer; outline: 0; }
.radar-searchbar input[type=search] { flex: 1; min-width: 0; border: 0; padding: 0 16px; font: inherit; font-size: .95rem; outline: 0; background: transparent; }
.radar-searchbar button { display: flex; align-items: center; gap: 6px; border: 0; background: var(--primary); color: #fff; padding: 0 22px; font: 600 .92rem var(--font-h); cursor: pointer; transition: background .2s; }
.radar-searchbar button:hover { background: var(--primary-dark); }

.radar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 56px; padding: 6px 8px; border-radius: 10px; color: var(--foreground); text-decoration: none; transition: background .2s, color .2s; }
.hdr-icon:hover { background: var(--muted); color: var(--primary-dark); }
.hdr-icon .dashicons { width: 26px; height: 26px; font-size: 26px; }
.hdr-sub { font: 600 .7rem var(--font-h); letter-spacing: .02em; }
.hdr-wa .dashicons { color: #1ebe5d; }
.hdr-cart .dashicons { color: var(--primary); }
.hdr-icon .radar-cart-badge { position: absolute; top: 0; right: 6px; margin: 0; min-width: 19px; height: 19px; line-height: 19px; padding: 0 5px; font-size: .68rem; border: 2px solid #fff; }
.radar-nav-menu { display: none; }

.radar-catbar { background: #fff; border-top: 1px solid var(--border); }
.radar-catbar .container { display: flex; align-items: center; gap: 22px; min-height: 44px; }
.radar-catbar ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.radar-catbar ul::-webkit-scrollbar { display: none; }
.radar-catbar a { color: var(--foreground); text-decoration: none; font: 600 .88rem var(--font-h); padding: 10px 12px; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.radar-catbar a:hover { background: var(--muted); color: var(--primary-dark); }
.radar-catbar .cb-all { background: var(--primary); color: #fff; padding: 8px 16px; }
.radar-catbar .cb-all:hover { background: var(--primary-dark); color: #fff; }
.radar-catbar .cb-deal { color: #8a6500; background: rgba(255,200,59,.28); }
.radar-catbar .cb-right { color: var(--chumbo); }

#main-content { padding-top: var(--hdr-h); }

/* ---------- Faixa de benefícios com ícones ---------- */
#radar-luxe-root .store-bar-grid div { flex-direction: row; align-items: center; gap: 12px; }
#radar-luxe-root .store-bar-grid p { margin: 0; display: flex; flex-direction: column; gap: 1px; }
#radar-luxe-root .store-bar-grid > div > .dashicons { width: 30px; height: 30px; font-size: 30px; color: var(--secondary); flex-shrink: 0; }
.section-tight { padding: 56px 0 !important; }

/* ---------- Banner: card de busca ---------- */
.hero2-search { max-width: 640px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; padding: 8px; border-radius: 20px; }
.hs-field { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 16px; border-right: 1px solid var(--border); min-width: 0; }
.hs-field:last-of-type { border-right: 0; }
.hs-grow { flex: 1 1 200px; }
.hs-field label { font: 700 .68rem var(--font-h); text-transform: uppercase; letter-spacing: .08em; color: var(--chumbo); }
.hs-field input, .hs-field select { border: 0; outline: 0; background: transparent; font: 500 .95rem var(--font-b); color: var(--foreground); padding: 2px 0; min-width: 0; width: 100%; }
.hero2-search .btn { border-radius: 14px; padding: 0 24px; min-height: 52px; margin-left: 6px; }
.hero2 h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; text-transform: none; }

/* ---------- Categorias ---------- */
#radar-luxe-root .cat-card { position: relative; padding: 22px 20px; border-left-width: 5px; }
.cat-go { position: absolute; right: 16px; bottom: 14px; color: var(--primary); font-size: 1.2rem; transition: transform .2s; }
.cat-card:hover .cat-go { transform: translateX(4px); }

/* ---------- Carrossel ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.rail-head .store-title { margin: 0; }
.rail-ctrl { display: flex; align-items: center; gap: 10px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--foreground); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.rail-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.rail-btn[disabled] { opacity: .35; pointer-events: none; }
.rail-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 calc((100% - 54px) / 4); min-width: 230px; scroll-snap-align: start; }
.js .rail-item .product-card { opacity: 1; transform: none; }

/* ---------- Banner promocional (tipografia grande) ---------- */
.promo { position: relative; overflow: hidden; background: var(--chumbo); color: #fff; padding: 64px 0; }
.promo-shape { position: absolute; transform: skewX(-24deg); }
.promo-shape-a { right: 6%; top: -20%; width: 180px; height: 150%; background: rgba(255,200,59,.14); }
.promo-shape-b { right: -2%; top: -20%; width: 90px; height: 150%; background: rgba(77,122,77,.45); }
.promo-grid { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.promo-big { display: flex; align-items: flex-end; gap: 10px; color: var(--secondary); line-height: .8; }
.promo-up, .promo-off { font: 400 1.6rem var(--font-display); text-transform: uppercase; padding-bottom: 14px; color: #fff; }
.promo-num { font: 400 clamp(5rem, 14vw, 10rem) var(--font-display); letter-spacing: -.02em; }
.promo-num small { font-size: .45em; }
.promo h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; margin: 0 0 10px; max-width: 560px; }
.promo p { color: #d0d3d6; margin: 0 0 20px; max-width: 520px; }

/* ---------- Share ---------- */
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--chumbo); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .2s, background .2s, color .2s; }
.share-btn:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.share-btn .dashicons { width: 18px; height: 18px; font-size: 18px; }
.product-image .share-btn { position: absolute; top: 10px; right: 10px; z-index: 6; }
.share-btn-lg { width: auto; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--border); background: #fff; box-shadow: none; font: 600 .85rem var(--font-h); margin: 0 0 10px; }
.share-pop { position: fixed; z-index: 100001; min-width: 210px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 44px -10px rgba(0,0,0,.35); padding: 8px; animation: popIn .18s ease-out; }
.share-pop a, .share-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; background: none; border-radius: 8px; font: 600 .9rem var(--font-h); color: var(--foreground); text-decoration: none; cursor: pointer; text-align: left; }
.share-pop a:hover, .share-pop button:hover { background: var(--muted); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Loja: layout com filtros ---------- */
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-filters { position: sticky; top: calc(var(--hdr-h) + 16px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - var(--hdr-h) - 32px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.filters-head h2 { font: 400 1.3rem var(--font-display); margin: 0; }
.filters-close { display: none; border: 0; background: var(--muted); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; }
.f-block { padding: 16px 0; border-bottom: 1px solid var(--border); }
.f-block:last-of-type { border-bottom: 0; }
.f-title { display: block; font: 700 .78rem var(--font-h); text-transform: uppercase; letter-spacing: .08em; color: var(--chumbo); margin-bottom: 10px; }
.f-search { position: relative; }
.f-search input { width: 100%; padding: 11px 40px 11px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: .9rem; }
.f-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--chumbo); cursor: pointer; }
.f-cats, .f-ranges { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-cats a, .f-ranges a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--foreground); text-decoration: none; font-size: .92rem; transition: background .15s; }
.f-cats a:hover, .f-ranges a:hover { background: var(--muted); }
.f-cats a.on, .f-ranges a.on { background: rgba(77,122,77,.14); color: var(--primary-dark); font-weight: 700; }
.f-cats em { font-style: normal; font-size: .75rem; color: var(--cinza); background: var(--muted); border-radius: 99px; padding: 1px 8px; }
.f-price { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.f-price input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: .9rem; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.f-actions { display: grid; gap: 8px; padding-top: 6px; }
.f-actions .btn { width: 100%; }
.shop-main .woocommerce-products-header { margin-bottom: 4px; }
.shop-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; padding: 10px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.shop-toolbar .woocommerce-result-count { margin: 0; float: none; flex: 1; }
.shop-toolbar .woocommerce-ordering { margin: 0; float: none; }
.filters-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(77,122,77,.14); color: var(--primary-dark); font: 600 .82rem var(--font-h); text-decoration: none; }
.chip:hover { background: var(--primary); color: #fff; }
.chip-clear { background: transparent; border: 1px solid var(--border); color: var(--chumbo); }
.filters-overlay { display: none; }

/* ---------- Rodapé: pagamento ---------- */
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 0 0 24px; }
.pay-chips > span { padding: 6px 14px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font: 700 .78rem var(--font-h); letter-spacing: .04em; }
.pay-chips .pay-secure { background: transparent; color: var(--secondary); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) { .rail-item { flex-basis: calc((100% - 36px) / 3); } .hdr-sub { display: none; } .hdr-icon { min-width: 44px; } }
@media (max-width: 991px) {
    :root { --hdr-h: 116px; }
    .radar-topbar .tb-mid { display: none; }
    .radar-catbar { display: none; }
    .radar-nav { flex-wrap: wrap; min-height: 0; padding-top: 8px; padding-bottom: 10px; gap: 8px 10px; }
    .radar-logo img { height: 38px; }
    .radar-actions { order: 2; margin-left: auto; }
    .radar-searchbar { order: 3; flex: 1 0 100%; max-width: none; height: 44px; }
    .radar-searchbar select { display: none; }
    .sb-label { display: none; }
    .radar-searchbar button { padding: 0 16px; }
    .mobile-toggle { display: flex; }
    .radar-menu.mobile-active { top: var(--hdr-h); max-height: calc(100vh - var(--hdr-h)); }
    .radar-nav-menu { display: block; }
    #radar-luxe-root #main-content { padding-top: var(--hdr-h) !important; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-filters { position: fixed; z-index: 100002; top: 0; left: 0; bottom: 0; width: min(88vw, 340px); max-height: none; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .3s cubic-bezier(.16,1,.3,1); }
    .shop-filters.open { transform: none; }
    .filters-close { display: flex; align-items: center; justify-content: center; }
    .filters-open { display: inline-flex; }
    .filters-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100001; opacity: 0; pointer-events: none; transition: opacity .25s; display: block; }
    .filters-overlay.show { opacity: 1; pointer-events: auto; }
    .promo-grid { grid-template-columns: 1fr; gap: 20px; }
    .rail-item { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
    .radar-topbar { font-size: .72rem; }
    .radar-topbar .container { justify-content: center; }
    .radar-topbar span:first-child { display: none; }
    .rail-item { flex-basis: 66%; min-width: 0; }
    .rail-btn { display: none; }
    .hero2-search { padding: 6px; border-radius: 16px; }
    .hs-field { padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--border); flex: 1 1 100%; }
    .hero2-search .btn { flex: 1 1 100%; margin: 8px 0 0; min-height: 48px; }
    .section-tight { padding: 40px 0 !important; }
    .promo { padding: 44px 0; }
    .promo-num { font-size: 6rem; }
}

/* ---------- Ajustes finais ---------- */
body, .radar-header, .radar-topbar, .radar-footer { font-family: var(--font-b); }
#radar-luxe-root .cat-grid { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
@media (min-width: 861px) {
    .hero2-search { flex-wrap: nowrap; max-width: 700px; }
    .hero2-search .btn { flex-shrink: 0; white-space: nowrap; }
    .hs-grow { flex: 1 1 200px; }
    .hs-field:not(.hs-grow) { flex: 0 0 auto; }
}
#radar-luxe-root .filters-open { display: none; }
@media (max-width: 991px) { #radar-luxe-root .filters-open { display: inline-flex; } }
.shop-filters { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

/* produto: neutraliza larguras percentuais do WooCommerce */
.woocommerce div.product div.images, .woocommerce-page div.product div.images,
.woocommerce div.product div.summary, .woocommerce-page div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); overflow-wrap: anywhere; }

/* cards sempre visíveis: animação de entrada por CSS, sem depender de JavaScript/scroll */
.js ul.products li.product.reveal, .js ul.products li.product.reveal.active, .js .products-grid .product-card, .js .products-grid .product-card.active {
    opacity: 1; transform: none; transition: none; animation: cardIn .55s cubic-bezier(.16,1,.3,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
