/* Anamá — páginas do drop (lista e produto). Usa os tokens e o cabeçalho/rodapé de site.css. */

html:not(.liberado) main { visibility: hidden; }

/* ---------- Hero curto da lista ---------- */
.drop-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(360px, 105vw, 520px);
  display: flex; align-items: flex-end;
  color: var(--branco); background: #2b2420;
}
.drop-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.drop-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,16,12,.66) 0%, rgba(20,16,12,.18) 45%, rgba(20,16,12,0) 65%);
}
.drop-hero__text {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  padding-block: 0 24px; max-width: 640px;
}
.drop-hero__kicker { font-size: 22px; color: var(--sol); }
.drop-hero__title { margin: 0; font-size: min(17px, 4.3vw); line-height: 1.2; font-weight: 600; font-stretch: 125%; letter-spacing: .03em; white-space: nowrap; }
.drop-hero__sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 40ch; }

/* ---------- Lista ---------- */
.drop-list, .also {
  padding-left: var(--pad-l); padding-right: var(--pad-r);
  padding-block: 36px 44px;
  display: flex; flex-direction: column; gap: 18px;
}
.drop-list__title { margin: 0; font-size: 13px; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; color: var(--verde); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid--one { grid-template-columns: minmax(0, 1fr); max-width: 260px; }
.card { display: flex; flex-direction: column; gap: 7px; color: var(--tinta); text-decoration: none; min-width: 0; }
.card:hover { color: var(--tinta); }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--creme-fundo); transition: opacity .2s ease; }
.card:hover .card__img { opacity: .9; }
.card__name { font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .06em; }
.card__price { font-size: 13.5px; color: var(--tinta-suave); }

/* Espaço reservado enquanto não há foto */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--verde) var(--tex-verde) repeat; background-size: 300px;
  color: var(--creme); text-align: center; padding: 16px;
}
.ph__name { font-family: var(--f-mao); font-weight: 600; font-size: clamp(22px, 6vw, 34px); color: var(--sol); line-height: 1; }
.ph__note { font-size: 10px; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-claro); }

.facts, .buy__facts {
  list-style: none; margin: 8px 0 0; padding: 0;
  font-size: 13px; color: var(--tinta-suave);
}
.facts li, .buy__facts li { padding: 11px 0; border-top: 1px solid var(--linha); }
.facts li:last-child, .buy__facts li:last-child { border-bottom: 1px solid var(--linha); }

/* ---------- Produto ---------- */
.gallery { display: flex; flex-direction: column; gap: 4px; }
.gallery__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--creme-fundo); }
.gallery__main.ph .ph__name { font-size: clamp(40px, 12vw, 64px); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 0 4px; }
.thumb { border: 0; padding: 0; background: none; cursor: pointer; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb.is-on { outline: 1.5px solid var(--verde); outline-offset: -1.5px; }

.buy {
  padding-left: var(--pad-l); padding-right: var(--pad-r);
  padding-block: 22px 8px;
  display: flex; flex-direction: column; gap: 14px;
}
.buy__cap { margin: 0; font-size: 10px; font-weight: 500; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza); }
.buy__name { margin: -6px 0 0; font-size: 20px; line-height: 1.2; font-weight: 600; font-stretch: 125%; letter-spacing: .02em; text-wrap: balance; }
.buy__price { margin: -6px 0 0; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.buy__frase { margin: 0; font-size: 22px; color: var(--verde); }

.buy__sizes { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.buy__row { display: flex; justify-content: space-between; align-items: baseline; }
.buy__label { font-size: 10px; font-weight: 500; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); }
.buy__guide { font-size: 12.5px; font-weight: 500; text-underline-offset: 3px; padding: 6px 0; }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.size {
  height: 48px; border: 1.5px solid var(--verde); background: transparent; color: var(--verde);
  font-size: 13px; font-weight: 600; font-stretch: 125%; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.size:hover { background: rgba(36,87,56,.08); }
.size[aria-checked="true"] { background: var(--verde); color: var(--creme); }

.buy__add {
  height: 56px; border: 0; margin-top: 4px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase;
}
.buy__add:hover { filter: brightness(1.08); }
.buy__add[disabled] { opacity: .7; cursor: progress; }
.buy__msg { margin: -6px 0 0; min-height: 18px; font-size: 13px; color: #9A3B1E; }

.acc { border-bottom: 1px solid var(--linha); padding-block: 16px; }
.acc:first-of-type { margin-top: 10px; }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--verde); }
.acc[open] summary::after { content: "–"; }
.acc p, .acc ul { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--tinta-suave); max-width: 60ch; }
.acc ul { padding-left: 18px; }
.acc__note { font-size: 12.5px !important; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.sizes-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sizes-table th, .sizes-table td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--linha); }
.sizes-table thead th { font-size: 10px; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); }
.sizes-table tbody th { font-weight: 600; color: var(--verde); }

/* ---------- Computador ---------- */
@media (min-width: 900px) {
  .drop-hero { min-height: clamp(420px, 38vw, 560px); }
  .drop-hero__text { padding-left: var(--pad-l); padding-right: var(--pad-r); padding-block: 0 44px; }
  .drop-hero__kicker { font-size: 30px; }
  .drop-hero__title { font-size: clamp(28px, 2.6vw, 38px); }
  .drop-hero__sub { font-size: 15.5px; }
  .drop-list, .also { padding-block: 56px 72px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

  .pdp {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr);
    gap: 56px; padding-left: var(--pad-l); padding-right: var(--pad-r); padding-top: 24px;
    max-width: 1320px; margin: 0 auto; align-items: start;
  }
  .gallery { position: static; }
  .gallery__thumbs { padding: 0; }
  .buy { padding: 8px 0 0; max-width: 480px; }
  .buy__name { font-size: 24px; }
  .also { grid-column: 1 / -1; padding-left: 0; padding-right: 0; }
}

/* Ajustes */
.gallery__main.ph { background: var(--verde) var(--tex-verde) repeat; background-size: 300px; }
.announce { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .grid--one { grid-template-columns: minmax(0, 300px); max-width: none; }
}
