/* ==========================================================================
   Pawville — homepage
   1. Tokens          5. Header            9.  Story
   2. Reset / base    6. Hero              10. Trust / Banner
   3. Layout          7. Categorias        11. Footer
   4. Elementos       8. Produtos          12. Overlays (menu, carrinho)
                                           13. Páginas legais
                                           14. Catálogo (listagens e produto)
   ========================================================================== */

/* 0. Fontes (alojadas localmente em /assets/fonts — sem pedidos ao Google, RGPD) -------
   Fraunces (títulos) e Figtree (texto), variáveis, subconjunto latino (inclui ã õ ç é €).
   Licença SIL OFL 1.1 — ver assets/fonts/LICENSE-*.txt */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"),
       url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"),
       url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ivory:        #F6F2EA;
  --sand:         #EEE7DC;
  --warm-white:   #FAF9F6;
  --olive:        #303725;
  --olive-2:      #454C38;
  --olive-deep:   #12150E;
  --brown:        #8A735F;
  --taupe:        #B5A797;
  --ink:          #23231F;
  --muted:        #6D695F;
  --line:         #D9D2C7;

  --text:         #3A332D;   /* texto corrido (parágrafos) */

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  /* Fraunces: SOFT entre 50 e 100, WONK desligado, tamanho ótico automático */
  --heading-axes: "SOFT" 75, "WONK" 0;

  /* Escala dos títulos (mobile → desktop) */
  --fs-display:   clamp(44px, 7vw, 96px);
  --fs-h1:        clamp(36px, 4.6vw, 64px);
  --fs-h2:        clamp(30px, 3.4vw, 48px);
  --fs-h3:        clamp(24px, 2.3vw, 32px);
  --fs-h4:        clamp(20px, 1.7vw, 24px);
  --lh-heading:   1.12;

  --shell-max:    1400px;
  --gutter:       clamp(20px, 4.4vw, 72px);
  --section-y:    clamp(56px, 8.2vw, 124px);

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --header-h:     78px;
}

/* 2. Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis-weight: none;
  font-variation-settings: var(--heading-axes);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* Elementos fechados (atributo hidden) nunca ficam por cima da página, mesmo com display definido */
[hidden] { display: none !important; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-200%);
  background: var(--olive); color: var(--ivory);
  padding: 10px 18px; font-size: 13px; letter-spacing: .04em;
}
.skip-link:focus-visible { transform: none; }

/* 3. Layout -------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--products { padding-top: 0; }

/* Entrada de secção */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* 4. Elementos ----------------------------------------------------------- */
.eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.arrow {
  width: 15px; height: 15px;
  flex: none;
  stroke-width: 1.2;
  transition: transform .4s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 30px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--primary { background: var(--olive); color: var(--ivory); }
.btn--primary:hover { background: var(--olive-2); }
.btn--ghost {
  background: var(--warm-white);
  color: var(--ink);
  border: 1px solid transparent;
}
.btn--ghost:hover { background: var(--ivory); }
.btn--compact { height: 46px; padding-inline: 24px; }
.btn--block { width: 100%; }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity .3s var(--ease);
  white-space: nowrap;
}
.link-arrow:hover { opacity: .58; }
.link-arrow:hover .arrow { transform: translateX(4px); }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.section-heading__group {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 30px);
  flex-wrap: wrap;
}
.section-heading__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}
.section-heading__sub {
  font-size: 14px;
  color: var(--text);
  max-width: 42ch;
}

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
  border-radius: 2px;
}
.media--landscape { aspect-ratio: 5 / 4; }
.media--square { aspect-ratio: 1; background: #fff; }
.media img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px 4px;
  background: rgba(48, 55, 37, .92);
  color: var(--ivory);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
}

.rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.rating__stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.6 6.2 6.7.5-5.1 4.4 1.6 6.6L10 14.2 4.2 17.7l1.6-6.6L.7 6.7l6.7-.5z'/%3E%3C/svg%3E");
  position: relative;
  display: block;
  width: 74px; height: 12px;
  background: var(--line);
  -webkit-mask: var(--star) repeat-x left center / 14.8px 12px;
  mask: var(--star) repeat-x left center / 14.8px 12px;
}
.rating__fill {
  position: absolute; inset: 0;
  width: var(--rating, 100%);
  background: var(--brown);
}
.rating__count { font-size: 12px; color: var(--muted); }

.swatches { display: flex; align-items: center; gap: 7px; }
.swatch {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(35, 35, 31, .12);
}

.field { display: flex; align-items: stretch; gap: 0; }
.field__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding-inline: 16px;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus { outline: none; border-color: var(--olive); background: #fff; }
.field__input:focus-visible { outline: none; }
.field:focus-within { outline: 1px solid var(--olive); outline-offset: 2px; border-radius: 2px; }
.field .btn { border-radius: 0 2px 2px 0; }

/* Informação por preencher (telefone, email, morada…) — fica destacada até ser substituída */
.pending {
  padding: 0 4px;
  background: rgba(214, 170, 76, .26);
  box-shadow: inset 0 -1px 0 rgba(170, 120, 30, .55);
  border-radius: 2px;
  white-space: nowrap;
}

/* Botão bloqueado (ex.: checkout sem aceitação dos termos) */
.btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: var(--olive); }
.btn[aria-disabled="true"]:hover .arrow { transform: none; }

.br-md { display: none; }
@media (min-width: 600px) { .br-md { display: inline; } }

/* 5. Header -------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--olive);
  color: var(--ivory);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  background: rgba(48, 55, 37, .96);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  backdrop-filter: saturate(140%) blur(6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
.header :focus-visible { outline-color: var(--ivory); }
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.header.is-stuck .header__inner { height: 68px; }

.wordmark {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark--footer { font-size: 22px; }

/* Logótipo (imagem) no header e símbolo no rodapé */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { display: block; height: 44px; width: auto; transition: height .3s var(--ease); }
.header.is-stuck .brand__logo { height: 38px; }
.footer__mark { margin: 0 0 18px; }
.footer__mark img { display: block; height: 80px; width: auto; }

.header__burger { display: none; }
.header__burger svg { width: 22px; height: 22px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 27px);
}
.nav__list a {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .86);
  transition: color .3s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__list a:hover { color: var(--ivory); }
.nav__list a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(150px, 15vw, 210px);
  margin-right: 10px;
}
.search__icon {
  position: absolute;
  left: 11px;
  width: 15px; height: 15px;
  color: var(--muted);
  pointer-events: none;
}
.search__field {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 32px;
  background: var(--sand);
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.search__field::placeholder { color: var(--muted); }
.search__field:focus { outline: none; border-color: var(--taupe); background: var(--warm-white); }
.search__field::-webkit-search-cancel-button { display: none; }

.header .search__icon { color: rgba(246, 242, 234, .62); }
.header .search__field {
  background: rgba(246, 242, 234, .09);
  color: var(--ivory);
}
.header .search__field::placeholder { color: rgba(246, 242, 234, .6); }
.header .search__field:focus { border-color: rgba(246, 242, 234, .32); background: rgba(246, 242, 234, .14); }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  color: var(--ink);
  border-radius: 2px;
  transition: opacity .3s var(--ease);
}
.icon-btn:hover { opacity: .58; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--search { display: none; }
.header .icon-btn { color: var(--ivory); }

.cart-count {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 15px; height: 15px;
  padding-inline: 4px;
  display: grid; place-items: center;
  background: var(--olive);
  color: var(--ivory);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1;
  transition: transform .35s var(--ease);
}
.cart-count.is-bumped { transform: scale(1.28); }
.header .cart-count { background: var(--ivory); color: var(--olive); }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 66vh, 700px);
  overflow: hidden;
  background: var(--sand);
}
.hero picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(28, 30, 22, .22) 0%, rgba(28, 30, 22, 0) 46%),
    linear-gradient(100deg, rgba(28, 30, 22, .70) 0%, rgba(28, 30, 22, .52) 30%, rgba(28, 30, 22, .18) 56%, rgba(28, 30, 22, 0) 78%);
}
.hero__content {
  position: relative;
  color: var(--warm-white);
  padding-block: 40px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero__text {
  margin-top: 20px;
  max-width: 46ch;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  color: rgba(250, 249, 246, .9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* 7. Categorias ---------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.25vw, 18px);
}
.category__link { display: block; }
.category__link .media img {
  transition: transform .7s var(--ease);
}
.category__link:hover .media img { transform: scale(1.035); }

.category__name {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity .3s var(--ease);
}
.category__desc {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  text-wrap: pretty;
  color: var(--text);
  transition: opacity .3s var(--ease);
}
.category__link:hover .category__desc { opacity: .6; }

/* 8. Produtos ------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.25vw, 18px);
}
.product { position: relative; display: flex; flex-direction: column; }

.product__media { display: block; }
.product__img { transition: transform .7s var(--ease), opacity .5s var(--ease); }
.product__img--alt { position: absolute; inset: 0; opacity: 0; }
.product:hover .product__img { transform: scale(1.025); }
.product:hover .product__img--alt { opacity: 1; }

.product__figure { position: relative; }

.product__add {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 2;
  height: 42px;
  background: rgba(250, 249, 246, .95);
  color: var(--ink);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s var(--ease);
}
.product:hover .product__add,
.product:focus-within .product__add { opacity: 1; transform: none; }
.product__add:hover { background: var(--warm-white); }

.product__info { padding-top: 15px; }
.product__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}
.product__name a { transition: opacity .3s var(--ease); }
.product__name a:hover { opacity: .6; }
.product__desc {
  margin-top: 3px;
  font-size: 13px;
  color: var(--text);
}
.product__price {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}

/* 9. Story --------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 52fr 48fr;
  background: var(--sand);
}
.story__media { position: relative; min-height: clamp(320px, 38vw, 520px); }
.story__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story__body {
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
}
.story__inner { max-width: 470px; }
.story__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}
.story__text {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  max-width: 44ch;
}
.story__body .btn { margin-top: 34px; }

/* 10. Trust / Banner ---------------------------------------- */
.brandline { background: var(--ivory); padding-block: var(--section-y); }
.brandline__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.brandline__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}
.brandline__text {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.brandline__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.brandline__facts li {
  padding: 6px clamp(20px, 2.6vw, 40px);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h4);
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}
.brandline__facts li + li { border-left: 1px solid var(--line); }

.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 32vw, 460px);
  overflow: hidden;
  background: var(--taupe);
}
.banner__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
}
.banner__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(28, 30, 22, .60) 0%, rgba(28, 30, 22, .36) 36%, rgba(28, 30, 22, .04) 66%, rgba(28, 30, 22, 0) 84%);
}
.banner__content {
  position: relative;
  color: var(--warm-white);
  padding-block: 40px;
}
.banner__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}
.banner__text {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(250, 249, 246, .9);
}
.banner__content .btn { margin-top: 28px; }


/* 11. Footer ------------------------------------------------------------- */
.footer {
  background: var(--olive-deep);
  color: rgba(246, 242, 234, .72);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(52px, 5.5vw, 84px) clamp(36px, 4vw, 56px);
}
.footer .wordmark { color: var(--ivory); }
.footer__contact { margin-top: 18px; font-size: 13px; line-height: 1.7; color: rgba(246, 242, 234, .72); }
.footer__contact a { color: var(--ivory); text-decoration: underline; text-decoration-color: rgba(246, 242, 234, .35); text-underline-offset: 4px; }
.footer__contact a:hover { text-decoration-color: var(--ivory); }
.co-footer p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.footer__tagline {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.7;
}
.social { display: flex; gap: 16px; margin-top: 28px; }
.social a {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  color: rgba(246, 242, 234, .72);
  transition: color .3s var(--ease);
}
.social a:hover { color: var(--ivory); }
.social svg { width: 18px; height: 18px; stroke-width: 1.2; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.footer__heading {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer__heading button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: default;
}
.footer__chev { display: none; width: 16px; height: 16px; }
.footer__links { margin-top: 20px; display: grid; gap: 11px; }
.footer__links a {
  font-size: 13.5px;
  transition: color .3s var(--ease);
}
.footer__links a:hover { color: var(--ivory); }

.footer__statement {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  line-height: 1.35;
  color: var(--ivory);
  text-align: right;
  align-self: start;
  max-width: 17ch;
  justify-self: end;
  text-wrap: balance;
}

.footer__compliance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 22px;
  border-top: 1px solid rgba(246, 242, 234, .13);
  font-size: 12px;
}
.footer__entity { line-height: 1.6; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payments li {
  padding: 5px 10px 4px;
  border: 1px solid rgba(246, 242, 234, .22);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ivory);
}
.complaints-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 6px;
  background: var(--ivory);
  color: var(--olive-deep);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: opacity .3s var(--ease);
}
.complaints-book:hover { opacity: .84; }
.complaints-book svg { width: 12px; height: 12px; stroke-width: 1.6; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(246, 242, 234, .13);
  font-size: 11px;
  letter-spacing: .06em;
}
.footer__legal { display: flex; gap: 26px; }
.footer__legal a { transition: color .3s var(--ease); }
.footer__legal a:hover { color: var(--ivory); }
.footer__origin { letter-spacing: .13em; text-transform: uppercase; font-size: 10px; }

/* 12. Overlays ----------------------------------------------------------- */
.overlay {
  position: fixed; inset: 0;
  z-index: 90;
  background: rgba(35, 35, 31, .38);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.overlay.is-open { opacity: 1; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  width: min(88vw, 400px);
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: 24px 16px;
}
.mobile-menu__search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 4px 24px 8px;
}
.mobile-menu__search .search__field { height: 44px; padding-left: 38px; font-size: 14px; }
.mobile-menu__search .search__icon { left: 13px; width: 17px; height: 17px; }
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 16px 24px; }
.mobile-menu__nav ul { display: grid; }
.mobile-menu__nav a {
  display: block;
  padding-block: 13px;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  transition: opacity .3s var(--ease);
}
.mobile-menu__nav a:hover { opacity: .6; }
.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(92vw, 450px);
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.cart.is-open { transform: none; }
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 18px 22px 28px;
  border-bottom: 1px solid var(--line);
}
.cart__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
}
.cart__body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart__empty { padding-block: 32px; font-size: 14px; color: var(--text); }
.cart__list { display: grid; }
.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.cart-item__media { width: 74px; aspect-ratio: 1; overflow: hidden; background: var(--sand); border-radius: 2px; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: 14px; font-weight: 500; }
.cart-item__variant { margin-top: 3px; font-size: 12px; color: var(--muted); }
.cart-item__qty { margin-top: 10px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
.cart-item__qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 13px; color: var(--muted); transition: color .3s var(--ease); }
.cart-item__qty button:hover { color: var(--ink); }
.cart-item__qty span { min-width: 22px; text-align: center; font-size: 12.5px; }
.cart-item__price { font-size: 13.5px; font-weight: 500; }
.cart__foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.cart__row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.cart__note { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.cart__foot .btn { margin-top: 16px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent__input {
  flex: none;
  width: 16px; height: 16px;
  margin: 1px 0 0;
  accent-color: var(--olive);
  cursor: pointer;
}
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  z-index: 120;
  transform: translate(-50%, 14px);
  padding: 13px 22px;
  background: var(--olive);
  color: var(--ivory);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .06em;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* 13. Páginas legais ----------------------------------------------------- */
.legal { padding-block: clamp(36px, 5vw, 72px) var(--section-y); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; font-size: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--taupe); }
.breadcrumbs a { transition: color .3s var(--ease); }
.breadcrumbs a:hover { color: var(--ink); }

.legal__head { margin-top: clamp(28px, 4vw, 48px); max-width: 760px; }
.legal__title {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: 0;
}
.legal__meta { margin-top: 16px; font-size: 13px; color: var(--muted); }

.legal__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.legal__aside { position: relative; }
.legal__nav { position: sticky; top: calc(var(--header-h) + 28px); }
.legal__nav-title {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__nav ul { display: grid; gap: 2px; margin-top: 14px; }
.legal__nav a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.legal__nav a:hover { color: var(--ink); }
.legal__nav a[aria-current="page"] { color: var(--ink); border-left-color: var(--olive); }

.prose { max-width: 65ch; font-size: 16px; line-height: 1.7; color: var(--text); }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 52px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 15.5px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--taupe); }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--taupe); transition: text-decoration-color .3s var(--ease); }
.prose a:not(.btn):hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 500; }
.prose small, .prose .note { font-size: 13px; color: var(--muted); }

.prose .lead { font-size: 17px; line-height: 1.7; color: var(--text); }

.notice {
  padding: 20px 24px;
  background: var(--sand);
  border-radius: 2px;
}
.notice > * + * { margin-top: 10px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; }

.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.form-model {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 14.5px;
}
.form-model > * + * { margin-top: 12px; }
.form-model .blank { display: inline-block; min-width: 180px; border-bottom: 1px solid var(--taupe); }

.entity-list { list-style: none !important; padding: 0 !important; display: grid; gap: 0; }
.entity-list li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.entity-list li:first-child { border-top: 1px solid var(--line); }
.entity-list span { color: var(--text); font-size: 14px; }

@media (max-width: 899px) {
  .legal__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal__aside, .legal__nav { min-width: 0; }
  .legal__nav { position: static; }
  .legal__nav ul {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .legal__nav ul::-webkit-scrollbar { display: none; }
  .legal__nav a {
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
  }
  .legal__nav a[aria-current="page"] { border-color: var(--olive); background: var(--olive); color: var(--ivory); }
}
@media (max-width: 767px) {
  .prose { font-size: 15px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd + dt { margin-top: 12px; }
  .entity-list li { flex-direction: column; gap: 2px; }
  .footer__compliance { flex-direction: column; align-items: flex-start; }
}

/* 14. Catálogo ------------------------------------------------------------ */
a.product__add { display: flex; align-items: center; justify-content: center; }

.plp { padding-block: clamp(28px, 4vw, 56px) var(--section-y); }
.plp__head { margin-top: clamp(24px, 3vw, 40px); max-width: 720px; }
.plp__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: 0;
}
.plp__intro { margin-top: 14px; font-size: 15px; color: var(--text); max-width: 52ch; }
.plp__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(28px, 3vw, 40px);
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.plp__count { flex: none; font-size: 12.5px; color: var(--muted); }

.chips { min-width: 0; }
.chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12.5px;
  white-space: nowrap;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { border-color: var(--taupe); }
.chip[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.chip__count { font-size: 11px; opacity: .6; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 3.5vw, 52px) clamp(12px, 1.25vw, 18px);
  margin-top: clamp(28px, 3vw, 40px);
}
.catalog-grid--row { margin-top: 0; }
.catalog-grid .product__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pagination { margin-top: clamp(48px, 5vw, 72px); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination__link {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  transition: border-color .3s var(--ease);
}
.pagination__link:hover { border-color: var(--taupe); }
.pagination__link[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: var(--ivory); }

/* Página de produto */
.pdp { padding-top: clamp(24px, 3vw, 40px); }
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 88px);
  margin-top: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { grid-column: 2; grid-row: 1; border-radius: 2px; }
.gallery__main img { object-fit: contain; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.gallery__thumb {
  display: block;
  width: 72px;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  opacity: .62;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--olive); }
.gallery:not(:has(.gallery__thumbs)) { grid-template-columns: minmax(0, 1fr); }
.gallery:not(:has(.gallery__thumbs)) .gallery__main { grid-column: 1; }

.pdp__info { padding-top: 4px; }
.pdp__title {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
  text-wrap: balance;
}
.pdp__summary { margin-top: 12px; font-size: 15px; color: var(--text); }
.pdp__price { margin-top: 22px; font-size: 22px; font-weight: 500; }
.pdp__tax { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }

.option { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.option__legend { padding: 0; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.option__legend span { margin-left: 4px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 13px; }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.option__chip { position: relative; cursor: pointer; }
.option__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__chip span {
  display: inline-block;
  padding: 9px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  background: var(--warm-white);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.option__chip:hover span { border-color: var(--taupe); }
.option__chip input:checked + span { border-color: var(--olive); background: var(--olive); color: var(--ivory); }
.option__chip input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.option__chip.is-unavailable span { color: var(--taupe); text-decoration: line-through; text-decoration-thickness: 1px; }
.option__select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 14px;
}

.pdp__add { margin-top: 30px; height: 54px; }
.pdp__add:disabled { opacity: .45; cursor: not-allowed; }
.pdp__perks { display: grid; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--text); }
.pdp__perks li { padding-left: 18px; position: relative; }
.pdp__perks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--taupe); }
.pdp__perks a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pdp__details { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pdp__details h2 { font-size: 24px; }
.pdp__related { padding-top: clamp(48px, 6vw, 96px); }

/* ── Responsivo ─────────────────────────────────────────────────────────── */

/* Tablet largo */
@media (max-width: 1199px) {
  :root { --header-h: 74px; }
  .nav { display: none; }
  .header__burger { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -8px; }
  .header__inner { gap: 12px; }
  .wordmark { font-size: 19px; }
  .search { width: clamp(150px, 22vw, 210px); }

  .category-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid > :nth-child(n + 4) { display: none; }

  .brandline__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .brandline__facts { justify-self: start; grid-template-columns: repeat(2, auto); }
  .brandline__facts li:first-child { padding-left: 0; }

  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .footer__statement { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
}

/* Tablet / stack */
@media (max-width: 899px) {
  .story { grid-template-columns: 1fr; }
  .story__media { min-height: clamp(280px, 52vw, 420px); }
  .story__body { padding-block: clamp(40px, 7vw, 64px); }

}

/* Mobile */
@media (max-width: 767px) {
  :root { --header-h: 64px; --section-y: clamp(52px, 12vw, 72px); }

  .search { display: none; }
  .icon-btn--search { display: grid; }
  .header.is-stuck .header__inner { height: 58px; }
  .wordmark { font-size: 17px; letter-spacing: .16em; }

  .hero { min-height: clamp(520px, 78vh, 640px); align-items: flex-end; }
  .hero__image { object-position: 50% 50%; }
  .banner__image { object-position: 46% 50%; }
  .hero__scrim {
    background: linear-gradient(to top, rgba(28, 30, 22, .74) 0%, rgba(28, 30, 22, .48) 36%, rgba(28, 30, 22, .10) 68%, rgba(28, 30, 22, 0) 100%);
  }
  .hero__content { padding-block: 44px; }
  .hero__title { font-size: clamp(36px, 10vw, 46px); }
  .hero__text { margin-top: 16px; font-size: 14.5px; }
  .hero__actions { margin-top: 26px; gap: 10px; flex-direction: column; align-items: stretch; max-width: 300px; }
  .btn { height: 48px; padding-inline: 24px; font-size: 11px; }

  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-heading__group { gap: 8px; }
  .section-heading__sub { font-size: 13.5px; }

  /* Categorias — scroll horizontal editorial */
  .category-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category { flex: 0 0 62%; scroll-snap-align: start; }

  /* Produtos — carrossel com produto parcialmente visível */
  .product-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid > :nth-child(n + 4) { display: flex; }
  .product { flex: 0 0 68%; scroll-snap-align: start; }


  .banner { min-height: clamp(380px, 70vw, 460px); align-items: flex-end; }
  .banner__scrim {
    background: linear-gradient(to top, rgba(28, 30, 22, .72) 0%, rgba(28, 30, 22, .42) 40%, rgba(28, 30, 22, .06) 74%, rgba(28, 30, 22, 0) 100%);
  }
  .banner__content { padding-block: 40px; }

  .field { flex-direction: column; gap: 10px; }
  .field__input { border-right: 1px solid var(--line); border-radius: 2px; height: 50px; }
  .field .btn { border-radius: 2px; width: 100%; height: 50px; }
  .field:focus-within { outline: none; }

  /* Footer em acordeão */
  .footer__top { grid-template-columns: 1fr; gap: 0; padding-bottom: 8px; }
  .footer__nav { grid-template-columns: 1fr; gap: 0; margin-top: 34px; }
  .footer__col { border-top: 1px solid rgba(246, 242, 234, .13); }
  .footer__heading button { padding-block: 17px; cursor: pointer; }
  .footer__chev { display: block; transition: transform .35s var(--ease); }
  .footer__col.is-open .footer__chev { transform: rotate(180deg); }
  .footer__links {
    margin-top: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s var(--ease), padding-bottom .4s var(--ease);
    padding-bottom: 0;
  }
  .footer__col.is-open .footer__links { max-height: 340px; padding-bottom: 20px; }
  .footer__statement { margin-top: 36px; font-size: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__legal { gap: 20px; flex-wrap: wrap; }
}

/* Touch: mostrar sempre o CTA do produto */
@media (hover: none) {
  .product__figure { display: contents; }
  .product__add {
    position: static;
    opacity: 1;
    transform: none;
    order: 3;
    height: auto;
    margin-top: 14px;
    padding: 0;
    background: none;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    color: var(--muted);
  }
  .product__info { order: 2; }
  .product__img--alt { display: none; }
}

/* Ecrãs muito largos */
@media (min-width: 1700px) {
  .hero__content, .banner__content { padding-inline: max(var(--gutter), calc((100vw - var(--shell-max)) / 2 + var(--gutter))); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Responsivo do catálogo (depois das regras base da secção 14) ─────────── */
@media (max-width: 1199px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid--row > :nth-child(n + 4) { display: none; }
}
@media (max-width: 899px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; display: flex; overflow-x: auto; scrollbar-width: none; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery__thumb { flex: none; width: 64px; }
  .plp__bar { flex-direction: column; align-items: flex-start; }
  .chips { width: 100%; }
  .chips ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips ul::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .catalog-grid--row > :nth-child(n + 3) { display: none; }
  .catalog-grid .product__name { font-size: 13.5px; }
  .catalog-grid .product__desc { font-size: 12.5px; }
  .pdp__add { height: 52px; }
}

/* Logótipo — tamanhos menores */
@media (max-width: 1199px) { .brand__logo { height: 40px; } }
@media (max-width: 767px) {
  .brand__logo, .header.is-stuck .brand__logo { height: 32px; }
  .footer__mark img { height: 64px; }
}

/* 15. Checkout ----------------------------------------------------------- */
.co-page { background: var(--ivory); min-height: 100vh; display: flex; flex-direction: column; }
.co-page [hidden] { display: none !important; }
.co-page main { flex: 1; }

.co-header { background: var(--olive); color: var(--ivory); }
.co-header__inner {
  max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter);
  height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.co-header__back, .co-header__secure {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 242, 234, .78);
}
.co-header__back { justify-self: start; transition: color .3s var(--ease); }
.co-header__back:hover { color: var(--ivory); }
.co-header__back svg { width: 16px; height: 16px; }
.co-header__brand img { height: 38px; width: auto; }
.co-header__secure { justify-self: end; }
.co-header__secure svg { width: 15px; height: 15px; }

.co { width: 100%; max-width: 1180px; margin-inline: auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px); }

.co__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "form summary";
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.co-form { grid-area: form; min-width: 0; }
.co-summary { grid-area: summary; position: sticky; top: 32px; }

/* Passos */
.co-step + .co-step { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.co-step__title {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px;
  font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: 0;
}
.co-step__n { font-family: var(--font-body); font-size: 11px; letter-spacing: .14em; color: var(--muted); transform: translateY(-4px); }
.co-step__lead { display: flex; align-items: center; gap: 8px; margin: -8px 0 18px; font-size: 13px; color: var(--text); }
.co-step__lead svg { width: 14px; height: 14px; flex: none; }

/* Campos com etiqueta flutuante */
.co-input { position: relative; margin-bottom: 12px; }
.co-input__control {
  width: 100%; height: 56px; padding: 22px 16px 8px;
  background: var(--warm-white); border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.co-input__control:hover { border-color: var(--taupe); }
.co-input__control:focus { outline: none; border-color: var(--olive); background: #fff; box-shadow: 0 0 0 1px var(--olive); }
.co-input__label {
  position: absolute; left: 17px; top: 18px;
  font-size: 15px; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .2s var(--ease), color .2s var(--ease);
}
.co-input__opt { color: var(--taupe); }
.co-input__control:focus + .co-input__label,
.co-input__control:not(:placeholder-shown) + .co-input__label,
.co-input--select .co-input__label { transform: translateY(-10px) scale(.76); }
.co-input--select::after {
  content: ""; position: absolute; right: 18px; top: 25px; width: 7px; height: 7px;
  border-right: 1.3px solid var(--muted); border-bottom: 1.3px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.co-input--select .co-input__control { padding-right: 44px; cursor: pointer; }
.co-input__hint, .co-input__error { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; }
.co-input__hint { color: var(--muted); }
.co-input__error:empty { display: none; }
.co-input__error { color: #9B3B2E; }
.co-input.is-invalid .co-input__control { border-color: #9B3B2E; box-shadow: 0 0 0 1px #9B3B2E; }
.co-input.is-invalid .co-input__hint { display: none; }

.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row--postal { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

.co-check {
  display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 12px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink); cursor: pointer;
}
.co-check__input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--olive); cursor: pointer; }
.co-check a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.co-check.is-invalid { color: #9B3B2E; }
.co-reveal { margin-top: 4px; }

/* Opções (envio e pagamento) */
.co-pay { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.co-option {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 16px 18px;
  background: var(--warm-white); border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.co-option:hover { border-color: var(--taupe); }
.co-option.is-selected, .co-option.is-static { border-color: var(--olive); background: #fff; box-shadow: 0 0 0 1px var(--olive); }
.co-option.is-static { cursor: default; }
.co-option__input { position: absolute; opacity: 0; pointer-events: none; }
.co-option__radio {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--taupe); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.co-option.is-selected .co-option__radio, .co-option.is-static .co-option__radio { border-color: var(--olive); box-shadow: inset 0 0 0 5px var(--olive); }
.co-option__input:focus-visible ~ .co-option__radio { outline: 2px solid var(--olive); outline-offset: 3px; }
.co-option__body { display: grid; gap: 2px; min-width: 0; }
.co-option__name { font-size: 14.5px; font-weight: 500; }
.co-option__meta { font-size: 12.5px; color: var(--text); line-height: 1.45; }
.co-option__price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.co-badges { display: flex; gap: 6px; }
.co-badge {
  display: inline-flex; align-items: center; height: 24px; padding-inline: 8px;
  border: 1px solid var(--line); border-radius: 2px; background: #fff;
  font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--ink); white-space: nowrap;
}
.co-reveal--pay { padding: 2px 0 6px; }

/* Concluir */
.co-place { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.co-place__btn { height: 60px; margin-top: 18px; font-size: 12.5px; }
.co-place__btn.is-busy { opacity: .72; cursor: progress; }
.co-place__note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.co-place__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.co-alert {
  margin-bottom: 28px; padding: 16px 18px;
  background: #F7ECE8; border: 1px solid #E3C4BA; border-radius: 2px;
  font-size: 13.5px; line-height: 1.55; color: #6E2A1F;
}

/* Resumo */
.co-summary__body { background: var(--sand); padding: clamp(24px, 3vw, 36px); border-radius: 2px; }
.co-summary__title { font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-h4); line-height: var(--lh-heading); margin-bottom: 22px; }
.co-lines { display: grid; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.co-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.co-line__media { position: relative; width: 64px; aspect-ratio: 1; border-radius: 2px; background: var(--warm-white); }
.co-line__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.co-line__qty {
  position: absolute; top: -8px; right: -8px; min-width: 21px; height: 21px; padding-inline: 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--olive); color: var(--ivory); font-size: 11px; font-weight: 500;
}
.co-line__info { display: grid; gap: 2px; min-width: 0; }
.co-line__name { font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.co-line__variant { font-size: 12px; color: var(--muted); }
.co-line__price { font-size: 13.5px; white-space: nowrap; }

.co-totals { margin: 18px 0 0; display: grid; gap: 10px; }
.co-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; }
.co-totals dt { color: var(--muted); }
.co-totals dd { margin: 0; }
.co-totals__grand { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.co-totals__grand dt { color: var(--ink); font-size: 15px; font-weight: 500; }
.co-totals__grand dd { font-family: var(--font-heading); font-size: 30px; line-height: 1; }
.co-totals__cur { font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; color: var(--muted); vertical-align: middle; }
.co-totals__vat { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }
.co-summary__free { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--olive); }

.co-toggle { display: none; }

/* Vazio e concluído */
.co-empty, .co-done { max-width: 560px; margin: clamp(24px, 6vw, 72px) auto; text-align: center; }
.co-empty__title, .co-done__title {
  font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: 0;
}
.co-done__title { margin-top: 12px; }
.co-done:focus { outline: none; }
.co-empty__text, .co-done__text { margin: 16px auto 30px; max-width: 46ch; font-size: 15px; color: var(--text); }
.co-done__demo {
  margin: -12px auto 28px; padding: 10px 14px; display: inline-block;
  background: rgba(214, 170, 76, .2); border-radius: 2px; font-size: 12.5px; color: var(--ink);
}

.co-footer {
  border-top: 1px solid var(--line);
  padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px;
  font-size: 12px; color: var(--muted);
}
.co-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.co-footer a:hover { color: var(--ink); }

/* Checkout — tablet e telemóvel */
@media (max-width: 959px) {
  .co { padding-top: 0; }
  .co__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "form"; gap: 32px; }
  .co-summary { position: static; margin-inline: calc(var(--gutter) * -1); }
  .co-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px var(--gutter); background: var(--sand); border-bottom: 1px solid var(--line);
    font-size: 13.5px; color: var(--olive); text-align: left;
  }
  .co-toggle__label { display: inline-flex; align-items: center; gap: 10px; }
  .co-toggle__bag { width: 18px; height: 18px; }
  .co-toggle__chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
  .co-toggle[aria-expanded="true"] .co-toggle__chev { transform: rotate(180deg); }
  .co-toggle__total { font-family: var(--font-heading); font-size: 22px; color: var(--ink); }
  .co-summary__body { display: none; border-radius: 0; padding: 24px var(--gutter) 28px; border-bottom: 1px solid var(--line); }
  .co-summary__body.is-open { display: block; }
  .co-summary__title { display: none; }
}
@media (max-width: 599px) {
  .co-header__inner { height: 60px; grid-template-columns: auto 1fr auto; }
  .co-header__back span, .co-header__secure span { display: none; }
  .co-header__brand { justify-self: center; }
  .co-header__brand img { height: 30px; }
  .co-step + .co-step { margin-top: 36px; padding-top: 32px; }
  .co-option { grid-template-columns: auto minmax(0, 1fr); }
  .co-option > .co-badge, .co-option > .co-badges, .co-option > .co-option__price { grid-column: 2; justify-self: start; }
  .co-input__control { font-size: 16px; }   /* evita o zoom automático no iPhone */
}

/* 16. Página da marca (/a-nossa-historia/) ------------------------------- */
.about { overflow: hidden; }

.about-hero { padding-top: clamp(64px, 10vw, 150px); padding-bottom: clamp(40px, 5vw, 72px); text-align: center; }
.about-hero__title {
  margin-top: 18px;
  font-family: var(--font-heading); font-weight: 400;
  font-size: var(--fs-display); line-height: 1.1; letter-spacing: 0;
}
.about-hero__lead {
  margin: clamp(20px, 2.4vw, 32px) auto 0; max-width: 24ch;
  font-family: var(--font-heading); font-style: italic;
  font-size: var(--fs-h3); line-height: 1.3; color: var(--olive-2);
}
.about-hero__media { margin-bottom: 0; }
.about-hero__media img { width: 100%; aspect-ratio: 7 / 3; object-fit: cover; object-position: 50% 72%; border-radius: 2px; }

.about-chapter {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px); align-items: start;
  padding-block: clamp(72px, 10vw, 150px);
}
.about-chapter--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.about-chapter--reverse .about-chapter__media { order: 2; }
.about-chapter__media { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.about-chapter__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about-chapter__body { max-width: 560px; }
.about-chapter__body .eyebrow + .about-chapter__title { margin-top: 18px; }
.about-chapter__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: 0;
}
.about-prose { margin-top: clamp(28px, 3vw, 40px); }
.about-prose p { max-width: 65ch; font-size: 17px; line-height: 1.7; color: var(--text); }
.about-prose p + p { margin-top: 1.15em; }
.about-prose .about-prose__accent {
  max-width: 22ch; margin: 2.2em auto; text-align: center;
  font-family: var(--font-heading); font-style: italic; font-weight: 400;
  font-size: var(--fs-h3); line-height: 1.25; color: var(--olive);
}
.about-prose .about-prose__accent::before {
  content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 16px;
  background: var(--brown); opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='5.3' cy='10' rx='2' ry='2.5'/%3E%3Cellipse cx='9.3' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='14.7' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='18.7' cy='10' rx='2' ry='2.5'/%3E%3Cpath d='M12 11.2c-3 0-6.4 4.2-6.4 7 0 1.9 1.6 2.6 3.2 2.3 1.2-.2 2.1-.8 3.2-.8s2 .6 3.2.8c1.6.3 3.2-.4 3.2-2.3 0-2.8-3.4-7-6.4-7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='5.3' cy='10' rx='2' ry='2.5'/%3E%3Cellipse cx='9.3' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='14.7' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='18.7' cy='10' rx='2' ry='2.5'/%3E%3Cpath d='M12 11.2c-3 0-6.4 4.2-6.4 7 0 1.9 1.6 2.6 3.2 2.3 1.2-.2 2.1-.8 3.2-.8s2 .6 3.2.8c1.6.3 3.2-.4 3.2-2.3 0-2.8-3.4-7-6.4-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-details { background: var(--sand); padding-block: clamp(72px, 9vw, 140px); }
.about-details__title {
  max-width: 20ch; margin-inline: auto; text-align: center;
  font-family: var(--font-heading); font-weight: 400;
  font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: 0;
}
.about-details__grid {
  max-width: 1040px; margin: clamp(48px, 6vw, 88px) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.about-detail { margin: 0; }
.about-detail__media { display: block; overflow: hidden; border-radius: 2px; background: var(--warm-white); }
.about-detail__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-detail__media:hover img { transform: scale(1.03); }
.about-detail figcaption { margin-top: 18px; }
.about-detail__text {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; color: var(--ink);
}
.about-detail__link {
  display: inline-block; margin-top: 8px;
  font-size: 12px; color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .3s var(--ease);
}
.about-detail__link:hover { color: var(--ink); }
.about-details__close {
  margin: clamp(64px, 8vw, 120px) auto 0; max-width: 22ch; text-align: center;
  font-family: var(--font-heading); font-size: var(--fs-h3); line-height: 1.3; color: var(--olive-2);
}

.about-close { background: var(--olive); color: var(--ivory); padding-block: clamp(80px, 11vw, 168px); text-align: center; }
.about-close__inner { max-width: 1000px; }
.about-close__pre { max-width: 58ch; margin-inline: auto; font-size: 16px; line-height: 1.8; color: rgba(246, 242, 234, .74); }
.about-close__eyebrow { margin-top: clamp(40px, 5vw, 64px); color: rgba(246, 242, 234, .62); }
.about-close__statement {
  margin: 18px auto 0; max-width: 20ch;
  font-family: var(--font-heading); font-weight: 400;
  font-size: var(--fs-h1); line-height: 1.12; letter-spacing: 0;
}
.about-close__actions {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px;
}
.btn--light { background: var(--ivory); color: var(--olive); }
.btn--light:hover { background: var(--warm-white); }
.about-close__link { color: var(--ivory); }

@media (max-width: 899px) {
  .about-chapter, .about-chapter--reverse { grid-template-columns: minmax(0, 1fr); }
  .about-chapter--reverse .about-chapter__media { order: 0; }
  .about-chapter__media { position: static; }
  .about-chapter__media img { aspect-ratio: 4 / 3; }
  .about-chapter__body { max-width: none; }
  .about-details__grid { max-width: 620px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 599px) {
  .about-hero__media { padding-inline: 0; }
  .about-hero__media img { aspect-ratio: 4 / 3; border-radius: 0; }
  .about-details__grid { column-gap: 16px; row-gap: 36px; }
  .about-detail__text { font-size: 17px; }
  .about-prose p { font-size: 16px; }
}

/* 17. Pesquisa (/pesquisa/) ------------------------------------------------ */
.search-page__form { display: flex; gap: 10px; max-width: 560px; margin-top: 24px; }
.search-page__field {
  flex: 1; min-width: 0; height: 52px; padding-inline: 18px;
  background: var(--warm-white); border: 1px solid var(--line); border-radius: 2px;
  font-size: 16px; color: var(--ink);
}
.search-page__field:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); background: #fff; }
.search-page__form .btn { height: 52px; }
.search-page .plp__count { margin: 28px 0 22px; }
.search-page__empty { max-width: 60ch; padding-block: 12px 40px; font-size: 16px; color: var(--text); }
.search-page__cats { margin-top: 14px; }
.search-page__cats a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
@media (max-width: 599px) {
  .search-page__form { flex-direction: column; }
  .search-page__field { flex: none; width: 100%; }
  .search-page__form .btn { width: 100%; }
}

/* 18. Janela "Adicionado ao carrinho" --------------------------------------- */
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }

.added {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.added.is-open { opacity: 1; }
.added__panel {
  width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--ivory); border-radius: 2px;
  box-shadow: 0 24px 60px rgba(18, 21, 14, .22);
  transform: translateY(12px) scale(.985); transition: transform .4s var(--ease);
}
.added.is-open .added__panel { transform: none; }

.added__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 0 28px;
}
.added__title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-h4); line-height: 1.2;
}
.added__title svg { width: 20px; height: 20px; color: var(--olive); stroke-width: 1.8; }

.added__item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  margin: 20px 28px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.added__media { width: 80px; aspect-ratio: 1; border-radius: 2px; overflow: hidden; background: var(--warm-white); }
.added__media img { width: 100%; height: 100%; object-fit: cover; }
.added__name { font-size: 15px; font-weight: 500; line-height: 1.4; }
.added__variant { margin-top: 3px; font-size: 13px; color: var(--muted); }
.added__price { font-size: 15px; white-space: nowrap; }

.added__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 28px 28px; }
.added__actions .btn { width: 100%; }

.added__suggest { background: var(--sand); padding: 26px 28px 30px; }
.added__suggest-title {
  font-family: var(--font-heading); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2;
  text-align: center; margin-bottom: 20px;
}
.added__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.added__card { display: grid; gap: 8px; }
.added__card-media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--warm-white); }
.added__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.added__card:hover .added__card-media img { transform: scale(1.04); }
.added__card-name {
  font-size: 13px; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.added__card-price { font-size: 13px; color: var(--text); }

@media (max-width: 599px) {
  .added { padding: 12px; align-items: end; }
  .added__panel { max-height: calc(100vh - 24px); }
  .added__head { padding: 16px 12px 0 20px; }
  .added__item { margin: 16px 20px 0; grid-template-columns: 64px minmax(0, 1fr); }
  .added__media { width: 64px; }
  .added__price { grid-column: 2; }
  .added__actions { grid-template-columns: 1fr; padding: 16px 20px 20px; }
  .added__actions .btn--primary { order: -1; }
  .added__suggest { padding: 22px 20px 24px; }
  .added__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .added, .added__panel { transition: none; }
}

/* Marca (brandline) — empilha nos mesmos pontos de quebra da homepage */
@media (max-width: 767px) {
  .brandline__facts { grid-template-columns: minmax(0, 1fr); justify-self: stretch; }
  .brandline__facts li { white-space: normal; }
  .brandline__facts li { padding: 18px 0; }
  .brandline__facts li:first-child { padding-top: 0; }
  .brandline__facts li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Armadilha para bots no checkout (fora do ecrã, sem display:none para os bots a verem) */
.co-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
