html,
body.hx-shop {
  background: #000;
  color: #fff;
}

.hx-shop {
  font-family: Inter, sans-serif;
}

.hx-shop *,
.hx-shop *::before,
.hx-shop *::after {
  box-sizing: border-box;
}

.hx-shop a { color: inherit; text-decoration: none; }
.hx-shop button { font: inherit; color: inherit; }

.hx-shop .nav-cta,
.hx-shop .nav-cta:hover,
.hx-shop .nav-cta span {
  color: #000;
}

.hx-shop .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aaa;
}

.hx-shop .shop-page {
  padding: 8.5rem 24px 5rem;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
}

.hx-shop .shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.hx-shop .shop-layout--solo {
  grid-template-columns: 1fr;
}

.hx-shop .shop-page--wide .shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.hx-shop .shop-head {
  margin-bottom: 36px;
}

.hx-shop .shop-head h1 {
  margin: 14px 0 10px;
  font-family: Inter, sans-serif;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.04;
  color: #fff;
}

.hx-shop .shop-head h1 em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.hx-shop .shop-head p {
  color: #888;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.6;
}

.hx-shop .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.hx-shop .shop-empty {
  color: #888;
  padding: 56px 0;
  font-size: 15px;
}

.hx-shop .shop-card[hidden] {
  display: none !important;
}

.hx-shop .shop-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
  will-change: transform;
  transition: border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hx-shop .shop-card:hover { border-color: rgba(255, 255, 255, 0.26); }

.hx-shop .shop-card-media {
  position: relative;
  height: 240px;
  background: #111;
  overflow: hidden;
}

.hx-shop .shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hx-shop .shop-card:hover .shop-card-media img { transform: scale(1.08); }

.hx-shop .shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  font-family: Inter, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.hx-shop .shop-badge[data-etiqueta="OFERTA"] { background: rgba(239, 68, 68, 0.72); }
.hx-shop .shop-badge[data-etiqueta="NUEVO"] { background: rgba(234, 179, 8, 0.72); color: #111; }
.hx-shop .shop-badge[data-etiqueta="POPULAR"] { background: rgba(59, 130, 246, 0.72); }
.hx-shop .shop-badge[data-etiqueta="SEGURIDAD"] { background: rgba(34, 197, 94, 0.72); }
.hx-shop .shop-badge[data-etiqueta="PREMIUM"] { background: rgba(0, 0, 0, 0.55); }

.hx-shop .shop-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hx-shop .shop-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  min-height: 0;
}

.hx-shop .shop-card-body h3 {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: #fff;
}

.hx-shop .shop-card-body > p { display: none; }

.hx-shop .shop-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}

.hx-shop .shop-card-meta strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.hx-shop .shop-card .shop-stock {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #c4b5fd;
  font-family: Inter, sans-serif;
}

.hx-shop .shop-card .shop-stock.is-out {
  color: #fca5a5;
}

.hx-shop .shop-add-btn,
.hx-shop .shop-add-btn:hover,
.hx-shop #btnFinalizar,
.hx-shop #btnFinalizar:hover {
  box-shadow: none;
}

.hx-shop .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, border-color 0.3s;
}

.hx-shop .btn:hover { transform: none; }

.hx-shop .btn-primary,
.hx-shop .btn-primary:hover {
  background: #fff;
  color: #111 !important;
  box-shadow: none;
}

.hx-shop .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hx-shop .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hx-shop .shop-add-btn {
  width: 100%;
  margin-top: 10px;
}

.hx-shop .shop-cart {
  position: sticky;
  top: 7.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #0d0d0d;
  padding: 24px;
}

.hx-shop .shop-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.hx-shop .shop-cart-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
}

.hx-shop .shop-cart-head span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #bbb;
  padding: 5px 11px;
  border-radius: 999px;
}

.hx-shop .shop-cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 88px;
  max-height: 380px;
  overflow: auto;
}

.hx-shop .shop-cart-empty {
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.hx-shop .shop-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-shop .shop-cart-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.hx-shop .shop-cart-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.hx-shop .shop-cart-item span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #888;
}

.hx-shop .shop-cart-item button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.hx-shop .shop-cart-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hx-shop .shop-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #888;
  font-size: 13px;
}

.hx-shop .shop-total strong {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.hx-shop .shop-cart-aviso {
  color: #fca5a5;
  font-size: 12px;
  margin: 0;
}

.hx-shop .shop-modal {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  z-index: 420;
}

.hx-shop .shop-modal-card,
.hx-shop .shop-detail-card {
  width: min(520px, 100%);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px;
}

.hx-shop .shop-modal-card h3,
.hx-shop .shop-detail-card h3 {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}

.hx-shop #modalProdNombre {
  color: #888;
  margin: 0;
}

.hx-shop .shop-modal-stock {
  color: #c4b5fd;
  margin: 16px 0 18px;
  text-align: left;
  font-size: 13px;
}

.hx-shop .shop-stock {
  font-size: 13px;
  color: #c4b5fd;
  font-family: Inter, sans-serif;
}

.hx-shop .shop-qty {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.hx-shop .shop-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hx-shop .shop-qty-btn:disabled { opacity: 0.35; cursor: default; }

.hx-shop .shop-qty-value {
  min-width: 36px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

.hx-shop .shop-modal-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #111;
  color: #888;
  font-size: 13px;
}

.hx-shop .shop-modal-subtotal strong {
  color: #fff;
  font-size: 20px;
}

.hx-shop .shop-modal-actions { display: flex; gap: 10px; }
.hx-shop .shop-modal-actions .btn { flex: 1; }

.hx-shop #modalLogin {
  z-index: 430;
}

.hx-shop .shop-login-card {
  width: min(420px, 100%);
  text-align: left;
}

.hx-shop .shop-login-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hx-shop .shop-login-icon svg {
  width: 22px;
  height: 22px;
}

.hx-shop .shop-login-card .section-kicker {
  margin: 0 0 10px;
}

.hx-shop .shop-login-card p:not(.section-kicker) {
  margin: 0 0 22px;
  color: #888;
  font-size: 15px;
  line-height: 1.6;
}

.hx-shop .shop-login-card a.btn-primary {
  color: #111 !important;
}

.hx-shop .shop-detail-card { position: relative; max-height: 90vh; overflow: auto; }

.hx-shop .shop-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hx-shop .shop-detail-media {
  position: relative;
  margin: -28px -28px 20px;
  height: min(42vh, 400px);
  min-height: 280px;
  background: #111;
}

.hx-shop .shop-carousel,
.hx-shop .shop-carousel-track { width: 100%; height: 100%; }

.hx-shop .shop-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.hx-shop .shop-carousel-track img,
.hx-shop .shop-carousel-track video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hx-shop .shop-detail-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 8px;
}

.hx-shop .shop-detail-desc {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hx-shop .shop-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.hx-shop .shop-detail-meta strong { font-size: 22px; letter-spacing: -0.4px; }

.hx-shop .shop-lightbox {
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
}

.hx-shop .shop-lightbox img { border-radius: 16px; }

.hx-shop .checkout-head {
  margin-bottom: 36px;
}

.hx-shop .checkout-head h1 {
  margin: 14px 0 10px;
  font-family: Inter, sans-serif;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.04;
}

.hx-shop .checkout-head h1 em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.hx-shop .checkout-head p {
  color: #888;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
}

.hx-shop .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.hx-shop .checkout-pay,
.hx-shop .checkout-summary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #0d0d0d;
  padding: 28px;
}

.hx-shop .checkout-pay h2,
.hx-shop .checkout-summary h2 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
}

.hx-shop #payment-element { margin-bottom: 18px; }

.hx-shop .checkout-pay .btn-primary,
.hx-shop .checkout-success .btn-primary {
  width: 100%;
  margin-top: 8px;
}

.hx-shop .checkout-error {
  color: #fca5a5;
  font-size: 13px;
  margin: 0 0 12px;
}

.hx-shop .checkout-success p {
  color: #888;
  margin-bottom: 20px;
  line-height: 1.55;
}

.hx-shop .checkout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.hx-shop .checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-shop .checkout-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.hx-shop .checkout-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.hx-shop .checkout-item span,
.hx-shop .checkout-totals span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #888;
}

.hx-shop .checkout-item b {
  font-size: 14px;
  letter-spacing: -0.2px;
}

.hx-shop .checkout-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hx-shop .checkout-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hx-shop .checkout-total strong {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

@media (max-width: 960px) {
  .hx-shop .shop-page {
    width: 92%;
    padding-left: 0;
    padding-right: 0;
  }
  .hx-shop .shop-layout,
  .hx-shop .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .hx-shop .shop-cart { position: static; }
  .hx-shop .shop-card-media { height: 210px; }
}

.hx-shop .shop-pdp {
  padding: 24px;
  align-items: center;
}

.hx-shop .shop-pdp__card {
  width: min(980px, 100%);
  max-height: min(90vh, 820px);
  padding: 0;
  overflow: hidden;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
}

.hx-shop .shop-pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  min-height: min(72vh, 640px);
}

.hx-shop .shop-pdp__media,
.hx-shop .shop-pdp .shop-detail-media {
  margin: 0;
  height: 100%;
  min-height: 420px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.04), transparent 46%),
    #0b0b0b;
}

.hx-shop .shop-pdp .shop-carousel-track img,
.hx-shop .shop-pdp .shop-carousel-track video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 620px);
  object-fit: contain;
}

.hx-shop .shop-pdp .shop-carousel-nav {
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hx-shop .shop-pdp__info {
  display: flex;
  flex-direction: column;
  padding: 40px 36px 32px;
  min-height: 100%;
}

.hx-shop .shop-pdp__info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.hx-shop .shop-pdp .shop-detail-desc {
  flex: 1;
  color: #9a9a9a;
  font-size: 15px;
  line-height: 1.7;
  max-height: 28vh;
  overflow: auto;
  margin-bottom: 28px;
}

.hx-shop .shop-pdp__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hx-shop .shop-pdp__meta strong {
  font-size: 28px;
  letter-spacing: -0.6px;
}

.hx-shop .shop-pdp__stock {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d4d4d4;
  font-size: 12px;
}

.hx-shop .shop-pdp__stock.is-out {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.1);
}

.hx-shop .shop-pdp .shop-add-btn {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
}

.hx-shop .shop-pdp .shop-detail-close {
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html .nav-cart-drawer #btnFinalizar,
html .nav-cart-drawer .nav-cart-checkout,
html .nav-cart-drawer .btn-primary {
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 820px) {
  .hx-shop .shop-pdp__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hx-shop .shop-pdp__card { max-height: 92vh; overflow: auto; }
  .hx-shop .shop-pdp__media,
  .hx-shop .shop-pdp .shop-detail-media {
    min-height: 280px;
    height: min(46vh, 360px);
  }
  .hx-shop .shop-pdp__info { padding: 24px 22px 26px; }
}
