:root {
  --ink: #0B0B0D;
  --warm-white: #F5F2ED;
  --red: #E61E2A;
  --red-dark: #C7141F;
  --lima: #C8FF3D;
  --mist: #A7ABB4;
  --ice: #DCE6FF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--warm-white); overflow-x: hidden; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.display {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
}

/* ── top bar ── */
.topbar {
  background: var(--ink);
  color: var(--warm-white);
  text-align: center;
  font: 700 12px/1 "Inter", sans-serif;
  letter-spacing: .06em;
  padding: 9px 16px;
}
.topbar strong { color: var(--lima); }

/* ── header ── */
.header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  border-bottom: 1px solid #e4ded0;
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 50;
}
.header__logo { flex: none; height: 42px; }
.header__logo svg { height: 100%; width: auto; display: block; }

.header__nav {
  display: flex;
  gap: 22px;
  flex: 1;
  min-width: 0;
}
.header__nav a {
  font: 800 12.5px/1 "Inter", sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.header__nav a:hover, .header__nav a.active { border-color: var(--red); color: var(--red-dark); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EDEAE2;
  border: 1px solid #ded8c8;
  border-radius: 999px;
  padding: 8px 14px;
  width: 220px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  font: 500 13px/1 "Inter", sans-serif;
  color: var(--ink);
  width: 100%;
}
.search input::placeholder { color: var(--mist); }
.search svg { flex: none; width: 15px; height: 15px; stroke: var(--mist); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  background: none;
  border: none;
}
.cart-btn:hover { background: #EDEAE2; }
.cart-btn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; }
.cart-count {
  position: absolute;
  top: 0; right: 0;
  background: var(--red);
  color: #fff;
  font: 800 10px/1 "Inter", sans-serif;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.identify {
  font: 800 12.5px/1 "Inter", sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--warm-white);
}
.identify:hover { background: var(--red-dark); }

/* ── breadcrumb ── */
.breadcrumb {
  padding: 18px 6vw 0;
  font: 600 12.5px/1 "Inter", sans-serif;
  color: var(--mist);
  letter-spacing: .02em;
}
.breadcrumb a:hover { color: var(--red-dark); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb .current { color: var(--ink); }

/* ── precio LA 15 seal ── */
.seal {
  display: inline-block;
  background: var(--lima);
  color: var(--ink);
  font: 800 10px/1 "Inter", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

/* ── legal strip ── */
.legalstrip {
  background: var(--warm-white);
  color: var(--mist);
  text-align: center;
  font: 600 11.5px/1.5 "Inter", sans-serif;
  letter-spacing: .02em;
  padding: 16px;
  border-top: 1px solid #e4ded0;
}

@media (max-width: 980px) {
  .header__nav { display: none; }
  .search { display: none; }
}

/* ── auth modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,11,13,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--warm-white);
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  padding: 30px 26px 26px;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: #EDEAE2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.modal__tab {
  flex: 1;
  font: 800 12px/1 "Inter", sans-serif;
  letter-spacing: .03em;
  padding: 10px;
  border-radius: 999px;
  background: #EDEAE2;
  border: none;
  cursor: pointer;
  color: var(--mist);
}
.modal__tab.active { background: var(--ink); color: var(--warm-white); }
.modal h2 { font-size: 22px; margin-bottom: 4px; }
.modal__sub { color: var(--mist); font-size: 12.5px; line-height: 1.4; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font: 700 11px/1 "Inter", sans-serif;
  letter-spacing: .03em;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input {
  width: 100%;
  border: 1px solid #ded8c8;
  background: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font: 500 14px/1 "Inter", sans-serif;
  color: var(--ink);
}
.field input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.form-error {
  background: #fdeaea;
  color: var(--red-dark);
  font: 600 12.5px/1.4 "Inter", sans-serif;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: none;
}
.form-error.show { display: block; }
.modal .submit-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  font: 800 13px/1 "Inter", sans-serif;
  letter-spacing: .04em;
  padding: 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}
.modal .submit-btn:hover { background: var(--red-dark); }
.modal .submit-btn:disabled { opacity: .6; cursor: default; }

/* ── toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--warm-white);
  font: 700 13px/1.4 "Inter", sans-serif;
  padding: 14px 20px;
  border-radius: 12px;
  max-width: 90vw;
  text-align: center;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 300;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── carrito ── */
.cart-modal { max-width: 420px; max-height: 86vh; overflow-y: auto; }
.cart-modal h2 { font-size: 22px; margin-bottom: 18px; }

.cart-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4ded0;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font: 700 13.5px/1.3 "Inter", sans-serif; }
.cart-item__size { color: var(--mist); font-size: 11.5px; }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EDEAE2;
  border-radius: 999px;
  padding: 4px 6px;
  flex: none;
}
.cart-item__qty button {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--warm-white);
  font: 800 13px/1 "Inter", sans-serif;
  cursor: pointer;
}
.cart-item__qty span { font: 700 12.5px/1 "Inter", sans-serif; min-width: 14px; text-align: center; }
.cart-item__price { font: 800 13.5px/1 "Inter", sans-serif; flex: none; width: 62px; text-align: right; }
.cart-item__remove {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--mist);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.cart-item__remove:hover { color: var(--red-dark); }

.cart-empty { color: var(--mist); font-size: 13.5px; padding: 20px 0; text-align: center; }

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 800 15px/1 "Inter", sans-serif;
  padding: 14px 0;
  margin-bottom: 6px;
  border-top: 1px solid #e4ded0;
}

.choice-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #EDEAE2;
  border: 1px solid #ded8c8;
  border-radius: 14px;
  padding: 16px 18px;
  font: 700 14px/1 "Inter", sans-serif;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 12px;
}
.choice-btn:hover { border-color: var(--red); }

.cart-step p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.cart-step .modal__sub { margin-bottom: 16px; }
.wa-link {
  display: block;
  text-align: center;
  text-decoration: none;
}
.cart-back {
  background: none;
  border: none;
  color: var(--mist);
  font: 700 12px/1 "Inter", sans-serif;
  cursor: pointer;
  margin-bottom: 14px;
  padding: 0;
}
.cart-back:hover { color: var(--red-dark); }
