/* Kuki Atelier · loja
   Ideia: um caderno de costura. Fotografias em polaroide com fita-cola, costuras tracejadas,
   cores tiradas dos tecidos dela (rosa xadrez, sálvia, azul-céu, mostarda da musselina)
   e letra de pincel, a mesma família do logótipo. */

:root {
  --paper: #FFF4CC;   /* amarelo pastel do fundo */
  --panel: #FFFFFF;
  --ink: #232323;
  --ink-soft: #5F5E59;
  --wash: #F1E3AE;
  --blush: #F7DAD6;  --blush-deep: #E4A3A9;
  --sage: #DEE9D5;   --sage-deep: #93AE84;
  --sky: #D8E6F2;    --sky-deep: #7DA1C6;
  --mustard: #F2D27A; --mustard-deep: #D9A13A;
  --lilac: #E6DDF2;
  --seam: #A8987A;
  --font-hand: "Caveat Brush", "Segoe Print", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: .5rem 1rem; z-index: 50; }

h1, h2, h3 { margin: 0 0 .4em; line-height: 1.05; }
h1, h2 { font-family: var(--font-hand); font-weight: 400; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: 800 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--blush { background: var(--blush); color: var(--ink); }
.btn--sage { background: var(--sage); color: var(--ink); }
.btn--sky { background: var(--sky); color: var(--ink); }
.btn--lilac { background: var(--lilac); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--big { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* Aviso e cabeçalho */
.notice { background: var(--ink); color: #fff; text-align: center; font-weight: 700; font-size: .95rem; padding: .6rem 1rem; }
.notice a { color: #fff; }
.notice-heart { color: var(--blush-deep); margin-right: .35rem; }

.site-header { padding: .6rem 0; border-bottom: 2px dashed var(--wash); background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: block; text-decoration: none; }
.logo img { height: 92px; width: auto; margin: -6px 0; }
.logo-word { font: 400 2.8rem/1 var(--font-hand); }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.nav-pill { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.nav-pill--blush, .chips-nav a.chip--blush, .tint--blush { background: var(--blush); }
.nav-pill--sage, .chips-nav a.chip--sage, .tint--sage { background: var(--sage); }
.nav-pill--sky, .chips-nav a.chip--sky, .tint--sky { background: var(--sky); }
.nav-pill--lilac, .chips-nav a.chip--lilac, .tint--lilac { background: var(--lilac); }
.nav-pill:hover { border-color: var(--ink); }
.nav-pill[aria-current] { background: var(--ink); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 1rem; }
.icon-link, .cart-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-decoration: none; }

/* Hero com colagem de polaroides */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.collage { position: relative; height: clamp(380px, 46vw, 560px); }
.polaroid {
  --r: 0deg;
  position: absolute; display: block; background: #fff; padding: 10px 10px 0; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(60, 50, 40, .12), 0 10px 24px -8px rgba(60, 50, 40, .25);
  transform: rotate(var(--r)); text-decoration: none; transition: transform .25s ease;
  animation: drop .7s cubic-bezier(.2, .9, .3, 1.2) both;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.polaroid span { display: block; font: 400 1.25rem/1 var(--font-hand); text-align: center; padding: .55rem .3rem .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px;
  transform: translateX(-50%) rotate(-4deg); background: rgba(255, 255, 255, .72); z-index: 2; box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 10; }
.polaroid--1 { --r: -6deg; left: 2%;  top: 4%;  width: 40%; z-index: 2; animation-delay: .05s; }
.polaroid--2 { --r: 5deg;  left: 46%; top: 0;   width: 36%; z-index: 1; animation-delay: .15s; }
.polaroid--3 { --r: 2deg;  left: 26%; top: 38%; width: 38%; z-index: 4; animation-delay: .25s; }
.polaroid--4 { --r: -4deg; left: 64%; top: 40%; width: 33%; z-index: 3; animation-delay: .35s; }
.polaroid--5 { --r: 8deg;  left: 0;   top: 56%; width: 28%; z-index: 3; animation-delay: .45s; }
.polaroid--2::before { transform: translateX(-50%) rotate(5deg); }
.polaroid--3::before { transform: translateX(-50%) rotate(-2deg); }
/* Colagem de 3 */
.collage--3 .polaroid--1 { --r: -5deg; left: 2%;  top: 8%;  width: 44%; z-index: 2; }
.collage--3 .polaroid--2 { --r: 4deg;  left: 52%; top: 0;   width: 42%; z-index: 1; }
.collage--3 .polaroid--3 { --r: -1.5deg; left: 28%; top: 42%; width: 42%; z-index: 3; }
@keyframes drop {
  from { opacity: 0; transform: translateY(-30px) rotate(calc(var(--r) * 2.5)); }
  to   { opacity: 1; transform: rotate(var(--r)); }
}

/* "amor" atravessado por uma linha cosida com agulha */
.stitched { position: relative; display: inline-block; white-space: nowrap; }
.stitched svg { position: absolute; left: -7%; top: -14%; width: 138%; height: 128%; overflow: visible; pointer-events: none; }
.stitched .thread { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 9 8; }
.stitched .reveal { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 900; stroke-dashoffset: 900; animation: stitch 2.4s ease forwards .5s; }
@keyframes stitch { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .stitched .reveal { animation: none; stroke-dashoffset: 0; } }

/* Fita a correr */
.ribbon { background: var(--blush-deep); overflow: hidden; position: relative; padding: .85rem 0; transform: rotate(-1deg); margin: 0 -1rem; }
.ribbon::before, .ribbon::after { content: ""; position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(255, 255, 255, .9); }
.ribbon::before { top: 6px; }
.ribbon::after { bottom: 6px; }
.ribbon-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ribbon-track span { font: 400 1.9rem/1 var(--font-hand); white-space: nowrap; padding-right: 1rem; }
.ribbon-track b { color: var(--ink); font-weight: 400; margin: 0 .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Secção de artigos com filtro */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.chips-nav { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips-nav a { padding: .45rem 1rem; border-radius: 999px; background: var(--panel); font-weight: 800; font-size: .95rem; text-decoration: none; border: 2px solid transparent; }
.chips-nav a:hover { border-color: var(--ink); }
.chips-nav a[aria-current] { background: var(--ink); color: #fff; }
.page-head .chips-nav { margin-top: 1.25rem; }
.block--tight { margin-top: 1.5rem; }
.insta-cta { text-align: center; padding: 2rem 1rem; border-top: 2px dashed var(--wash); border-bottom: 2px dashed var(--wash); }
.insta-cta p { font: 400 1.6rem/1.3 var(--font-hand); margin: 0 0 1rem; }

/* Faixa de vantagens */
.perks-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.perk { display: flex; gap: .85rem; align-items: flex-start; background: var(--panel); border-radius: 20px; padding: 1.1rem 1.2rem; }
.perk b { display: block; font-weight: 900; }
.perk p { margin: .1rem 0 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.45; }
.perk-icon { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }

/* Como funciona (passos + envio e pagamento) */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.how-steps li { background: var(--panel); border-radius: 22px; padding: 1.4rem 1.3rem 1.2rem; position: relative; }
.how-steps b { position: absolute; top: .9rem; right: 1.1rem; font: 400 2.2rem/1 var(--font-hand); color: rgba(35, 35, 35, .22); }
.how-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .8rem; }
.how-steps p { margin: 0; font-weight: 700; line-height: 1.45; }
.how-note { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1.2rem 0 0; color: var(--ink-soft); font-weight: 700; font-size: .93rem; }
.how-note span:first-child { color: var(--ink); }

/* Sobre a Kuki com as publicações do Instagram */
.about--insta { grid-template-columns: 1fr 1fr; }
.about-insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.about-insta img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 14px; transition: transform .2s ease; }
.about-insta a:hover img { transform: scale(1.04); }

/* Sobre a Kuki */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about-photo { background: #fff; padding: 12px 12px 40px; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 14px 30px -14px rgba(60, 45, 20, .35); max-width: 420px; position: relative; justify-self: center; }
.about-photo::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 255, 255, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.about-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.about-text p { color: var(--ink-soft); font-size: 1.08rem; max-width: 52ch; }
.about-text .btn { margin-top: .5rem; }

/* Perguntas frequentes */
.faq { max-width: 760px; }
.faq details { background: var(--panel); border-radius: 16px; margin-bottom: .6rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 800; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-hand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-soft); }

/* Topo colorido das páginas de categoria */
.page-tint { padding: .5rem 0 1.75rem; border-bottom: 2px dashed rgba(35, 35, 35, .18); }
.page-tint .page-head { margin-top: 1.25rem; }
.page-tint h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: .35em; }
.title-pill { display: inline-block; padding: .08em .55em .14em; border-radius: 999px; }

/* Blocos */
.block { margin-top: clamp(3rem, 7vw, 5rem); }
.block-title { text-align: center; margin-bottom: 1.5rem; }

/* Círculos de categorias */
.circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.75rem; list-style: none; padding: 0; margin: 0; }
.circles a { display: grid; justify-items: center; gap: .6rem; text-decoration: none; width: 128px; }
.circle {
  width: 118px; height: 118px; border-radius: 50%; overflow: hidden; display: block;
  outline: 2px dashed var(--seam); outline-offset: 5px; transition: transform .2s ease;
}
.circle img { width: 100%; height: 100%; object-fit: cover; }
.circle--blush { background: var(--blush); }
.circle--sage { background: var(--sage); }
.circle--sky { background: var(--sky); }
.circle--mustard { background: var(--mustard); }
.circle--lilac { background: var(--lilac); }
.circles a:hover .circle { transform: rotate(-4deg) scale(1.05); }
.circles a[aria-current] .circle { outline: 3px solid var(--ink); }
.circle-name { font-weight: 800; text-align: center; line-height: 1.25; }

/* Faixas de família */
.band { margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(35, 35, 35, .25); }
.band::before { top: 12px; }
.band::after { bottom: 12px; }
.band--blush { background: var(--blush); }
.band--sage { background: var(--sage); }
.band--sky { background: var(--sky); }
.band--lilac { background: var(--lilac); }
.band-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: .5rem 2rem; margin-bottom: 2rem; }
.band-head h2 { margin: 0; font-size: clamp(3rem, 6vw, 4.6rem); }
.band-head p { margin: 0 0 .7rem; color: var(--ink-soft); max-width: 46ch; }
.btn--ink { background: var(--ink); color: #fff; }

/* Grelha e cartões */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card a { display: block; text-decoration: none; background: var(--panel); padding: 10px; border-radius: 22px; height: 100%; transition: transform .2s ease; }
.card a:hover { transform: translateY(-4px) rotate(-.6deg); }
.card-media { position: relative; border-radius: 15px; overflow: hidden; background: var(--paper); }
.card-media::after { content: ""; position: absolute; inset: 6px; border: 2px dashed rgba(255, 255, 255, .9); border-radius: 11px; pointer-events: none; }
.card-img, .card-media .ph { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-img--alt { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .3s ease; }
.card a:hover .card-img--alt { opacity: 1; }
.label-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--ink);
  font: 400 1rem/1 var(--font-hand); padding: .35rem .6rem; border-radius: 4px;
  border: 1.5px dashed var(--seam); transform: rotate(-4deg);
}
.card-body { padding: .8rem .4rem .35rem; }
.card-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .15rem; line-height: 1.3; }
.card-price { margin: 0; color: var(--ink-soft); font-weight: 600; }
.card-dots { display: flex; align-items: center; margin: .55rem 0 0; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--dot); border: 2px solid #fff; margin-right: -5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.dot-more { margin-left: .6rem; font-size: .85rem; font-weight: 800; color: var(--ink-soft); }
.empty { padding: 2rem; border: 2px dashed var(--seam); border-radius: 18px; color: var(--ink-soft); background: rgba(255, 255, 255, .5); }

.ph { display: grid; place-items: center; }
.ph span { font: 400 4rem/1 var(--font-hand); color: rgba(35, 35, 35, .35); }
.ph--blush, .ph--sage, .ph--sky { background: var(--panel); }
.ph--wash { background: var(--wash); }

/* Como nasce um Kuki: é uma sequência, por isso tem números */
.steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0; margin: 0; position: relative; }
.steps ol::before { content: ""; position: absolute; top: 38px; left: 16%; right: 16%; border-top: 2px dashed var(--seam); }
.steps li { counter-increment: step; text-align: center; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; margin: 0 auto 1rem;
  width: 76px; height: 76px; border-radius: 50%; font: 400 2.6rem/1 var(--font-hand);
  background: var(--panel); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--ink);
}

.steps li span { display: block; font-weight: 700; font-size: 1.1rem; max-width: 24ch; margin: 0 auto; }

/* Opiniões: notas coladas */
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { margin: 0; padding: 1.75rem 1.5rem 1.4rem; background: var(--panel); position: relative; transform: rotate(-1.2deg); }
.review:nth-child(2n) { transform: rotate(1deg); }
.review::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: var(--wash); }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.review figcaption { font: 400 1.5rem/1 var(--font-hand); }

/* Instagram */
.insta-head { display: flex; align-items: center; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.insta-head .block-title { margin: 0; }
.insta-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; max-width: 1080px; margin: 0 auto; }
.insta-grid a { flex: 0 1 calc((100% - 3.75rem) / 6); }
.insta-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 14px; transition: transform .2s ease; }
.insta-grid a { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.insta-grid img { border-radius: 0; }
.insta-grid svg { position: absolute; inset: 0; margin: auto; color: #fff; opacity: 0; transition: opacity .2s ease; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.insta-grid a:hover svg, .insta-grid a:focus-visible svg { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.04); }

/* Página de categoria */
.page-band { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); position: relative; text-align: center; }
.page-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; border-top: 2px dashed rgba(35, 35, 35, .25); }
.page-band p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto 2rem; }
.page-band .circle { width: 96px; height: 96px; outline-color: rgba(35, 35, 35, .35); }
.page-band .circles a { width: 108px; }
.crumbs { font-size: .95rem; color: var(--ink-soft); margin-bottom: .5rem; }
.crumbs a { font-weight: 800; color: var(--ink-soft); }
.count { color: var(--ink-soft); font-weight: 700; margin: 0 0 1.25rem; }
.page-head { margin-top: 2rem; }
.page-head p { max-width: 60ch; color: var(--ink-soft); }

/* Página de artigo */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; }
.gallery-main { background: #fff; padding: 14px 14px 46px; border-radius: 6px; transform: rotate(-1.2deg); box-shadow: 0 1px 2px rgba(60, 50, 40, .12), 0 14px 30px -12px rgba(60, 50, 40, .3); position: relative; }
.gallery-main::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(245, 220, 154, .85); }
.gallery-main img, .gallery-main .ph { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 3px; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.thumb { padding: 0; border: 2px dashed var(--seam); border-radius: 12px; background: none; cursor: pointer; overflow: hidden; width: 74px; }
.thumb img { aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
.product-price { font-size: 1.6rem; font-weight: 900; margin: 0 0 .75rem; }
.product-price.is-soon { font: 400 1.7rem/1.2 var(--font-hand); color: var(--ink-soft); }
.lead { color: var(--ink-soft); max-width: 50ch; }
.swatches { border: 0; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.swatches legend { font-weight: 900; margin-bottom: .6rem; padding: 0; }
.swatch { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; padding: .4rem .95rem .4rem .4rem; border-radius: 999px; background: var(--panel); border: 2px solid var(--wash); font-weight: 600; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; }
.swatch:has(input:checked) { border: 2px solid var(--ink); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch.is-out { opacity: .45; cursor: not-allowed; }
.swatch.is-out .swatch-name { text-decoration: line-through; }
.stock { min-height: 1.6em; font-weight: 800; margin: 1rem 0; color: var(--ink-soft); }
.buy-row { display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; }
.qty { display: grid; gap: .3rem; font-weight: 800; font-size: .95rem; }
.qty input { width: 5.5rem; padding: .75rem; font: inherit; border: 2px solid var(--wash); border-radius: 12px; background: var(--panel); }
.alt-order { margin: .9rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.alt-order a { font-weight: 800; color: var(--ink); }
.perks { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.perks li { background: var(--panel); padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.perks li::before { content: "♡ "; color: var(--blush-deep); }
.description { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 2px dashed var(--wash); max-width: 60ch; }

/* Mensagens */
.flashes { margin-top: 1rem; display: grid; gap: .5rem; }
.flash { margin: 0; padding: .75rem 1rem; border-radius: 14px; font-weight: 700; background: var(--panel); border: 2px dashed rgba(35, 35, 35, .2); }
.flash--aviso { background: var(--panel); border-color: var(--mustard-deep); }
.flash--erro { background: var(--blush); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Contador do carrinho */
.cart-link { position: relative; }
.cart-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--blush-deep); color: #fff; font-size: .78rem; font-weight: 900; line-height: 1;
}

/* Carrinho e checkout */
.checkout-wrap { margin-top: 2rem; }
.checkout-wrap h1 { margin-bottom: 1.25rem; }
.checkout-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.empty-cart { padding: 2.5rem; text-align: center; background: var(--panel); border-radius: 22px; border: 2px dashed var(--seam); }

.cart-lines { display: grid; gap: .75rem; }
.cart-line {
  display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 1rem; align-items: center;
  background: var(--panel); padding: .7rem; border-radius: 18px;
}
.cart-thumb img, .cart-thumb .ph { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.cart-info { display: grid; gap: .15rem; min-width: 0; }
.cart-name { font-weight: 800; text-decoration: none; }
.cart-variant { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: .92rem; }
.cart-variant .dot { margin: 0; }
.cart-unit { color: var(--ink-soft); font-size: .85rem; }
.cart-qty input { width: 4.2rem; padding: .55rem; font: inherit; text-align: center; border: 2px solid var(--wash); border-radius: 12px; }
.cart-total { font-weight: 900; min-width: 5.5rem; text-align: right; }
.cart-remove { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--seam); background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cart-remove:hover { background: var(--blush); }

.summary { background: var(--panel); border-radius: 22px; padding: 1.5rem; position: sticky; top: 1rem; }
.summary h2 { font-size: 2rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; margin: .35rem 0; }
.summary-total { font-size: 1.25rem; font-weight: 900; border-top: 2px dashed var(--wash); padding-top: .75rem; margin-top: .75rem; }
.summary-items { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .45rem; font-size: .92rem; border-bottom: 2px dashed var(--wash); padding-bottom: .75rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 1rem; }
.summary-items li span:last-child, .summary-row span:last-child { white-space: nowrap; }
.summary-hint { color: var(--ink-soft); font-size: .9rem; }
.summary-cta { width: 100%; margin-top: .75rem; }
.summary-back { display: block; text-align: center; margin-top: .9rem; font-weight: 700; }

.checkout-form fieldset { border: 0; padding: 1.4rem 1.25rem .6rem; margin: 0 0 1rem; background: var(--panel); border-radius: 22px; }
.checkout-form legend { font: 400 1.7rem/1 var(--font-hand); padding: 0; float: left; width: 100%; margin-bottom: .9rem; }
.field { display: grid; gap: .3rem; margin-bottom: .9rem; font-weight: 700; font-size: .92rem; clear: both; }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); padding: .75rem .85rem; border: 2px solid var(--wash); border-radius: 12px; background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; background: #fff; }
.has-error input { border-color: var(--blush-deep); background: #fff6f5; }
.field-error { color: #A3352A; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; clear: both; }
.field-note { color: var(--ink-soft); font-size: .88rem; margin: -.3rem 0 .8rem; clear: both; }
.ship-option {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; margin-bottom: .6rem; clear: both;
  border: 2px solid var(--wash); border-radius: 16px; cursor: pointer;
}
.ship-option:has(input:checked) { border: 2px solid var(--ink); background: var(--paper); }
.ship-option input { width: 20px; height: 20px; accent-color: var(--ink); }
.ship-text { display: grid; flex: 1; }
.ship-text small { color: var(--ink-soft); font-weight: 600; }
.ship-price { font-weight: 900; }
.inpost-field { margin-top: .4rem; }

.order-page { max-width: 720px; }
.order-hero { text-align: center; margin-bottom: 1.5rem; }
.order-status { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: var(--panel); font-weight: 800; margin: 0 0 .75rem; }
.order-status--pago, .order-status--enviado, .order-status--concluida { background: var(--panel); box-shadow: inset 0 0 0 2px var(--ink); }
.order-status--cancelada { background: var(--wash); }
.order-pay { background: var(--panel); padding: 1rem 1.25rem; border-radius: 16px; border: 2px dashed var(--seam); text-align: left; }
.order-summary { position: static; margin-bottom: 1.5rem; }
.order-pay .btn { margin-top: .5rem; }
.mb-ref dl { display: grid; gap: .5rem; margin: .75rem 0; }
.mb-ref dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; background: var(--paper); border-radius: 10px; }
.mb-ref dt { color: var(--ink-soft); font-weight: 700; }
.mb-ref dd { margin: 0; font-weight: 900; font-size: 1.15rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.pay-methods { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; }
.pay-methods span { padding: .3rem .7rem; border-radius: 8px; background: var(--paper); border: 1.5px solid var(--wash); font-weight: 800; font-size: .82rem; }

@media (max-width: 800px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 1rem; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info rm" "img qty total"; gap: .4rem .75rem; }
  .cart-thumb { grid-area: img; align-self: start; }
  .cart-thumb img, .cart-thumb .ph { width: 64px; height: 64px; }
  .cart-info { grid-area: info; }
  .cart-qty { grid-area: qty; }
  .cart-total { grid-area: total; min-width: 0; }
  .cart-remove { grid-area: rm; width: 36px; height: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .checkout-form fieldset { padding: 1.1rem 1rem .4rem; }
  .checkout-form legend { font-size: 1.45rem; }
}

/* Rodapé */
.site-footer { margin-top: clamp(4rem, 8vw, 6rem); padding: 3rem 0 2rem; background: var(--wash); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; border-top: 2px dashed rgba(35, 35, 35, .2); }
.footer-inner { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { color: var(--ink-soft); max-width: 30ch; }
.footer-title { font: 400 1.6rem/1 var(--font-hand); margin: 0 0 .75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-weight: 700; }
.footer-copy { grid-column: 1 / -1; color: var(--ink-soft); font-size: .9rem; margin: 1rem 0 0; }

/* Ecrãs mais pequenos */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-list { grid-template-columns: 1fr 1fr; }
  .insta-grid a { flex-basis: calc((100% - 1.5rem) / 3); }
}

/* Telemóvel e tablet pequeno */
@media (max-width: 800px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }

  .notice { font-size: .82rem; padding: .45rem .9rem; line-height: 1.35; }

  /* Cabeçalho compacto e fixo no topo */
  .site-header { position: sticky; top: 0; z-index: 30; padding: .35rem 0 .5rem; padding-top: calc(.35rem + env(safe-area-inset-top, 0px)); background: rgba(255, 244, 204, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .header-inner { flex-wrap: wrap; gap: .25rem .75rem; }
  .logo img { height: 66px; margin: -6px 0; }
  .header-tools { margin-left: auto; gap: .25rem; }
  .icon-link, .cart-link { min-width: 44px; min-height: 44px; justify-content: center; }
  .cart-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .main-nav { order: 3; flex: 0 0 100%; min-width: 0; justify-content: flex-start; }
  .main-nav ul { width: 100%; }
  .main-nav ul { overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 0 1rem .15rem; }
  .main-nav ul::-webkit-scrollbar { display: none; }
  .main-nav li { flex: 0 0 auto; }
  .nav-pill { display: block; text-align: center; padding: .55rem .95rem; white-space: nowrap; }

  /* Início: texto curto e colagem que se desliza com o dedo */
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 0 2rem; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 0; }
  .hero-actions { display: none; }
  .collage {
    height: auto; display: flex; align-items: flex-start; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -1rem; padding: 1.4rem 1rem 1.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .collage::-webkit-scrollbar { display: none; }
  .polaroid, .polaroid--1, .polaroid--2, .polaroid--3, .polaroid--4, .polaroid--5 {
    position: relative; left: auto; top: auto; flex: 0 0 62%; width: auto; min-width: 0; scroll-snap-align: center;
  }
  .polaroid:nth-child(odd) { --r: -2.5deg; }
  .polaroid:nth-child(even) { --r: 2.5deg; }
  .polaroid:hover { transform: rotate(var(--r)); }

  .ribbon { padding: .7rem 0; }
  .ribbon-track span { font-size: 1.45rem; }

  .block { margin-top: 2.75rem; }
  .block-title { margin-bottom: 1rem; }

  /* Círculos numa fila para deslizar */
  .circles {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 0 -1rem; padding: .6rem 1.4rem 1rem; gap: .9rem; scrollbar-width: none; scroll-padding-left: 1.4rem;
  }
  .circles::-webkit-scrollbar { display: none; }
  .circles li { flex: 0 0 auto; scroll-snap-align: start; }
  .circles a, .page-band .circles a { width: 84px; gap: .5rem; }
  .circle, .page-band .circle { width: 76px; height: 76px; outline-offset: 4px; }
  .circle-name { font-size: .85rem; }

  /* Faixas de família */
  .band { margin-top: 2.75rem; padding: 2.25rem 0 2.5rem; }
  .band-head { grid-template-columns: 1fr auto; align-items: center; margin-bottom: 1.25rem; }
  .band-head h2 { font-size: 3rem; }
  .band-head p { grid-column: 1 / -1; grid-row: 2; font-size: .95rem; margin: 0; }
  .band-head .btn { padding: .55rem 1rem; font-size: .9rem; }

  /* Grelha de 2 colunas */
  .grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .card a { padding: 6px; border-radius: 18px; }
  .card a:hover { transform: none; }
  .card-media { border-radius: 13px; }
  .card-media::after { inset: 5px; border-radius: 9px; }
  .card-body { padding: .6rem .3rem .3rem; }
  .card-title { font-size: .95rem; }
  .card-price { font-size: .9rem; }
  .label-tag { top: 10px; left: 10px; font-size: .85rem; padding: .25rem .45rem; }
  .dot { width: 15px; height: 15px; }

  /* Passos: número ao lado do texto */
  .perks-strip { grid-template-columns: 1fr; gap: .6rem; }
  .how-steps { grid-template-columns: 1fr; gap: .6rem; }
  .how-steps li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; padding: .9rem 1rem; }
  .how-icon { width: 44px; height: 44px; margin: 0; }
  .how-steps b { top: 50%; transform: translateY(-50%); font-size: 1.8rem; }
  .how-steps p { padding-right: 1.6rem; font-size: .95rem; }
  .how-note { flex-direction: column; align-items: center; gap: .3rem; text-align: center; }
  .about--insta { grid-template-columns: 1fr; }
  .perk { padding: .85rem 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  .steps ol { grid-template-columns: 1fr; gap: .9rem; max-width: 420px; margin: 0 auto; }
  .steps ol::before { display: none; }
  .steps li { display: flex; align-items: center; gap: 1rem; text-align: left; }
  .steps li::before { margin: 0; flex: 0 0 54px; width: 54px; height: 54px; font-size: 1.9rem; }
  .steps li span { margin: 0; font-size: 1rem; }

  .reviews-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .insta-head { flex-direction: column; gap: .75rem; }
  .insta-grid { gap: .4rem; }
  .insta-grid a { flex-basis: calc((100% - .8rem) / 3); }
  .insta-grid img { border-radius: 10px; }

  /* Categoria */
  .page-band { padding: 1.5rem 0 2rem; }
  .page-band p { margin-bottom: 1rem; font-size: .95rem; }

  /* Artigo: botão de compra sempre à mão no fundo do ecrã */
  .product { grid-template-columns: 1fr; margin-top: 1.25rem; gap: 1.5rem; }
  .gallery-main { padding: 10px 10px 30px; transform: rotate(-.8deg); }
  .thumbs { margin-top: 1rem; }
  .thumb { width: 64px; }
  .product-info h1 { font-size: 2.8rem; }
  .swatches { gap: .45rem; }
  .swatch { padding: .35rem .8rem .35rem .35rem; font-size: .92rem; min-height: 44px; }
  .swatch-dot { width: 26px; height: 26px; }
  .page-product .buy-row {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; flex-wrap: nowrap; gap: .75rem;
    padding: .75rem 1rem; padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 244, 204, .96); border-top: 2px dashed var(--wash);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .page-product .buy-row .btn { flex: 1; }
  .page-product .qty { font-size: 0; gap: 0; }
  .page-product .qty input { width: 4.2rem; font-size: 1rem; }
  .page-product .alt-order { margin-top: .4rem; }
  .page-product .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }

  /* Rodapé */
  .site-footer { margin-top: 3.5rem; padding-top: 2.25rem; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1rem; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
  .footer-brand img { width: 84px; }
  .footer-brand p { margin: 0; font-size: .95rem; }
  .footer-title { font-size: 1.35rem; }
  .footer-links { font-size: .92rem; }
}

/* Telemóvel: tudo mais pequeno e mais denso */
@media (max-width: 600px) {
  body { font-size: .95rem; }
  h1 { font-size: 2.25rem; }
  h2, .block-title { font-size: 2rem; }
  .notice { font-size: .74rem; padding: .35rem .75rem; }
  .logo img { height: 74px; margin: -8px 0 -6px -6px; }
  .icon-link svg { width: 20px; height: 20px; }
  .nav-pill { padding: .4rem .7rem; font-size: .84rem; }
  .main-nav ul { gap: .35rem; }

  .hero { padding: 1.1rem 0 1.25rem; gap: .6rem; }
  .hero h1 { margin-bottom: .25em; }
  .hero-lead { font-size: .95rem; line-height: 1.5; }
  .collage { gap: .7rem; padding: 1rem 1rem .9rem; }
  .polaroid, .polaroid--1, .polaroid--2, .polaroid--3, .polaroid--4, .polaroid--5 { flex-basis: 44%; padding: 6px 6px 0; }
  .polaroid span { font-size: .95rem; padding: .4rem .2rem .45rem; }
  .polaroid::before { width: 52px; height: 16px; top: -8px; }

  .ribbon { padding: .55rem 0; }
  .ribbon::before { top: 4px; } .ribbon::after { bottom: 4px; }
  .ribbon-track span { font-size: 1.2rem; }

  .block { margin-top: 2.25rem; }
  .circles a, .page-band .circles a { width: 70px; gap: .4rem; }
  .circle, .page-band .circle { width: 62px; height: 62px; outline-offset: 3px; }
  .circle-name { font-size: .78rem; }

  .band { margin-top: 2.25rem; padding: 1.9rem 0 2rem; }
  .band-head h2 { font-size: 2.4rem; }
  .band-head p { font-size: .88rem; }
  .band-head .btn { padding: .45rem .85rem; font-size: .82rem; }
  .btn { font-size: .92rem; padding: .65rem 1.1rem; }

  .grid { gap: .6rem; }
  .card-title { font-size: .88rem; }
  .card-price { font-size: .82rem; }
  .label-tag { font-size: .75rem; top: 8px; left: 8px; }

  .steps li::before { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.5rem; }
  .steps li span { font-size: .92rem; }

  .page-band h1 { font-size: 2.4rem; }
  .product-info h1 { font-size: 2.3rem; }
  .product-price { font-size: 1.3rem; }
  .product-price.is-soon { font-size: 1.4rem; }
  .swatch { font-size: .85rem; min-height: 40px; }
  .swatch-dot { width: 22px; height: 22px; }
  .perks li { font-size: .82rem; }

  .footer-title { font-size: 1.2rem; }
  .footer-links { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .polaroid, .ribbon-track { animation: none; }
  * { transition: none !important; }
}


/* =====================================================================
   iPhone e iPad
   ===================================================================== */

/* Os botões do menu nunca partem em duas linhas */
.nav-pill, .chips-nav a { white-space: nowrap; }

/* iOS faz zoom ao tocar num campo com letra abaixo de 16px: todos os campos ficam com 16px */
input, select, textarea { font-size: 16px; }
.qty input, .cart-qty input { font-size: 16px; }

/* Tablet (iPad mini, iPad, iPad Air, iPad Pro na vertical) */
@media (min-width: 601px) and (max-width: 1024px) {
  .wrap { width: calc(100% - 3rem); }
  /* topo em coluna: texto em cima, as 3 polaroides lado a lado por baixo */
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1rem; }
  .hero-lead { max-width: 52ch; }
  .collage, .collage--3 {
    height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    overflow: visible; margin: 0; padding: 1rem .5rem .5rem;
  }
  .collage .polaroid, .collage--3 .polaroid {
    position: relative; left: auto; top: auto; width: auto; min-width: 0; flex: none; z-index: auto;
  }
  .collage .polaroid:nth-child(1) { --r: -3deg; }
  .collage .polaroid:nth-child(2) { --r: 2.5deg; margin-top: 1.2rem; }
  .collage .polaroid:nth-child(3) { --r: -1.5deg; }
  .polaroid span { font-size: 1.15rem; }
  /* secções lado a lado continuam lado a lado */
  .about { grid-template-columns: .8fr 1.2fr; }
  .about-photo { max-width: 300px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .how-steps li { display: block; padding: 1.2rem 1.1rem 1.1rem; }
  .how-icon { margin: 0 0 .8rem; }
  .how-steps b { top: .9rem; transform: none; }
  .how-steps p { padding-right: 0; }
  .how-note { flex-direction: row; }
  .insta-grid a { flex-basis: calc((100% - 3.75rem) / 6); }
  .reviews-list { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-brand { display: block; grid-column: auto; }
}
/* iPad mini e iPad na vertical: o menu passa para a linha de baixo, sem cortar */
@media (min-width: 601px) and (max-width: 800px) {
  .main-nav ul { justify-content: center; }
  .page-product .buy-row { position: static; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .page-product .qty { font-size: .95rem; gap: .3rem; }
  .page-product .site-footer { padding-bottom: 2rem; }
}

/* iPhone */
@media (max-width: 600px) {
  /* colagem: as polaroides deslizam para o lado, todas do mesmo tamanho e sem saltos */
  .collage .polaroid, .collage--3 .polaroid {
    position: relative; left: auto; top: auto; width: auto; min-width: 0; z-index: auto;
    flex: 0 0 58%;
  }
  /* filtros dos artigos numa linha que desliza */
  .section-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .section-head .chips-nav { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2rem); margin: 0 -1rem; padding: .2rem 1rem .4rem; scrollbar-width: none; }
  .section-head .chips-nav::-webkit-scrollbar { display: none; }
  .about-photo { max-width: 230px; }
  .about-text { text-align: left; }
  .faq summary { padding: .9rem 0; }
}

/* Ao saltar para uma secção (ex.: "Ver os artigos"), o título não fica escondido por baixo do cabeçalho fixo */
@media (max-width: 800px) {
  [id] { scroll-margin-top: 140px; }
}
@media (max-width: 600px) {
  .hero-text .btn { margin-top: 1.1rem; }
  .hero h1 { font-size: 2.5rem; }
}

/* iPhone: topo e "Olá, somos a Kuki" menos apertados */
@media (max-width: 600px) {
  /* as 3 polaroides do topo em leque, pequenas e todas visíveis, em vez de fotos grandes a deslizar */
  .collage, .collage--3 {
    display: flex; justify-content: center; align-items: flex-start;
    overflow: visible; height: auto; margin: .4rem 0 0; padding: 1.4rem 0 .6rem; gap: 0;
  }
  .collage .polaroid, .collage--3 .polaroid {
    flex: 0 0 37%; margin: 0 -4%; padding: 5px 5px 0;
  }
  .collage .polaroid:nth-child(1) { --r: -8deg; margin-top: 14px; z-index: 1; }
  .collage .polaroid:nth-child(2) { --r: 1.5deg; z-index: 2; }
  .collage .polaroid:nth-child(3) { --r: 8deg; margin-top: 18px; z-index: 1; }
  .collage .polaroid span { font-size: .78rem; padding: .35rem .15rem .4rem; }
  .collage .polaroid::before { width: 44px; height: 13px; top: -7px; }

  /* "Olá, somos a Kuki": foto pequena ao lado do título, texto à volta */
  .about { display: block; margin-top: 3.2rem; padding-top: 2.4rem; border-top: 2px dashed var(--wash); }
  .about::after { content: ""; display: table; clear: both; }
  .about-photo {
    float: right; width: 40%; max-width: 165px; margin: -.4rem -.2rem .8rem 1rem;
    padding: 6px 6px 22px; transform: rotate(4deg);
  }
  .about-photo::before { width: 52px; height: 14px; top: -8px; }
  .about-text h2 { font-size: 2.1rem; margin-bottom: .5rem; }
  .about-text p { font-size: 1rem; }
  .about-text .btn { margin-top: .3rem; }

  /* mais espaço entre secções */
  .block { margin-top: 3rem; }
}
@media (max-width: 600px) {
  /* no leque as legendas ficavam tapadas: sem legenda, com a margem branca de polaroide */
  .collage .polaroid span { display: none; }
  .collage .polaroid, .collage--3 .polaroid { padding-bottom: 20px; }
  .hero { padding-bottom: .5rem; }
}

/* Costura tracejada a separar as secções da página inicial (computador e iPad), como no iPhone */
@media (min-width: 601px) {
  .hero ~ .block { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 2px dashed var(--wash); }
}

/* Título do topo maior no iPhone, em duas linhas */
.br-phone { display: none; }
@media (max-width: 600px) {
  .br-phone { display: inline; }
  .hero h1 { font-size: clamp(2.8rem, 13.5vw, 3.6rem); line-height: 1.02; margin-bottom: .35em; }
}

/* iPhone: costura tracejada entre todas as secções (página inicial e "Também vais gostar" nos artigos) */
@media (max-width: 600px) {
  .hero ~ .block, .product ~ .block {
    margin-top: 2.6rem; padding-top: 2.4rem; border-top: 2px dashed var(--wash);
  }
}

/* iPhone: as 4 categorias do menu cabem todas numa linha, sem cortar a última */
@media (max-width: 600px) {
  .main-nav ul { gap: 4px; justify-content: space-between; margin: 0; padding: 0 0 .15rem; overflow-x: auto; }
  .main-nav li { flex: 0 1 auto; min-width: 0; }
  .nav-pill { font-size: clamp(11.5px, 3.2vw, 14.5px); padding: .5em .72em; letter-spacing: -.01em; }
}
