.page-title {
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-title a {
  text-decoration: none;
}

.nav a[href="carrito.html"] {
  color: var(--accent);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps [aria-current="step"] {
  color: var(--accent);
}

.swatch {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.12)),
    var(--swatch, #c9b89a);
  border: 1px solid var(--rule);
}

.swatch--large {
  aspect-ratio: 1;
}

.swatch--small {
  width: 3.4rem;
  aspect-ratio: 1;
  flex: none;
}

.grid--shop .slot article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid--shop h2 {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.12;
}

.grid--shop h2 a {
  text-decoration: none;
}

.grid--shop h2 a:hover,
.grid--shop h2 a:focus-visible {
  text-decoration: underline;
}

.item__cat,
.product-category,
.l_3a {
  display: block;
  margin: 0.8rem 0 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.item__price,
.product-price,
.v8_k {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 650;
}

.item__sku,
.product-sku,
.m_0d {
  display: block;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.item__add,
.add-to-cart,
.sc-bdVaJa,
.button,
.cart__next,
.checkout-button,
.continue-to-payment,
.place-order,
.go_7,
.go_8 {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.grid--shop .item__add,
.grid--shop .add-to-cart,
.grid--shop .sc-bdVaJa {
  margin-top: auto;
  align-self: flex-start;
}

.grid--shop .item__price,
.grid--shop .product-price,
.grid--shop .v8_k {
  margin-bottom: 0.9rem;
}

.item__add:hover,
.add-to-cart:hover,
.sc-bdVaJa:hover,
.button:hover,
.cart__next:hover,
.checkout-button:hover,
.continue-to-payment:hover,
.place-order:hover,
.go_7:hover,
.go_8:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.pdp {
  display: grid;
  gap: 1.6rem 2.4rem;
  margin-top: 1rem;
}

.pdp h1 {
  margin: 0.3rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 650;
  line-height: 1.05;
}

.pdp .item__price,
.pdp .product-price,
.pdp .v8_k {
  font-size: 1.7rem;
}

.pdp article > p:not([class]),
.item__desc,
.product-description,
.p_x1 {
  margin: 0.9rem 0 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.qty-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.qty-field input {
  width: 4.5rem;
  padding: 0.45rem;
  border: 1px solid var(--ink);
  background: transparent;
  font: inherit;
}

.checkout {
  display: grid;
  gap: 1.6rem 2.4rem;
  margin-top: 1.2rem;
}

.panel {
  border-top: 3px solid var(--rule);
  padding-top: 0.8rem;
}

.panel h2,
.checkout h2 {
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
}

.panel > h2:first-child {
  margin-top: 0;
}

.cart__list,
.cart-items,
.u_19 {
  margin: 0;
  padding: 0;
  list-style: none;
}

.line,
.cart-item,
.r_5e {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}

.line-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 12rem;
  min-width: 0;
}

.line__name,
.cart-item__name,
.t_a2 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 650;
}

.line__sku,
.cart-item__sku,
.line-body .m_0d {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.line__price,
.cart-item__price,
.line-body .v8_k {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.stepper button,
.line__remove,
.cart-item__remove,
.bt_9 {
  min-width: 1.9rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.line__remove,
.cart-item__remove,
.bt_9 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line__total,
.cart-item__total,
.v8_z {
  min-width: 6rem;
  text-align: right;
  font-weight: 700;
}

.totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  margin: 0.9rem 0 0;
}

.totals dt,
.totals dd {
  margin: 0;
}

.totals dd {
  text-align: right;
}

.totals dt:last-of-type,
.totals dd:last-of-type {
  padding-top: 0.45rem;
  border-top: 1px solid var(--rule);
  font-weight: 700;
}

.checkout form {
  display: grid;
  gap: 1.2rem;
}

.checkout fieldset {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.checkout legend {
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.35);
  font: inherit;
  font-weight: 400;
}

.option {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.address-block {
  margin: 0.6rem 0 0;
  font-style: normal;
  line-height: 1.5;
}

.order-number-line {
  margin: 0.9rem 0 0;
  font-size: 1.1rem;
}

[role="status"] {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(22rem, calc(100% - 2rem));
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

[role="status"].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 560px) {
  .grid--shop {
    grid-template-columns: 1fr 1fr;
  }

  .grid--shop .slot:first-child {
    grid-column: auto;
  }
}

@media (min-width: 860px) {
  .grid--shop {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--shop .slot:first-child {
    grid-column: auto;
  }

  .pdp {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .checkout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}
