/* ==========================================================================
   Loja virtual — estilos específicos
   ========================================================================== */
main#app { min-height: 70vh; outline: none; padding-bottom: 72px; }
.page { padding-top: 28px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: max(10px, env(safe-area-inset-top)); }
.site-header .bar {
  width: min(1200px, 100% - 20px); margin: 0 auto; height: var(--header-h); padding: 0 14px; display: flex; align-items: center; gap: 14px;
  border-radius: 20px;
}
.nav { display: none; gap: 4px; margin-left: 10px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-muted); font-weight: 500; transition: all .2s var(--ease); }
.nav a:hover { color: var(--text); background: var(--glass-bg-strong); }
.nav a[aria-current='page'] { color: var(--ink); background: var(--accent); font-weight: 600; }
.header-search { flex: 1 1 auto; display: none; position: relative; max-width: 420px; margin-left: auto; }
.header-search .input { padding-left: 44px; border-radius: 999px; }
.header-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--ink);
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--espresso-900);
}
.cart-count:empty, .cart-count[data-n='0'] { display: none; }
.mobile-search { display: none; width: min(1200px, 100% - 20px); margin: 8px auto 0; position: relative; }
.mobile-search.open { display: block; animation: fadeUp .3s var(--ease); }
.mobile-search .input { padding-left: 44px; border-radius: 999px; background: rgba(34, 19, 10, .85); }
.mobile-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.mobile-nav { display: grid; gap: 6px; }
.mobile-nav a { padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--text); font-size: 1.1rem; background: var(--glass-bg); border: 1px solid var(--glass-border); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-search { display: block; }
  .menu-btn, .search-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: grid; align-items: center; isolation: isolate; box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border); }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #5a3216 url('/brand/hero') center / cover no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 10, 5, .92) 8%, rgba(30, 16, 8, .6) 48%, rgba(30, 16, 8, .2) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { padding: 40px 22px; display: grid; gap: 28px; align-items: center; }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel-300); margin-bottom: 18px; }
.hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero p.lead { font-size: 1.12rem; color: var(--cream-300); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges .chip { cursor: default; font-size: .82rem; min-height: 34px; }
.hero-card { display: none; justify-self: center; padding: 30px; border-radius: 50%; width: 270px; height: 270px; place-items: center; animation: floaty 7s ease-in-out infinite; }
.hero-card img { width: 190px; height: 190px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(1.5deg); } }
@media (min-width: 900px) {
  .hero { min-height: 520px; }
  .hero-inner { grid-template-columns: 1.3fr .7fr; padding: 56px 52px; }
  .hero-card { display: grid; }
}

/* ---------- Seções ---------- */
.section { margin-top: 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--text-muted); }
.view-all { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }
.view-all:hover .icon { transform: translateX(4px); }
.view-all .icon { transition: transform .25s var(--ease); }

.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cat-tile { display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.cat-tile:hover { transform: translateY(-5px); border-color: rgba(232, 176, 97, .5); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 176, 97, .2); color: var(--text); }
.cat-tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
.cat-tile:hover .ico { transform: rotate(-8deg) scale(1.08); }
.cat-tile .cat-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; transition: transform .4s var(--ease); }
.cat-tile:hover .cat-img { transform: scale(1.1); }
.cat-tile strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.cat-tile small { color: var(--text-muted); }

.value-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.value { display: flex; gap: 14px; padding: 20px; }
.value .icon { width: 28px; height: 28px; color: var(--caramel-300); flex: none; }
.value strong { display: block; margin-bottom: 2px; }
.value p { margin: 0; color: var(--text-muted); font-size: .92rem; }

.story { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 280px; display: grid; align-items: center; isolation: isolate; border: 1px solid var(--glass-border); }
.story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 10, 5, .9), rgba(18, 10, 5, .35)), url('/brand/story') center / cover; }
.story-inner { padding: 36px 26px; max-width: 560px; }

/* ---------- Cards de produto ---------- */
.products { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.products.three { }
@media (min-width: 1000px) { .products.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pcard { perspective: 900px; }
.pcard-inner {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 0;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  will-change: transform;
}
.pcard-inner::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 232, 200, .16), transparent 60%); }
.pcard:hover .pcard-inner { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 176, 97, .35); border-color: rgba(232, 176, 97, .4); transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.pcard:hover .pcard-inner::after { opacity: 1; }
.pmedia { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(255, 236, 210, .05); }
.pmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pmedia img, .pcard:focus-within .pmedia img { transform: scale(1.08); }
.pmedia .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-dim); background: radial-gradient(circle at 50% 35%, rgba(185, 118, 58, .35), rgba(60, 30, 15, .6)); }
.pmedia .placeholder img { width: 46%; height: auto; opacity: .55; }
.pflags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.flag { padding: 4px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; background: rgba(20, 10, 4, .75); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.flag.promo { background: var(--accent); color: var(--ink); border-color: transparent; }
.flag.out { color: var(--danger); }
.flag.low { color: var(--warning); }
.pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.pname { margin: 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pname a { color: var(--text); text-decoration: none; }
.pname a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pprice { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.pprice .now { font-size: 1.25rem; font-weight: 800; color: var(--cream-100); }
.pprice .old { color: var(--text-dim); text-decoration: line-through; font-size: .9rem; }
.pinstall { font-size: .78rem; color: var(--text-dim); }
.padd { position: relative; z-index: 2; margin-top: 6px; }

/* ---------- Catálogo ---------- */
.catalog { display: grid; gap: 24px; }
@media (min-width: 960px) { .catalog { grid-template-columns: 260px 1fr; align-items: start; } }
.filters { padding: 20px; display: grid; gap: 22px; }
@media (min-width: 960px) { .filters { position: sticky; top: calc(var(--header-h) + 28px); } }
.filters h3 { font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 10px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input.search { flex: 1 1 220px; }
.toolbar .select { width: auto; flex: 0 1 220px; }
.filters-toggle { display: inline-flex; }
@media (min-width: 960px) { .filters-toggle { display: none; } }
.filters-panel { display: none; }
.filters-panel.open { display: block; animation: fadeUp .3s var(--ease); }
@media (min-width: 960px) { .filters-panel { display: block; } }
.result-meta { color: var(--text-muted); margin: 0 0 14px; font-size: .92rem; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Produto ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--text-dim); margin-bottom: 18px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream-100); }
.pdp { display: grid; gap: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 1 / 1; cursor: zoom-in; padding: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-main.zoom img { transform: scale(1.9); }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--glass-bg); transition: border-color .2s, transform .2s var(--ease); }
.thumb:hover { transform: translateY(-2px); }
.thumb[aria-current='true'] { border-color: var(--caramel-300); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding: 26px; display: grid; gap: 18px; align-content: start; }
.pdp-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .now { font-size: 2rem; font-weight: 800; }
.pdp-price .old { text-decoration: line-through; color: var(--text-dim); }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.stock-line.in { color: var(--success); } .stock-line.low { color: var(--warning); } .stock-line.out { color: var(--danger); }
.stock-line::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.desc { white-space: pre-line; color: var(--cream-300); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--glass-border); border-radius: 999px; background: rgba(20, 10, 4, .4); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; transition: background .2s, transform .15s; }
.qty button:hover:not([disabled]) { background: var(--glass-bg-strong); }
.qty button:active:not([disabled]) { transform: scale(.88); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 38px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 34px; height: 34px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buy-row .btn-primary { flex: 1 1 220px; }
.perks { display: grid; gap: 10px; font-size: .92rem; color: var(--text-muted); }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--caramel-300); }

/* ---------- Carrinho ---------- */
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; border-radius: 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); animation: fadeUp .35s var(--ease); }
.cart-line.issue { border-color: rgba(242, 198, 109, .5); }
.cart-line .thumbnail { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: rgba(255, 236, 210, .06); display: grid; place-items: center; }
.cart-line .thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.cart-line .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-line .issue-msg { color: var(--warning); font-size: .82rem; margin-top: 6px; }
.summary { display: grid; gap: 10px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; color: var(--text-muted); }
.summary .line.discount strong { color: var(--success); }
.summary .total { color: var(--text); font-size: 1.25rem; padding-top: 12px; border-top: 1px solid var(--glass-border); }
.summary .total strong { font-size: 1.5rem; }
.progress { height: 8px; border-radius: 99px; background: rgba(255, 236, 210, .1); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .6s var(--ease); width: 0; }
.fly { position: fixed; z-index: 500; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-md); transition: transform .75s cubic-bezier(.5, 0, .2, 1), opacity .75s; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 24px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 400px; align-items: start; } .checkout .aside { position: sticky; top: calc(var(--header-h) + 28px); } }
.checkout section.card { margin-bottom: 18px; }
.steps { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .9rem; }
.step b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-bg-strong); font-size: .8rem; }
.step.active { color: var(--text); } .step.active b { background: var(--accent); color: var(--ink); }
.step.done b { background: var(--success-bg); color: var(--success); }
.mini-lines { display: grid; gap: 10px; margin-bottom: 14px; }
.mini-line { display: flex; gap: 12px; align-items: center; }
.mini-line .thumbnail { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: rgba(255, 236, 210, .06); flex: none; position: relative; }
.mini-line .thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.mini-line .qtybadge { position: absolute; top: -2px; right: -2px; background: var(--accent); color: var(--ink); font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; }

/* ---------- Pagamento Pix ---------- */
.pay { display: grid; gap: 22px; }
@media (min-width: 900px) { .pay { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.pay-card { padding: 26px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.qr-frame { padding: 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); position: relative; width: min(300px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.qr-frame img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-frame.dim img { opacity: .15; filter: grayscale(1); }
.pix-code { width: 100%; display: grid; gap: 8px; text-align: left; }
.pix-code textarea { min-height: 84px; font-size: .78rem; word-break: break-all; resize: none; }
.countdown { font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 800; }
.countdown.warn { color: var(--warning); }
.pay-meta { display: grid; gap: 8px; width: 100%; text-align: left; font-size: .9rem; }
.pay-meta .line { display: flex; justify-content: space-between; gap: 12px; }
.pay-meta .line span:first-child { color: var(--text-dim); }
.status-hero { display: grid; gap: 10px; justify-items: center; padding: 10px 0; }
.big-check { width: 92px; height: 92px; border-radius: 50%; background: var(--success-bg); border: 2px solid rgba(127, 209, 154, .6); display: grid; place-items: center; color: var(--success); animation: popIn .6s var(--ease); }
.big-check svg { width: 48px; height: 48px; stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s var(--ease) forwards; }
.big-x { background: var(--danger-bg); border-color: rgba(255, 155, 138, .6); color: var(--danger); }
.big-x svg { stroke-dashoffset: 0; animation: none; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.waiting-ring { width: 12px; height: 12px; border-radius: 50%; background: var(--warning); animation: pulse 1.4s ease-in-out infinite; display: inline-block; }
.pix-steps { text-align: left; margin: 0; padding-left: 20px; color: var(--text-muted); font-size: .92rem; display: grid; gap: 4px; }
.sep { border: 0; border-top: 1px solid var(--glass-border); margin: 16px 0; }

/* ---------- Cupom ---------- */
.coupon-box { display: grid; gap: 8px; margin: 6px 0 14px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { min-height: 40px; text-transform: uppercase; }
.coupon-msg { color: var(--danger); font-size: .85rem; }
.coupon-applied { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--success-bg); border: 1px solid rgba(127, 209, 154, .35); color: var(--success); }

/* ---------- Gravação personalizada ---------- */
.eng-toggle { padding: 12px 14px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.eng-section { margin-top: 28px; padding: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.eng-section[hidden] { display: none; }
.eng-section h2 { margin-bottom: 18px; }
.eng-designer { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .eng-designer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .eng-preview-col { position: sticky; top: calc(var(--header-h) + 28px); }
}
.eng-canvas-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; background: rgba(0, 0, 0, .25); }
.eng-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.eng-canvas:active { cursor: grabbing; }
.eng-dpad { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.eng-controls { display: grid; gap: 20px; }
.eng-block h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 8px; }
.eng-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.eng-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.eng-font, .eng-size {
  border: 1px solid var(--glass-border); background: var(--glass-bg); border-radius: 14px; padding: 10px 8px; display: grid; gap: 2px; justify-items: center; text-align: center;
  color: var(--text); min-height: 48px; transition: transform .18s var(--ease), border-color .2s, background .2s;
}
.eng-font:hover, .eng-size:hover { transform: translateY(-2px); background: var(--glass-bg-strong); }
.eng-font:active, .eng-size:active { transform: scale(.96); }
.eng-font[aria-pressed='true'], .eng-size[aria-pressed='true'] { border-color: var(--caramel-300); background: rgba(232, 176, 97, .18); box-shadow: 0 0 0 1px var(--caramel-300); }
.eng-font-sample { font-size: 1.9rem; line-height: 1.1; }
.eng-art-thumb { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--glass-border); }
.eng-price { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--success-bg); border: 1px solid rgba(127, 209, 154, .3); color: var(--success); }
.eng-notice { display: flex; gap: 8px; margin: 0; }
.eng-notice .icon { flex: none; margin-top: 2px; }
.eng-summary { display: flex; gap: 6px; align-items: flex-start; font-size: .78rem; color: var(--text-muted); margin: 2px 0 6px; }
.eng-summary .icon { width: 14px; height: 14px; margin-top: 2px; flex: none; }
.eng-preview { width: 100%; height: 100%; display: block; }
.cart-line .thumbnail canvas, .mini-line .thumbnail canvas { width: 100%; height: 100%; display: block; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 40px; padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--glass-border); background: linear-gradient(180deg, transparent, rgba(10, 5, 2, .6)); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-grid h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--cream-100); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 226, 190, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-dim); font-size: .85rem; }

/* ---------- Pedidos do cliente ---------- */
.orders-list { display: grid; gap: 12px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--text); flex-wrap: wrap; transition: transform .25s var(--ease), border-color .25s; }
.order-row:hover { transform: translateY(-3px); border-color: rgba(232, 176, 97, .4); color: var(--text); }

@media (max-width: 420px) {
  .brand small { display: none; }
  .hero-inner { padding: 30px 18px; }
}
