:root {
  --sw-bg: #070816;
  --sw-panel: rgba(18, 20, 48, 0.88);
  --sw-panel-solid: #121430;
  --sw-line: rgba(148, 163, 255, 0.16);
  --sw-text: #f4f5ff;
  --sw-muted: #9aa3c7;
  --sw-accent: #7c83ff;
  --sw-accent-2: #22c55e;
  --sw-warn: #f59e0b;
  --sw-radius: 22px;
  --sw-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Outfit", "Space Grotesk", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

body.store-web,
html:has(body.store-web) {
  margin: 0;
  padding-top: 0 !important;
  scroll-padding-top: 0 !important;
  --landing-header-offset: 0px;
}

.store-web {
  margin: 0;
  min-height: 100vh;
  color: var(--sw-text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(99, 102, 241, 0.28), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
    var(--sw-bg);
  font-family: var(--font-body);
}

.store-web .bg-3d {
  opacity: 0.45;
  pointer-events: none;
}

.store-web--detail .bg-3d {
  opacity: 0.22;
}

.sw-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 22, 0.72);
  border-bottom: 1px solid var(--sw-line);
}

.sw-topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.sw-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

.sw-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.sw-brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.sw-brand-text em {
  font-style: normal;
  color: var(--sw-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sw-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sw-nav a {
  color: var(--sw-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.sw-nav a:hover,
.sw-nav a.is-active {
  color: var(--sw-text);
  background: rgba(124, 131, 255, 0.12);
}

.sw-main {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 72px;
}

.sw-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.sw-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.sw-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--sw-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.sw-hero-aside {
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.sw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sw-line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--sw-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.sw-search {
  margin: 0 0 28px;
}

.sw-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sw-line);
  background: rgba(18, 20, 48, 0.75);
  color: var(--sw-text);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 1rem;
  outline: none;
}

.sw-search input:focus {
  border-color: rgba(124, 131, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.sw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.sw-chip {
  border: 1px solid var(--sw-line);
  background: transparent;
  color: var(--sw-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 650;
  cursor: pointer;
}

.sw-chip.is-on,
.sw-chip:hover {
  color: var(--sw-text);
  background: rgba(124, 131, 255, 0.14);
  border-color: rgba(124, 131, 255, 0.35);
}

.sw-section-title {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.sw-featured {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 34px;
  scroll-snap-type: x mandatory;
}

.sw-feature-card {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: var(--sw-radius);
  border: 1px solid var(--sw-line);
  background: var(--sw-panel);
  box-shadow: var(--sw-shadow);
  text-decoration: none;
  color: inherit;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sw-feature-card img.portada {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.sw-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 8, 22, 0.92) 88%);
}

.sw-feature-body {
  position: relative;
  z-index: 1;
  padding: 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}

.sw-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: #1a1c3d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sw-icon.fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}

.sw-feature-body h3,
.sw-card-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.sw-meta {
  color: var(--sw-muted);
  font-size: 0.86rem;
}

.sw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.sw-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--sw-line);
  background: rgba(18, 20, 48, 0.72);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sw-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 131, 255, 0.4);
  background: rgba(28, 31, 72, 0.9);
}

.sw-badge {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.sw-badge.is-paid {
  background: rgba(124, 131, 255, 0.16);
  color: #c7cbff;
}

.sw-badge.is-premium {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
}

.sw-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fbbf24;
  font-size: 0.86rem;
}

.sw-star {
  opacity: 0.28;
}

.sw-star.is-on,
.sw-star.is-half {
  opacity: 1;
}

.sw-stars-meta {
  margin-left: 6px;
  color: var(--sw-muted);
  font-size: 0.8rem;
}

.sw-empty {
  border: 1px dashed var(--sw-line);
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
  color: var(--sw-muted);
}

.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.sw-btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.sw-btn-ghost {
  color: var(--sw-text);
  border-color: var(--sw-line);
  background: rgba(255, 255, 255, 0.03);
}

.sw-main--detail {
  max-width: none;
  padding: 0 0 72px;
}

.sw-detail {
  width: 100%;
}

.sw-poster {
  position: relative;
  width: 100%;
  height: clamp(260px, 42vw, 440px);
  overflow: hidden;
  background: #0a0b18;
}

.sw-poster-img,
.sw-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-poster-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(7, 8, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 8, 22, 0.35), transparent 40%);
  pointer-events: none;
}

.sw-poster-back {
  position: absolute;
  top: 18px;
  left: max(18px, calc((100% - 980px) / 2 + 18px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.sw-poster-back span {
  font-size: 1.35rem;
  line-height: 1;
}

.sw-poster-back em {
  font-style: normal;
  font-size: 0.9rem;
}

.sw-sheet {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: -56px auto 0;
  padding: 0 18px;
  display: grid;
  gap: 22px;
}

.sw-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 28px;
  padding-top: 42px;
}

.sw-identity {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  flex: 1 1 320px;
  min-width: 0;
}

.sw-identity-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #1a1c3d;
  margin-top: -28px;
}

.sw-identity-icon.fallback {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}

.sw-identity-text h1 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  padding-top: 4px;
}

.sw-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(124, 131, 255, 0.14);
  color: #c7cbff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.sw-identity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sw-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.sw-identity-meta strong {
  color: var(--sw-text);
  font-size: 1.05rem;
}

.sw-platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sw-buy {
  display: grid;
  gap: 12px;
  width: fit-content;
  max-width: min(100%, 380px);
  margin-left: auto;
  justify-items: end;
  text-align: right;
}

.sw-price-card,
.sw-about-card,
.sw-rating-card {
  background: var(--sw-panel);
  border: 1px solid var(--sw-line);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--sw-shadow);
}

.sw-price-card {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  text-align: right;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: none;
}

.sw-price-main {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.sw-price-sub {
  margin: 6px 0 0;
  color: #fcd34d;
  font-size: 0.9rem;
  font-weight: 650;
}

.sw-price-hint {
  margin: 8px 0 0;
  color: var(--sw-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sw-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.sw-cta-row .sw-btn {
  flex: 0 1 auto;
  min-width: 0;
  padding: 11px 18px;
  white-space: nowrap;
}

.sw-fmt-bold {
  font-weight: 800;
  color: var(--sw-text);
}

.sw-fmt-italic {
  font-style: italic;
}

.sw-fmt-strike {
  text-decoration: line-through;
  opacity: 0.85;
}

.sw-fmt-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

.sw-about-body {
  color: var(--sw-muted);
  line-height: 1.65;
}

.sw-about-body .sw-fmt-bold {
  color: var(--sw-text);
}

.sw-block {
  margin-top: 8px;
}

.sw-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.sw-shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 220px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0;
  scroll-snap-type: x mandatory;
}

.sw-shots img,
.sw-shot-ph {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--sw-line);
  background: #101227;
  scroll-snap-align: start;
}

.sw-shot-ph {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #4338ca, #0f172a);
}

.sw-shot-ph:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #16a34a, #0f172a);
}

.sw-shot-ph:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #0f766e, #0f172a);
}

.sw-shot-ph span {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.1rem;
}

.sw-shot-ph em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.sw-about-short {
  margin: 0 0 10px;
  color: var(--sw-text);
  font-weight: 650;
  line-height: 1.5;
}

.sw-about-details {
  color: var(--sw-muted);
}

.sw-about-details summary {
  cursor: pointer;
  color: var(--sw-accent);
  font-weight: 700;
  margin-bottom: 8px;
  list-style: none;
}

.sw-about-details summary::-webkit-details-marker {
  display: none;
}

.sw-about-details p {
  margin: 0;
  line-height: 1.65;
  white-space: pre-wrap;
}

.sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sw-tag {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sw-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.sw-rating-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.sw-rating-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.sw-rating-left p {
  margin: 6px 0 0;
  color: var(--sw-muted);
  font-size: 0.86rem;
}

.sw-rating-bars {
  display: grid;
  gap: 7px;
}

.sw-dist-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--sw-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.sw-dist-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sw-dist-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.sw-empty-reviews {
  border: 1px dashed var(--sw-line);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  color: var(--sw-muted);
}

.sw-reviews {
  display: grid;
  gap: 10px;
}

.sw-review {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 20, 48, 0.55);
}

.sw-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sw-review p {
  margin: 0;
  color: var(--sw-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.sw-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #23264f;
}

.sw-avatar-ph {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #c7cbff;
  font-size: 0.9rem;
}

.sw-footer {
  border-top: 1px solid var(--sw-line);
  padding: 28px 18px 40px;
  position: relative;
  z-index: 1;
}

.sw-footer-inner {
  max-width: 1180px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sw-footer a {
  color: var(--sw-muted);
  text-decoration: none;
  margin-right: 14px;
  font-weight: 600;
}

.sw-footer p,
.sw-copy {
  color: var(--sw-muted);
  max-width: 1180px;
  margin: 0 auto;
}

.sw-hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .sw-hero {
    grid-template-columns: 1fr;
  }
  .sw-hero-aside {
    justify-self: start;
    align-items: flex-start;
  }
  .sw-poster {
    height: clamp(220px, 58vw, 320px);
  }
  .sw-sheet {
    margin-top: -40px;
  }
  .sw-top-row {
    flex-direction: column;
    align-items: stretch;
    padding-top: 36px;
    gap: 18px;
  }
  .sw-identity {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }
  .sw-identity-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    margin-top: -22px;
  }
  .sw-identity-text h1 {
    margin-top: 8px;
  }
  .sw-buy {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    justify-items: start;
    text-align: left;
  }
  .sw-price-card {
    width: fit-content;
    justify-self: start;
    text-align: left;
  }
  .sw-cta-row {
    justify-content: flex-start;
  }
  .sw-cta-row .sw-btn {
    white-space: normal;
  }
  .sw-rating-card {
    grid-template-columns: 1fr;
  }
  .sw-shots img,
  .sw-shot-ph {
    height: 340px;
  }
  .sw-nav a:nth-child(3) {
    display: none;
  }
}

@media (max-width: 560px) {
  .sw-topbar {
    padding: 10px 14px;
  }
  .sw-poster-back em {
    display: none;
  }
}
