/* ============================================================
   VITORGURTE — Shop styles (catálogo, produto, carrinho,
   checkout, ofertas, sobre, conta, confirmação)
   Carrega DEPOIS de styles.css
   ============================================================ */

/* nav active */
.navbar a.active { color: var(--blue); background: #eaf2ff; }

/* ---------- free-shipping bar (drawer) ---------- */
.freeship { padding: 14px 24px; background: #f0f7ff; border-bottom: 1px solid var(--line); }
.fs-row { font-size: 13px; color: #334155; display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.fs-row b { color: var(--blue); font-weight: 700; }
.fs-row.done { color: var(--green); } .fs-row.done b { color: var(--green); }
.fs-row.done svg { width: 17px; height: 17px; color: var(--green); }
.fs-bar { height: 7px; background: #d6e6fb; border-radius: 99px; overflow: hidden; }
.fs-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #2f86e6); border-radius: 99px; transition: width .4s ease; }

/* ============================================================
   PAGE HERO / BREADCRUMB
   ============================================================ */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-900) 60%, #123a72 100%); color: #fff; padding: 38px 0 42px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,209,0,.16), transparent 70%); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9fb6d6; margin-bottom: 14px; position: relative; z-index: 2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; position: relative; z-index: 2; }
.page-hero p { color: #c5d6ee; font-size: 15.5px; margin-top: 10px; max-width: 560px; position: relative; z-index: 2; }
.page-hero .ph-stats { display: flex; gap: 26px; margin-top: 22px; position: relative; z-index: 2; }
.page-hero .ph-stats div { font-size: 13px; color: #aebfd6; display: flex; align-items: center; gap: 8px; }
.page-hero .ph-stats b { color: #fff; font-family: var(--ff-display); font-weight: 700; }
.page-hero .ph-stats svg { width: 16px; height: 16px; color: var(--yellow); }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 264px 1fr; gap: 32px; align-items: start; padding-block: 38px; }
.filters { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 14px; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filter-card h4 { font-family: var(--ff-display); font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.filter-card h4 svg { width: 16px; height: 16px; color: var(--blue); }
.fopt { display: flex; align-items: center; gap: 11px; padding: 8px 0; cursor: pointer; font-size: 14px; color: #334155; }
.fopt input { display: none; }
.fopt .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: all .15s; }
.fopt .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.fopt input:checked + .box { background: var(--blue); border-color: var(--blue); }
.fopt input:checked + .box svg { opacity: 1; }
.fopt:hover { color: var(--blue); }
.fopt .cnt { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.fchip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { font-size: 13px; padding: 7px 13px; border-radius: 99px; border: 1.5px solid var(--line); cursor: pointer; transition: all .15s; font-weight: 600; color: #475569; }
.fchip:hover { border-color: var(--blue); color: var(--blue); }
.fchip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-inputs input { width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 13px; outline: none; }
.price-inputs input:focus { border-color: var(--blue); }
.filter-clear { background: none; color: var(--blue); font-weight: 700; font-size: 13px; padding: 6px 0; font-family: var(--ff-display); }

.shop-main { min-width: 0; }

/* busca do catálogo — fica abaixo do título "Catálogo completo" */
.catalog-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px 6px 3px 16px; margin: 22px 0 6px; }
.catalog-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,184,.1); }
.catalog-search > svg { width: 19px; height: 19px; color: var(--muted-2); flex-shrink: 0; }
.catalog-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-size: 15px; padding: 12px 0; color: var(--ink); }
.catalog-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.cs-clear { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; transition: background .15s, color .15s; }
.cs-clear svg { width: 18px; height: 18px; }
.cs-clear:hover { background: var(--bg); color: var(--ink); }

/* filtros: cabeçalho + botão aplicar só aparecem no bottom-sheet mobile */
.filters-mhead { display: none; }
.filters-apply { display: none; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-toolbar .res { font-size: 14px; color: var(--muted); } .shop-toolbar .res b { color: var(--ink); font-family: var(--ff-display); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sortsel { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; }
.sortsel select { border: none; outline: none; background: none; font-family: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.view-toggle { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-toggle button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.on { background: var(--blue); color: #fff; }
.view-toggle svg { width: 17px; height: 17px; }
.mobile-filter-btn { display: none; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-grid.list { grid-template-columns: 1fr; }

/* paginação do catálogo */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; font-family: var(--ff-display); display: grid; place-items: center; transition: all .15s; }
.page-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.page-btn.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-btn.page-nav svg { width: 16px; height: 16px; }
.page-ellipsis { min-width: 24px; text-align: center; color: var(--muted-2); font-size: 13px; }

/* card (grid catalog version, richer than home) */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 1.1; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
/* a imagem preenche exatamente a moldura (contain), sem estourar e cobrir o nome */
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pcard-emoji { font-size: 68px; filter: drop-shadow(0 8px 14px rgba(15,23,42,.14)); transition: transform .25s; }
.pcard:hover .pcard-emoji { transform: scale(1.08) rotate(-3deg); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.pbadge { font-family: var(--ff-display); font-weight: 800; font-size: 10.5px; letter-spacing: .03em; padding: 5px 10px; border-radius: 99px; color: #fff; white-space: nowrap; }
.pbadge.sale { background: #e11d48; } .pbadge.top { background: var(--blue); } .pbadge.new { background: var(--green); }
.pbadge.orig { background: #fff; color: var(--blue-700); border: 1px solid #cfe0f7; display: inline-flex; align-items: center; gap: 4px; }
.pbadge.orig svg { width: 11px; height: 11px; }
.pcard-fav { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--muted); box-shadow: var(--shadow-sm); transition: color .15s, transform .15s; }
.pcard-fav:hover { color: #e11d48; transform: scale(1.1); }
.pcard-fav svg { width: 17px; height: 17px; }
.pcard-fav.on { color: #e11d48; } .pcard-fav.on svg { fill: #e11d48; }
.pcard-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.pcard-line { font-size: 11.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.pcard-name { font-family: var(--ff-display); font-weight: 700; font-size: 15px; line-height: 1.25; margin-top: 4px; cursor: pointer; }
.pcard-name:hover { color: var(--blue); }
.pcard-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pcard-rating { display: inline-flex; align-items: center; gap: 3px; color: #b8860b; font-weight: 600; }
.pcard-rating svg { width: 12px; height: 12px; fill: var(--yellow); stroke: none; }
.pcard-box { font-size: 11.5px; color: var(--muted); margin-top: 10px; padding: 7px 10px; background: var(--bg); border-radius: 8px; }
.pcard-box b { color: var(--blue-700); font-family: var(--ff-display); }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 13px; }
.pcard-price .old { font-size: 12px; color: var(--muted-2); text-decoration: line-through; display: block; }
.pcard-price .now { font-family: var(--ff-display); font-size: 21px; font-weight: 800; }
.pcard-price .now small { font-size: 12.5px; font-weight: 700; }
.pcard-price .pix { font-size: 11.5px; color: var(--green); font-weight: 600; margin-top: 2px; }
.pcard-add { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .15s, transform .15s; }
.pcard-add:hover { background: var(--blue-600); transform: scale(1.06); }
.pcard-add:active { transform: scale(.92); }
.pcard-add svg { width: 21px; height: 21px; }

/* list layout variant */
.prod-grid.list .pcard { flex-direction: row; align-items: stretch; }
.prod-grid.list .pcard-media { width: 200px; aspect-ratio: auto; flex-shrink: 0; }
.prod-grid.list .pcard-body { flex: 1; }
.prod-grid.list .pcard-box { display: inline-block; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state svg { width: 60px; height: 60px; color: var(--muted-2); margin-bottom: 16px; }
.empty-state b { display: block; font-family: var(--ff-display); color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ============================================================
   PRODUTO (detalhe)
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 38px; align-items: start; }
.pdp-gallery { position: sticky; top: 150px; }
.pdp-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); aspect-ratio: 1.05; display: grid; place-items: center; position: relative; overflow: hidden; }
.pdp-main .big-emoji { font-size: 170px; filter: drop-shadow(0 18px 30px rgba(15,23,42,.16)); }
.pdp-main .pbadge { position: absolute; top: 18px; left: 18px; white-space: nowrap; z-index: 3; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumb { width: 78px; height: 78px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 32px; cursor: pointer; transition: border-color .15s; }
.pdp-thumb.on, .pdp-thumb:hover { border-color: var(--blue); }

.pdp-info .pdp-line { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.pdp-info h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-top: 8px; }
.pdp-rating { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pdp-rating .stars { color: var(--yellow); font-size: 17px; letter-spacing: 1px; }
.pdp-rating .rnum { font-weight: 700; font-family: var(--ff-display); }
.pdp-rating .rsep { color: var(--line); } .pdp-rating .rmeta { font-size: 13px; color: var(--muted); }
.pdp-rating .instock { color: var(--green); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.pdp-rating .instock svg { width: 15px; height: 15px; }

.buy-mode { display: flex; gap: 10px; margin: 24px 0 0; }
.buy-opt { flex: 1; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; background: #fff; text-align: left; }
.buy-opt.on { border-color: var(--blue); background: #f0f7ff; box-shadow: 0 0 0 3px rgba(0,87,184,.08); }
.buy-opt .bo-top { display: flex; align-items: center; justify-content: space-between; }
.buy-opt .bo-label { font-family: var(--ff-display); font-weight: 700; font-size: 14px; }
.buy-opt .bo-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.buy-opt.on .bo-radio { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, transparent 6px); }
.buy-opt .bo-price { font-family: var(--ff-display); font-weight: 800; font-size: 22px; margin-top: 8px; }
.buy-opt .bo-price small { font-size: 12px; font-weight: 700; color: var(--muted); }
.buy-opt .bo-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.buy-opt .bo-save { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--green); background: #e6f6ea; padding: 3px 8px; border-radius: 6px; }

.pdp-pixbox { display: flex; align-items: center; gap: 10px; margin-top: 18px; background: #e6f6ea; border: 1px solid #bfe6cd; border-radius: 12px; padding: 12px 16px; }
.pdp-pixbox svg { width: 26px; height: 26px; color: var(--green); }
.pdp-pixbox b { color: #15803d; font-family: var(--ff-display); } .pdp-pixbox span { font-size: 13px; color: #166534; }

.pdp-actions { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.qty-big { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty-big button { width: 46px; height: 52px; font-size: 20px; color: var(--blue-700); font-weight: 700; display: grid; place-items: center; transition: background .15s; }
.qty-big button:hover { background: var(--bg); }
.qty-big input { width: 48px; height: 52px; border: none; outline: none; text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: 17px; }
.pdp-actions .btn { flex: 1; justify-content: center; height: 52px; }

.pdp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.perk { display: flex; align-items: center; gap: 11px; font-size: 13px; color: #334155; }
.perk .pk-ic { width: 38px; height: 38px; border-radius: 10px; background: #eaf2ff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.perk .pk-ic svg { width: 19px; height: 19px; } .perk b { font-family: var(--ff-display); font-size: 13.5px; display: block; } .perk span { color: var(--muted); font-size: 12px; }

.pdp-tabs { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; }
.tab-btns { display: flex; gap: 8px; margin-bottom: 18px; }
.tab-btn { font-family: var(--ff-display); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 10px; color: var(--muted); }
.tab-btn.on { background: var(--blue); color: #fff; }
.tab-pane { display: none; font-size: 14.5px; line-height: 1.65; color: #475569; }
.tab-pane.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--muted); width: 40%; } .spec-table td:last-child { font-weight: 600; }

/* compre junto / relacionados reuse .prod-grid */
.section-sub { margin: var(--gap-section) 0 0; }
.section-sub h2 { font-size: 26px; font-weight: 800; margin-bottom: 22px; }

/* ============================================================
   CARRINHO (página)
   ============================================================ */
.cart-page { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding-block: 38px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cart-items-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-items-head b { font-family: var(--ff-display); font-size: 17px; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 18px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row .cr-thumb { width: 92px; height: 92px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; font-size: 44px; }
.cart-row .cr-line { font-size: 11.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .03em; }
.cart-row .cr-name { font-family: var(--ff-display); font-weight: 700; font-size: 16px; margin-top: 3px; }
.cart-row .cr-weight { font-size: 13px; color: var(--muted); margin-top: 3px; }
.cart-row .cr-unit { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cart-row .cr-price { font-family: var(--ff-display); font-weight: 800; font-size: 19px; text-align: right; }
.cart-row .cr-rm { color: var(--muted-2); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; }
.cart-row .cr-rm:hover { color: #e11d48; } .cart-row .cr-rm svg { width: 13px; height: 13px; }
.cart-items-head .cr-rm { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 13px; transition: all .15s; }
.cart-items-head .cr-rm:hover { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.cart-items-head .cr-rm svg { width: 13px; height: 13px; }
.cart-empty-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 150px; }
.summary h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; color: #475569; padding: 8px 0; }
.sum-row.disc { color: var(--green); font-weight: 600; }
.sum-row.free { color: var(--green); font-weight: 600; }
.sum-divider { height: 1px; background: var(--line); margin: 12px 0; }
.sum-total { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 0 4px; }
.sum-total span { font-family: var(--ff-display); font-weight: 700; font-size: 16px; }
.sum-total b { font-family: var(--ff-display); font-weight: 800; font-size: 28px; white-space: nowrap; }
.sum-pix { font-size: 13px; color: var(--green); font-weight: 600; text-align: right; margin-bottom: 16px; }
.coupon-box { display: flex; gap: 8px; margin: 8px 0 18px; }
.coupon-box input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; outline: none; text-transform: uppercase; }
.coupon-box input:focus { border-color: var(--blue); }
.coupon-box button { background: var(--navy); color: #fff; padding: 0 18px; border-radius: 10px; font-family: var(--ff-display); font-weight: 700; font-size: 13.5px; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; background: #e6f6ea; border: 1px solid #bfe6cd; border-radius: 10px; padding: 10px 14px; margin: 8px 0 18px; font-size: 13.5px; color: #15803d; font-weight: 600; }
.coupon-applied button { color: #15803d; font-size: 12px; text-decoration: underline; }
.coupon-msg { font-size: 12.5px; margin: -8px 0 14px; } .coupon-msg.err { color: #e11d48; }
.summary .btn { width: 100%; justify-content: center; height: 52px; }
.sum-safe { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.sum-safe svg { width: 14px; height: 14px; color: var(--green); }
.sum-pay { display: flex; gap: 6px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.sum-pay .pay-chip { background: var(--bg); border: 1px solid var(--line); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding-block: 38px; align-items: start; }
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.step { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.step .sn { width: 30px; height: 30px; border-radius: 50%; background: var(--line); color: var(--muted); font-family: var(--ff-display); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.step.on .sn { background: var(--blue); color: #fff; }
.step.done .sn { background: var(--green); color: #fff; }
.step .sl { font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.step.on .sl, .step.done .sl { color: var(--ink); }
.step-line { flex: 1; height: 2px; background: var(--line); min-width: 24px; }

.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.co-card h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.co-card h3 .cn { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: grid; place-items: center; }
.co-card .co-hint { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; padding-left: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #334155; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px; font-size: 14.5px; outline: none; font-family: inherit; transition: border-color .15s, box-shadow .15s; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,184,.1); }
.field-hint { font-size: 12px; color: #64748B; }

.pay-methods-list { display: flex; flex-direction: column; gap: 12px; }
.pay-opt { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.pay-opt.on { border-color: var(--blue); }
.pay-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.pay-opt.on .pay-head { background: #f0f7ff; }
.pay-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.pay-opt.on .pay-radio { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, transparent 6px); }
.pay-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.pay-ic svg { width: 22px; height: 22px; color: var(--blue-700); }
.pay-info { flex: 1; } .pay-info b { font-family: var(--ff-display); font-size: 15px; display: block; } .pay-info span { font-size: 12.5px; color: var(--muted); }
.pay-tag { font-size: 11px; font-weight: 800; color: var(--green); background: #e6f6ea; padding: 4px 10px; border-radius: 99px; font-family: var(--ff-display); }
.pay-body { display: none; padding: 0 18px 20px 74px; }
.pay-opt.on .pay-body { display: block; }
.pix-visual { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: 14px; padding: 18px; }
.pix-qr { width: 110px; height: 110px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.pix-qr svg { width: 84px; height: 84px; }
.pix-visual b { font-family: var(--ff-display); font-size: 16px; } .pix-visual p { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

.order-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 150px; }
.order-summary h3 { font-family: var(--ff-display); font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.os-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.os-line .os-thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 24px; position: relative; flex-shrink: 0; }
.os-line .os-q { position: absolute; top: -6px; right: -6px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.os-line .os-n { flex: 1; font-size: 13px; } .os-line .os-n b { font-family: var(--ff-display); display: block; font-size: 13.5px; }
.os-line .os-p { font-family: var(--ff-display); font-weight: 700; font-size: 14px; }

/* ============================================================
   OFERTAS / COMBOS
   ============================================================ */
.deal-banner { background: linear-gradient(120deg, #e11d48, #be123c); border-radius: var(--radius-xl); padding: 36px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; margin-bottom: 38px; }
.deal-banner::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.deal-banner .db-txt { position: relative; z-index: 2; }
.deal-banner .db-tag { font-family: var(--ff-display); font-weight: 800; font-size: 12px; letter-spacing: .1em; background: rgba(255,255,255,.2); padding: 6px 13px; border-radius: 99px; display: inline-block; }
.deal-banner h2 { font-size: 32px; font-weight: 800; margin-top: 14px; }
.deal-banner p { color: #ffe4e9; margin-top: 8px; font-size: 15px; }
.countdown { display: flex; gap: 10px; position: relative; z-index: 2; }
.cd-box { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 14px; padding: 14px 18px; text-align: center; min-width: 72px; }
.cd-box b { font-family: var(--ff-display); font-weight: 800; font-size: 32px; line-height: 1; display: block; }
.cd-box span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: 6px; display: block; }

.combo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.combo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; transition: transform .2s, box-shadow .2s, border-color .2s; }
.combo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.combo-visual { width: 150px; flex-shrink: 0; display: grid; place-items: center; font-size: 64px; position: relative; }
.combo-visual .ribbon { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 10.5px; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.combo-body { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.combo-body h3 { font-family: var(--ff-display); font-size: 19px; font-weight: 800; }
.combo-body .cb-desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; flex: 1; }
.combo-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.combo-price .old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; display: block; }
.combo-price .now { font-family: var(--ff-display); font-weight: 800; font-size: 25px; }
.combo-price .save { font-size: 11.5px; color: var(--green); font-weight: 700; margin-top: 2px; }

/* ============================================================
   CONTA (login / cadastro)
   ============================================================ */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; max-width: 1000px; margin: 50px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { background: linear-gradient(150deg, var(--navy), var(--blue-700)); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,209,0,.16), transparent 70%); }
.auth-side img { width: 64px; height: 64px; object-fit: contain; position: relative; z-index: 2; }
.auth-side h2 { font-size: 30px; font-weight: 800; margin-top: 28px; position: relative; z-index: 2; }
.auth-side p { color: #c5d6ee; font-size: 15px; margin-top: 14px; line-height: 1.6; position: relative; z-index: 2; }
.auth-perks { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; position: relative; z-index: 2; }
.auth-perks div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.auth-perks .ap-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.auth-perks svg { width: 18px; height: 18px; color: var(--yellow); }
.auth-form { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.auth-tab { flex: 1; text-align: center; padding: 11px; border-radius: 9px; font-family: var(--ff-display); font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: all .15s; }
.auth-tab.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.auth-form .field { margin-bottom: 16px; }
.auth-pane { display: none; } .auth-pane.on { display: block; }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: 20px; }
.auth-row a { color: var(--blue); font-weight: 600; }
.auth-form .btn { width: 100%; justify-content: center; height: 52px; }
.auth-or { text-align: center; color: var(--muted-2); font-size: 13px; margin: 20px 0; position: relative; }
.auth-or::before, .auth-or::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--line); }
.auth-or::before { left: 0; } .auth-or::after { right: 0; }
.wa-login { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--ff-display); font-weight: 700; font-size: 14.5px; color: #128c4a; transition: border-color .15s; }
.wa-login:hover { border-color: #25D366; } .wa-login svg { width: 20px; height: 20px; color: #25D366; }

/* ============================================================
   CONFIRMAÇÃO
   ============================================================ */
.confirm-wrap { max-width: 720px; margin: 60px auto; text-align: center; padding-inline: var(--pad); }
.confirm-check { width: 92px; height: 92px; border-radius: 50%; background: #e6f6ea; display: grid; place-items: center; margin: 0 auto 26px; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
.confirm-check svg { width: 48px; height: 48px; color: var(--green); }
@keyframes pop { from { transform: scale(0); } }
.confirm-wrap h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.confirm-wrap .lead { color: var(--muted); font-size: 16px; margin-top: 12px; }
.order-num { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; margin-top: 24px; font-family: var(--ff-display); }
.order-num span { color: var(--muted); font-size: 13px; font-weight: 500; } .order-num b { font-size: 18px; color: var(--blue); }
.track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; margin-top: 34px; text-align: left; }
.track h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 800; margin-bottom: 26px; }
.track-steps { display: flex; flex-direction: column; gap: 0; }
.tstep { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.tstep:last-child { padding-bottom: 0; }
.tstep::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.tstep:last-child::before { display: none; }
.tstep .ts-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; z-index: 2; background: var(--line); color: var(--muted); }
.tstep.done .ts-dot { background: var(--green); color: #fff; } .tstep.active .ts-dot { background: var(--blue); color: #fff; }
.tstep.done::before { background: var(--green); }
.tstep .ts-dot svg { width: 18px; height: 18px; }
.tstep .ts-info b { font-family: var(--ff-display); font-size: 15px; } .tstep .ts-info span { font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }
.tstep.active .ts-info b { color: var(--blue); }
.confirm-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open {
    display: flex; flex-direction: column; gap: 14px;
    position: fixed; inset: 0; top: auto; bottom: 0; z-index: 100;
    background: var(--bg); max-height: 86vh; overflow-y: auto;
    border-radius: 22px 22px 0 0; padding: 0 18px 18px;
    box-shadow: var(--shadow-lg);
  }
  /* cabeçalho fixo do bottom-sheet, com botão fechar */
  .filters.open .filters-mhead {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 2;
    margin: 0 -18px 2px; padding: 16px 18px 13px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .filters.open .filters-mhead::before {
    content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 99px; background: var(--line);
  }
  .filters.open .filters-mhead h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 800; color: var(--ink); }
  .filters.open .filters-mhead .drawer-close svg { width: 20px; height: 20px; }
  /* botão aplicar fixo no rodapé do bottom-sheet */
  .filters.open .filters-apply {
    display: block; position: sticky; bottom: 0; z-index: 2;
    width: 100%; margin-top: 4px; padding: 15px;
    border-radius: 12px; background: var(--blue); color: #fff;
    font-family: var(--ff-display); font-weight: 800; font-size: 15px;
    box-shadow: 0 -14px 22px rgba(244,247,251,.92);
  }
  .filters.open .filters-apply:hover { background: var(--blue-600); }
  .mobile-filter-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 16px; font-family: var(--ff-display); font-weight: 700; font-size: 13.5px; }
  .mobile-filter-btn svg { width: 16px; height: 16px; }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp-gallery { position: static; }
  .cart-page, .checkout { grid-template-columns: 1fr; }
  .summary, .order-summary { position: static; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .combo-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 720px) {
  .toolbar-right { flex-wrap: wrap; }
  .sortsel, .sortsel select { min-width: 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid.list .pcard { flex-direction: column; }
  .prod-grid.list .pcard-media { width: 100%; aspect-ratio: 1.1; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 64px 1fr; grid-template-areas: "t i" "t q" "t p"; row-gap: 8px; }
  .steps { gap: 5px; }
  .step { gap: 6px; }
  .step .sn { width: 24px; height: 24px; font-size: 12px; }
  .step .sl { font-size: 12px; }
  .step-line { min-width: 12px; }
  .cart-row .cr-thumb { width: 64px; height: 64px; font-size: 30px; grid-area: t; }
  .pcard-emoji { font-size: 52px; }
  .deal-banner { padding: 26px; } .deal-banner h2 { font-size: 24px; }
  .pdp-main .big-emoji { font-size: 120px; }
  .buy-mode { flex-direction: column; }
  /* no mobile o .confirm-wrap com margin:60px auto some fica com muito vazio
     em cima (abaixo do header) e embaixo (acima do bottom-nav) */
  .confirm-wrap { margin-top: 24px; margin-bottom: 24px; }
  .track { padding: 22px; }
}
@media (max-width: 460px) {
  .prod-grid { grid-template-columns: 1fr; }
}
