/* MasterByte store: layered on home.css (tokens, buttons, brand mark, floating WhatsApp) */

/* Store-only tokens; dark is home.css's palette */
:root { --strong: #fff; --gamer: #b56cff; --gamer-strong: #9a4dff; }

/* Light theme: same tokens, light values (the head script sets data-theme) */
:root[data-theme="light"] {
  --bg: #f4f6f9; --bg-alt: #eaeef3; --panel: #ffffff; --line: #dbe1e8; --line-strong: #c3cbd5;
  --text: #111820; --text-2: #55606e; --strong: #0d1014;
  --action: #0d1014; --accent: #1667c7; --ok: #1d8237; --bad: #c9302c;
  --gamer: #7b2fd6; --gamer-strong: #6420b8;
  color-scheme: light;
}
[data-theme="light"] .btn-solid:hover { background: #2a3340; }
[data-theme="light"] .brand:hover .brand-word b { color: var(--text); }
[data-theme="light"] .mb-disc { fill: #0d1014; }
[data-theme="light"] .thumb { background: radial-gradient(circle at 50% 40%, #f3f6f9, #e5eaf0 70%); }
[data-theme="light"] .banner-slide::before { background: linear-gradient(90deg, var(--panel) 38%, rgba(255, 255, 255, .78) 58%, rgba(255, 255, 255, 0) 85%); }
[data-theme="light"] .banner-copy p:not(.mono) { color: var(--text-2); }
[data-theme="light"] .banner-arrow { background: rgba(255, 255, 255, .85); }
[data-theme="light"] .promo::before { background: linear-gradient(100deg, rgba(255, 255, 255, .95) 30%, rgba(255, 255, 255, .62) 100%); }
[data-theme="light"] .zone-gamer { --zone-top: rgba(243, 236, 252, .9); }
[data-theme="light"] .zone-infra { --zone-top: rgba(234, 242, 252, .9); }
[data-theme="light"] .search input::-webkit-search-cancel-button { filter: none; }
[data-theme="light"] .brand-grid img { filter: brightness(0); opacity: .5; }
[data-theme="light"] .badge-off, [data-theme="light"] .card-buy.is-added { color: #fff; }
[data-theme="light"] .wa { background: #fff; color: #0d1014; border: 1px solid var(--line); }
[data-theme="light"] .card:hover { box-shadow: 0 18px 34px -18px rgba(15, 30, 50, .35); }
[data-theme="light"] .mega { box-shadow: 0 24px 40px -20px rgba(15, 30, 50, .3); }

/* Top bar */
.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--text-2); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--text); }
.topbar-links, .topbar-contact { display: flex; gap: 1.4rem; }
.topbar-contact svg { color: #25d366; }
.topbar-links svg { color: var(--accent); opacity: .8; transition: transform .3s var(--ease); }
.topbar-links a:hover svg { transform: scale(1.15); opacity: 1; }

/* Header: brand | search | account + cart */
.shop-head-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 84px; }
.brand-word small { font-size: .62em; font-weight: 600; color: var(--text-2); margin-left: .3rem; padding: .15em .45em; border: 1px solid var(--line-strong); border-radius: 4px; vertical-align: middle; }

.search { display: flex; max-width: 640px; width: 100%; justify-self: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); transition: border-color .2s, box-shadow .25s var(--ease); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 168, 255, .18); }
.search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 1.2rem; background: none; border: 0; font: inherit; color: var(--text); }
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search button { flex: none; width: 52px; display: grid; place-items: center; background: var(--action); color: var(--bg); border: 0; border-radius: 999px; margin: 3px; cursor: pointer; transition: background-color .2s; }
.search button:hover { background: var(--accent); }

.shop-actions { display: flex; align-items: center; gap: .5rem; }
.act {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: .35rem .75rem; border-radius: 10px;
  background: none; border: 1px solid transparent; color: var(--text); font: 600 .92rem/1.15 var(--sans); text-decoration: none; text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.act:hover { border-color: var(--line-strong); background: var(--panel); }
.act-text { display: grid; }
.act-text small { font-size: .74rem; font-weight: 500; color: var(--text-2); }
.act-icon { position: relative; display: grid; }
.act-cart { gap: 1rem; } /* room for the count badge */
.theme-toggle { width: 46px; justify-content: center; padding: 0; border-color: var(--line-strong); }
.theme-toggle svg { transition: transform .5s var(--ease); }
.theme-toggle:hover svg { transform: rotate(25deg); }
.ico-sun { display: none; }
[data-theme="light"] .ico-sun { display: block; }
[data-theme="light"] .ico-moon { display: none; }
.cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font: 700 .7rem/19px var(--sans); text-align: center;
}
.cart-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* Category bar with dropdown panels */
.catnav { border-top: 1px solid var(--line); background: var(--bg); position: relative; }
.catnav-list { list-style: none; margin-block: 0; padding: 0; display: flex; justify-content: space-between; }
.catnav-list > li { position: static; }
.cat-link {
  display: flex; align-items: center; gap: .4rem; min-height: 50px; padding: 0 .3rem;
  background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-2); font: 600 .86rem var(--sans); cursor: pointer; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.cat-link svg { width: 19px; height: 19px; flex: none; }
/* Gamer gets its own colored entry */
.cat-gamer { color: var(--gamer); }
.cat-gamer svg { animation: pad 3s var(--ease) infinite; }
@keyframes pad { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } }
.catnav-list > li:hover .cat-gamer, .catnav-list > li:focus-within .cat-gamer, .cat-gamer[aria-current="true"] { color: var(--gamer); border-bottom-color: var(--gamer); }
.catnav-list > li:hover .cat-link, .catnav-list > li:focus-within .cat-link, .cat-link[aria-current="true"] { color: var(--strong); border-bottom-color: var(--accent); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  background: var(--bg-alt); border-block: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.catnav-list > li:hover .mega, .catnav-list > li:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; padding-block: 1.6rem; }
.mega h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin-bottom: .8rem; }
.mega h3 svg { width: 20px; height: 20px; color: var(--accent); }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2rem; }
.mega li { break-inside: avoid; }
.mega-sub svg { flex: none; width: 17px; height: 17px; color: var(--accent); opacity: .8; }
.mega-sub { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .45rem 0; background: none; border: 0; color: var(--text-2); font: inherit; text-align: left; cursor: pointer; transition: color .15s, transform .2s var(--ease); }
.mega-sub:hover, .mega-sub:focus-visible { color: var(--strong); transform: translateX(4px); }
.mega-all { margin-top: 1rem; }
.mega-feature { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.mega-feature .thumb { aspect-ratio: 1; border-radius: 8px; }
.mega-feature strong { display: block; font-size: .95rem; line-height: 1.3; }
.mega-feature .price-now { font-size: 1rem; }

/* Banner carousel */
.banner { padding-top: 1.5rem; }
.banner-frame { position: relative; height: clamp(360px, 36vw, 460px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.banner-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.banner-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.banner-slide img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.banner-slide.is-active img { transform: scale(1); }
.banner-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--panel) 38%, rgba(20, 25, 32, .75) 58%, rgba(20, 25, 32, 0) 85%); }
/* bottom padding keeps the copy clear of the arrows and dots */
.banner-copy { position: relative; z-index: 2; display: grid; gap: .9rem; justify-items: start; max-width: 34rem; padding: 0 clamp(1.5rem, 5vw, 3.5rem) 4.75rem; }
.banner-copy h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.banner-copy p:not(.mono) { color: #c3cad3; }
.banner-slide.is-active .banner-copy > * { animation: rise .8s var(--ease) both; }
.banner-slide.is-active .banner-copy > :nth-child(2) { animation-delay: .08s; }
.banner-slide.is-active .banner-copy > :nth-child(3) { animation-delay: .16s; }
.banner-slide.is-active .banner-copy > :nth-child(4) { animation-delay: .24s; }
.banner-ui { position: absolute; z-index: 3; left: clamp(1.5rem, 5vw, 3.5rem); bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.banner-dots { display: flex; gap: .4rem; }
.banner-dots button { width: 26px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.banner-dots button::before { content: ""; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background-color .3s; }
.banner-dots button[aria-current="true"]::before { background: var(--accent); }
.banner-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(13, 16, 20, .6); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.banner-arrow::before { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.banner-arrow[data-dir="-1"]::before { transform: translateX(2px) rotate(-135deg); }
.banner-arrow:hover { border-color: var(--text); }

/* Benefits strip */
.perks { padding-block: 1.25rem; }
.perks-list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.perks-list li { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; font-size: .86rem; color: var(--text-2); }
.perks-list li + li { border-left: 1px solid var(--line); }
.perks-list svg { flex: none; color: var(--accent); transition: transform .4s var(--ease); }
.perks-list li:hover svg { transform: rotate(-10deg) scale(1.12); }
.perks-list strong { display: block; color: var(--text); font-size: .95rem; }

/* Promo tiles */
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-block: .5rem 1rem; }
.promo {
  position: relative; overflow: hidden; display: grid; gap: .4rem; align-content: start; min-height: 168px; padding: 1.4rem;
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  background: radial-gradient(120% 140% at 100% 100%, rgba(78, 168, 255, .16), transparent 55%), var(--panel);
  transition: border-color .25s var(--ease), transform .3s var(--ease);
}
.promo strong { font-size: 1.25rem; line-height: 1.2; max-width: 15ch; }
.promo-go { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--accent); }
.promo .mono { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); }
.promo { isolation: isolate; }
.promo-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
/* darken the photo so the copy always reads */
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13, 16, 20, .94) 30%, rgba(13, 16, 20, .55) 100%); }
.promo:hover .promo-photo { transform: scale(1.06); }
.promo:hover { border-color: var(--line-strong); transform: translateY(-3px); }

/* Shelves */
.shop-block { padding-block: clamp(2rem, 4vw, 3rem); }
.shelf-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.shelf-head h1, .shelf-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); position: relative; }
.shelf-head h1::after, .shelf-head h2::after { content: ""; position: absolute; left: 0; bottom: calc(-.9rem - 1px); width: 56px; height: 2px; background: var(--accent); }
.res-count { color: var(--text-2); margin-bottom: 1rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* Product card */
.card {
  position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden;
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .9); }
.thumb { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1d2530, var(--bg-alt) 70%); color: var(--accent); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .5s var(--ease); }
.thumb svg { width: 42%; height: 42%; opacity: .75; transition: transform .5s var(--ease); }
.thumb img.is-generic { object-fit: cover; background: none; filter: saturate(.85); }
.shelf-msg { grid-column: 1 / -1; padding: 1.5rem; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--text-2); }
.card:hover .thumb img, .card:hover .thumb svg { transform: scale(1.07); }
.badges { position: absolute; left: .7rem; top: .7rem; z-index: 1; display: flex; flex-wrap: wrap; gap: .35rem; }
.badge { padding: .25rem .5rem; border-radius: 4px; font: 700 .7rem/1 var(--sans); letter-spacing: .03em; text-transform: uppercase; background: var(--action); color: var(--bg); }
.badge-off { background: var(--ok); color: #04170a; }
.badge-top { background: var(--accent); color: var(--bg); }
.card-body { display: grid; gap: .35rem; align-content: start; padding: 1rem 1rem 1.1rem; }
.card-brand { font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.card h3 { font-size: .98rem; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.price { display: grid; gap: .1rem; margin-top: .35rem; }
.price-old { font-size: .82rem; color: var(--text-2); text-decoration: line-through; }
.price-now { font-size: 1.3rem; font-weight: 800; color: var(--strong); letter-spacing: -.01em; }
.price-now small { font-size: .74rem; font-weight: 600; color: var(--ok); margin-left: .3rem; }
.price-inst { font-size: .84rem; color: var(--text-2); }
.price-ask { font-size: 1rem; font-weight: 700; color: var(--text); }
/* text wraps instead of spilling out of narrow cards */
.card-buy { margin-top: .75rem; width: 100%; min-height: 42px; white-space: normal; line-height: 1.2; text-align: center; padding-inline: .75rem; }
.card-buy svg { flex: none; width: 18px; height: 18px; }
.card-buy.is-added { background: var(--ok); color: #04170a; }

/* Zones: Gamer and Servidores e infra, each over its own photo */
.zone { position: relative; isolation: isolate; overflow: hidden; margin-block: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--line); }
.zone-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.zone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--zone-top), var(--bg) 78%); }
.zone-gamer { --zone-top: rgba(26, 8, 40, .82); --zone-accent: var(--gamer); }
.zone-infra { --zone-top: rgba(6, 18, 34, .85); --zone-accent: var(--accent); }
.zone-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.zone-head > div { display: grid; gap: .5rem; max-width: 40rem; }
.zone-head .mono { display: inline-flex; align-items: center; gap: .45rem; color: var(--zone-accent); }
.zone-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.zone-head p:not(.mono) { color: var(--text-2); }
.zone-gamer .zone-head .btn-solid { background: var(--gamer); color: #fff; }
.zone-gamer .zone-head .btn-solid:hover { background: var(--gamer-strong); }
.subtiles { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.subtile {
  position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; display: grid; align-items: end; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); cursor: pointer; color: #fff; text-align: left;
  transition: border-color .25s var(--ease), transform .3s var(--ease);
}
.subtile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.subtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 14, .05) 30%, rgba(8, 10, 14, .88)); }
.subtile span { display: flex; align-items: center; gap: .45rem; padding: .7rem .8rem; font: 700 .9rem/1.2 var(--sans); }
.subtile span svg { flex: none; width: 18px; height: 18px; color: var(--zone-accent); }
.subtile:hover { border-color: var(--zone-accent); transform: translateY(-3px); }
.subtile:hover img { transform: scale(1.08); }

/* Build-your-PC call */
.build {
  display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: 12px;
  text-decoration: none; color: var(--text-2); transition: border-color .2s, color .2s;
}
.build svg { flex: none; color: var(--accent); }
.build strong { color: var(--text); }
.build:hover { border-color: var(--accent); color: var(--text); }

/* Brand grid */
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.brand-grid button {
  width: 100%; height: 80px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.brand-grid img { max-width: 62%; max-height: 34px; filter: brightness(0) invert(1); opacity: .55; transition: filter .2s, opacity .2s, transform .4s var(--ease); }
.brand-grid button:hover { background: #fff; border-color: #fff; }
.brand-grid button:hover img { filter: none; opacity: 1; transform: scale(1.08); }

/* Newsletter */
.news { margin-top: clamp(1.5rem, 4vw, 3rem); border-block: 1px solid var(--line); background: radial-gradient(80% 160% at 0% 50%, rgba(78, 168, 255, .12), transparent 60%), var(--bg-alt); }
.news-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; align-items: center; padding-block: clamp(2rem, 4vw, 3rem); }
.news h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.news p { color: var(--text-2); margin-top: .4rem; }
.news-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.news-form input { flex: 1 1 180px; min-height: 46px; padding: 0 1rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.news-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 168, 255, .18); }
.news-form [aria-invalid="true"] { border-color: var(--bad); }
.news-form .status-msg { flex-basis: 100%; margin: 0; }

/* Footer */
.shop-foot { border-top: 1px solid var(--line); color: var(--text-2); font-size: .92rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.foot-cols h2 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: .9rem; }
.foot-cols .foot-sub { margin-top: 1.4rem; }
.foot-cols a, .foot-cols .link-btn { display: flex; align-items: center; gap: .5rem; padding-block: .3rem; color: inherit; text-decoration: none; text-align: left; }
.foot-cols a svg, .foot-cols .link-btn svg { flex: none; color: var(--accent); opacity: .75; }
.foot-cols a:hover, .foot-cols .link-btn:hover { color: var(--text); }
.foot-logo { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: .6rem; }
.foot-logo b { color: var(--accent); }
.foot-brand p:last-child { max-width: 30ch; }
.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pay li { padding: .3rem .6rem; border: 1px solid var(--line-strong); border-radius: 4px; font-size: .8rem; color: var(--text); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 1.25rem; font-size: .84rem; }

/* Cart drawer */
.cart {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(420px, 100%); padding: 0; border: 0; border-left: 1px solid var(--line);
  background: var(--bg-alt); color: var(--text); display: none; flex-direction: column;
}
.cart[open] { display: flex; animation: cart-in .4s var(--ease); }
.cart::backdrop { background: rgba(0, 0, 0, .6); }
@keyframes cart-in { from { transform: translateX(100%); } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.2rem; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--text); cursor: pointer; position: relative; }
.cart-close::before, .cart-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.cart-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cart-list { list-style: none; margin: 0; padding: .5rem 1.25rem; overflow-y: auto; flex: 1; }
.cart-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-list strong { font-weight: 600; font-size: .95rem; }
.cart-list .line-price { color: var(--text-2); font-size: .88rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 34px; height: 34px; background: none; border: 0; color: var(--text); font: 600 1.1rem/1 var(--sans); cursor: pointer; }
.qty output { min-width: 1.6rem; text-align: center; font-weight: 600; }
.cart-remove { justify-self: end; align-self: center; font-size: .86rem; color: var(--text-2); }
.cart-empty { padding: 2rem 1.25rem; color: var(--text-2); }
.cart-foot { display: grid; gap: .75rem; padding: 1.25rem; border-top: 1px solid var(--line); }
.cart-total { font-weight: 700; font-size: 1.1rem; }
.cart-note { font-size: .82rem; color: var(--text-2); }
.cart.is-empty .cart-foot { display: none; }
.cart:not(.is-empty) .cart-empty { display: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--gutter) + 72px); z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: .7rem 1.1rem; border-radius: 999px; background: var(--action); color: var(--bg); font-weight: 600; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Cards open the product page */
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card is the link... */
.card .card-buy, .card .badges { position: relative; z-index: 1; } /* ...except the buy button */
.card-link:hover { color: var(--accent); }
.cart-warn { font-size: .85rem; color: var(--bad); }
.cart-go.is-disabled { opacity: .45; cursor: not-allowed; }
.btn-line svg { width: 18px; height: 18px; flex: none; }

/* Product details */
.pdp {
  width: min(1080px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg); color: var(--text); overflow-y: auto;
}
.pdp[open] { animation: pdp-in .35s var(--ease); }
.pdp::backdrop { background: rgba(8, 12, 18, .6); }
@keyframes pdp-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pdp-close { position: sticky; top: .75rem; float: right; margin: .75rem .75rem 0 0; z-index: 3; background: var(--panel); }
.pdp-body { padding: clamp(1.25rem, 3vw, 2.25rem); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.pdp-gallery { display: grid; gap: .75rem; align-content: start; }
.pdp-media { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); cursor: zoom-in; }
.pdp-main { transition: transform .25s var(--ease); will-change: transform; }
.pdp-media.is-zooming .pdp-main { transform: scale(2.3); }
.card:hover .pdp-main { transform: none; }
.pdp-zoom {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); transition: transform .2s var(--ease), color .2s;
}
.pdp-zoom svg { width: 22px; height: 22px; }
.pdp-zoom:hover { transform: scale(1.08); color: var(--accent); }
.pdp-media.is-zooming .pdp-zoom, .pdp-media.is-zooming .badges { opacity: 0; }
.pdp-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: .5rem; }
.pdp-thumbs button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .2s; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs img.is-generic { object-fit: cover; }
.pdp-thumbs button:hover { border-color: var(--line-strong); }
.pdp-thumbs button[aria-current="true"] { border-color: var(--accent); }
.pdp-zoom-hint { font-size: .8rem; color: var(--text-2); }
@media (hover: none) { .pdp-zoom-hint { display: none; } }

/* Admin on the storefront */
.adm-tools { position: absolute; top: .6rem; right: .6rem; z-index: 2; display: flex; gap: .3rem; opacity: 0; transition: opacity .2s; }
.card:hover .adm-tools, .card:focus-within .adm-tools { opacity: 1; }
@media (hover: none) { .adm-tools { opacity: 1; } }
.adm-tools button { min-height: 32px; padding: 0 .65rem; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font: 700 .78rem var(--sans); cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3); }
.adm-tools button:hover { border-color: var(--accent); color: var(--accent); }
.adm-tools .adm-del:hover, .adm-inline .adm-del:hover { border-color: var(--bad); color: var(--bad); }
.adm-inline { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem; border: 1px dashed var(--accent); border-radius: 10px; }
.adm-inline .btn { min-height: 36px; padding: .4rem .8rem; font-size: .85rem; }
.adm-dlg { width: min(480px, calc(100% - 2rem)); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--text); }
.adm-dlg::backdrop { background: rgba(8, 12, 18, .55); }
.adm-dlg form { display: grid; gap: 1rem; padding: 1.5rem; }
.adm-dlg h2 { font-size: 1.2rem; }
.adm-dlg label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.adm-dlg input:not([type="checkbox"]) { min-height: 44px; padding: 0 .8rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.adm-dlg input:focus { outline: none; border-color: var(--accent); }
.adm-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.adm-checks { display: flex; flex-wrap: wrap; gap: 1rem; }
.adm-checks label { display: flex; align-items: center; gap: .45rem; font-weight: 500; }
.adm-checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.adm-full { margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--accent); }
.adm-bar {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 65; display: flex; align-items: center; gap: .3rem; padding: .35rem;
  border-radius: 999px; background: var(--action); color: var(--bg); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); font-size: .86rem; font-weight: 600;
}
.adm-bar[hidden] { display: none; }
.adm-badge { padding: .35rem .75rem; border-radius: 999px; background: var(--accent); color: #fff; }
.adm-bar a { padding: .35rem .7rem; border-radius: 999px; color: inherit; text-decoration: none; }
.adm-bar a:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 560px) { .adm-bar a:not(:nth-child(2)) { display: none; } .adm-row { grid-template-columns: 1fr; } }

/* Full-screen photo viewer */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 12, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 3.5rem 1rem 3rem; }
.lightbox::backdrop { background: transparent; }
.lb-stage { margin: 0; height: 100%; display: grid; place-items: center; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .25s var(--ease); background: #fff; border-radius: 8px; }
.lightbox.is-zoomed .lb-stage img { transform: scale(2.4); cursor: zoom-out; }
.lb-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.lightbox .banner-arrow { width: 48px; height: 48px; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.lightbox.is-single .banner-arrow { visibility: hidden; }
.lb-count { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); font: 600 .9rem var(--mono); color: rgba(255, 255, 255, .8); }
.pdp-info { display: grid; gap: .7rem; align-content: start; }
.pdp-info h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; color: var(--text-2); }
.crumbs .link-btn { text-decoration: none; font-size: inherit; }
.pdp-tags { display: flex; gap: .4rem; }
.pdp-tags:empty { display: none; }
.pdp-price .price-now { font-size: 2rem; }
.pdp-buy { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .3rem; }
.pdp-buy .btn { flex: 1 1 170px; min-height: 50px; }
.pdp-buy .qty { min-height: 50px; }
.pdp-note { font-size: .88rem; color: var(--text-2); }
.pdp-ship { display: grid; gap: .5rem; margin-top: .5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pdp-ship label { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; }
.pdp-ship label svg { width: 18px; height: 18px; color: var(--accent); }
.pdp-ship-row { display: flex; gap: .5rem; }
.pdp-ship input, .co-fields input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 .9rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.pdp-ship input:focus, .co-fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 168, 255, .2); }
.pdp-ship-out { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .9rem; }
.pdp-ship-out li { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; }
.pdp-ship-out li span { grid-column: 1; color: var(--text-2); font-size: .84rem; }
.pdp-ship-out li b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.pdp-ship-out .err, .co-hint.err { color: var(--bad); }
.pdp-perks { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; color: var(--text-2); }
.pdp-perks li { display: flex; align-items: center; gap: .5rem; }
.pdp-perks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.pdp-section { margin-top: clamp(1.75rem, 4vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.pdp-section h3 { font-size: 1.2rem; }
.pdp-section p { color: var(--text-2); max-width: 72ch; }
.specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.specs th, .specs td { padding: .65rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font-weight: 600; color: var(--text-2); background: var(--bg-alt); }

/* Checkout and order pages */
.co-head { border-bottom: 1px solid var(--line); background: var(--panel); }
.co-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.co-secure { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ok); }
.co-back { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.co-main { padding-block: clamp(1.5rem, 4vw, 2.75rem) 4rem; }
.co-main h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.co-empty { padding: 2rem; border: 1px dashed var(--line-strong); border-radius: 12px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.co-steps { display: grid; gap: 1rem; }
.co-step { margin: 0; padding: 1.25rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); min-width: 0; }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .55rem; padding: 0; margin-bottom: 1rem; font-weight: 700; font-size: 1.1rem; }
.co-step legend svg { color: var(--accent); }
.co-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--action); color: var(--bg); font-size: .85rem; }
.co-fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.co-fields label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.co-fields .co-wide { grid-column: 1 / -1; }
.co-fields [aria-invalid="true"] { border-color: var(--bad); }
.co-opt { font-weight: 400; color: var(--text-2); }
.co-hint { font-size: .86rem; color: var(--text-2); align-self: end; }
.co-address { margin-top: 1rem; }
.co-address[hidden] { display: none; }
.co-options { clear: both; display: grid; gap: .6rem; margin-top: 1rem; }
.co-option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .9rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.co-option:hover { border-color: var(--accent); }
.co-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.co-option input { width: 18px; height: 18px; accent-color: var(--accent); }
.co-option span { display: grid; gap: .1rem; }
.co-option small { color: var(--text-2); font-size: .84rem; }
.co-summary { position: sticky; top: 1rem; display: grid; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.co-summary h2 { font-size: 1.15rem; }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .92rem; }
.co-items li { display: flex; justify-content: space-between; gap: 1rem; }
.co-items b { white-space: nowrap; }
.co-totals { margin: 0; display: grid; gap: .45rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.co-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.co-totals dt { color: var(--text-2); }
.co-totals dd { margin: 0; font-weight: 600; }
.co-totals .co-total { padding-top: .6rem; border-top: 1px solid var(--line); font-size: 1.2rem; }
.co-totals .co-total dt { color: var(--text); font-weight: 700; }
.co-totals .co-total dd { font-weight: 800; }
.co-submit { min-height: 52px; font-size: 1rem; }
.co-error { color: var(--bad); font-weight: 600; font-size: .92rem; }
.co-error:empty { display: none; }

.order-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.order-hero h1 { margin: .2rem 0 .3rem; }
.order-check { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); position: relative; }
.order-check::after { content: ""; position: absolute; left: 20px; top: 14px; width: 12px; height: 22px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg); }
.order-status span { display: inline-block; padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-size: .88rem; background: var(--bg-alt); border: 1px solid var(--line-strong); }
.order-status[data-status="pago"] span, .order-status[data-status="entregue"] span { color: var(--ok); border-color: var(--ok); }
.order-status[data-status="cancelado"] span { color: var(--bad); border-color: var(--bad); }
.order-pay, .order-cols > section { margin-top: 1.25rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: grid; gap: .8rem; align-content: start; }
.order-pay h2, .order-cols h2 { font-size: 1.1rem; }
.order-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.25rem; }
.o-copy { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.o-copy span { display: flex; gap: .5rem; }
.o-copy input { flex: 1; min-width: 0; min-height: 44px; padding: 0 .8rem; font: 500 .9rem var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.o-qr { background: #fff; padding: 8px; border-radius: 10px; }
.o-total-pay { font-size: 1.1rem; }
.order .co-hint { margin-top: 1.25rem; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: .75rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .7rem; scroll-margin-top: 1rem; }
.legal h3 { font-size: 1.1rem; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal p + p { margin-top: .6rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }
.legal-lede { font-size: 1.08rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 .5rem; }
.legal-toc a { padding: .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--text); }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent); }
.legal .specs { margin-top: .5rem; }
.legal-form { margin: 1.25rem 0; }
.legal-form select { min-height: 46px; padding: 0 .8rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.legal-form .btn { justify-self: start; }

/* Store account (minha-conta.html) */
/* signed out: a single centered card, one screen at a time */
.acc-guest { display: grid; justify-items: center; padding-top: clamp(.5rem, 3vw, 2rem); }
.acc-guest[hidden] { display: none; }
.auth-box { width: min(440px, 100%); padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 24px 48px -32px rgba(15, 30, 50, .45); display: grid; gap: 1.4rem; }
.auth-head { display: grid; justify-items: center; gap: .4rem; text-align: center; }
.auth-head h1 { font-size: 1.6rem; margin: .4rem 0 0; }
.auth-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.auth-tabs[hidden] { display: none; }
.auth-tabs a { display: grid; place-items: center; min-height: 42px; border-radius: 9px; font-weight: 600; text-decoration: none; color: var(--text-2); transition: background-color .2s, color .2s; }
.auth-tabs a:hover { color: var(--text); }
.auth-tabs a[aria-current="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(15, 30, 50, .15); }
.auth-view { display: grid; gap: 1rem; animation: rise .4s var(--ease); }
.auth-view[hidden] { display: none; }
.auth-view label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.auth-view input { min-height: 48px; padding: 0 .9rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.auth-view input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 168, 255, .2); }
.auth-view [aria-invalid="true"] { border-color: var(--bad); }
.auth-view .btn { width: 100%; min-height: 50px; margin-top: .25rem; }
.auth-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.auth-row a { font-weight: 500; font-size: .85rem; color: var(--accent); text-decoration: none; }
.auth-row a:hover { text-decoration: underline; }
.auth-sub { display: grid; gap: .3rem; }
.auth-sub h2 { font-size: 1.25rem; }
.auth-back { justify-self: center; font-size: .9rem; font-weight: 600; color: var(--text-2); text-decoration: none; }
.auth-back:hover { color: var(--accent); }
.auth-done { padding: .8rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--text); }
.auth-foot { margin-top: 1.25rem; text-align: center; max-width: 440px; }

.acc-danger { margin-top: 1rem; border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.acc-danger h2 { color: var(--bad); }
.acc-danger .btn-line { border-color: var(--bad); color: var(--bad); }

/* signed in */
.acc-card { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.acc-card h2 { font-size: 1.25rem; }
.acc-card .btn { justify-self: start; min-width: 180px; }
.acc-hello { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.acc-hello h1 { margin: 0; }
.acc-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 800 1.4rem var(--sans); }
.acc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.acc-nav { display: grid; gap: .3rem; padding: .5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: sticky; top: 1rem; }
.acc-nav button {
  display: flex; align-items: center; gap: .65rem; min-height: 46px; padding: 0 .9rem; border: 0; border-radius: 10px; background: none;
  color: var(--text-2); font: 600 .95rem var(--sans); text-align: left; cursor: pointer; transition: background-color .2s, color .2s;
}
.acc-nav button svg { flex: none; color: currentColor; }
.acc-nav button:hover { background: var(--bg-alt); color: var(--text); }
.acc-nav button[aria-current="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.acc-nav [data-action="sair"] { margin-top: .4rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.acc-panels h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.acc-panels .acc-card h2 { margin-bottom: 0; }
.acc-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.acc-order {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; transition: border-color .2s, transform .2s var(--ease);
}
.acc-order:hover { border-color: var(--accent); transform: translateY(-2px); }
.acc-order > span:first-child { display: grid; gap: .15rem; }
.acc-order small { color: var(--text-2); }

@media (max-width: 900px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); }
  .acc-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-nav [data-action="sair"] { margin-top: 0; border-top: 0; border-radius: 10px; }
  .acc-order { grid-template-columns: minmax(0, 1fr) auto; }
  .acc-order .order-status { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) {
  .pdp-grid, .co-grid, .order-cols { grid-template-columns: minmax(0, 1fr); }
  .co-summary { position: static; }
  .order-hero { grid-template-columns: auto minmax(0, 1fr); }
  .order-status { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .co-fields { grid-template-columns: minmax(0, 1fr); }
  .co-secure { display: none; }
  .pdp { width: 100%; max-height: 100dvh; border-radius: 0; }
  .pdp-price .price-now { font-size: 1.6rem; }
}

/* Responsive */
@media (max-width: 1180px) {
  .catnav-list { overflow-x: auto; scrollbar-width: none; gap: 1.2rem; justify-content: flex-start; }
  .mega { display: none; }
}
@media (max-width: 1100px) {
  .perks-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks-list li:nth-child(3) { border-left: 0; }
  .perks-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .shop-head-inner { grid-template-columns: auto auto; padding-block: .75rem; row-gap: .75rem; min-height: 0; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .shop-actions { justify-self: end; }
  .act-text { display: none; }
  .act { padding: .35rem .6rem; }
  .promos { grid-template-columns: minmax(0, 1fr); }
  .promo { min-height: 0; }
  .news-inner { grid-template-columns: minmax(0, 1fr); }
  .banner-slide img { width: 100%; opacity: .35; }
  .banner-slide::before { background: linear-gradient(90deg, var(--panel) 10%, rgba(20, 25, 32, .5)); }
  [data-theme="light"] .banner-slide::before { background: linear-gradient(90deg, var(--panel) 10%, rgba(255, 255, 255, .6)); }
  .zone-head .btn { width: 100%; }
}
@media (max-width: 560px) {
  .topbar-contact a + a { display: none; }
  .brand-word small { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .card-body { padding: .8rem; }
  .card h3 { font-size: .9rem; }
  .price-now { font-size: 1.1rem; }
  .perks-list { grid-template-columns: minmax(0, 1fr); }
  .perks-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .banner-frame { height: 440px; }
}
