@font-face { font-family: 'Fredoka'; src: url('/fonts/site/fredoka-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/site/nunito-latin-wght-normal.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/site/playfair-normal-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/site/playfair-normal-latinext.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/site/playfair-italic-latin.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/site/playfair-italic-latinext.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: 'Jost'; src: url('/fonts/site/jost-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Jost'; src: url('/fonts/site/jost-latinext.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: 'Allura'; src: url('/fonts/site/allura-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Allura'; src: url('/fonts/site/allura-latinext.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latinext-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latinext-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/site/cormorant-garamond-latinext-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }

:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f4ece0;
  --ink: #2b2318;
  --ink-soft: #6e6153;
  --on-primary: #fff8ef;
  --line: #e7dac8;
  --primary: #a9693d;
  --primary-dark: #7e4c28;
  --primary-soft: #f3e2cd;
  --primary-light: #bb9158;
  --blue: #5b8def;
  --blue-soft: #e4edff;
  --mint: #4fc9a4;
  --mint-soft: #dcf7ee;
  --sun: #ffc857;
  --sun-soft: #fff3d1;
  --danger: #d6334a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(43,35,24,.04), 0 18px 40px -22px rgba(43,35,24,.22);
  --shadow-lg: 0 30px 70px -30px rgba(43,35,24,.32);
  --maxw: 1240px;
  --head: 'Playfair Display', Georgia, serif;
  --title: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
#app { flex: 1; display: flex; flex-direction: column; }
h1, h2, h3, h4 { font-family: var(--title); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 18px; } }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--primary-dark); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--primary); }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.heart { color: var(--primary-dark); font-size: .85em; }
.trust { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; }
.trust .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust .item { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 180px; justify-content: center; }
.trust svg { width: 22px; height: 22px; color: var(--primary-dark); flex: none; }
.trust span { font-size: .86rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 720px) {
  .trust { padding: 18px 0; }
  .trust .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .trust .item { justify-content: flex-start; min-width: 0; flex: none; }
  .trust svg { width: 19px; height: 19px; }
  .trust span { font-size: .78rem; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-family: 'Jost', sans-serif; font-weight: 500; letter-spacing: .02em; cursor: pointer; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 14px 30px -14px rgba(126,76,40,.55); min-height: 44px; font-size: .95rem; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--primary-dark); text-decoration: none !important; }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border-color: var(--line); }
.btn.danger { background: var(--danger); box-shadow: none; }
.btn.small { padding: .5rem 1.1rem; min-height: 36px; font-size: .86rem; box-shadow: none; }
.btn.secondary.small { box-shadow: none; }
.btn.big, .btn.lg { padding: 1.05rem 2rem; font-size: 1rem; }
.script { font-family: 'Allura', cursive; font-weight: 400; font-size: 1.2em; color: var(--primary-dark); }
.btn.block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary-dark); cursor: pointer; text-decoration: underline; }

/* ---------- formulários ---------- */
label.field { display: block; margin-bottom: 14px; font-weight: 700; font-size: .92rem; }
label.field > span.lbl { display: block; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: .65rem .85rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; min-height: 44px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
input[type=range] { width: 100%; accent-color: var(--primary); }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); width: 18px; height: 18px; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 700; cursor: pointer; margin: 8px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.err { color: var(--danger); font-weight: 700; font-size: .92rem; margin: 6px 0 12px; }
.note { background: var(--sun-soft); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }
.note.warn { background: #fff0e0; border: 1px solid #ffcf9d; }
.note.info { background: var(--blue-soft); }
.note.ok { background: var(--mint-soft); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--primary-soft); color: var(--primary-dark); }
.badge.green { background: var(--mint-soft); color: #167a5e; }
.badge.gray { background: #eee; color: #555; }
.badge.blue { background: var(--blue-soft); color: #2f5cc0; }
.badge.warn { background: #ffe9c7; color: #955c00; }

/* ---------- cabeçalho ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .78rem; letter-spacing: .06em; text-align: center; padding: 8px 12px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 92px; }
.logo { display: flex; align-items: center; margin-right: auto; text-decoration: none !important; }
.logo img { height: 52px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 520px) { .logo img { height: 40px; } }
.nav { display: flex; align-items: center; gap: 34px; font-size: .92rem; margin-left: 0; flex: none; }
.nav a { position: relative; padding: 4px 0; color: var(--ink-soft); font-weight: 500; font-family: 'Jost', sans-serif; border-radius: 0; text-decoration: none !important; }
.nav a:hover, .nav a.active { background: none; color: var(--ink); }
.nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--primary); }
.nav-drop { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; position: relative; padding: 4px 0; color: var(--ink-soft); font-weight: 500; font-family: 'Jost', sans-serif; font-size: .92rem; text-decoration: none !important; }
.nav-drop > a svg.drop-toggle { width: 13px; height: 13px; transition: transform .15s ease; padding: 6px; box-sizing: content-box; margin: -6px -6px -6px -1px; }
.nav-drop:hover > a svg.drop-toggle, .nav-drop.sub-open > a svg.drop-toggle { transform: rotate(180deg); }
.nav-drop:hover > a, .nav-drop > a.active { color: var(--ink); }
.nav-drop > a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--primary); }
.drop-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 230px; display: grid; gap: 1px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, transform .16s ease; z-index: 50; isolation: isolate; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel, .nav-drop.sub-open .drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.drop-panel a { padding: 10px 14px; border-radius: 10px; font-size: .87rem; font-weight: 500; color: var(--ink-soft); text-decoration: none !important; }
.drop-panel a:hover { background: var(--surface-2); color: var(--ink); }
.drop-panel a.drop-all { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 13px; color: var(--primary-dark); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.icon-btn { position: relative; width: auto; height: auto; display: grid; place-items: center; border-radius: 0; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 4px; text-decoration: none !important; }
.icon-btn:hover { background: none; opacity: .7; }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--primary); color: var(--on-primary); font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.menu-btn { display: none; }
.head-search { display: flex; }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 16px; border-bottom: 1px solid var(--line); display: none; margin: 0; box-shadow: var(--shadow-lg); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; text-align: left; width: 100%; border-bottom: 1px solid var(--line); }
  .nav > a:first-child { border-top: 1px solid var(--line); }
  .head-actions { margin-left: auto; }
  .nav-drop { padding-bottom: 0; margin-bottom: 0; width: 100%; }
  .nav-drop > a { padding: 13px 4px; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--line); }
  .drop-panel { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: none; height: 0; overflow: hidden; box-shadow: none; padding: 0; min-width: 0; transition: height .18s ease; }
  .nav-drop.sub-open .drop-panel { pointer-events: auto; height: auto; padding: 4px 0 8px 10px; transform: none; }
  .drop-panel a { padding: 10px 12px; text-align: left; }
}

/* ---------- rodapé ---------- */
.footer { background: #fff; color: var(--ink-soft); margin-top: 40px; padding: 70px 0 26px; border-top: 1px solid var(--line); }
.footer a { font-size: .88rem; color: var(--ink-soft); }
.footer a:hover { color: var(--primary-dark); }
.footer .foot-logo { display: inline-flex; margin-bottom: 24px; }
.footer .foot-logo img { height: 62px; width: auto; display: block; mix-blend-mode: multiply; }
.footer .foot-tag { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--ink); margin: 0 0 10px !important; max-width: none !important; }
.footer h4 { color: var(--ink); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; font-family: 'Jost', sans-serif; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.2fr; gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer li { margin: 0; }
.footer > .wrap > .footer-grid > div > p { font-size: .86rem; line-height: 1.7; color: var(--ink-soft); max-width: 28ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #fff; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--primary); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer .socials a { background: var(--surface-2); color: var(--ink); }
.footer .socials a:hover { background: var(--primary); color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .72rem; font-weight: 900; background: #fff; color: #333; letter-spacing: .02em; border: 1px solid #ddd; }
.pay.visa { color: #1a1f71; font-style: italic; } .pay.mastercard { color: #eb001b; } .pay.amex { background: #1f72cd; color: #fff; border-color: #1f72cd; }
.pay.google_pay { color: #3c4043; } .pay.klarna { background: #ffb3c7; color: #17120f; border-color: #ffb3c7; } .pay.multibanco { background: #0a5aa5; color: #fff; border-color: #0a5aa5; }
.pay.mbway { background: #d40000; color: #fff; border-color: #d40000; } .pay.shop_pay { background: #5a31f4; color: #fff; }
.footer .copy { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: .78rem; color: var(--ink-faint, #a89a89); }

/* ---------- home ---------- */
.hero-tag { position: absolute; left: -10px; bottom: 24px; background: #fff; padding: 10px 16px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 800; transform: rotate(-3deg); }

/* ---------- cabeçalho de coleção (estilo das páginas de categoria do protótipo) ---------- */
.hero { padding: 56px 0 20px; }
.hero .grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero .copy { max-width: 480px; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(2.6rem, 6.5vw, 4.2rem); letter-spacing: 0; line-height: 1.05; }
.hero h1 span.script { color: var(--primary-dark); }
.hero .lead { margin-bottom: 30px; max-width: 40ch; font-size: 1.08rem; color: var(--ink-soft); line-height: 1.65; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure .frame { border-radius: 32px; overflow: hidden; aspect-ratio: 4/4.6; background: var(--surface-2); box-shadow: var(--shadow-lg); position: relative; }
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 36px; } .hero-figure { order: -1; } .hero .copy { max-width: none; } }

.pill-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.pill-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-tab:hover:not(.on) { border-color: var(--primary); }
.cross-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }

.steps-band { background: var(--surface-2); border-radius: 34px; padding: 60px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.steps-list { display: grid; gap: 22px; margin-top: 28px; }
.step-row { display: flex; gap: 18px; align-items: flex-start; }
.step-row .n { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--primary-dark); flex: none; box-shadow: var(--shadow); }
.step-row h4 { margin: 0 0 4px; font-family: 'Playfair Display', serif; font-weight: 500; font-size: 1.02rem; }
.step-row p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.steps-visual { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.steps-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .steps-band { grid-template-columns: 1fr; padding: 36px 26px; } .steps-visual { order: -1; } }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head.center { display: block; text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head.center h2 { margin: 0; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4/3; display: block; color: #fff; text-decoration: none !important; box-shadow: var(--shadow); transition: transform .15s; }
.cat-card:hover { transform: translateY(-3px) rotate(-.4deg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, var(--blue-soft), var(--primary-soft)); }
.cat-card .cap { position: absolute; inset: auto 0 0 0; padding: 36px 16px 16px; background: linear-gradient(195deg, rgba(10,7,3,0) 32%, rgba(10,7,3,.75) 100%); font-family: var(--head); font-weight: 600; font-size: 1.15rem; }
.cat-card .cap small { display: block; font-family: 'Jost'; font-weight: 500; opacity: .85; font-size: .8rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 18px; background: var(--primary); color: var(--on-primary); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.step h3 { margin-top: 6px; }
.step p { margin: 0; color: var(--ink-soft); }
.cta-band { background: linear-gradient(120deg, #2b2318, #4a3420); color: #fff; border-radius: 28px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn { background: #fff; color: var(--primary-dark); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.cta-band .btn:hover { background: var(--primary-soft); }

/* ---------- produtos ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.products.no-price .price { display: none; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; color: inherit; text-decoration: none !important; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .img { aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .cat { font-size: .72rem; font-weight: 600; color: var(--ink-faint, #a89a89); text-transform: uppercase; letter-spacing: .08em; }
.card .name { font-family: var(--head); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.card .price { margin-top: auto; padding-top: 6px; font-weight: 500; font-size: 1.05rem; color: var(--primary-dark); font-family: 'Jost', sans-serif; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; font-size: .92rem; text-decoration: none !important; color: var(--ink); }
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.page-head { padding: 30px 0 10px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 10px; }
.empty { text-align: center; padding: 50px 16px; color: var(--ink-soft); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .big { font-size: 3rem; }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; padding-top: 24px; }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; gap: 20px; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 3px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery .thumbs button.on { border-color: var(--primary); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp .price { font-family: var(--head); font-size: 1.8rem; color: var(--primary-dark); font-weight: 600; margin: 4px 0 14px; }
.pdp .desc { white-space: pre-line; color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; font-weight: 900; }
.qty button:hover { background: var(--primary-soft); }
.qty span { min-width: 34px; text-align: center; font-weight: 900; }
.perks { display: grid; gap: 8px; margin-top: 20px; font-size: .92rem; color: var(--ink-soft); }

/* ---------- carrinho/checkout ---------- */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; padding-top: 10px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.panel h3 { margin-bottom: 14px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.line .t { font-weight: 800; }
.line .d { font-size: .85rem; color: var(--ink-soft); }
.line .amt { font-weight: 900; text-align: right; }
.summary { position: sticky; top: 84px; }
.sum-row { display: flex; justify-content: space-between; padding: 5px 0; }
.sum-row.total { font-family: var(--head); font-size: 1.3rem; border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 12px; }
.pm-list { display: grid; gap: 10px; }
.pm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.pm.on { border-color: var(--primary); background: var(--primary-soft); }
.pm .lbl { font-weight: 800; flex: 1; }
.pm small { color: var(--ink-soft); display: block; font-weight: 600; }

/* ---------- conta / encomenda ---------- */
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: .8rem; }
.status.awaiting_payment { background: #fff0cc; color: #8a5a00; } .status.paid { background: var(--mint-soft); color: #167a5e; }
.status.in_production { background: var(--blue-soft); color: #2f5cc0; } .status.shipped, .status.delivered { background: #e5dcff; color: #5a3fc0; }
.status.cancelled { background: #eee; color: #666; }
.ref-box { background: var(--blue-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--head); font-size: 1.3rem; letter-spacing: .05em; }
.auth-card { max-width: 440px; margin: 30px auto; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; display: flex; gap: 10px; align-items: center; animation: pop .25s ease-out; }
.toast.error { background: var(--danger); } .toast.ok { background: #1f9d76; }
@keyframes pop { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; padding: 70px 0; }

/* ---------- configurador 3D ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 20px; padding: 18px 0 0; align-items: start; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } }
.stage { position: relative; background: linear-gradient(#fdf3ea, #f4e6dc); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; border: 4px solid #fff; }
.stage.night { background: linear-gradient(#171224, #0c0a14); }
.stage-canvas { width: 100%; height: min(72vh, 640px); min-height: 380px; touch-action: none; cursor: grab; }
@media (max-width: 960px) { .stage-canvas { height: 46vh; min-height: 300px; } }
.stage-canvas canvas { display: block; width: 100%; height: 100%; }
.stage-bar { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.stage-bar > * { pointer-events: auto; }
.stage-btn { background: rgba(255, 255, 255, .9); border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .82rem; cursor: pointer; box-shadow: var(--shadow); }
.stage-btn.on { background: var(--ink); color: #fff; }
.stage-col { position: sticky; top: 76px; }
.stage-col .stage { position: relative; top: 0; }
.stage-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; padding: 8px 6px 0; font-size: .82rem; }
@media (max-width: 960px) { .stage-col { position: static; padding-bottom: 4px; } .stage-foot .muted { display: none; } }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 250, 245, .7); font-weight: 800; }
.b-step { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px; }
.b-step > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.b-step > h3 .n { background: var(--primary); color: var(--on-primary); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; flex: none; font-family: 'Jost', sans-serif; font-weight: 600; }
.b-step > h3 small { margin-left: auto; font-family: 'Jost'; font-weight: 600; color: var(--ink-soft); font-size: .8rem; }
.b-row { display: flex; gap: 12px; align-items: end; }
.letter-input { width: 84px !important; flex: none; text-align: center; font-family: var(--head); font-size: 2rem !important; padding: 0 !important; min-height: 60px !important; text-transform: uppercase; }
.fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin: 10px 0; }
.font-btn { border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 6px 8px 4px; cursor: pointer; text-align: center; line-height: 1.1; }
.font-btn .sample { font-size: 1.7rem; display: block; height: 44px; overflow: hidden; white-space: nowrap; }
.font-btn .fname { font-size: .68rem; font-weight: 800; color: var(--ink-soft); display: block; }
.font-btn.on { border-color: var(--primary); background: var(--primary-soft); }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; padding: 0; position: relative; }
.sw.on { box-shadow: 0 0 0 3px var(--ink); }
.sw.def { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #eee 4px, #eee 8px); }
.acc-groups { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.acc { border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 6px; cursor: pointer; text-align: center; font-size: .78rem; font-weight: 800; line-height: 1.15; }
.acc:hover { border-color: var(--primary); transform: translateY(-1px); }
.acc img { width: 100%; aspect-ratio: 1; object-fit: contain; background: linear-gradient(#fff8f1, #fdeee2); border-radius: 8px; }
.acc .p { color: var(--primary-dark); display: block; margin-top: 2px; }
.placed { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.placed-item { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; border: 2px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: .82rem; font-weight: 800; }
.placed-item.on { border-color: var(--primary); background: var(--primary-soft); }
.placed-item img { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; background: #fdeee2; }
.placed-item button { border: 0; background: rgba(0, 0, 0, .08); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.inspector { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.inspector h4 { margin-bottom: 8px; font-size: 1rem; }
.b-total { position: sticky; bottom: 0; background: var(--surface); border-radius: var(--radius); box-shadow: 0 -6px 26px rgba(74, 44, 90, .14); padding: 14px 16px; margin-top: 8px; z-index: 6; }
.b-total .row { display: flex; align-items: center; gap: 12px; }
.b-total .price { font-family: var(--head); font-size: 1.7rem; font-weight: 600; color: var(--primary-dark); flex: 1; }
.b-total details { margin-top: 8px; font-size: .88rem; }
.b-total summary { cursor: pointer; color: var(--ink-soft); font-weight: 800; }
.b-total table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.b-total td { padding: 2px 0; } .b-total td:last-child { text-align: right; font-weight: 800; }
@media (max-width: 960px) {
  .panel-col { padding-bottom: 210px; }
  .b-total { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 20px 20px 0 0; z-index: 50; box-shadow: 0 -8px 26px rgba(74, 44, 90, .18); }
}

/* ---------- admin ---------- */
.admin { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; align-items: start; }
@media (max-width: 860px) { .admin { grid-template-columns: 1fr; } }
.admin-nav { position: sticky; top: 84px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; }
@media (max-width: 860px) { .admin-nav { position: static; grid-auto-flow: column; overflow-x: auto; } }
.admin-nav a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.admin-nav a:hover { background: var(--surface-2); } .admin-nav a.on { background: var(--primary); color: var(--on-primary); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.stat b { display: block; font-family: var(--head); font-size: 1.9rem; color: var(--primary-dark); }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl img.th { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar h2 { margin: 0; flex: 1; }
.modal-bg { position: fixed; inset: 0; background: rgba(30, 15, 45, .5); z-index: 100; display: grid; place-items: center; padding: 16px; overflow: auto; }
.modal { background: var(--bg); border-radius: 22px; width: min(720px, 100%); max-height: 92vh; overflow: auto; padding: 22px; box-shadow: var(--shadow-lg); }
.modal h2 { margin-bottom: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.toggle { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; vertical-align: middle; }
.toggle input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.toggle i { position: absolute; inset: 0; background: #ccc; border-radius: 999px; transition: background .15s; }
.toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.toggle input:checked + i { background: var(--mint); } .toggle input:checked + i::after { transform: translateX(20px); }
.toggle input:disabled { cursor: not-allowed; } .toggle input:disabled + i { opacity: .5; }
.pm-admin { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; }
.pm-admin .info { flex: 1; }
.img-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.img-list .it { position: relative; }
.img-list img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.img-list .it button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; }
.rot-btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; font-size: .95rem; }
.kv dt { color: var(--ink-soft); font-weight: 700; } .kv dd { margin: 0; font-weight: 700; }
@media print { .header, .footer, .topbar, .no-print { display: none !important; } body { background: #fff; } }

/* ---------- controlos segmentados / hub de personalização ---------- */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-btn { flex: 1; min-width: 96px; padding: 10px 12px; border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm); font-weight: 800; cursor: pointer; }
.seg-btn:hover { border-color: var(--primary); }
.seg-btn.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.hub { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 10px; }
.hub-card { position: relative; flex: 0 0 calc(33.333% - 19px); min-width: 260px; max-width: 420px; aspect-ratio: 11/13; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); display: block; color: #fff; text-decoration: none !important; transition: transform .2s ease; }
.hub-card:hover { transform: translateY(-3px); }
.hub-card .img { position: absolute; inset: 0; background: var(--surface-2); }
.hub-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hub-card:hover .img img { transform: scale(1.045); }
.hub-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(195deg, rgba(10,7,3,0) 18%, rgba(10,7,3,.68) 52%, rgba(6,4,2,.95) 100%); }
.hub-card .body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; padding: 0; gap: 0; }
.hub-card .eyebrow { color: #e9d7bd; margin-bottom: 10px; }
.hub-card .eyebrow::before { background: #e9d7bd; }
.hub-card h3 { margin: 0 0 10px; font-size: 1.5rem; color: #fff; }
.hub-card p.muted { color: rgba(255,255,255,.82) !important; font-size: .92rem; line-height: 1.5; margin: 0 0 18px; max-width: 26ch; }
.hub-card .price { display: none; }
.hub-card .btn { background: rgba(20,14,8,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.hub-card .btn:hover { background: rgba(20,14,8,.75); }
@media (max-width: 900px) { .hub-card { flex-basis: calc(50% - 14px); } }
@media (max-width: 600px) { .hub-card { flex-basis: 100%; max-width: 420px; } }

.acc.sel { border-color: var(--primary); background: var(--primary-soft); }

/* ---------- logótipo e banner ---------- */
.logo img { height: 58px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 520px) { .logo img { height: 44px; } }
/* Banners com texto já desenhado na própria imagem (ficheiros *-baked-desktop/mobile.webp) —
   no telemóvel usa-se uma foto recortada e com o texto maior, via <picture>/<source>. */
.home-banner { position: relative; display: block; width: 100%; line-height: 0; background: var(--surface-2); }
.home-banner-link { display: block; }
.home-banner img { width: 100%; height: auto; display: block; }
.home-banner .home-cta { position: absolute; left: 6.5%; bottom: 10%; background: #fff; color: var(--primary-dark); }
.home-banner .home-cta:hover { background: var(--primary-soft); }
@media (max-width: 720px) { .home-banner .home-cta { left: 5%; bottom: 8%; padding: .7rem 1.3rem; font-size: .9rem; } }

.dream-banner { display: block; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; }
.dream-banner img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.dream-banner:hover img { transform: scale(1.015); }

.statement-banner { display: block; width: 100%; margin-top: 40px; line-height: 0; background: var(--surface-2); }
.statement-banner img { width: 100%; height: auto; display: block; }

/* ---------- informação e apoio ao cliente ---------- */
.footer-contact { margin-top: 14px !important; font-size: .86rem; color: var(--ink-soft); }
.info-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
@media (max-width: 800px) { .info-layout { grid-template-columns: 1fr; } }
.info-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 84px; }
@media (max-width: 800px) { .info-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.info-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 700; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.info-nav a.on { background: var(--primary-soft); color: var(--primary-dark, var(--primary)); }
.prose { padding: 26px 28px; line-height: 1.7; }
.prose h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0 12px; }
.prose li { margin: 5px 0; }
.prose .seller { list-style: none; padding: 12px 16px; background: var(--bg, #fffaf5); border-radius: 12px; border: 1px solid var(--line); }
.prose .seller li { margin: 2px 0; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0; }
.contact-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--bg, #fffaf5); }
.contact-card .ico { font-size: 1.6rem; }
.contact-card h3 { margin: 6px 0 4px; font-size: 1rem; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }

/* ---------- ícones de pagamento e redes no menu ---------- */
.pay-ico { width: 60px; height: 38px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); flex: none; }
.nav-socials { display: flex; gap: 8px; align-items: center; margin-left: 6px; }
.nav-socials a { width: 36px; height: 36px; padding: 0; background: var(--primary-soft); color: var(--primary-dark); }
.nav-socials a:hover { background: var(--primary); color: var(--on-primary); transform: translateY(-1px); }
.nav-socials svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 800px) { .nav-socials { margin: 6px 12px; } }
.pay-ico { object-fit: cover; display: block; }
.pay-badges { gap: 8px; }
.pay-ico.pm-logo { width: 64px; height: 40px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- modo de manutenção ---------- */
.maint { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 20px; text-align: center; background: radial-gradient(900px 500px at 50% -10%, var(--primary-soft), transparent 70%), var(--bg); }
.maint-logo { max-width: 260px; height: auto; mix-blend-mode: multiply; margin-bottom: 8px; }
.maint h1 { margin: 6px 0 0; }
.maint .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 32em; margin: 0 0 14px; }
.maint-contact { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-weight: 700; }
.maint-socials { justify-content: center; }
.maint-socials a { background: var(--primary-soft); color: var(--primary-dark); }
.maint-bar { background: var(--ink); color: #fff; padding: 8px 14px; text-align: center; font-weight: 700; font-size: .9rem; }
.maint-bar a { color: #ffd9a3; text-decoration: underline; }

/* conteúdo inicial para motores de pesquisa (substituído pela app) */
.prerender { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- opções com fotografia (ex.: modelo da caixa) ---------- */
.opt-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 6px; }
.opt-pic { background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: .78rem; font-weight: 800; color: var(--ink); text-align: center; line-height: 1.15; }
.opt-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.opt-pic:hover { border-color: var(--primary); }
.opt-pic.on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary); }
.img-list .it { display: flex; flex-direction: column; gap: 4px; }
.img-list .it input.variant { width: 84px; font-size: .75rem; padding: 3px 6px; border-radius: 8px; }

/* ---------- programa de computador (Ammart3D Desktop) ---------- */
.dt-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 8px 16px; background: rgba(255, 250, 245, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); flex-wrap: wrap; }
.dt-logo img { display: block; height: 40px; width: auto; mix-blend-mode: multiply; }
.dt-tabs { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.dt-tabs a { padding: 8px 14px; border-radius: 999px; font-weight: 800; color: var(--ink); text-decoration: none !important; }
.dt-tabs a:hover, .dt-tabs a.on { background: var(--primary-soft); color: var(--primary-dark); }
.dt-folder { display: flex; align-items: center; gap: 8px; }
.dt-folder-path { font-weight: 700; color: var(--ink-soft); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-route="personalizar"] .b-total .row { flex-wrap: wrap; }
