/* ===== AFUERA — brand tokens ===== */
@font-face {
  font-family: "Original Sans Four";
  src: url("../assets/fonts/OriginalSans-Four-Trial.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Original Sans Three";
  src: url("../assets/fonts/OriginalSans-Three-Trial.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Apercu";
  src: url("../assets/fonts/Apercu_Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --verde: #6f7b4d;
  --verde-claro: #c3d69b;
  --tierra: #8b4e34;
  --hueso: #e5decf;
  --negro: #201c16;

  --font-title: "Original Sans Four", sans-serif;
  --font-subtitle: "Original Sans Three", sans-serif;
  --font-body: "Apercu", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hueso);
  color: var(--negro);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3 { margin: 0; font-family: var(--font-title); font-weight: 400; text-transform: uppercase; }
em { font-style: normal; color: var(--tierra); }

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

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}
.section-title--light { color: var(--hueso); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  grid-template-areas: "links lang cart logo";
  align-items: center;
  gap: 18px;
  padding: 18px var(--pad);
  background: var(--hueso);
}
.nav__logo { grid-area: logo; justify-self: end; }
.nav__logo img { width: 120px; height: auto; display: block; }
.nav__links { grid-area: links; justify-self: start; display: flex; gap: clamp(14px, 3vw, 28px); }
.nav__links a {
  font-family: var(--font-subtitle);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__links a:hover { color: var(--tierra); }

.nav__toggle {
  display: none;
  grid-area: toggle;
  justify-self: start;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--negro);
}

.nav__cart {
  grid-area: cart;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-subtitle);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--negro);
}
.nav__cart:hover { color: var(--tierra); }

.nav__lang {
  grid-area: lang;
  justify-self: end;
  background: none;
  border: 1px solid var(--negro);
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: var(--font-subtitle);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--negro);
}
.nav__lang:hover { border-color: var(--tierra); color: var(--tierra); }

.nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--tierra);
  color: var(--hueso);
  font-size: 10px;
}

@media (max-width: 640px) {
  .nav { grid-template-columns: auto 1fr auto auto; grid-template-areas: "toggle logo lang cart"; gap: 10px; }
  .nav__toggle { display: flex; }
  .nav__logo { grid-area: logo; justify-self: center; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: var(--hueso);
    width: 200px;
    padding: 8px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 20px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 40%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) 72px;
  max-width: 900px;
}
.hero h1 {
  color: var(--hueso);
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1.02;
}
.hero h1 em { color: var(--verde-claro); }

/* ===== Piezas ===== */
.piezas {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--pad);
}
.piezas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 32px;
}

.card { display: flex; flex-direction: column; }
.card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #d8cfb9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
}
.card__track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.card__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.card__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.card__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(229, 222, 207, 0.55);
}
.card__dots span.is-active { background: var(--hueso); }
.card__name {
  font-family: var(--font-subtitle);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  width: fit-content;
}
.card__name:hover { color: var(--tierra); }
.card__benefit {
  font-size: 14px;
  color: #5c564a;
  margin: 4px 0 10px;
}
.card__price {
  font-family: var(--font-body);
  font-size: 15px;
}

.piezas__empty {
  font-size: 14px;
  color: #7a7466;
}

/* ===== Separador foto/video (Sheet-driven, hidden when nothing is set) ===== */
.separador-foto {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#separador-foto-media {
  width: 100%;
  height: 100%;
}
#separador-foto-media img,
#separador-foto-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Eventos ===== */
.eventos {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--pad);
}
.eventos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 32px;
}
.eventos__empty {
  font-size: 14px;
  color: #7a7466;
}

.event-card { display: flex; flex-direction: column; }
.event-card__flyer {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  background: #d8cfb9;
  margin-bottom: 16px;
  display: block;
}
.event-card__name {
  font-family: var(--font-subtitle);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.event-card__date {
  font-size: 13px;
  color: var(--tierra);
  font-family: var(--font-subtitle);
  margin: 4px 0 8px;
}
.event-card__desc {
  font-size: 14px;
  color: #5c564a;
  margin: 0 0 12px;
}
.event-card__more {
  align-self: flex-start;
  background: none;
  border: 1px solid var(--negro);
  border-radius: 4px;
  padding: 8px 20px;
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.event-card__more:hover { background: var(--negro); color: var(--hueso); }

/* ===== About ===== */
.about { background: #ded4bd; }
.about__photo {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}
.about__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 72px var(--pad);
}
.about__inner p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a4539;
  margin: 0 0 22px;
}
.about__signoff {
  font-family: var(--font-subtitle);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tierra);
  margin-top: 32px !important;
}

/* ===== Contacto ===== */
.contacto {
  background: var(--negro);
  color: var(--hueso);
  padding: 120px var(--pad);
  text-align: center;
}
.contacto__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contacto__link {
  border: 1px solid var(--hueso);
  padding: 16px 36px;
  border-radius: 4px;
  font-family: var(--font-subtitle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}
.contacto__link:hover { background: var(--hueso); color: var(--negro); }

/* ===== Footer ===== */
.footer {
  padding: 24px var(--pad);
  font-size: 12px;
  color: #7a7466;
  background: var(--negro);
  text-align: center;
  border-top: 1px solid #3a352c;
}

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(32, 28, 22, 0.7); }
.modal__panel {
  position: relative;
  background: var(--hueso);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Only this inner wrapper scrolls — the panel itself (and the × button,
   a direct sibling of this div, not a child of it) stays put, so the ×
   never scrolls away AND never drifts outside the popup's own card. */
.modal__scroll {
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.modal__gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  background: #d8cfb9;
}
.modal__gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.modal__gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.modal__gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.modal__gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(229, 222, 207, 0.55);
}
.modal__gallery-dots span.is-active { background: var(--hueso); }
.modal__body { padding: 24px 28px 32px; font-size: 13px; }
.modal__name {
  font-size: 22px;
  margin-bottom: 4px;
}
.modal__price {
  font-family: var(--font-subtitle);
  font-size: 14px;
  color: var(--tierra);
  margin: 0 0 2px;
}
.modal__price-usd {
  font-size: 12px;
  color: #8a8371;
  margin: 0 0 20px;
}
.modal__block { margin-bottom: 18px; }
.modal__block h4 {
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.modal__block p {
  font-size: 13px;
  color: #4a4539;
  margin: 0;
}
.modal__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 6px;
}
.modal__sizes button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 100px;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--negro);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.modal__sizes button:hover { color: var(--tierra); }
.modal__sizes button.is-selected {
  background: transparent;
  border-color: var(--negro);
  color: var(--negro);
}
.modal__note {
  font-size: 11px !important;
  color: #8a8371 !important;
  font-style: italic;
}
.modal__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--tierra);
  color: var(--hueso);
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-family: var(--font-subtitle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  margin-top: 8px;
  cursor: pointer;
}
.modal__cta:hover { background: var(--negro); }
.modal__cta:disabled { background: #b9ae9c; cursor: not-allowed; }
.modal__cta.is-disabled { background: #b9ae9c; cursor: not-allowed; }
.modal__cta.is-disabled:hover { background: #b9ae9c; }
.modal__cta[hidden] { display: none; }

@media (max-width: 560px) {
  /* Mobile used to force a shorter 4:3 box, which combined with object-fit:
     contain shrank most (portrait) product photos down a lot to fit the
     limited height. Keeping the same 4:5 ratio as desktop — much closer to
     how these photos are actually shot — means contain rarely needs to
     shrink much, so photos show both uncropped AND close to full-size. */
  .modal__gallery-track img { object-fit: contain; }
}

/* ===== Modal: complete the look ===== */
.modal__complete-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.modal__complete-item {
  flex: 0 0 110px;
  cursor: pointer;
}
.modal__complete-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-bottom: 6px;
}
.modal__complete-item p {
  font-size: 11px !important;
  margin: 0 !important;
  color: var(--negro) !important;
}
.modal__complete-item .modal__complete-price {
  color: #8a8371 !important;
  margin-top: 2px !important;
}

/* ===== Modal: care / sustainability accordions ===== */
.modal__accordion {
  border-top: 1px solid #d8cfb9;
  padding-top: 14px;
  margin-bottom: 14px;
}
.modal__accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0;
  color: var(--negro);
}
.modal__accordion-toggle:hover { color: var(--tierra); }
.modal__accordion-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.15s ease;
}
.modal__accordion-toggle.is-open .modal__accordion-icon { transform: rotate(45deg); }
.modal__accordion-panel {
  padding-top: 10px;
  font-size: 13px;
}
.modal__accordion-panel p {
  margin: 0;
  color: #4a4539;
}
.modal__sizechart-img {
  max-width: 100%;
  display: block;
  border-radius: 2px;
}

/* ===== Modal: post add-to-cart actions ===== */
.modal__post-add {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.modal__post-add[hidden] { display: none; }
.modal__post-add .modal__cta { margin-top: 0; }
.modal__cta--ghost {
  background: transparent;
  border: 1px solid var(--negro);
  color: var(--negro);
}
.modal__cta--ghost:hover { background: var(--negro); color: var(--hueso); }

/* ===== Cart drawer ===== */
.cart-drawer { position: fixed; inset: 0; z-index: 60; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(32, 28, 22, 0.7); }
.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--hueso);
  padding: 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.cart-drawer__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.cart-drawer__title {
  font-size: 22px;
  margin-bottom: 24px;
}
.cart-drawer__items { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.cart-drawer__empty { font-size: 14px; color: #7a7466; }
.cart-drawer__notice {
  background: #ded4bd;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #4a4539;
  margin: 0 0 20px;
}
.cart-item { display: flex; gap: 12px; align-items: flex-start; }
.cart-item__info { flex: 1; }
.cart-item__name {
  font-family: var(--font-subtitle);
  font-size: 14px;
  text-transform: uppercase;
}
.cart-item__talla { font-size: 12px; color: #7a7466; margin: 2px 0 8px; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; }
.cart-item__qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--negro);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.cart-item__price { font-size: 13px; white-space: nowrap; }
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: #8a8371;
  text-decoration: underline;
  padding: 0;
}
.cart-drawer__shipping {
  border-top: 1px solid #d8cfb9;
  padding-top: 18px;
  margin-top: 18px;
}
.cart-drawer__shipping h4 {
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.shipping__pais-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.shipping__pais-option {
  flex: 1;
  position: relative;
  text-align: center;
  border: 1px solid var(--negro);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.shipping__pais-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.shipping__pais-option:has(input:checked) { background: var(--negro); color: var(--hueso); }
.shipping__zone-result {
  background: #ded4bd;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--font-subtitle);
  font-size: 13px;
  margin: 12px 0 0;
}
.shipping__group-label {
  font-family: var(--font-subtitle);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7466;
  margin: 16px 0 8px;
}
.shipping__group-label:first-of-type { margin-top: 0; }
.shipping__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  cursor: pointer;
}
.shipping__option--intl { font-size: 12.5px; }
.shipping__price {
  margin-left: auto;
  font-family: var(--font-subtitle);
  white-space: nowrap;
}
.shipping__intl-note {
  background: #ded4bd;
  border-radius: 4px;
  padding: 10px 12px;
  margin: 10px 0 4px;
}
.shipping__intl-note p {
  font-size: 11px;
  color: #5c564a;
  margin: 0 0 6px;
}
.shipping__intl-note p:last-child { margin-bottom: 0; }
.shipping__placeholder-flag {
  font-style: italic;
  color: #8a8371 !important;
}
.cart-drawer__paypal {
  background: #003087;
  margin-top: 8px;
}
.cart-drawer__paypal:hover { background: #001c52; }
.shipping__field {
  margin: 12px 0 0;
}
.shipping__field label {
  display: block;
  font-size: 12px;
  color: #7a7466;
  margin-bottom: 4px;
}
.shipping__field input,
.shipping__field select,
.shipping__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  border: 1px solid #b9ae9c;
  border-radius: 4px;
  padding: 8px;
  resize: vertical;
  background: #fff;
  color: var(--negro);
}
.shipping__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.shipping__row .shipping__field { margin-top: 0; }

@media (max-width: 480px) {
  .shipping__row { grid-template-columns: 1fr; }
}
.cart-drawer__hint {
  font-size: 11px;
  color: #8a8371;
  font-style: italic;
  margin-top: 8px;
}
.cart-drawer__footer { border-top: 1px solid #d8cfb9; padding-top: 18px; margin-top: 18px; }
.cart-drawer__line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 0 0 6px;
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-subtitle);
  font-size: 16px;
  margin: 10px 0 14px;
  padding-top: 10px;
  border-top: 1px solid #d8cfb9;
}

/* ===== Cart drawer: payment (checkout) ===== */
.cart-drawer__payment {
  border-top: 1px solid #d8cfb9;
  padding-top: 18px;
  margin-top: 18px;
}
.cart-drawer__payment h4 {
  font-family: var(--font-subtitle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.payment__amount {
  font-family: var(--font-subtitle);
  font-size: 16px;
  margin: 0 0 16px;
}
.payment__amount span:last-child { color: var(--tierra); }

.payment__method {
  background: #ded4bd;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.payment__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}
.payment__row:last-child { margin-bottom: 0; }
.payment__label { color: #7a7466; white-space: nowrap; }
.payment__value {
  font-family: var(--font-body);
  flex: 1;
  word-break: break-all;
}
.payment__method-title {
  font-family: var(--font-subtitle);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}
.payment__copy {
  background: none;
  border: 1px solid var(--negro);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.payment__copy svg { display: block; }
.payment__copy:hover { background: var(--negro); color: var(--hueso); }
.payment__copy.is-copied { background: var(--verde); border-color: var(--verde); color: var(--hueso); }

.payment__filename {
  font-size: 12px;
  color: #7a7466;
  margin: 6px 0 0;
}
.payment__hint {
  font-size: 12px;
  color: var(--tierra);
  margin: 14px 0;
}
.payment__support {
  text-align: center;
  font-size: 12px;
  color: #7a7466;
  margin: 14px 0 0;
}
.payment__support a { text-decoration: underline; }
.payment__support a:hover { color: var(--tierra); }

.cart-drawer__quote {
  border-top: 1px solid #d8cfb9;
  padding-top: 18px;
  margin-top: 18px;
}

/* ===== gracias.html (Netlify Forms redirect target) ===== */
.gracias {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--hueso);
  overflow: hidden;
}
.gracias__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.gracias__bg[hidden] { display: none; }
.gracias__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(229, 222, 207, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.gracias__logo { width: 120px; height: auto; }
.gracias__title {
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.15;
  margin: 0;
}
.gracias__text {
  font-size: 15px;
  line-height: 1.6;
  color: #4a4539;
  margin: 8px 0 0;
}
.gracias__signoff {
  font-family: var(--font-subtitle);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tierra);
  margin: 14px 0 0;
}
.gracias__link { width: auto; padding: 14px 36px; margin-top: 4px; }
