/* Toolden LP - DeWalt DCK266P2-GB
   Convertido do export Elementor "LP TOOLDEN DWT.json" */

:root {
  --tld-dark: #191922;
  --tld-header: #111111;
  --tld-bar: #D9DBDF;
  --tld-panel: #F2F2F2;
  --tld-orange: #FFA500;
  --tld-orange-alt: #ff9800;
  --tld-navy: #0a2a3f;
  --tld-navy-deep: #111c27;
  --tld-bar-fill: #202c40;
  --tld-red: #e01b1b;
  --tld-text: #111111;
  --tld-muted: #555555;
  --tld-line: #e6e6e6;
  --tld-max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--tld-text);
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--tld-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--tld-header);
  border-bottom: 1px solid #000;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  max-width: var(--tld-max);
  margin: 0 auto;
}

.site-header__logo img {
  /* logo real: 250x70 com tagline, precisa de altura para a tagline ler-se */
  height: 44px;
  max-width: 200px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.header-link {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  width: 52px;
}

/* todos os ícones do header ocupam a mesma caixa de 20px, senão as
   etiquetas ACCOUNT/CART/MENU ficam desalinhadas entre si */
.header-link img,
.header-link svg {
  height: 20px;
  margin-bottom: 2px;
  display: block;
}

.header-link img {
  width: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* inline: herda o branco via currentColor e a largura segue o viewBox,
   para o carrinho não ficar espremido */
.header-link svg { width: auto; }

.header-link span { font-weight: 600; letter-spacing: .02em; }

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

.header-search {
  background: var(--tld-bar-fill);
  padding: 12px 0;
}

.search-form {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  /* o input tem min-width intrínseca; sem isto o form estica em ecrãs
     estreitos e provoca scroll horizontal */
  min-width: 0;
}

.search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  padding: 9px 14px;
  line-height: 1.4;
  font-family: inherit;
  font-size: 15px;
  color: #111;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
}

/* corta com reticências em vez de a meio da palavra em ecrãs estreitos */
.search-form__input::placeholder {
  color: #6b7280;
  text-overflow: ellipsis;
}

/* o X nativo do type=search desalinha o botão em Chrome */
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-form:focus-within {
  box-shadow: 0 0 0 2px var(--tld-orange-alt);
}

.search-form__btn {
  flex: 0 0 auto;
  width: 50px;
  border: none;
  background: var(--tld-orange-alt);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .2s ease;
}

.search-form__btn:hover { filter: brightness(.93); }

.search-form__btn svg { width: 19px; height: 19px; }

/* faixa laranja que fecha o bloco de pesquisa */
.header-stripe {
  height: 5px;
  background: var(--tld-orange-alt);
}

/* ---------- Barra de vantagens (USP) ----------
   Reproduz o carrossel slick do Toolden sem jQuery: 4 itens visíveis a
   partir de 992px, 2 entre 800 e 991px, 1 abaixo disso — e nesses dois
   casos roda sozinho, como o autoplay do slick. */
.usp {
  background: var(--tld-bar);
  color: #191922;
}

.usp__viewport {
  overflow: hidden;
  padding: 9px 0;
}

.usp__track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}

.usp__item {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

/* O texto quebra em vez de cortar. Como os itens são filhos flex do track,
   herdam todos a altura do mais alto, por isso a barra não salta ao rodar. */
.usp__item span { text-wrap: balance; }

.usp__icon {
  flex: 0 0 auto;
  height: 20px;
  width: auto;
  color: #3a3a3a;
}

.usp__icon--img { height: 15px; }

@media (min-width: 800px) {
  .usp__item { flex-basis: 33.3333%; font-size: 12.5px; gap: 6px; padding: 0 8px; }
  .usp__icon { height: 18px; }
  .usp__icon--img { height: 14px; }
  /* com os três visíveis não há nada para rodar */
  .usp__track { transform: none !important; }
}

@media (min-width: 992px) {
  .usp__item { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .usp__track { transition: none; }
}

/* ---------- Barra de anúncio ---------- */
.announce {
  background: var(--tld-bar);
  color: #000;
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .01em;
}

/* ---------- Produto ---------- */
.product {
  padding: 24px 0 8px;
}

.product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* itens de grid têm min-width:auto e recusam encolher abaixo do conteúdo,
   o que fazia a faixa de miniaturas esticar a coluna em ecrãs estreitos */
.product__grid > * { min-width: 0; }

/* Galeria */
.gallery__stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--tld-line);
  border-radius: 8px;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.gallery__slide {
  min-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: zoom-in;
}

.gallery__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--tld-line);
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.gallery__arrow:hover { background: #fff; }
.gallery__arrow--prev { left: 10px; }
.gallery__arrow--next { right: 10px; }

/* Botão de zoom: sinaliza que a imagem abre em grande */
.gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--tld-line);
  background: rgba(255, 255, 255, .92);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}

.gallery__zoom svg { width: 20px; height: 20px; }

.gallery__zoom:hover { background: var(--tld-bar-fill); color: #fff; }

/* Selo "DeWalt Authorised Reseller", só sobre a primeira imagem.
   Dimensiona-se com a largura do stage (cqw) para não engolir a foto em
   ecrãs pequenos nem ficar perdido em ecrãs grandes. */
.gallery__stage { container-type: inline-size; }

.brand-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-decoration: none;
  color: #111;
  opacity: 1;
  transition: opacity .3s ease;
}

.brand-badge img {
  width: clamp(88px, 30cqw, 168px);
  height: auto;
  display: block;
}

.brand-badge span {
  font-size: clamp(10px, 3.4cqw, 15px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
}

/* fora do primeiro slide o selo sai de cena sem alterar o layout */
.gallery__stage.is-not-first .brand-badge {
  opacity: 0;
  pointer-events: none;
}

@supports not (width: 1cqw) {
  .brand-badge img { width: 140px; }
  .brand-badge span { font-size: 13px; }
}

/* Sem dots: as miniaturas são o indicador de posição. Distribuem-se pela
   largura disponível, por isso não há faixa com scroll no telemóvel; só
   entram em scroll se houver imagens a mais para o espaço. */
.gallery__thumbs {
  display: flex;
  gap: clamp(6px, 1.6vw, 10px);
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 4px;
}

.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumb {
  flex: 1 1 0;
  min-width: 48px;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid var(--tld-line);
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gallery__thumb:hover { border-color: #9aa0a8; }

.gallery__thumb:focus-visible {
  outline: 2px solid var(--tld-bar-fill);
  outline-offset: 2px;
}

.gallery__thumb.is-active {
  border-color: var(--tld-bar-fill);
  box-shadow: 0 0 0 1px var(--tld-bar-fill);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 12, 16, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  gap: 8px;
}

.lightbox.is-open { display: flex; }

.lightbox__stage {
  flex: 1 1 auto;
  max-width: 900px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__stage picture {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__arrow:hover { background: rgba(255, 255, 255, .24); }

/* Info */
.product__title {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
  line-height: 1.25;
}

.buybox {
  background: var(--tld-panel);
  border-radius: 8px;
  padding: 16px;
}

.buybox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.rating-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.rating-inline img { height: 16px; }

.badge-sale {
  background: var(--tld-red);
  color: #fff;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
  letter-spacing: .04em;
}

.price__compare {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.price__old {
  text-decoration: line-through;
  color: var(--tld-muted);
  font-size: 14px;
}

.price__save {
  color: var(--tld-red);
  font-weight: 600;
  font-size: 14px;
}

.price__main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price__now {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  line-height: 1.1;
}

.price__vat { font-size: 14px; color: var(--tld-muted); }

.price__ex { font-size: 14px; }
.price__ex strong { font-weight: 600; color: #333; }
.price__ex span { color: var(--tld-muted); }

/* ---------- Quantidade + stock ---------- */
.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 16px;
}

.qty-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-field__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #4b5563;
}

.qty-stepper {
  display: flex;
  align-items: stretch;
  /* sem isto a caixa estica ao contentor (é block-level) enquanto os filhos
     mantêm largura fixa, deixando um vazio dentro da borda */
  width: max-content;
  max-width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid #d3d7dd;
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.qty-stepper:hover { border-color: #b9bfc7; }

.qty-stepper__btn {
  width: 36px;
  border: none;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease;
}

.qty-stepper__btn svg {
  width: 18px;
  height: 18px;
  transition: transform .15s ease;
}

.qty-stepper__btn:hover:not(:disabled) {
  background: #fff7ec;
  color: #b45309;
}

.qty-stepper__btn:active:not(:disabled) { background: #fdefd9; }

/* o chevron aproxima-se do número no sentido do clique */
.qty-stepper__btn[data-action="inc"]:hover:not(:disabled) svg { transform: translateY(-1px); }
.qty-stepper__btn[data-action="dec"]:hover:not(:disabled) svg { transform: translateY(1px); }

.qty-stepper__btn:disabled {
  color: #d1d5db;
  cursor: default;
}

.qty-stepper__input {
  width: 44px;
  border: none;
  border-left: 1px solid #e6e9ed;
  border-right: 1px solid #e6e9ed;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  /* largura fixa por dígito: o número não salta ao passar de 9 para 10 */
  font-variant-numeric: tabular-nums;
  color: #111;
  padding: 0;
  background: #fff;
  -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-stepper__input:focus { outline: none; }

.qty-stepper:focus-within {
  border-color: var(--tld-bar-fill);
  box-shadow: 0 0 0 3px rgba(32, 44, 64, .13);
}

/* onde houver :has(), o anel só aparece em navegação por teclado — clicar
   nas setas com o rato deixava-o aceso sem motivo */
@supports selector(:has(*)) {
  .qty-stepper:focus-within {
    border-color: #d3d7dd;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  }
  .qty-stepper:hover:focus-within { border-color: #b9bfc7; }
  .qty-stepper:has(:focus-visible) {
    border-color: var(--tld-bar-fill);
    box-shadow: 0 0 0 3px rgba(32, 44, 64, .13);
  }
}

@media (prefers-reduced-motion: reduce) {
  .qty-stepper,
  .qty-stepper__btn,
  .qty-stepper__btn svg { transition: none; }
  .qty-stepper__btn:hover:not(:disabled) svg { transform: none; }
}

.stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a7f37;
  line-height: 1.3;
}

.stock img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stock--low { color: #b45309; }
.stock--out { color: var(--tld-red); }

.btn-buy {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--tld-orange);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  margin: 18px 0 16px;
  font-family: inherit;
  transition: filter .2s ease;
}

.btn-buy:hover { filter: brightness(.95); }

.assurance {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  color: #111;
}

.assurance:last-child { margin-bottom: 0; }

.assurance img { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }

/* ---------- Secções genéricas ---------- */
.section { padding: 28px 0; }

.section__title {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
}

.description h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.35;
}

.description h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
  /* o ícone alinha com a primeira linha e o texto quebra sem passar por baixo */
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.desc-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--tld-bar-fill);
  /* baseline num SVG cai na margem inferior, este desvio alinha-o à letra */
  transform: translateY(2px);
}

.description ul { margin: 0 0 20px; padding-left: 20px; }
.description li { margin-bottom: 4px; }
.description p { margin: 0 0 12px; }

/* Warranty */
.warranty {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 24px;
  max-width: 420px;
  border-radius: 6px;
}

/* sem width:auto o atributo width="320" do HTML vencia e esticava o logo,
   que tem proporção 3.25:1 */
.warranty img {
  height: 40px;
  width: auto;
  max-width: 100%;
  margin-bottom: 14px;
}

.warranty h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.warranty p { font-size: 14px; color: #333; margin: 0 0 20px; }

.btn-outline {
  display: inline-block;
  background: var(--tld-orange);
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* ---------- Reviews ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.review-summary {
  background: #fff;
  color: #111;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.review-summary h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
}

.review-summary__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-summary__logos img { height: 18px; }

.review-summary__avg { font-size: 16px; margin-bottom: 24px; }

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.metric__value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.metric__value img { height: 14px; }

.review-summary__bars { margin-top: 20px; }

.review-summary__bars h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.bar { margin-bottom: 8px; }

.bar__label {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.bar__track {
  background: #eee;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.bar__fill { height: 8px; background: var(--tld-bar-fill); }

.review-list h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px;
}

.review {
  border-bottom: 1px solid var(--tld-line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.review__head { font-size: 14px; margin: 0 0 4px; }
.review__head strong { font-weight: 600; }

.review__stars { height: 18px; margin-bottom: 6px; }

.review__text { margin: 0 0 4px; font-size: 15px; }

.review__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin: 6px 0;
}

.review__meta { font-size: 13px; color: #666; margin: 0; }

.review-more { display: none; }
.review-more.is-open { display: block; }

.btn-link {
  background: transparent;
  border: none;
  color: #0073e6;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  display: block;
  margin: 0 auto;
}

/* ---------- Pagamentos ---------- */
.payments {
  background: #f5f0e8;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.payments__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.payments__row img { height: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tld-navy);
  color: #fff;
  /* o padding lateral passou para .wrap, para o rodapé alinhar com o resto
     da página; o checkout não usa .wrap e é tratado abaixo */
  padding: 34px 0 26px;
  margin-top: 32px;
}

.newsletter {
  width: calc(100% - 32px);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--tld-navy-deep);
  padding: 22px 20px;
  border-radius: 10px;
}

.newsletter h3 { margin: 0; font-size: 18px; font-weight: 600; }
.newsletter p { margin-top: 6px; font-size: 14px; color: #ccc; }

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: none;
  width: 220px;
  font-family: inherit;
}

.newsletter button {
  padding: 10px 18px;
  background: var(--tld-orange-alt);
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.newsletter__msg {
  font-size: 13px;
  margin: 10px 0 0;
  min-height: 18px;
  color: #9ee493;
}

/* colunas fluidas: 3 em desktop, 2 em tablet, 1 em telemóvel, sem
   media queries a fixar contagens */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  margin-top: 36px;
  text-align: left;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: #c3ced7;
  text-decoration: none;
  display: inline-block;
  padding: 1px 0;
  transition: color .18s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible { color: #fff; text-decoration: underline; }

.footer-col a:focus-visible {
  outline: 2px solid var(--tld-orange-alt);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-legal {
  font-size: 12px;
  color: #9aa7b1;
  margin: 0;
}

/* checkout e thank-you têm só a linha de copyright, sem .wrap nem colunas */
.site-footer > .footer-legal {
  text-align: center;
  padding: 0 16px;
}

/* ---------- Contador no ícone do carrinho ---------- */
.header-link__icon {
  position: relative;
  display: block;
  margin-bottom: 2px;
}

.header-link__icon svg { margin-bottom: 0; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--tld-orange-alt);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cart-badge[hidden] { display: none; }

/* ---------- Indicador de passos ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13px;
  color: #8a9099;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.steps__item + .steps__item::before {
  content: '';
  width: 18px;
  height: 1px;
  background: #d3d7dd;
  margin-right: 3px;
}

.steps__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6e9ed;
  color: #6b7280;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__item.is-current { color: var(--tld-bar-fill); }
.steps__item.is-current .steps__num {
  background: var(--tld-bar-fill);
  color: #fff;
}

.steps__item.is-done { color: #1a7f37; }
.steps__item.is-done .steps__num { background: #1a7f37; color: #fff; }

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

.steps__item a:hover { text-decoration: underline; }

.steps--center { justify-content: center; margin-bottom: 30px; }

/* ---------- Carrinho ---------- */
.cart-page { padding: 26px 0 44px; }

.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* display:grid ganha ao atributo hidden, é preciso dizê-lo explicitamente */
.cart-grid[hidden] { display: none; }

.cart-items {
  background: #fff;
  border: 1px solid var(--tld-line);
  border-radius: 8px;
  overflow: hidden;
}

.cart-items__head {
  display: none;
  padding: 12px 18px;
  background: var(--tld-panel);
  border-bottom: 1px solid var(--tld-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7280;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* mobile: media à esquerda, resto empilhado à direita */
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  grid-template-areas:
    'media info remove'
    'media qty  total';
  gap: 10px 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--tld-line);
}

.cart-line:last-child { border-bottom: none; }

.cart-line__media {
  grid-area: media;
  display: block;
  border: 1px solid var(--tld-line);
  border-radius: 6px;
  background: #fff;
  padding: 6px;
  aspect-ratio: 1 / 1;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line__info { grid-area: info; min-width: 0; }

.cart-line__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  text-decoration: none;
  display: block;
}

.cart-line__name:hover { color: var(--tld-bar-fill); text-decoration: underline; }

.cart-line__meta {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
}

.cart-line__unit {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin: 6px 0 0;
}

.cart-line__unit span { font-weight: 400; color: #6b7280; }

.cart-line__qty {
  grid-area: qty;
  align-self: center;
}

.cart-line__limit {
  font-size: 11px;
  color: #b45309;
  margin: 5px 0 0;
}

.cart-line__total {
  grid-area: total;
  align-self: center;
  justify-self: end;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-line__remove {
  grid-area: remove;
  align-self: start;
  justify-self: end;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #9aa0a8;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}

.cart-line__remove svg { width: 17px; height: 17px; }

.cart-line__remove:hover { background: #fdecec; color: var(--tld-red); }

.cart-line__remove:focus-visible {
  outline: 2px solid var(--tld-bar-fill);
  outline-offset: 2px;
}

.cart-items__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  background: #fafbfc;
  border-top: 1px solid var(--tld-line);
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tld-bar-fill);
  text-decoration: none;
}

.link-back svg { width: 17px; height: 17px; }
.link-back:hover { text-decoration: underline; }

.link-clear {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #8a9099;
  cursor: pointer;
  padding: 4px 0;
}

.link-clear:hover { color: var(--tld-red); text-decoration: underline; }

/* Resumo */
.cart-summary .summary__line--save { color: #c00; }
.cart-summary .summary__line--save[hidden] { display: none; }

.summary__line .is-free { color: #1a7f37; font-weight: 600; }

.ship-hint {
  font-size: 13px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: #fff7ec;
  color: #7a5600;
}

.ship-hint.is-free { background: #e9f7ec; color: #1a7f37; }
.ship-hint[hidden] { display: none; }

.cart-summary .assurance { font-size: 13px; }

.assurance__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--tld-bar-fill);
}

.cart-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.cart-payments img { height: 24px; width: auto; }

/* Carrinho vazio */
.cart-empty {
  text-align: center;
  padding: 48px 20px 56px;
  border: 1px solid var(--tld-line);
  border-radius: 8px;
  background: #fff;
}

.cart-empty[hidden] { display: none; }

.cart-empty svg {
  width: 52px;
  height: 52px;
  color: #c9ccd1;
  margin: 0 auto 16px;
}

.cart-empty h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.cart-empty p {
  color: #6b7280;
  margin: 0 0 22px;
  font-size: 15px;
}

.btn-buy--inline {
  display: inline-block;
  width: auto;
  min-width: 240px;
  margin: 0;
}

@media (min-width: 720px) {
  .cart-line {
    grid-template-columns: 96px 1fr 132px 110px 40px;
    grid-template-areas: 'media info qty total remove';
    align-items: center;
    gap: 18px;
    padding: 18px;
  }

  .cart-items__head {
    display: grid;
    grid-template-columns: 96px 1fr 132px 110px 40px;
    gap: 18px;
    padding: 12px 18px;
  }

  .cart-items__head span:nth-child(1) { grid-column: 1 / span 2; }
  .cart-items__head span:nth-child(2) { grid-column: 3; }
  .cart-items__head span:nth-child(3) { grid-column: 4; text-align: right; }

  .cart-line__remove { align-self: center; }
  .cart-line__name { font-size: 15px; }
}

@media (min-width: 960px) {
  .cart-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .cart-summary { position: sticky; top: 20px; }
}

/* ---------- Checkout ---------- */
.checkout {
  padding: 28px 0 40px;
}

.checkout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* sem isto os itens de grid recusam encolher abaixo do conteúdo e o
   <select> de países estica a página inteira em ecrãs estreitos */
.checkout__grid > * { min-width: 0; }

.card {
  background: #fff;
  border: 1px solid var(--tld-line);
  border-radius: 8px;
  padding: 20px;
}

.card h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.field input,
.field select {
  width: 100%;
  /* um <select> tem largura intrínseca igual à opção mais longa e, sem
     isto, estica o cartão inteiro em ecrãs estreitos */
  max-width: 100%;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--tld-bar-fill);
  outline-offset: 1px;
}

.field--error input,
.field--error select { border-color: var(--tld-red); }
.field--error .input-group { border-color: var(--tld-red); }

.field__hint {
  font-size: 12px;
  color: #6b7280;
  margin: 5px 0 0;
}

.field__opt { color: #9aa0a8; font-weight: 400; }

/* ---------- Secções do checkout ---------- */
.co-section { margin-bottom: 18px; }
.co-section:last-child { margin-bottom: 0; }

.co-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}

.co-section__num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tld-bar-fill);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-section__hint {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 18px 36px;
}

/* prefixo internacional fixo (+44) */
.input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input-group__prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f4f5f7;
  border-right: 1px solid #e2e5e8;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  user-select: none;
}

.input-group input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 0;
}

.input-group input:focus { outline: none; }

.input-group:focus-within {
  border-color: var(--tld-bar-fill);
  box-shadow: 0 0 0 3px rgba(32, 44, 64, .13);
}

.field--postcode input {
  max-width: 190px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* ---------- Opções de envio ---------- */
.ship-options {
  border: none;
  padding: 0;
  margin: 26px 0 0;
  min-width: 0;
}

.ship-options[hidden] { display: none; }

.ship-options__title {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.ship-options__list {
  display: grid;
  gap: 10px;
}

.ship-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #d3d7dd;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ship-option:hover { border-color: #b9bfc7; }

.ship-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tld-bar-fill);
  cursor: pointer;
}

.ship-option__body {
  flex: 1 1 auto;
  min-width: 0;
}

.ship-option__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.ship-option__eta {
  display: block;
  font-size: 12.5px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.35;
}

.ship-option__price {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ship-option__price.is-free { color: #1a7f37; }

.ship-option.is-selected {
  border-color: var(--tld-bar-fill);
  box-shadow: 0 0 0 1px var(--tld-bar-fill);
  background: #fbfcfd;
}

.ship-option:focus-within {
  outline: 2px solid var(--tld-bar-fill);
  outline-offset: 2px;
}

@media (max-width: 420px) {
  .ship-option { gap: 10px; padding: 12px; }
  .ship-option__name { font-size: 13.5px; }
  .ship-option__price { font-size: 14px; }
}

.co-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #6b7280;
  margin: 14px 0 0;
}

.co-secure svg { width: 14px; height: 14px; flex-shrink: 0; }

.field__error {
  color: var(--tld-red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.field--error .field__error { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.summary { background: var(--tld-panel); }

.summary__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.summary__head h2 { margin: 0; }

.summary__edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--tld-bar-fill);
  text-decoration: none;
  white-space: nowrap;
}

.summary__edit:hover { text-decoration: underline; }

/* grid em vez de flex: a coluna do preço nunca encolhe abaixo do texto,
   que era o que fazia o valor transbordar por cima do nome */
.summary__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 14px;
}

.summary__item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.summary__item > div { min-width: 0; }

.summary__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.summary__qty {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.summary__lineTotal {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* em ecrãs muito estreitos o preço desce para baixo do nome */
@media (max-width: 380px) {
  .summary__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .summary__item img { width: 48px; height: 48px; }

  .summary__lineTotal {
    grid-column: 2;
    text-align: left;
    margin-top: 2px;
  }

  /* o cabeçalho colapsável tem de caber numa linha */
  .summary__toggle-label { font-size: 14px; gap: 6px; }
  .summary__toggle-label > svg:first-child { display: none; }
  .summary__toggle-text { white-space: nowrap; }
  .summary__toggle-total { font-size: 16px; }
}

.summary__line--save { color: #c00; }
.summary__line--save[hidden] { display: none; }

/* ---------- Resumo colapsável (substitui a barra de passos) ----------
   Abaixo de 960px o resumo sobe para o topo do checkout, fechado, com o
   total sempre à vista. A partir daí volta a ser o painel lateral aberto. */
.summary__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  color: var(--tld-bar-fill);
}

.summary__toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.summary__toggle-label > svg:first-child {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.summary__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.summary__toggle[aria-expanded="true"] .summary__chevron { transform: rotate(180deg); }

.summary__toggle-total {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.summary__edit--inline { display: none; }

@media (max-width: 959px) {
  /* o resumo passa a ser o primeiro bloco da página */
  .checkout__grid .summary { order: -1; }

  .summary__toggle { display: flex; }
  .summary__head { display: none; }

  .summary__body {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
  }

  .summary.is-open .summary__body { display: block; }

  .summary__edit--inline {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .summary__chevron { transition: none; }
}

.summary__line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  border-top: 1px solid #ddd;
  padding-top: 12px;
  margin-top: 12px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qty button {
  width: 34px;
  height: 34px;
  border: none;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  font-family: inherit;
}

.qty span { width: 34px; text-align: center; font-size: 14px; font-weight: 600; }

.alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.alert.is-visible { display: block; }
.alert--error { background: #fdecec; color: #a01212; border: 1px solid #f5c2c2; }
.alert--warn { background: #fff6e0; color: #7a5600; border: 1px solid #f0d79a; }

/* A aceitação dos termos deixou de ter caixa para assinalar: é o próprio
   acto de encomendar que vale como aceitação, e o texto fica por baixo do
   botão. Menos um clique obrigatório antes de pagar. */
.co-terms {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
  margin: 0 0 10px;
}

.co-terms a { color: var(--tld-bar-fill); font-weight: 600; }

/* ---------- Pagamento (Stripe Payment Element) ---------- */
.pay-box {
  margin: 0 0 18px;
  /* o Element é um iframe e, sem isto, empurra a página em ecrãs
     estreitos tal como acontecia com o <select> de países */
  min-width: 0;
}

.pay-box__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  border: 1px dashed #ccc;
  border-radius: 6px;
  font-size: 14px;
  color: #6b7280;
}

.pay-box__loading[hidden] { display: none; }

.pay-spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid #d5d8dd;
  border-top-color: var(--tld-bar-fill);
  border-radius: 50%;
  animation: pay-spin .8s linear infinite;
}

@keyframes pay-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .pay-spinner { animation-duration: 2.4s; }
}

.pay-box__error { margin: 0; }
.pay-box__error strong { display: block; margin-bottom: 2px; }

/* enquanto o pagamento não estiver pronto o botão não deve parecer clicável */
.btn-buy[disabled] {
  opacity: .55;
  cursor: not-allowed;
  filter: none;
}

/* ---------- Thank you ---------- */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 64px;
  text-align: center;
}

.thanks__mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f6ea;
  color: #1c7c31;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.thanks h1 { font-size: 26px; font-weight: 700; margin: 0 0 10px; }
.thanks p { color: #444; }

.thanks__ref {
  display: inline-block;
  background: var(--tld-panel);
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600;
  margin: 14px 0 22px;
}

/* pagamento a decorrer ou recusado: o mesmo desenho, outra leitura */
.thanks--pending .thanks__mark { background: #fff6e0; color: #7a5600; }
.thanks--failed .thanks__mark { background: #fdecec; color: #a01212; }

.thanks__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.thanks__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  padding: 24px 0;
}

.thanks__loading[hidden] { display: none; }

/* ---------- Responsivo ---------- */
@media (min-width: 860px) {
  .product__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product__title { font-size: 30px; }
  .section__title { font-size: 28px; }
  .reviews__grid { grid-template-columns: 420px 1fr; gap: 40px; }
}

@media (min-width: 960px) {
  /* o formulário ficou mais alto com as secções numeradas: o resumo
     acompanha o scroll para o total estar sempre à vista */
  .checkout__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .checkout__grid .summary { position: sticky; top: 20px; }
}

@media (max-width: 600px) {
  /* abaixo de 16px o iOS dá zoom automático ao focar o campo */
  .search-form__input { font-size: 16px; padding: 8px 12px; }
  .search-form__btn { width: 46px; }
  .search-form__btn svg { width: 18px; height: 18px; }
  .header-search { padding: 10px 0; }

  .newsletter form { flex-direction: column; }
  .newsletter input,
  .newsletter button { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .gallery__arrow { width: 32px; height: 32px; }

  /* aperta o suficiente para quantidade e stock ficarem lado a lado; abaixo
     de ~340px o flex-wrap empilha na mesma */
  .qty-row { gap: 10px 10px; }
  .qty-field { gap: 6px; }
  .qty-field__label { font-size: 12.5px; }
  .qty-stepper { height: 36px; border-radius: 6px; }
  .qty-stepper__btn { width: 32px; }
  .qty-stepper__btn svg { width: 17px; height: 17px; }
  .qty-stepper__input { width: 38px; font-size: 14px; }
  .stock { font-size: 13px; gap: 6px; }
  .stock img { width: 18px; height: 18px; }
  .lightbox { padding: 56px 8px; gap: 4px; }
  .lightbox__arrow { width: 34px; height: 34px; font-size: 18px; }
  .lightbox__stage img { max-height: 74vh; }
}

/* Abaixo de 380px o logo a 200px mais os três ícones não cabem na mesma
   linha e empurravam a página para scroll horizontal. */
@media (max-width: 380px) {
  .site-header__inner { padding: 10px 12px; }
  .site-header__logo img { height: 34px; max-width: 132px; }
  .site-header__nav { gap: 8px; }
  .header-link { width: 44px; font-size: 9px; }
  .header-link img,
  .header-link svg { height: 18px; }
  .header-link img { width: 18px; }
}
