/* Resenha Garantida — site público */

/* ---------------------------------------------------------------- cabeçalho */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 4, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 53, 115, 0.6);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  border-radius: 11px;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 22px -4px rgba(45, 123, 255, 0.8);
}
.brand-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.02rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  transform: skewX(-8deg);
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: #c0cdee;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(45, 123, 255, 0.14);
}
.site-nav a[aria-current='page'] {
  color: #fff;
  background: rgba(45, 123, 255, 0.22);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
}

.user-menu {
  position: relative;
}
.user-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.user-btn:hover {
  border-color: var(--blue);
}
.user-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.user-btn span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  padding: 6px;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 24px 60px -20px #000;
}
.menu-pop a,
.menu-pop button {
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.menu-pop a:hover,
.menu-pop button:hover {
  background: rgba(45, 123, 255, 0.16);
  color: #fff;
}

/* ---------------------------------------------------------------- início */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(78vh, 740px);
  display: grid;
  align-items: center;
}
/* Faixas horizontais de luz, como na arte do servidor */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(46%, 560px);
  background: repeating-linear-gradient(180deg, rgba(79, 148, 255, 0.5) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent), linear-gradient(180deg, transparent 5%, #000 35%, #000 60%, transparent 95%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent), linear-gradient(180deg, transparent 5%, #000 35%, #000 60%, transparent 95%);
  mask-composite: intersect;
  opacity: 0.4;
  transform: translateX(calc(var(--tx, 0) * -1px));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 24px;
  padding-block: 56px 40px;
}
.hero-grid > div:first-child {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(3.4rem, 9.6vw, 8.8rem);
  margin-bottom: 28px;
}
.hero-lead {
  max-width: 34ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: #c9d5f2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-live {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
}
.hero-live strong {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.hero-live .dot {
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(53, 214, 160, 0.7);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(53, 214, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 214, 160, 0);
  }
}
.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 600px);
  aspect-ratio: 1000 / 755;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%), linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 62%, transparent 98%), linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
  mask-composite: intersect;
  transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px));
  transition: transform 0.25s ease-out;
}

/* Três portas de entrada: linhas grandes, não cartões */
.doors {
  margin-block: 24px 80px;
}
.door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 8px 40px;
  padding: 30px 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: padding 0.3s ease, background 0.3s ease;
}
.door:last-child {
  border-bottom: 1px solid var(--line);
}
.door::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(45, 123, 255, 0.24), transparent 70%);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.door:hover::before,
.door:focus-visible::before {
  transform: none;
}
.door:hover,
.door:focus-visible {
  padding-left: 28px;
  color: #fff;
}
.door-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.door-text {
  color: #aebbdd;
  max-width: 42ch;
}

.section {
  padding-block: 56px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 26px;
}
.section-head p {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 6px;
}

/* ---------------------------------------------------------------- lista de scripts */
.script-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.script-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 22px;
  padding: 16px 20px;
}
.script-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 1.08rem;
  font-weight: 700;
}
.script-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2px;
  max-width: 70ch;
}
.script-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lock {
  color: var(--warn);
  font-size: 0.8rem;
  font-weight: 650;
}

/* ---------------------------------------------------------------- produto em destaque */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(45, 123, 255, 0.28), transparent 60%),
    var(--surface);
}
.feature h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.feature p {
  margin-top: 14px;
  color: #b9c6e8;
  max-width: 46ch;
}
.feature-side {
  display: grid;
  align-content: center;
  gap: 14px;
  justify-items: start;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 1rem;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0;
}
.price s {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------------------------------------------------------------- perguntas frequentes */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 20px;
}
.faq details[open] {
  border-color: var(--line-2);
  background: var(--surface-2);
}
.faq summary {
  padding: 16px 0;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--cyan);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 18px;
  color: #b9c6e8;
  max-width: 62ch;
}

/* ---------------------------------------------------------------- páginas internas */
.page-head {
  padding-block: 56px 28px;
}
.page-head h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.page-head p {
  margin-top: 14px;
  max-width: 54ch;
  color: #aebbdd;
  font-size: 1.1rem;
}
.notice {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 194, 75, 0.5);
  background: rgba(255, 194, 75, 0.08);
  color: #ffe2a3;
}
.notice a {
  color: #fff;
}

/* ---------------------------------------------------------------- loja */
.store-grid {
  display: grid;
  gap: 14px;
}
.product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 22px;
  padding: 20px 22px;
}
.product.is-featured {
  background: radial-gradient(500px circle at 0% 0%, rgba(45, 123, 255, 0.22), transparent 60%), var(--surface);
  border-color: var(--line-2);
  padding-block: 28px;
}
.product-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 1.9rem;
  overflow: hidden;
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product h3 {
  font-size: 1.3rem;
}
.product.is-featured h3 {
  font-size: 1.6rem;
}
.product-desc {
  color: #aebbdd;
  margin-top: 4px;
  max-width: 62ch;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.product-buy {
  display: grid;
  justify-items: end;
  gap: 10px;
}
.product-buy .price {
  font-size: 1.9rem;
}

/* ---------------------------------------------------------------- scripts: filtros */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.toolbar .search {
  flex: 1 1 260px;
  max-width: 420px;
}
.toolbar select {
  width: auto;
  min-width: 190px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-btn {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: #c0cdee;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: 0.15s;
}
.chip-btn:hover {
  border-color: var(--blue);
  color: #fff;
}
.chip-btn[aria-pressed='true'] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.script-row.enter {
  animation: row-in 0.3s ease both;
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* ---------------------------------------------------------------- conta */
.account-grid {
  display: grid;
  gap: 40px;
}
.subs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.sub {
  padding: 22px;
  display: grid;
  gap: 12px;
}
.sub h3 {
  font-size: 1.25rem;
}
.sub .days {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.meter {
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.meter > i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-2), var(--cyan));
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 18px;
  padding: 14px 18px;
}
.order b {
  font-weight: 700;
}
.order small {
  display: block;
  color: var(--muted);
}
.order-delivery {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.93rem;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.login-gate {
  text-align: center;
  padding: 56px 20px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

/* ---------------------------------------------------------------- pagamento (gaveta) */
.co {
  display: grid;
  gap: 20px;
}
.co-product {
  display: grid;
  gap: 4px;
}
.co-product h3 {
  font-size: 1.5rem;
}
.co-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-block: 1px dashed var(--line-2);
}
.co-total strong {
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.coupon-row {
  display: flex;
  gap: 8px;
}
.coupon-row input {
  text-transform: uppercase;
}
.co-qr {
  justify-self: center;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 60px -10px rgba(45, 123, 255, 0.7);
}
.co-qr img {
  width: 230px;
  height: 230px;
  image-rendering: pixelated;
}
.co-code {
  display: flex;
  gap: 8px;
}
.co-code input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}
.co-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
}
.co-status .pulse {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warn);
  animation: ping-warn 1.6s infinite;
}
@keyframes ping-warn {
  70% {
    box-shadow: 0 0 0 12px rgba(255, 194, 75, 0);
  }
  0% {
    box-shadow: 0 0 0 0 rgba(255, 194, 75, 0.6);
  }
}
.co-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.co-steps {
  margin: 0;
  padding-left: 20px;
  color: #aebbdd;
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
}

/* Comprovante com carimbo "GARANTIDA" quando o pagamento é confirmado */
.receipt {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.receipt.hit {
  animation: shake 0.4s 0.32s;
}
@keyframes shake {
  20% {
    transform: translate(3px, -2px);
  }
  40% {
    transform: translate(-3px, 2px);
  }
  60% {
    transform: translate(2px, 1px);
  }
}
.stamp {
  justify-self: start;
  padding: 4px 18px 0;
  border: 4px solid var(--cyan);
  border-radius: 10px;
  color: var(--cyan);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  transform: rotate(-7deg);
  filter: url(#rough) drop-shadow(0 0 14px rgba(111, 211, 255, 0.55));
}
.receipt.hit .stamp {
  animation: stamp-in 0.38s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes stamp-in {
  from {
    opacity: 0;
    transform: rotate(-16deg) scale(3);
  }
  to {
    opacity: 1;
    transform: rotate(-7deg) scale(1);
  }
}
.receipt dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
}
.receipt dt {
  color: var(--muted);
}
.receipt dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

/* ---------------------------------------------------------------- rodapé */
.site-foot {
  margin-top: 80px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.foot-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-row a {
  color: #aebbdd;
  text-decoration: none;
}
.foot-row a:hover {
  color: #fff;
}

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-grid;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    margin: 0;
    padding: 10px var(--gutter) 16px;
    background: rgba(2, 4, 12, 0.97);
    border-bottom: 1px solid var(--line-2);
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .head-actions #invite-btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 28px 10px;
  }
  .hero-photo {
    order: -1;
    justify-self: center;
    width: min(78%, 380px);
    margin-bottom: -40px;
  }
  .door {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .script-row {
    grid-template-columns: 1fr;
  }
  .script-meta {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }
  .product {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .product-buy {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    align-items: center;
  }
  .order {
    grid-template-columns: 1fr auto;
  }
}

.mb {
  margin-bottom: 20px;
}

/* ---------------------------------------------------------------- manutenção */
.maint {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  min-height: 100vh;
  padding: 32px 16px;
  text-align: center;
}
.maint h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.maint p {
  max-width: 46ch;
  color: #c7d3f0;
}
.maint-icon {
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(45, 123, 255, 0.45);
}
.maint-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffb020;
  color: #1b1200;
}
.maint-banner a {
  color: inherit;
  text-decoration: underline;
}

/* ---------------------------------------------------------------- escolha de período no checkout */
.period-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
}
.period-btn {
  display: grid;
  gap: 2px;
  justify-items: center;
  border-radius: 14px;
  padding: 10px 12px;
}
.period-btn small {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.label-like {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c7d3f0;
}

/* ---------------------------------------------------------------- v3.2: prévia do produto (imagens quadradas) */
.cover {
  position: relative;
  display: block;
  width: 64px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: inherit;
  cursor: zoom-in;
  font: inherit;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cover-empty {
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  cursor: default;
}
.cover:not(.cover-empty):hover img,
.cover:not(.cover-empty):focus-visible img {
  transform: scale(1.05);
}
.cover-count,
.cover-zoom {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(2, 4, 12, 0.78);
  border: 1px solid var(--line-2);
}
.cover-count {
  left: 8px;
  bottom: 8px;
}
.cover-zoom {
  right: 8px;
  top: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cover:hover .cover-zoom,
.cover:focus-visible .cover-zoom {
  opacity: 1;
}
.product.has-media {
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: start;
}
.product.has-media .cover {
  width: 168px;
}
.product.has-media.is-featured {
  grid-template-columns: 208px minmax(0, 1fr) auto;
}
.product.has-media.is-featured .cover {
  width: 208px;
}
.co-media {
  margin-bottom: 14px;
}
.cover.lg {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
}

.lightbox {
  width: min(94vw, 640px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text, #e8eeff);
}
.lb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.lb-head .muted {
  margin-right: auto;
  font-size: 0.85rem;
}
.lb-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}
.lb-stage {
  position: relative;
  padding: 0 16px;
}
.lb-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--surface-2);
}
.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(2, 4, 12, 0.8);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.lb-nav.prev {
  left: 26px;
}
.lb-nav.next {
  right: 26px;
}
.lb-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
}
.lb-count {
  font-size: 0.85rem;
  color: var(--muted, #8fa0c8);
  white-space: nowrap;
}
.lb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.lb-thumb {
  flex: 0 0 auto;
  width: 54px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  background: none;
}
.lb-thumb.on {
  border-color: var(--blue, #2d7bff);
  opacity: 1;
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 880px) {
  .product.has-media,
  .product.has-media.is-featured {
    grid-template-columns: 1fr;
  }
  .product.has-media .cover,
  .product.has-media.is-featured .cover {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cover img {
    transition: none;
  }
}
