:root {
  --bg: #07070a;
  --bg-2: #0e0e14;
  --surface: #14141c;
  --surface-2: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #9a9aaf;
  --accent: #e50914;
  --accent-2: #ff1f2b;
  --accent-soft: rgba(229, 9, 20, 0.16);
  --ok: #22c55e;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Impact", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(229, 9, 20, 0.22), transparent 55%),
    radial-gradient(circle at 100% 20%, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--accent), #8b0008);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.search-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-wrap input:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-wrap svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.icon-btn,
.ghost-btn,
.primary-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s;
  text-decoration: none;
  color: inherit;
}

.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ghost-btn {
  padding: 0.65rem 0.95rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.ghost-btn:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.primary-btn {
  padding: 0.72rem 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.28);
}

.primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
}

@media (max-width: 900px) {
  .nav-links,
  .brand-text span {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 0 0 1.2rem;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: clamp(420px, 72vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #050508;
  margin-bottom: 1.2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: floatOrb 10s ease-in-out infinite;
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -120px;
  background: rgba(229, 9, 20, 0.45);
}

.hero-orb-b {
  width: 320px;
  height: 320px;
  right: 8%;
  top: 10%;
  background: rgba(17, 60, 207, 0.35);
  animation-delay: -3s;
}

.hero-orb-c {
  width: 260px;
  height: 260px;
  right: 22%;
  bottom: -40px;
  background: rgba(29, 185, 84, 0.22);
  animation-delay: -6s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 3.2rem 0 2rem;
  width: min(1120px, calc(100% - 2rem));
}

.hero-copy {
  animation: rise 0.7s var(--ease) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffb4b8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e50914;
  box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  animation: pulseDot 1.6s ease-out infinite;
}

.hero-banner h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-shadow: 0 10px 40px rgba(229, 9, 20, 0.25);
}

.hero-banner p {
  margin: 1rem 0 1.5rem;
  max-width: 34ch;
  color: #c6c6d6;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-showcase {
  position: relative;
  min-height: 280px;
  animation: rise 0.8s var(--ease) 0.1s both;
}

.hero-stack {
  position: relative;
  width: 100%;
  height: 300px;
}

.hero-logo-card {
  position: absolute;
  width: min(180px, 38vw);
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 50px rgba(0,0,0,0.55);
  object-fit: cover;
  background: #111;
  transition: transform 0.35s var(--ease);
}

.hero-logo-card.c1 { left: 8%; top: 18%; transform: rotate(-8deg); z-index: 4; animation: cardFloat 5s ease-in-out infinite; }
.hero-logo-card.c2 { right: 6%; top: 4%; transform: rotate(7deg); z-index: 3; animation: cardFloat 6s ease-in-out -1.2s infinite; }
.hero-logo-card.c3 { left: 28%; bottom: 0; transform: rotate(4deg); z-index: 5; animation: cardFloat 5.5s ease-in-out -2s infinite; }
.hero-logo-card.c4 { right: 18%; bottom: 18%; transform: rotate(-5deg); z-index: 2; width: min(140px, 30vw); animation: cardFloat 7s ease-in-out -0.6s infinite; }

.hero-marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 28s linear infinite;
  color: rgba(255,255,255,0.55);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.hero-marquee-track span::after {
  content: "·";
  margin-left: 2rem;
  opacity: 0.4;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(18px) scale(1.05); }
}

@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(229, 9, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.trust-item {
  border: 1px solid var(--line);
  background: rgba(20, 20, 28, 0.7);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  animation: rise 0.7s var(--ease) both;
}

.trust-item:nth-child(2) {
  animation-delay: 0.08s;
}
.trust-item:nth-child(3) {
  animation-delay: 0.16s;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero-banner-inner {
    grid-template-columns: 1fr;
    padding: 2.2rem 0 1.4rem;
  }
  .hero-showcase {
    min-height: 220px;
    order: -1;
  }
  .hero-stack {
    height: 220px;
  }
  .hero-banner {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .trust-row {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 1.6rem 0 0.4rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.section-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.9rem;
}

.product-card {
  display: block;
  color: inherit;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: rise 0.55s var(--ease) both;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.product-media {
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--p-accent) 35%, transparent), transparent 50%),
    linear-gradient(160deg, #1c1c26, #101018);
}

.product-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: color-mix(in srgb, var(--p-accent) 85%, #000 15%);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--p-accent) 35%, transparent);
}

.product-media.has-image {
  background: #0a0a0f;
  padding: 0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0f;
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.product-body {
  padding: 0.9rem 0.95rem 1rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1rem;
}

.product-body p {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  min-height: 2.4em;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.price small {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
  margin-left: 0.15rem;
}

.add-btn {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.48rem 0.8rem;
  cursor: pointer;
}

.add-btn:hover {
  background: #ffe5e7;
}

/* Promo */
.promo {
  margin: 2rem 0 1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(229, 9, 20, 0.18), transparent 45%),
    var(--surface);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: center;
}

.promo h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.promo p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.promo-stats {
  display: grid;
  gap: 0.6rem;
}

.promo-stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  background: rgba(0, 0, 0, 0.22);
}

@media (max-width: 760px) {
  .promo {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h4 {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  padding: 0.2rem 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Drawer / Modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 80;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.drawer-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: stretch;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 0.8rem 1.1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item .thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #fff;
  font-size: 1.1rem;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.92rem;
}

.cart-item p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 1rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(120%);
  background: #16161f;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 100;
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Pages ===== */
.page-main {
  padding: 1.6rem 0 2.5rem;
  min-height: 60vh;
}

.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.page-head p {
  margin: 0.35rem 0 1.2rem;
  color: var(--muted);
}

.page-empty {
  margin-top: 2rem;
  padding: 3rem 1.2rem;
}

.page-empty h1 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.page-empty .primary-btn {
  display: inline-flex;
  margin-top: 1rem;
}

.search-hint {
  display: none;
  margin: 1rem 0 0;
  color: #ffb4b8;
  font-weight: 600;
}

.search-hint.is-show {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 1.2rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a:hover {
  color: var(--text);
}

.product-page {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.4rem;
  padding: 1rem 0 2rem;
  align-items: start;
}

.pp-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--p-accent) 40%, transparent), transparent 55%),
    linear-gradient(160deg, #1a1a24, #0c0c12);
}

.pp-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 3.4rem;
  color: #fff;
  background: color-mix(in srgb, var(--p-accent) 88%, #000);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--p-accent) 40%, transparent);
  position: relative;
  z-index: 1;
}

.pp-media.has-image {
  padding: 0;
  min-height: 420px;
}

.pp-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.pp-glow {
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 180px;
  background: radial-gradient(circle, color-mix(in srgb, var(--p-accent) 35%, transparent), transparent 70%);
}

.pp-info h1 {
  margin: 0.55rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-weight: 400;
}

.pp-desc {
  color: var(--muted);
  margin: 0 0 1rem;
}

.pp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
}

.pill.soft {
  color: #ffd1d4;
}

.pp-price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pp-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.field {
  margin: 1rem 0;
}

.field > label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.variant-list {
  display: grid;
  gap: 0.5rem;
}

.variant-btn {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.variant-btn:hover,
.variant-btn.is-active {
  border-color: rgba(229, 9, 20, 0.55);
  background: rgba(229, 9, 20, 0.08);
}

.qty.big button {
  width: 36px;
  height: 36px;
}

.qty.big span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.ghost-btn.solid {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0.72rem 1.15rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.tabs-section {
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}

.tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  padding-bottom: 1rem;
}

.tab-panel.is-active {
  display: block;
  animation: rise 0.35s var(--ease) both;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li {
  margin: 0.4rem 0;
}

.faq-grid {
  display: grid;
  gap: 0.55rem;
}

.seo-content {
  padding-bottom: 2rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 0.55rem;
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.muted.small,
.small {
  font-size: 0.82rem;
}

.ok {
  color: var(--ok);
}

@media (max-width: 860px) {
  .product-page {
    grid-template-columns: 1fr;
  }
  .pp-media {
    min-height: 260px;
  }
}

/* Cart / checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line .thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #fff;
  font-size: 1.4rem;
}

.cart-line-info h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-line-info p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.link-danger {
  border: 0;
  background: transparent;
  color: #ff7b82;
  cursor: pointer;
  margin-left: 0.4rem;
  font-size: 0.8rem;
}

.panel,
.cart-summary,
.form-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.cart-summary h2,
.form-panel h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.55rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sum-row strong {
  color: var(--text);
}

.sum-row.total {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
}

.block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.65rem;
}

.form-panel label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
}

.form-panel input:focus,
.form-panel textarea:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-panel .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}

.form-panel .check input {
  width: auto;
  margin-top: 0.2rem;
}

.auth-wrap {
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(420px, 100%);
}

.auth-card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 2.4rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.code-box {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #fff;
}

.prose h1 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 2.6rem;
}

.prose h2 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.ghost-btn.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 860px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
