.shop-page {
  --shop-panel: #1a1b19;
  --shop-line: #383a33;
  background: #111210;
}
.shop-page [hidden] { display: none !important; }
.shop-nav { display: flex; align-items: center; gap: 22px; }
.shop-nav .btn { gap: 9px; }
.shop-count {
  min-width: 23px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--gold);
  color: #161a12;
  text-align: center;
}
.shop-main { max-width: 1120px; padding-block: clamp(30px, 5vw, 70px); }
.shop-product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "gallery heading" "gallery options" "gallery guide" "gallery cart";
  align-items: start;
  gap: 22px clamp(26px, 5vw, 72px);
}
.shop-heading { grid-area: heading; }
.shop-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -.055em;
  line-height: .98;
}
.shop-description { font-size: 15px; margin: 0 0 14px; max-width: 44ch; }
.shop-price { display: flex; align-items: baseline; gap: 10px; }
.shop-price strong { font-size: 29px; color: var(--gold2); letter-spacing: -.03em; }
.shop-price span { color: var(--muted); font-size: 13px; }
.shop-gallery { grid-area: gallery; margin: 0; }
.shop-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 5%;
  border-radius: 16px;
  border: 1px solid var(--shop-line);
  background: radial-gradient(ellipse at 50% 35%, #5b5c54 0%, #32332d 60%, #252621 100%);
}
.shop-stage img { display: block; width: 100%; height: auto; }
.shop-stage img[src*="-frente"] { clip-path: inset(0 0 3.2% 0); }
.shop-views { display: flex; gap: 10px; margin-top: 12px; }
.shop-views button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 15px 3px 4px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background: #272821;
  font-size: 13px;
}
.shop-views button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold2);
  background: #302a1d;
}
.shop-views img { display: block; width: 50px; height: 50px; object-fit: contain; }
.shop-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.shop-options { grid-area: options; }
.shop-sizes { margin: 0; padding: 0; border: 0; }
.shop-sizes legend, .shop-add label { margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.shop-size-options { display: flex; gap: 9px; }
.shop-size-options label { position: relative; cursor: pointer; }
.shop-size-options input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.shop-size-options span {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  background: var(--shop-panel);
  font-size: 14px;
  font-weight: 700;
}
.shop-size-options input:checked + span { color: #161a12; background: var(--gold); border-color: var(--gold); }
.shop-size-options input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 3px; }
.shop-add { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: end; margin-top: 15px; }
.shop-add label { margin: 0; }
.shop-add input {
  display: block;
  width: 88px;
  min-height: 47px;
  margin-top: 8px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--shop-panel);
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  font-size: 16px;
  color-scheme: dark;
}
.shop-status { font-size: 13px; margin: 8px 0 0; color: var(--gold2); }
.shop-status:empty { margin: 0; }
.shop-title { margin: 0; text-transform: uppercase; }
.shop-guide {
  grid-area: guide;
  display: grid;
  grid-template-columns: minmax(110px, .9fr) minmax(0, 1.1fr);
  gap: 13px 17px;
  align-items: center;
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: var(--shop-panel);
}
.shop-guide > img { display: block; width: 100%; height: auto; border-radius: 7px; }
.shop-guide h2 { margin: 7px 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.13; letter-spacing: -.025em; }
.shop-guide p { margin: 0 0 5px; font-size: 12px; }
.shop-guide .shop-price strong { font-size: 23px; }
.shop-guide > .btn, .shop-guide-login { grid-column: 1 / -1; }
.shop-guide-login { justify-self: center; text-align: center; }
.shop-guide > .btn:disabled { background: #292c22; color: var(--gold2); transform: none; }
.shop-cart {
  grid-area: cart;
  scroll-margin-top: 20px;
  padding: clamp(17px, 3vw, 26px);
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: var(--shop-panel);
}
.shop-cart h2 { margin: 9px 0 8px; font-size: clamp(23px, 3vw, 31px); letter-spacing: -.035em; }
.shop-cart p { font-size: 13px; margin-block: 8px; }
.shop-cart-items { padding: 0; margin: 0; list-style: none; }
.shop-cart-items li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 11px 0;
  border-top: 1px solid var(--shop-line);
  font-size: 13px;
}
.shop-cart-items li span small { display: block; color: var(--muted); margin-top: 4px; }
.shop-item-actions { display: flex; align-items: center; gap: 5px; }
.shop-item-actions button {
  min-width: 36px;
  min-height: 44px;
  padding: 0 7px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  background: #22231e;
}
.shop-item-actions button:hover { border-color: var(--gold); }
.shop-item-actions button:disabled { opacity: .42; }
.shop-item-actions b { min-width: 20px; text-align: center; }
.shop-item-actions .shop-remove { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.shop-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--shop-line); padding-block: 12px; font-size: 14px; }
.shop-total strong { color: var(--gold2); font-size: 20px; }
.shop-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-order-actions .btn { flex: 1; white-space: nowrap; }
.shop-cart .shop-note { margin-top: 11px; font-size: 12px; }
.shop-cart .shop-delivery { margin: 13px 0 0; }
.shop-delivery strong { color: var(--text); }
.shop-page .shop-footer { padding-bottom: 32px; }
@media (max-width: 730px) {
  .shop-product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "gallery" "options" "guide" "cart"; gap: 22px; }
  .shop-stage { max-width: 540px; }
  .shop-nav { gap: 10px; }
  .shop-nav .text-link { font-size: 11px; }
  .shop-nav .btn { min-width: 0; padding-inline: 10px; }
  .shop-nav .ico { display: none; }
}
@media (max-width: 360px) {
  .shop-nav .text-link { display: none; }
  .shop-add input { width: 76px; }
  .shop-add .btn { padding-inline: 10px; }
}

@media (max-width: 440px) {
  .shop-guide { grid-template-columns: minmax(0, 1fr); }
}
