/* =========================================================
   GuiaLar — cortinados feitos à mão
   Identidade: linho, papel, linha de costura. Minimal e quente.
   ========================================================= */

:root {
  --linen: #f5f0e8;
  --paper: #fbf8f3;
  --sand: #e7ddcf;
  --stone: #cbbfae;
  --ink: #2a2520;
  --ink-soft: #5d544b;
  --muted: #8a7f73;
  --clay: #a4583a;
  --clay-dark: #86452c;
  --sage: #74806a;
  --line: rgba(42, 37, 32, 0.12);
  --shadow: 0 18px 40px -24px rgba(42, 37, 32, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; /* títulos */
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;       /* texto */
  --hand: "Jost", system-ui, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* textura subtil de linho */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image:
    repeating-linear-gradient(0deg, rgba(120, 100, 80, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 100, 80, .03) 0 1px, transparent 1px 4px);
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  border-top: 1px dashed currentColor;
}
.hand { font-family: var(--hand); font-size: 1.05rem; font-weight: 500; color: var(--clay); line-height: 1.3; }
.eyebrow--light { color: #fff; opacity: .9; }
.lead { font-size: 1.15rem; max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--clay { --bg: var(--clay); }
.btn--clay:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- banner em vídeo ---------- */
.hero-video {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #6f6a64;
  color: #fff;
}
.hero-video__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(60,56,52,.78) 0%, rgba(80,76,71,.5) 45%, rgba(120,116,110,.12) 100%);
}
.hero-video__content { position: relative; padding: 90px 0; }
.hero-video h1 { color: #fff; max-width: 12ch; }
.hero-video .lead { color: rgba(255,255,255,.88); font-weight: 300; margin: 22px 0 34px; max-width: 46ch; }
.hero-video .hero-meta div { border-left-color: rgba(255,255,255,.4); }
.hero-video .hero-meta strong { color: #fff; }
.hero-video .hero-meta span { color: rgba(255,255,255,.75); }
.hero-video__toggle {
  position: absolute; right: 20px; bottom: 88px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.2); color: #fff;
  cursor: pointer; font-size: .75rem; backdrop-filter: blur(6px);
}
.hero-video__toggle:hover { background: rgba(0,0,0,.4); }
@media (max-width: 600px) {
  .hero-video { min-height: 82vh; }
  .hero-video__shade { background: linear-gradient(180deg, rgba(60,56,52,.45), rgba(60,56,52,.8)); }
}
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  text-decoration: none; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: var(--sand);
  font-size: .8rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .03em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.logo b {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo small {
  font-family: var(--hand);
  font-size: 1.1rem;
  color: var(--clay);
}
.nav.container { width: min(1360px, 100% - 40px); }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-self: stretch; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: .92rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links .chev { width: 10px; height: 10px; margin-left: 5px; vertical-align: 1px; transition: transform .3s var(--ease); }
.has-mega.open .chev { transform: rotate(180deg); }
.mega-toggle { display: none; }

/* ---------- painel do menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(42,37,32,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .25s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.mega-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding: 34px 0 40px; width: min(1360px, 100% - 40px); }
.mega-cols { display: flex; gap: 64px; flex-wrap: wrap; align-content: flex-start; }
.mega-col h5 { font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mega-col ul:has(.swatch-dot) { grid-template-columns: repeat(2, minmax(210px, 1fr)); column-gap: 36px; row-gap: 6px; }
.nav-links .mega-col a { display: flex; align-items: center; gap: 14px; padding: 7px 0; font-size: 1rem; white-space: normal; }
.nav-links .mega a::after { display: none; }
.mega-col a span { transition: color .25s, transform .3s var(--ease); display: block; }
.mega-col a:hover span { color: var(--clay); transform: translateX(3px); }
.mega-col a small { display: block; font-size: .8rem; color: var(--muted); font-weight: 300; }
.swatch-dot { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; display: block; background: var(--sand); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 0 0 3px var(--paper), 0 0 0 4px var(--line); transition: transform .3s var(--ease); }
.mega-col a:hover .swatch-dot { transform: scale(1.08); }
.swatch-dot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transition: transform .5s var(--ease); }
.mega-col a:hover .swatch-dot img { transform: scale(1.6); }
.mega-photos { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 16px; width: calc(var(--n, 1) * 205px + (var(--n, 1) - 1) * 14px); max-width: 54vw; gap: 14px; }
.mega-photos[style*="--n:1"] { width: 380px; }
.mega-photos[style*="--n:1"] .mega-photo { aspect-ratio: 4/3; }
.nav-links .mega-photo { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; color: #fff; padding: 0; white-space: normal; }
.mega-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-photo:hover img { transform: scale(1.05); }
.mega-photo span { position: absolute; inset: auto 0 0 0; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(30,25,20,.72)); }
.mega-photo strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.mega-photo em { font-style: normal; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.7); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  border-bottom: 1px dashed var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background .3s;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--clay);
  color: #fff;
  font-size: .72rem;
  display: grid; place-items: center;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

@media (max-width: 1280px) {
  /* o blur do cabeçalho prenderia o menu lateral (position: fixed) dentro do cabeçalho */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--linen); }
  .menu-toggle { display: grid; position: relative; z-index: 2; }
  .nav-links { z-index: 1; }
  body.menu-open { overflow: hidden; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: var(--paper);
    flex-direction: column;
    align-self: auto;
    gap: 0;
    padding: 90px 28px 32px;
    overflow-y: auto;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.25);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav-links > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-links > li > a { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; padding: 14px 0; }
  .nav-links .chev { display: none; }
  .mega-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .mega-toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .has-mega.open .mega-toggle svg { transform: rotate(180deg); }
  .mega { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; }
  .has-mega.open .mega { display: block; }
  .mega-inner { display: block; padding: 0 0 14px; width: auto; }
  .mega-cols { gap: 14px; flex-direction: column; }
  .mega-col ul:has(.swatch-dot) { grid-template-columns: 1fr; }
  .nav-links .mega-col a { font-size: .95rem; padding: 6px 0; }
  .swatch-dot { width: 24px; height: 24px; }
  .mega-photos { display: none; }
  body.menu-open .nav-links { transform: none; }
  .nav .btn--clay { display: none; }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--clay); }
.hero .lead { margin: 22px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual .main-img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.stamp {
  position: absolute;
  left: -40px; bottom: 50px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.stamp svg { width: 118px; height: 118px; animation: spin 22s linear infinite; }
.stamp .stamp-core {
  position: absolute;
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--clay);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-meta {
  display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap;
}
.hero-meta div { border-left: 1px dashed var(--stone); padding-left: 16px; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.hero-meta span { font-size: .85rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .stamp { left: -6px; width: 104px; height: 104px; }
  .stamp svg { width: 92px; height: 92px; }
}

/* ---------- linha de costura (divisor) ---------- */
.stitch {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--stone) 0 10px, transparent 10px 18px);
  border: 0;
  margin: 0;
}

/* ---------- serviço / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; max-width: 18ch; }

.service-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .img { aspect-ratio: 4/3; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover img { transform: scale(1.05); }
.service-card .body { padding: 26px; }
.service-card .num { font-family: var(--hand); color: var(--clay); font-size: 1.4rem; }

/* passos do processo */
.steps { counter-reset: step; }
.step {
  padding: 30px 26px;
  border-top: 1px dashed var(--stone);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--clay);
  opacity: .8;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}

/* split section */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.split img { border-radius: var(--radius); aspect-ratio: 5/6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 18px; height: 10px;
  border-left: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(-45deg);
}

/* testemunhos */
.quote-card {
  background: var(--paper);
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.quote-card blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 500;
}
.quote-card cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* banner CTA */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(40px, 7vw, 80px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--stone); }
.cta-band::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
}
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .btn--ghost { color: var(--paper); border-color: var(--paper); }
.cta-band .btn--ghost:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- produtos ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.product {
  display: flex; flex-direction: column;
  animation: rise .6s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.product .img {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover img { transform: scale(1.06); }
.product .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product .badge--sale { background: var(--clay); color: #fff; }
.product .add {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  transform: translateY(130%); transition: transform .45s var(--ease);
}
.product:hover .add, .product .add:focus { transform: none; }
@media (hover: none) { .product .add { transform: none; } }
.product .info { padding: 16px 4px 0; display: flex; justify-content: space-between; gap: 12px; }
.product h4 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin: 0 0 2px; }
.product .cat { font-size: .82rem; color: var(--muted); }
.product .price { font-weight: 500; white-space: nowrap; text-align: right; }
.product .price s { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; scroll-margin-top: 110px; }
.filters--sub { margin-top: -22px; }
.filters--sub:empty { display: none; }
.chip--sm { padding: 6px 14px; font-size: .82rem; }
.collection-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 36px; scrollbar-width: thin;
}
.collection-cards:empty { display: none; }
.collection-card {
  position: relative; border: 0; padding: 0; cursor: pointer; text-align: left;
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--sand); color: #fff;
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collection-card:hover img { transform: scale(1.06); }
.collection-card span {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(30,25,20,.75));
}
.collection-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.collection-card small { display: block; font-size: .8rem; opacity: .85; line-height: 1.35; margin-top: 2px; }
.collection-card.active { box-shadow: 0 0 0 3px var(--linen), 0 0 0 5px var(--clay); }
.chip {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: .9rem; transition: all .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.shop-toolbar select, .search {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
}
.search { min-width: 240px; }

/* ---------- carrinho (drawer) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(42,37,32,.4);
  opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 90;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer .empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-item img { width: 70px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item h5 { margin: 0 0 6px; font-size: .95rem; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.drawer footer { padding: 22px 24px; border-top: 1px solid var(--line); }
.drawer .total { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 16px; }
.drawer .checkout-form { display: none; gap: 10px; margin-bottom: 14px; }
.drawer .checkout-form.show { display: grid; }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(164,88,58,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--clay); }

.notice {
  padding: 16px 20px; border-radius: var(--radius-sm); font-size: .95rem; margin-top: 16px; display: none;
}
.notice.show { display: block; animation: rise .4s var(--ease); }
.notice--ok { background: #e6ebdf; color: #3d4a33; border: 1px solid #c7d1bb; }
.notice--err { background: #f6e1d9; color: #7a3420; border: 1px solid #e8c0b0; }
.notice a { font-weight: 600; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(50px, 8vw, 100px) 0 clamp(30px, 5vw, 60px); }
.page-hero h1 { max-width: 16ch; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--clay); }

/* ---------- configurador de orçamento ---------- */
.configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) { .configurator { grid-template-columns: 1fr; } }

.wizard-progress {
  display: flex; gap: 6px; margin-bottom: 30px;
}
.wizard-progress button {
  flex: 1; border: 0; background: none; cursor: pointer; text-align: left;
  padding: 0 0 12px; font-size: .8rem; color: var(--muted);
  border-bottom: 2px solid var(--sand); transition: color .3s, border-color .3s;
}
.wizard-progress button.done { color: var(--ink-soft); border-color: var(--stone); }
.wizard-progress button.active { color: var(--clay); border-color: var(--clay); }
.wizard-progress b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
@media (max-width: 600px) { .wizard-progress button span { display: none; } }

.step-panel { display: none; animation: rise .5s var(--ease); }
.step-panel.active { display: block; }
.step-panel h3 { margin-bottom: 6px; }
.step-panel > p { margin-bottom: 24px; }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.option {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.option:hover { transform: translateY(-2px); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay) inset; }
.option:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
.option .ico { height: 56px; margin-bottom: 12px; color: var(--ink); }
.option .ico svg { height: 100%; width: auto; }
.option strong { display: block; font-weight: 500; }
.option small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; margin-top: 4px; }
.option .tag { position: absolute; top: 12px; right: 12px; font-size: .72rem; color: var(--clay); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.swatch { cursor: pointer; text-align: center; position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch .fab {
  aspect-ratio: 1; border-radius: 50%; margin: 0 auto 10px; width: 84px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.swatch:hover .fab { transform: scale(1.06); }
.swatch:has(input:checked) .fab { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--clay); }
.swatch:has(input:focus-visible) .fab { outline: 2px solid var(--clay); outline-offset: 6px; }
.swatch strong { display: block; font-size: .9rem; font-weight: 500; }
.swatch small { color: var(--muted); font-size: .78rem; }

/* cartões com fotografia: tecidos e calhas/varões */
.pick-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pick-card {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .25s;
}
.pick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pick-card input { position: absolute; opacity: 0; pointer-events: none; }
.pick-card .ph { aspect-ratio: 4/3; background: var(--sand); overflow: hidden; display: grid; place-items: center; }
.pick-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pick-card:hover .ph img { transform: scale(1.06); }
.pick-card .ph-icon { width: 54px; color: var(--ink-soft); }
.pick-card .tx { padding: 12px 14px 14px; display: grid; gap: 2px; }
.pick-card strong { font-weight: 500; line-height: 1.25; }
.pick-card small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.pick-card em { font-style: normal; font-size: .85rem; color: var(--clay); margin-top: 4px; }
.pick-card::after {
  content: "✓"; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--clay); color: #fff; font-size: .8rem;
  transform: scale(0); transition: transform .3s var(--ease);
}
.pick-card:has(input:checked) { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay) inset; }
.pick-card:has(input:checked)::after { transform: scale(1); }
.pick-card:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
.color-pick { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--stone); }
.color-head { display: flex; align-items: baseline; gap: 12px; }
.color-head h4 { font-family: var(--serif); font-size: 1rem; margin: 0; }
.color-head span { color: var(--muted); font-size: .9rem; }
.color-pick .colors { margin-top: 14px; }
.color-pick .color-dot span { width: 40px; height: 40px; }

.colors { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.color-dot { position: relative; cursor: pointer; }
.color-dot input { position: absolute; opacity: 0; }
.color-dot span {
  display: block; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
  transition: transform .25s;
}
.color-dot:hover span { transform: scale(1.1); }
.color-dot:has(input:checked) span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

.range-row { margin-bottom: 26px; }
.range-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range-row output { font-family: var(--serif); font-size: 1.6rem; }
.range-row .num-input { width: 96px; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); text-align: right; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--clay) var(--p, 50%), var(--sand) var(--p, 50%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--clay); cursor: grab; box-shadow: var(--shadow);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--clay); cursor: grab;
}
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.stepper output { min-width: 30px; text-align: center; font-weight: 500; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 34px; gap: 12px; }

.summary {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.preview {
  position: relative;
  background: linear-gradient(180deg, #efe7da, #e4d8c6);
  aspect-ratio: 4/3.2;
  display: grid; place-items: center;
  overflow: hidden;
}
.preview svg { width: 100%; height: 100%; }
.preview .dims {
  position: absolute; bottom: 12px; left: 14px; font-size: .8rem; color: var(--ink-soft);
  background: rgba(251,248,243,.8); padding: 4px 10px; border-radius: 999px;
}
.summary .lines { padding: 22px 26px 6px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.summary .line span:first-child { color: var(--muted); }
.summary .line span:last-child { text-align: right; }
.summary .total-box { padding: 20px 26px 26px; }
.summary .total-row { display: flex; justify-content: space-between; align-items: baseline; }
.summary .total-row strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; }
.summary .fine { font-size: .78rem; color: var(--muted); margin: 4px 0 0; }
.curtain-anim { transition: all .6s var(--ease); }

/* ---------- design de interiores ---------- */
.designer {
  text-align: left;
}
.designer .ph { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.designer .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s var(--ease), filter .5s; }
.designer:hover .ph img { transform: scale(1.04); filter: none; }
.designer h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 0; }
.designer .role { color: var(--clay); font-size: .85rem; letter-spacing: .05em; }
.designer p { font-size: .92rem; margin-top: 10px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tags span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); }

.portfolio { columns: 3 280px; column-gap: 22px; }
.portfolio figure {
  margin: 0 0 22px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  animation: rise .6s var(--ease) both;
}
.portfolio img { width: 100%; transition: transform 1s var(--ease); }
.portfolio figure:hover img { transform: scale(1.05); }
.portfolio figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(30,25,20,.75));
  color: #fff; opacity: 0; transform: translateY(10px); transition: all .45s var(--ease);
}
.portfolio figure:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .portfolio figcaption { opacity: 1; transform: none; } }
.portfolio figcaption strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.portfolio figcaption span { font-size: .8rem; opacity: .85; }

.compare {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; user-select: none;
  box-shadow: var(--shadow); touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); filter: grayscale(.9) brightness(.85) contrast(.9); }
.compare .handle {
  position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px);
}
.compare .handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow);
}
.compare .lbl {
  position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(251,248,243,.9); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.compare input { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; margin: 0; }

.packages .pkg {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column;
}
.packages .pkg.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.packages .pkg.featured p, .packages .pkg.featured li { color: var(--stone); }
.packages .pkg .price { font-family: var(--serif); font-size: 2.6rem; margin: 10px 0 4px; }
.packages .pkg ul { list-style: none; padding: 0; margin: 20px 0 28px; flex: 1; }
.packages .pkg li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.packages .pkg.featured li { border-color: rgba(255,255,255,.12); }
.packages .pkg.featured .btn { --bg: var(--clay); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,17,14,.92);
  display: none; place-items: center; padding: 24px;
}
.lightbox.show { display: grid; animation: rise .3s; }
.lightbox img { max-height: 85vh; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.35rem; }
.faq summary::after { content: "+"; transition: transform .3s; color: var(--clay); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--stone); padding: 80px 0 30px; margin-top: 0; }
.site-footer h4 { color: var(--paper); font-family: var(--sans); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: var(--stone); transition: color .25s; }
.site-footer a:hover { color: var(--paper); }
.site-footer p { color: var(--stone); }
.site-footer .logo b { color: var(--paper); }
.newsletter { display: flex; border-bottom: 1px solid rgba(255,255,255,.25); margin-top: 10px; }
.newsletter input { flex: 1; background: none; border: 0; padding: 12px 0; color: var(--paper); outline: none; min-width: 0; }
.newsletter button { background: none; border: 0; color: var(--paper); cursor: pointer; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .82rem; }

/* whatsapp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  transform: translate(-50%, calc(100% + 40px));
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; border-radius: 999px; font-size: .92rem;
  transition: transform .45s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* barra de garantias (abaixo do banner) */
.perks { background: var(--paper); border-bottom: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk {
  display: flex; align-items: center; gap: 16px;
  padding: 30px 24px;
  color: var(--ink);
  transition: background .3s;
}
.perk + .perk { border-left: 1px solid var(--line); }
.perk:hover { background: var(--linen); }
.perk svg { width: 34px; height: 34px; flex: none; color: var(--ink-soft); transition: transform .4s var(--ease), color .3s; }
.perk:hover svg { transform: translateY(-3px); color: var(--clay); }
.perk strong { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.perk span { display: block; font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 960px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 16px; }
  .perk strong { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* zona de entregas e código postal */
.area-note { font-size: .88rem; color: var(--ink-soft); background: var(--sand); border-radius: var(--radius-sm); padding: 10px 14px; margin: -8px 0 20px; }
.postal-msg { font-size: .8rem; min-height: 1em; display: block; }
.postal-msg.ok { color: #4f7a45; }
.postal-msg.err { color: #b4412c; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer .checkout-form.show { max-height: 46vh; overflow-y: auto; }

/* ---------- topo compacto (páginas de produtos) ---------- */
.page-hero--compact { padding: clamp(22px, 4vw, 40px) 0 clamp(8px, 2vw, 16px); }
.page-hero--compact .breadcrumb { margin-bottom: 10px; }
.page-hero--compact h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: none; margin-bottom: .3em; }
.page-hero--compact .lead { font-size: 1rem; max-width: 70ch; margin: 0; }
.section--tight { padding-top: clamp(18px, 3vw, 28px); }

/* ---------- coleções compactas (loja) e filtros em pílula ---------- */
.filters--pills { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-bottom: 14px; padding: 2px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.filters--pills .chip { flex: none; }
.pill-cat {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; font-size: .9rem; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.pill-cat img, .pill-cat .pc-all { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.pill-cat .pc-all { display: grid; place-items: center; background: var(--sand); color: var(--clay); font-size: .85rem; }
.pill-cat:hover { border-color: var(--ink); }
.pill-cat.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-cat.active .pc-all { background: rgba(255,255,255,.15); color: var(--paper); }
.filters--sub { margin-top: 0; margin-bottom: 18px; }

/* ---------- página Tecidos ---------- */
.fabric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 14px; }
.fabric-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease);
  animation: rise .6s var(--ease) both; scroll-margin-top: 110px;
}
.fabric-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.fabric-card.is-focus { border-color: var(--clay); box-shadow: 0 0 0 2px var(--clay); }
.fabric-ph { position: relative; aspect-ratio: 16/10; background: var(--sand); overflow: hidden; }
.fabric-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fabric-card:hover .fabric-ph img { transform: scale(1.05); }
.fabric-tint { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 4px 12px rgba(0,0,0,.2); }
.fabric-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fabric-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fabric-head h3 { font-size: 1.15rem; margin: 0 0 2px; }
.fabric-note { font-size: .85rem; color: var(--muted); }
.fabric-price { text-align: right; white-space: nowrap; }
.fabric-price strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--clay); line-height: 1.1; }
.fabric-price small { font-size: .78rem; color: var(--muted); }
.fabric-desc { margin: 0; font-size: .92rem; line-height: 1.55; }
.fabric-label { font-size: .85rem; color: var(--ink-soft); }
.fabric-label small { color: var(--muted); }
.fabric-colors .colors { margin-top: 8px; gap: 8px; }
.fabric-colors .color-dot { border: 0; background: none; padding: 0; }
.fabric-colors .color-dot span { width: 30px; height: 30px; }
.fabric-colors .color-dot.is-on span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.fabric-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fabric-tags span { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); }
.fabric-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.fabric-actions .btn { flex: 1 1 140px; }
.fabric-foot { font-size: .85rem; color: var(--muted); margin-top: 22px; }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* =========================================================
   Telemóvel e tablet — ajustes gerais (revisão completa)
   ========================================================= */
.mobile-total { display: none; }

@media (max-width: 980px) {
  .configurator { gap: 28px; }
  .summary { position: static; }
  /* total sempre visível no orçamento */
  .mobile-total {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    align-items: center; justify-content: space-between; gap: 12px;
    background: var(--ink); color: var(--paper);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -12px rgba(0,0,0,.4);
  }
  .mobile-total span { font-size: .75rem; color: var(--stone); display: block; line-height: 1.2; }
  .mobile-total strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
  .mobile-total .btn { padding: 9px 16px; font-size: .82rem; background: transparent; border-color: rgba(255,255,255,.5); color: var(--paper); }
  body.has-total main { padding-bottom: 72px; }
  body.has-total .wa-float { bottom: 84px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.15rem; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }
  .lead { font-size: 1.02rem; }

  /* cabeçalho */
  .topbar { font-size: .7rem; padding: 6px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav { height: 62px; gap: 12px; }
  .logo b { font-size: 1.35rem; }
  .icon-btn { width: 40px; height: 40px; }

  /* banner */
  .hero-video { min-height: 0; }
  .hero-video__content { padding: 52px 0 60px; }
  .hero-video .lead { font-size: 1rem; margin: 14px 0 24px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
  .hero-meta div { padding-left: 10px; }
  .hero-meta strong { font-size: 1.3rem; }
  .hero-meta span { font-size: .72rem; line-height: 1.3; display: block; }
  .hero-video__toggle { top: 14px; bottom: auto; right: 14px; width: 36px; height: 36px; }

  /* topo das páginas */
  .page-hero { padding: 30px 0 18px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .page-hero .lead { font-size: .98rem; }
  .breadcrumb { margin-bottom: 10px; font-size: .8rem; }

  /* produtos: 2 por linha */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .product .info { flex-direction: column; gap: 4px; padding: 10px 2px 0; }
  .product h4 { font-size: .88rem; line-height: 1.3; }
  .product .cat { font-size: .74rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product .price { text-align: left; font-size: .92rem; }
  .product .price s { display: inline; margin-left: 6px; font-size: .78rem; }
  .product .add { left: 8px; right: 8px; bottom: 8px; padding: 7px 8px; font-size: .72rem; }
  .product .badge { top: 8px; left: 8px; font-size: .6rem; padding: 3px 8px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop-toolbar > div { width: 100%; flex-wrap: nowrap !important; }
  .search { min-width: 0; flex: 1; }
  .shop-toolbar select { flex: none; }

  /* secções da página inicial */
  .grid-4.steps { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .step { padding: 20px 0; }
  .step::before { font-size: 2rem; margin-bottom: 8px; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .86rem; margin: 0; }
  .service-card .body { padding: 20px; }
  .split { gap: 26px; }
  .split img { aspect-ratio: 4/3; }
  .quote-card { padding: 24px; }
  .quote-card blockquote { font-size: 1.02rem; }
  .cta-band { padding: 34px 22px; border-radius: 12px; }
  .cta-band .actions { flex-direction: column; }
  .cta-band .actions .btn { width: 100%; }

  /* design de interiores */
  .portfolio { columns: 2; column-gap: 10px; }
  .portfolio figure { margin-bottom: 10px; }
  .portfolio figcaption { padding: 26px 10px 10px; }
  .portfolio figcaption strong { font-size: .88rem; line-height: 1.25; }
  .portfolio figcaption span { font-size: .7rem; }
  .designer .ph { aspect-ratio: 4/3; }
  .compare { aspect-ratio: 4/3; }
  .packages .pkg { padding: 26px 22px; }

  /* orçamento */
  .wizard-progress { gap: 3px; margin-bottom: 24px; }
  .wizard-progress b { font-size: 1rem; }
  .options { gap: 10px; }
  .option { padding: 14px; }
  .option .ico { height: 44px; margin-bottom: 8px; }
  .pick-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pick-card .tx { padding: 10px 12px 12px; }
  .pick-card strong { font-size: .9rem; }
  .wizard-nav .btn { padding: 12px 18px; }
  .summary .lines { padding: 16px 18px 4px; }
  .summary .total-box { padding: 14px 18px 20px; }
  .summary .total-row strong { font-size: 2rem; }

  /* tecidos */
  .fabric-body { padding: 16px; gap: 12px; }
  .fabric-actions .btn { flex: 1 1 120px; }

  /* formulários, faq, rodapé */
  .faq summary { font-size: 1.05rem; gap: 12px; }
  .site-footer { padding: 52px 0 24px; }
  .footer-grid { gap: 30px; }
  .footer-bottom { margin-top: 36px; flex-direction: column; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .drawer header, .drawer .items, .drawer footer { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 360px) {
  .hero-meta strong { font-size: 1.1rem; }
  .pick-cards, .product-grid { gap: 10px 8px; }
}
#quote { scroll-margin-top: 84px; }
@media (hover: none), (max-width: 600px) {
  .filters--pills { scrollbar-width: none; }
  .filters--pills::-webkit-scrollbar { display: none; }
}

/* ---------- subcoleções (loja): cartões pequenos com fotografia ---------- */
.subcols-wrap { margin-bottom: 18px; }
.subcols-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.subcols-head span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 500; }
.subcols-back { border: 0; background: none; padding: 0; cursor: pointer; font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.subcols-back:hover { color: var(--ink); }
.subcols { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subcols::-webkit-scrollbar { display: none; }
.subcol {
  flex: none; width: 124px; padding: 0; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.subcol:hover { transform: translateY(-2px); border-color: var(--stone); }
.subcol img, .subcol .subcol-ph { display: block; width: 100%; height: 70px; object-fit: cover; background: var(--sand); }
.subcol span { display: block; padding: 7px 10px 8px; font-size: .8rem; line-height: 1.25; font-weight: 500; }
.subcol.active { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.subcol.active span { color: var(--clay); }
@media (max-width: 600px) {
  .subcol { width: 104px; }
  .subcol img, .subcol .subcol-ph { height: 58px; }
  .subcol span { font-size: .76rem; padding: 6px 8px 7px; }
}

/* ---------- finalizar encomenda (checkout.html) ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.checkout-form-page { display: grid; gap: 22px; }
.co-block { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 26px 26px 24px; margin: 0; min-width: 0; }
.co-block legend { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.co-block legend span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--clay); color: var(--paper); font-size: .8rem; }
.co-block > .form-grid, .co-block > .area-note { margin-top: 14px; }
.co-block .form-grid #bill-address[hidden] { display: none; }
.co-block .form-grid #bill-address { margin-top: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
.co-fine { font-size: .8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.pay-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay-opt:hover { border-color: var(--stone); }
.pay-opt input { margin-top: 3px; accent-color: var(--clay); }
.pay-opt:has(input:checked) { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(164, 88, 58, .12); }
.pay-opt b { display: block; font-weight: 600; font-size: .95rem; }
.pay-opt small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; line-height: 1.4; }
.checkout-sum { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.checkout-sum > h3 { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 14px; }
.sum-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sum-item img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; background: var(--linen); }
.sum-item b { display: block; font-size: .9rem; font-weight: 600; }
.sum-item small { color: var(--muted); font-size: .8rem; }
.sum-line { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-soft); padding: 12px 0 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin: 14px 0 20px; padding-top: 14px; }
.sum-total strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.sum-back { display: block; text-align: center; margin-top: 16px; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 980px) {
  .checkout { grid-template-columns: 1fr; gap: 28px; }
  .checkout-sum { position: static; }
}
@media (max-width: 600px) {
  .co-block { padding: 20px 16px 18px; }
  .pay-opts { grid-template-columns: 1fr; }
  .checkout-sum { padding: 20px 18px; }
}

/* ---------- cartões da loja: a foto e o nome levam à página do produto ---------- */
.product .cover { position: absolute; inset: 0; z-index: 0; display: block; }
.product .cover img { width: 100%; height: 100%; object-fit: cover; }
.product .badge, .product .add { z-index: 2; }
.product h4 a { color: inherit; text-decoration: none; }
.product h4 a:hover { color: var(--clay); }

/* ---------- página de produto (produto.html) ---------- */
#produto { display: block; }
.pd-crumbs { font-size: .85rem; color: var(--muted); padding: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.pd-crumbs a:hover { color: var(--clay); }
.pd-crumbs span:last-child { color: var(--ink-soft); }
.pd-crumbs .sep { opacity: .5; }

/* galeria (computador): foto principal grande + restantes em grelha de 2 (estilo drinkolipop.com);
   fotos e ficha num bloco centrado, com espaço moderado entre os dois */
.pd-top { display: grid; grid-template-columns: minmax(0, 640px) minmax(320px, 400px); justify-content: center; gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px) 80px; }
.pd-gallery { position: relative; min-width: 0; }
.pd-rail { display: none; }
.pd-track { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.pd-shot { margin: 0; aspect-ratio: 1; background: var(--sand); overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.pd-shot:first-child { grid-column: 1 / -1; }
.pd-shot:nth-child(n+2):last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.pd-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.pd-shot:hover img { transform: scale(1.03); }
.pd-shot.pd-empty { display: grid; place-items: center; color: var(--muted); cursor: default; }
.pd-dots, .pd-counter { display: none; }

/* ficha (fixa ao lado das fotos) */
.pd-info { min-width: 0; position: sticky; top: 96px; padding-top: 6px; }
.pd-info__inner { max-width: 440px; }
.pd-badge { display: inline-block; background: var(--clay); color: #fff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.pd-badge.out { background: var(--muted); }
.pd-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; margin: 0 0 10px; }
.pd-price { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; display: flex; align-items: baseline; gap: 12px; }
.pd-price s { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.pd-lead { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; margin: 14px 0 0; }
.pd-stock { display: block; margin: 14px 0 20px; font-size: .88rem; color: var(--ink-soft); }
.pd-stock::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); margin-right: 8px; vertical-align: middle; }
.pd-stock.low::before { background: #c9913a; }
.pd-stock.out { color: #7a3420; }
.pd-stock.out::before { background: #7a3420; }
.pd-buy { display: flex; gap: 10px; align-items: stretch; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); flex: none; }
.pd-qty button { width: 42px; height: 50px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.pd-qty span { min-width: 26px; text-align: center; font-weight: 600; }
.pd-add { flex: 1; padding: 14px 24px; }
.pd-reassure { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.pd-reassure span::before { content: "✓ "; color: var(--sage); }
.pd-highlights { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.pd-highlights li { position: relative; padding-left: 24px; color: var(--ink-soft); line-height: 1.5; font-size: .95rem; }
.pd-highlights li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* abas: Descrição, Detalhes, Cuidados, Envios (+ abre, − fecha) */
.pd-tabs { margin-top: 26px; border-top: 1px solid var(--line); }
.pd-tab { border-bottom: 1px solid var(--line); }
.pd-tab summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 2px; cursor: pointer; font-weight: 500; font-size: .95rem; color: var(--ink); user-select: none; }
.pd-tab summary::-webkit-details-marker { display: none; }
.pd-tab summary:hover { color: var(--clay); }
.pd-tab summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.pd-pm { position: relative; width: 13px; height: 13px; flex: none; }
.pd-pm::before, .pd-pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); transition: transform .3s var(--ease); }
.pd-pm::after { transform: translateY(-50%) rotate(90deg); }
.pd-tab[open] .pd-pm::after { transform: translateY(-50%) rotate(0deg); }
.pd-tab__body { overflow: hidden; }
.pd-tab__inner { padding: 0 2px 20px; color: var(--ink-soft); font-size: .93rem; line-height: 1.7; }
.pd-tab__inner p { margin: 0 0 10px; }
.pd-tab__inner p:last-child { margin-bottom: 0; }
.pd-tab__inner a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.pd-specs { margin: 0; }
.pd-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pd-specs > div:last-child { border-bottom: 0; }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { margin: 0; text-align: right; font-weight: 500; color: var(--ink); }
.pd-custom { font-size: .88rem; color: var(--ink-soft); margin: 20px 0 0; }
.pd-custom a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ampliar foto */
.pd-lb .pd-lb__nav { position: absolute; top: 50%; right: auto; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(251, 248, 243, .14); color: #fff; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.pd-lb .pd-lb__nav:hover { background: rgba(251, 248, 243, .28); }
.pd-lb .prev { left: 20px; }
.pd-lb .next { left: auto; right: 20px; }

/* vídeo do processo */
.pd-film { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 100px) 0; }
.pd-film__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 60px; align-items: end; margin-bottom: 30px; }
.pd-film .eyebrow { color: #d9a68f; }
.pd-film h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.15; margin: 8px 0 0; color: var(--paper); }
.pd-film__head p { margin: 0; color: var(--stone); line-height: 1.7; max-width: 52ch; }
.pd-film__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #1d1915; aspect-ratio: 16/9; }
.pd-film__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-film__ctrl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.pd-film__ctrl button { border: 0; border-radius: 999px; background: rgba(251, 248, 243, .92); color: var(--ink); font: inherit; font-size: .84rem; font-weight: 500; padding: 9px 16px; min-width: 42px; cursor: pointer; }
.pd-film__ctrl button:hover { background: #fff; }

/* relacionados, vistos e chamada final */
.pd-block { padding: 56px 0; border-top: 1px solid var(--line); }
.pd-film + .container .pd-block:first-child, .pd-film + .container .pd-block:not([hidden]) { border-top: 0; }
.pd-block h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; margin: 0 0 18px; }
.pd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.pd-head h2 { margin: 0; }
.pd-head a { color: var(--clay); font-size: .92rem; }
.pd-cta { margin: 60px 0 70px; background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.pd-cta h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 8px; }
.pd-cta p { margin: 0; color: var(--ink-soft); max-width: 52ch; line-height: 1.6; }
.pd-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* barra fixa de compra (telemóvel) */
.pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35); padding: 10px 16px; display: none; justify-content: space-between; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s var(--ease); }
.pd-sticky.show { transform: none; }
.pd-sticky > div { display: flex; flex-direction: column; min-width: 0; }
.pd-sticky b { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sticky span { font-family: var(--serif); font-size: 1.05rem; }

/* tablet e telemóvel: as fotos deslizam para o lado */
@media (max-width: 980px) {
  .pd-top { grid-template-columns: 1fr; gap: 22px; padding: 0 0 36px; }
  .pd-gallery { display: block; }
  .pd-rail { display: none; }
  .pd-track { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .pd-track::-webkit-scrollbar { display: none; }
  .pd-shot, .pd-shot:nth-child(n+2):last-child:nth-child(even) { flex: 0 0 62%; aspect-ratio: 1; border-radius: 0; scroll-snap-align: start; }
  .pd-shot:hover img { transform: none; }
  .pd-dots { display: flex; gap: 4px; position: absolute; left: 16px; right: 16px; bottom: 14px; pointer-events: none; }
  .pd-dots span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .45); box-shadow: 0 0 3px rgba(0, 0, 0, .25); transition: background .25s; }
  .pd-dots span.on { background: #fff; }
  .pd-counter { display: block; position: absolute; top: 12px; left: 12px; background: rgba(42, 37, 32, .6); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
  .pd-info { position: static; padding: 0 clamp(16px, 4vw, 32px); }
  .pd-info__inner { max-width: 640px; }
  .pd-film__head { grid-template-columns: 1fr; }
  .pd-sticky { display: flex; }
}
@media (max-width: 600px) {
  .pd-crumbs { font-size: .78rem; padding: 14px 0 12px; }
  .pd-shot, .pd-shot:nth-child(n+2):last-child:nth-child(even) { flex-basis: 100%; }
  .pd-title { font-size: 1.5rem; }
  .pd-block { padding: 40px 0; }
  .pd-cta { flex-direction: column; align-items: stretch; }
  .pd-cta-actions .btn { flex: 1; text-align: center; }
  .pd-film__ctrl { right: 10px; bottom: 10px; }
  .pd-film__ctrl button { padding: 7px 12px; font-size: .78rem; }
  .pd-lb .pd-lb__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .pd-lb .prev { left: 8px; }
  .pd-lb .next { right: 8px; }
}

/* ---------- ficha do produto: ideias adaptadas da drinkolipop.com ---------- */
.pd-heading { text-align: center; margin-bottom: 22px; }
.pd-kicker { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); text-decoration: underline; text-underline-offset: 4px; margin-bottom: 8px; }
.pd-heading .pd-title { margin: 0 0 8px; }
.pd-heading .pd-lead { margin: 0; }
.pd-offer { border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); padding: 16px 18px; box-shadow: 4px 4px 0 var(--sand); }
.pd-offer__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-offer__label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.pd-offer__label::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); flex: none; }
.pd-offer__price { display: flex; align-items: baseline; gap: 8px; }
.pd-offer__price b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.pd-offer__price s { color: var(--muted); font-size: .9rem; }
.pd-off { align-self: center; background: var(--sage); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pd-offer__promo { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; font-size: .86rem; color: var(--clay); font-weight: 500; }
.pd-offer__promo svg { flex: none; }
.pd-ship { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pd-ship__bar { height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.pd-ship__bar i { display: block; height: 100%; width: 0; background: var(--sage); border-radius: inherit; transition: width .5s var(--ease); }
.pd-ship small { display: block; margin-top: 7px; font-size: .8rem; color: var(--ink-soft); }
.pd-info .pd-stock { margin: 14px 0; }
.pd-qty { border-color: var(--ink); box-shadow: 3px 3px 0 var(--sand); }
.pd-add { box-shadow: 3px 3px 0 var(--sand); }
.pd-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }
.pd-note svg { flex: none; color: var(--sage); margin-top: 2px; }
.pd-note b { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; }
.pd-store { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 6px; font-weight: 500; font-size: .92rem; color: var(--ink); }
.pd-store span { text-decoration: underline; text-underline-offset: 4px; }
.pd-store:hover { color: var(--clay); }
.pd-cross { display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.pd-cross img, .pd-cross .ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); }
.pd-cross h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; margin: 0 0 8px; }
.pd-cross a { display: inline-block; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 500; color: var(--ink); box-shadow: 2px 2px 0 var(--sand); transition: background .2s, color .2s; }
.pd-cross a:hover { background: var(--ink); color: var(--paper); }
.pd-custom { text-align: center; }
.pd-seal { position: absolute; top: 14px; right: 14px; z-index: 3; width: 76px; height: 76px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center; padding: 8px; font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.15; transform: rotate(-10deg); outline: 1.5px dashed rgba(255, 255, 255, .85); outline-offset: -7px; box-shadow: 0 6px 16px -8px rgba(42, 37, 32, .5); pointer-events: none; }
.pd-seal.out { background: var(--muted); }
@media (max-width: 600px) {
  .pd-seal { width: 64px; height: 64px; font-size: .6rem; top: 10px; right: 10px; }
  .pd-offer { padding: 14px; }
}

/* ---------- loja: barra de filtros (cor, preço, disponibilidade) ---------- */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.shop-bar__filters { position: relative; display: flex; gap: 8px; flex-wrap: wrap; }
.shop-bar__tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: .9rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.fbtn:hover { border-color: var(--ink); }
.fbtn[aria-expanded="true"] { border-color: var(--ink); box-shadow: 3px 3px 0 var(--sand); }
.fbtn.is-on { border-color: var(--ink); background: var(--linen); }
.fbtn:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.fbtn__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .72rem; display: inline-grid; place-items: center; }
.fbtn__n:empty { display: none; }
.fbtn__chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.fbtn[aria-expanded="true"] .fbtn__chev { transform: translateY(1px) rotate(-135deg); }
.fbtn--all { display: none; }
.shop-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 34px; margin: 14px 0 24px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
#count { color: var(--muted); font-size: .9rem; }
.f-active { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-size: .8rem; cursor: pointer; }
.fchip i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }
.fchip span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: .9rem; line-height: 1; transition: background .2s; }
.fchip:hover span { background: var(--clay); }
.fclear { background: none; border: 0; font: inherit; font-size: .82rem; color: var(--clay); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.f-empty { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: var(--ink-soft); }
.f-empty p { margin: 0 0 14px; }

/* painel que abre por baixo do botão */
.fpanel { position: absolute; top: calc(100% + 10px); z-index: 30; width: 370px; max-width: calc(100vw - 32px); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--sand), 0 24px 50px -24px rgba(42, 37, 32, .45); animation: fpop .18s var(--ease); }
.fpanel[hidden] { display: none; }
@keyframes fpop { from { opacity: 0; transform: translateY(-6px); } }
.fpanel__head { display: none; }
.fpanel[data-only="cor"] .fsec:not([data-sec="cor"]),
.fpanel[data-only="preco"] .fsec:not([data-sec="preco"]),
.fpanel[data-only="mais"] .fsec:not([data-sec="mais"]) { display: none; }
.fsec { padding: 18px 20px; }
.fsec + .fsec { border-top: 1px solid var(--line); }
.fsec h4 { display: none; margin: 0 0 12px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fsec__empty { margin: 0; color: var(--muted); font-size: .88rem; }
.fsw { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fsw__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid transparent; background: none; font: inherit; font-size: .86rem; color: var(--ink); cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.fsw__item:hover { background: var(--linen); }
.fsw__item.is-on { border-color: var(--ink); background: var(--linen); }
.fsw__dot { position: relative; width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.fsw__item.is-on .fsw__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.fsw__name { flex: 1; line-height: 1.2; }
.fsw__c { color: var(--muted); font-size: .75rem; }
.frange { position: relative; height: 28px; margin: 2px 4px 16px; }
.frange__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%); background: var(--sand); border-radius: 999px; }
.frange__fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: var(--clay); border-radius: 999px; }
.frange input[type=range] { position: absolute; inset: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.frange input[type=range]::-webkit-slider-runnable-track { background: none; }
.frange input[type=range]::-moz-range-track { background: none; }
.frange input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--sand); cursor: grab; }
.frange input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); cursor: grab; }
.frange input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--clay); outline-offset: 2px; }
.fprice { display: flex; align-items: flex-end; gap: 10px; }
.fprice label { flex: 1; display: grid; gap: 4px; font-size: .74rem; color: var(--muted); }
.fprice__in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; transition: border-color .2s; }
.fprice__in:focus-within { border-color: var(--ink); }
.fprice__in input { border: 0; outline: 0; background: none; width: 100%; padding: 9px 0; font: inherit; font-size: .95rem; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.fprice__in input::-webkit-outer-spin-button, .fprice__in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fprice__in i { font-style: normal; color: var(--muted); }
.fprice__sep { padding-bottom: 10px; color: var(--muted); }
.fquick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fquick__b { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .78rem; color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.fquick__b:hover { border-color: var(--ink); color: var(--ink); }
.fquick__b.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ftoggle { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; position: relative; }
.ftoggle input { position: absolute; opacity: 0; pointer-events: none; }
.ftoggle__sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--stone); flex: none; transition: background .2s; }
.ftoggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.ftoggle input:checked + .ftoggle__sw { background: var(--sage); }
.ftoggle input:checked + .ftoggle__sw::after { transform: translateX(16px); }
.ftoggle input:focus-visible + .ftoggle__sw { outline: 2px solid var(--clay); outline-offset: 2px; }
.ftoggle__t { flex: 1; display: grid; }
.ftoggle__t b { font-weight: 500; font-size: .9rem; }
.ftoggle__t small { color: var(--muted); font-size: .76rem; }
.ftoggle em { font-style: normal; color: var(--muted); font-size: .78rem; }
.fpanel__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--linen); border-radius: 0 0 14px 14px; }
.fpanel__clear { background: none; border: 0; font: inherit; font-size: .86rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fpanel-backdrop { position: fixed; inset: 0; background: rgba(42, 37, 32, .42); z-index: 60; }
.fpanel-backdrop[hidden] { display: none; }

/* folha de filtros (telemóvel) */
.fpanel.is-sheet { position: fixed; top: auto; left: 0 !important; right: 0; bottom: 0; width: auto; max-width: none; max-height: 86vh; overflow-y: auto; z-index: 61; border-radius: 20px 20px 0 0; border-width: 1.5px 0 0; box-shadow: 0 -20px 50px -20px rgba(42, 37, 32, .4); animation: fsheet .28s var(--ease); }
@keyframes fsheet { from { transform: translateY(100%); } }
.fpanel.is-sheet .fpanel__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 4px; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.fpanel.is-sheet .fpanel__head h3 { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.fpanel.is-sheet .fsec h4 { display: block; }
.fpanel__x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.fpanel.is-sheet .fpanel__foot { position: sticky; bottom: 0; border-radius: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
body.fpanel-open { overflow: hidden; }
@media (max-width: 760px) {
  .fbtn[data-open="cor"], .fbtn[data-open="preco"], .fbtn[data-open="mais"] { display: none; }
  .fbtn--all { display: inline-flex; }
  .shop-bar { flex-wrap: nowrap; gap: 8px; }
  .shop-bar__tools { flex: 1; flex-wrap: nowrap; gap: 8px; min-width: 0; }
  .shop-bar__tools .search { flex: 1; min-width: 0; width: auto; }
  .shop-bar__tools select { max-width: 120px; }
  .shop-status { margin: 10px 0 18px; }
}

/* ---------- página de cada tecido (/tecido/…) ---------- */
.fb-unit { font-size: .8rem; color: var(--muted); font-family: var(--sans); font-weight: 400; margin-left: 4px; }
.fb-fine { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); line-height: 1.5; }
.fb-label { font-size: .88rem; color: var(--ink-soft); margin-bottom: 10px; }
.fb-label b { color: var(--ink); font-weight: 600; }
.fb-label small { color: var(--muted); }
.fb-colors { margin-top: 22px; }
.fb-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-dot { width: 40px; height: 40px; padding: 3px; border-radius: 50%; border: 1.5px solid transparent; background: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.fb-dot span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.fb-dot:hover { transform: scale(1.06); }
.fb-dot.is-on { border-color: var(--ink); }
.fb-dot:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.fb-uses { margin-top: 20px; }
.fb-uses__list { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-use { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .84rem; font-weight: 500; color: var(--ink); box-shadow: 2px 2px 0 var(--sand); transition: background .2s, color .2s; }
.fb-use:hover { background: var(--ink); color: var(--paper); }
.fb-actions { display: grid; gap: 10px; margin-top: 24px; }
.fb-actions .btn { width: 100%; text-align: center; justify-content: center; }
.fb-swatch { position: relative; background: var(--c); cursor: pointer;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, rgba(0,0,0,.04) 2px 4px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, rgba(0,0,0,.035) 2px 4px); }
.fb-shot { position: relative; }
.fb-shot__name { position: absolute; left: 12px; bottom: 12px; background: rgba(251, 248, 243, .92); color: var(--ink); font-size: .78rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; pointer-events: none; }
.pd-shot.is-color { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.pd-sticky .btn { white-space: nowrap; }

/* tecidos.html: foto e nome levam à página do tecido */
a.fabric-ph { display: block; position: relative; }
.fabric-more { position: absolute; right: 12px; bottom: 12px; background: rgba(251, 248, 243, .94); color: var(--ink); font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.fabric-card:hover .fabric-more, a.fabric-ph:focus-visible .fabric-more { opacity: 1; transform: none; }
@media (hover: none) { .fabric-more { opacity: 1; transform: none; } }
.fabric-card h3 a { color: inherit; }
.fabric-card h3 a:hover { color: var(--clay); }

/* com os filtros abertos, o botão do WhatsApp não tapa o botão "Ver peças" */
body.fpanel-open .wa-float { display: none; }

/* cor da calha ou do varão (orçamento) */
.hw-color { margin-top: 22px; }
.hw-color[hidden] { display: none; }
.hw-color__label { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 10px; }
.hw-color__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.hw-opt { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.hw-opt:hover { border-color: var(--stone); }
.hw-opt input { position: absolute; opacity: 0; pointer-events: none; }
.hw-opt i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.hw-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(164,88,58,.12); }
.hw-opt:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
