/* DemonShop - textured marketplace, not a generic template */
:root {
  --bg: #f3f1ec;
  --bg-soft: #e9e6df;
  --surface: #fffcf7;
  --ink: #12131a;
  --ink-soft: #3d3f4a;
  --muted: #6f7280;
  --line: #d9d4ca;
  --accent: #5b4cf5;
  --accent-2: #7c3aed;
  --dark: #0d0e14;
  --r-btn: 999px;
  --r-card: 6px;
  --r-bundle: 22px;
  --r-block: 14px;
  --shadow: 0 12px 32px rgba(13, 14, 20, 0.08);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Tektur", "Manrope", sans-serif;
  --max: 1140px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(10, 11, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
  width: min(100% - 1.5rem, 1200px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-text span {
  color: #a78bfa;
}

.nav-main {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 1.2rem;
}

.nav-main a {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.nav-main a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--r-btn);
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cart-badge[hidden] {
  display: none !important;
}

.burger {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 1rem 1.1rem;
  background: #0a0b10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  padding: 0.85rem 0.35rem;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 960px) {
  .nav-main {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
  .burger,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons - heavily rounded */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.45rem;
  border-radius: var(--r-btn);
  border: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 1.8rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 26px rgba(91, 76, 245, 0.35);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.text-link {
  font-weight: 700;
  color: var(--accent);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Item art + themed glow */
.item-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  --glow: #7dd3fc;
}

.item-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%);
  filter: blur(8px);
  animation: glowPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.item-svg {
  position: relative;
  z-index: 1;
  width: min(72%, 180px);
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s;
}

.product-card:hover .item-svg,
.category-card:hover .item-svg {
  transform: scale(1.05) rotate(-4deg);
}

.glow-ice {
  --glow: #38bdf8;
}
.glow-heart {
  --glow: #fb7185;
}
.glow-chroma {
  --glow: #c084fc;
}
.glow-gun,
.glow-neon {
  --glow: #4ade80;
}
.glow-fire,
.glow-gold {
  --glow: #fb923c;
}
.glow-pet {
  --glow: #f472b6;
}
.glow-set {
  --glow: #a78bfa;
}
.glow-shadow {
  --glow: #e879f9;
}
.glow-knife {
  --glow: #93c5fd;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Hero with texture */
.hero {
  position: relative;
  min-height: clamp(460px, 70vh, 620px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0c0d14;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-scratches {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -22deg,
      transparent 0 38px,
      rgba(255, 255, 255, 0.025) 38px 39px
    ),
    repeating-linear-gradient(
      68deg,
      transparent 0 52px,
      rgba(167, 139, 250, 0.04) 52px 53px
    ),
    linear-gradient(145deg, #1a1238 0%, #0c0d14 48%, #1a0f28 100%);
}

.hero-shards {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(91, 76, 245, 0.12) 41%, transparent 42%),
    linear-gradient(155deg, transparent 62%, rgba(251, 113, 133, 0.08) 63%, transparent 64%),
    linear-gradient(25deg, transparent 70%, rgba(56, 189, 248, 0.07) 71%, transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 640px);
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  padding: 4rem 0;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  color: #c4b5fd;
}

.hero-sub {
  margin: 1.1rem 0 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.hero-cta {
  margin-top: 1.7rem;
}

@media (max-width: 720px) {
  .hero-content {
    margin-inline: auto;
    text-align: left;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-title {
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
}

.section-title.align-left {
  text-align: left;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-lead {
  margin: -0.8rem auto 1.6rem;
  text-align: center;
  color: var(--muted);
}

.section-action {
  margin-top: 1.75rem;
  text-align: center;
}

.empty-note {
  grid-column: 1 / -1;
  color: var(--muted);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.category-card {
  display: block;
}

.category-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #151722;
  border: 1px solid #2a2d3a;
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-count {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
}

.category-name {
  margin-top: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Filters */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.filter-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.filter-chip.is-active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* Bento products - break the equal grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 860px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }

  .product-card.is-hero {
    grid-column: span 2;
    grid-row: span 2;
  }

  .product-card.is-wide {
    grid-column: span 2;
  }

  .product-card.is-hero .product-media {
    min-height: 280px;
  }

  .product-card.is-hero .item-svg {
    width: min(58%, 220px);
  }

  .product-card.is-hero .product-name {
    font-size: 1.25rem;
  }

  .product-card.is-hero .price {
    font-size: 1.25rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}

.product-card:hover {
  border-color: #b8b2a6;
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  flex: 1;
  min-height: 150px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 60%, rgba(91, 76, 245, 0.12), transparent 55%),
    linear-gradient(165deg, #1a1c28, #0f1118);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-pct {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  background: #ef4444;
  color: #fff;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 0 0 6px 0;
}

.badge-sold {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 0.25rem 0.45rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 4px;
}

.product-card.is-sold .item-stage {
  opacity: 0.4;
  filter: grayscale(0.7);
}

.product-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
}

.product-name {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: auto;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}

.price-lg {
  font-size: 1.45rem;
}

.price-old {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
}

.add-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.add-btn:hover {
  background: var(--accent-2);
}

/* Photo placeholders - no stickers */
.photo-box {
  display: grid;
  place-items: center;
  background: #1a1c28;
  position: relative;
  overflow: hidden;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-label {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.category-visual.photo-box,
.product-media.photo-box,
.bundle-media.photo-box,
.detail-media.photo-box,
.giveaway-panel.photo-box {
  background: linear-gradient(160deg, #1e2030, #12141c);
}

.giveaway-panel {
  min-height: 220px;
  border-radius: var(--r-bundle);
}

/* Fly to cart */
.cart-flyer {
  position: fixed;
  z-index: 9999;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 10px;
  background: #1a1c28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.25, 1), opacity 0.6s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.cart-bump {
  animation: cartBump 0.35s ease;
}

.cart-badge-pop {
  animation: badgePop 0.4s ease;
}

@keyframes cartBump {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
}

@keyframes badgePop {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

/* Cart remove */
.cart-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--r-card);
  flex-shrink: 0;
}

.cart-thumb .photo-label {
  font-size: 0.55rem;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.cart-remove:hover {
  text-decoration: underline;
}

/* Account */
.account-wrap {
  padding: 2rem 0 3.5rem;
}

.account-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .account-layout {
    grid-template-columns: 220px 1fr;
    gap: 1.75rem;
  }
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  padding: 0.6rem;
  height: fit-content;
}

.account-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.account-nav a:hover,
.account-nav a.is-active {
  background: var(--dark);
  color: #fff;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  padding: 1.35rem 1.4rem;
}

.account-card h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.2rem;
}

.account-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.account-card label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.account-card input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.account-card input:focus {
  outline: none;
  border-color: var(--accent);
}

.login-card {
  max-width: 420px;
  margin: 0 auto;
}

.form-hint {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.account-card .form-hint + .btn,
.account-card .form-hint + a.btn {
  margin-top: 1.15rem;
}

.form-ok {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 600;
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  color: #b91c1c;
  font-size: 0.78rem;
}

.account-hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.orders-list {
  display: grid;
  gap: 0.75rem;
}

.order-row {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 0.9rem 1rem;
}

.order-status {
  margin-left: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.order-meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.order-items {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.chat-fab {
  background: transparent !important;
  box-shadow: none !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  overflow: visible;
}

.tg-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}

/* Auth */
.auth-shell {
  max-width: 440px;
  margin: 0 auto;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 0.3rem;
}

.auth-tabs a {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: var(--r-btn);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-tabs a.is-active {
  background: var(--dark);
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #c9ceda;
}

.google-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.google-btn-slot {
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: center;
}

.google-btn-slot > div {
  width: 100% !important;
}

.google-hint {
  text-align: center;
  color: #b91c1c;
  margin: 0;
}

.google-email-label {
  margin-bottom: 0.65rem !important;
}

.captcha-real {
  margin: 0.35rem 0 1rem;
}

.captcha-real-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.captcha-real-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.captcha-real-row .captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.captcha-real-row img {
  border-radius: 8px;
  border: 1px solid var(--line);
  height: 50px;
  width: auto;
  background: #fff;
}

.captcha-real-row input {
  width: 140px !important;
  margin-top: 0 !important;
  display: inline-block !important;
}

.captcha-real-row a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* Bundles - own radius */
.bundles-list {
  display: grid;
  gap: 1.35rem;
}

.bundle-row {
  display: grid;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-bundle);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .bundle-row {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding: 1.35rem;
  }

  .bundle-row.is-flip .bundle-media {
    order: 2;
  }
}

.bundle-media {
  position: relative;
  min-height: 240px;
  border-radius: calc(var(--r-bundle) - 8px);
  overflow: hidden;
  background: #141622;
}

.bundle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-art-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.85rem;
  height: 100%;
  min-height: 240px;
}

.bundle-art-stack .item-stage {
  background: #1a1c28;
  border-radius: 8px;
  min-height: 100px;
}

.bundle-art-stack .item-svg {
  width: 62%;
}

.bundle-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-btn);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bundle-info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.bundle-info p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.bundle-items {
  font-size: 0.86rem !important;
  color: var(--muted) !important;
}

.bundle-buy {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.bundle-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Asymmetric split layouts */
.split-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split-layout {
    grid-template-columns: 0.9fr 1.35fr;
    align-items: start;
    gap: 3rem;
  }

  .split-layout.split-flip {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 28rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 1.1rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Reviews */
.reviews-stack {
  display: grid;
  gap: 0.85rem;
  align-content: center;
  min-height: 12rem;
}

.reviews-empty-note {
  grid-column: 1 / -1;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 12rem;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.55);
  color: var(--muted);
}

@media (min-width: 700px) {
  .reviews-stack {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-empty-note {
    min-height: 16rem;
  }
}

.rating-line {
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.stars {
  color: #eab308;
  letter-spacing: 1px;
}

.stars .dim {
  color: #d0cbc0;
}

/* Reviews page */
.reviews-page {
  padding-bottom: 0;
}

.reviews-page-top {
  display: grid;
  gap: 2rem;
  padding: 2.25rem 0 2.5rem;
}

@media (min-width: 900px) {
  .reviews-page-top {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 3rem;
    padding: 2.75rem 0 3rem;
  }
}

.reviews-page-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.reviews-page-intro p {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.reviews-page-intro strong {
  color: var(--ink);
}

.review-write {
  border-top: 3px solid var(--dark);
  padding-top: 1.25rem;
}

.review-write-form {
  display: grid;
  gap: 0.85rem;
}

.review-write-row {
  display: grid;
  gap: 0.4rem;
}

.review-write-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.05rem;
  width: fit-content;
}

.star-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.star-picker label {
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  color: #c5c0b6;
  padding: 0 0.05rem;
  transition: color 0.1s ease;
  user-select: none;
}

.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label {
  color: #111;
}

.review-write-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0;
  min-height: 130px;
  resize: vertical;
  border: 0;
  border-bottom: 2px solid var(--dark);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
}

.review-write-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.review-write-form textarea::placeholder {
  color: #9a9eaa;
}

.review-write-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 0.25rem;
}

.review-write-foot p,
.review-write-guest p {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.review-write-guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 4px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.review-write-btn:hover {
  background: #23252f;
  transform: none;
  color: #fff;
}

.reviews-list-wrap {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 3.5rem;
}

.reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reviews-list-item {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-list-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.55rem;
}

.reviews-list-meta strong {
  color: #fff;
  font-size: 0.95rem;
}

.reviews-list-meta .stars {
  color: #f0c84a;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.reviews-list-meta .stars .dim {
  color: rgba(255, 255, 255, 0.22);
}

.reviews-list-item p {
  margin: 0;
  max-width: 46rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.reviews-list-item-product {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.reviews-list-empty {
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
}

/* Keep homepage review cards usable */
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem 1.05rem;
}

.review-text {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.review-meta {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-av {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 0.88rem;
}

.review-meta span {
  font-size: 0.75rem;
  color: var(--muted);
}

.reviews-stack .reviews-grid,
.reviews-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .reviews-stack {
    display: grid;
    gap: 0.85rem;
  }
}

/* Inner pages */
.page-head {
  padding: 2.25rem 0 1.25rem;
  background: var(--dark);
  color: #fff;
}

.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
}

.page-head p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.page-head a {
  color: #c4b5fd;
}

.detail-layout {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
}

@media (min-width: 860px) {
  .detail-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.detail-media {
  aspect-ratio: 1;
  background: #141622;
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.detail-media .item-svg {
  width: 58%;
}

.detail-info h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  text-transform: uppercase;
}

.qty-row {
  margin: 1.2rem 0;
}

.qty-row label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
  text-transform: uppercase;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  overflow: hidden;
  background: var(--surface);
}

.qty-control button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.detail-actions .btn {
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cart-page {
  padding: 1.75rem 0 3.5rem;
}

.cart-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin: 0 0 1.25rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-item-cat {
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-total {
  text-align: right;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cart-empty {
  max-width: 28rem;
  margin: 0.5rem auto 0;
  padding: 2.5rem 1.4rem;
  text-align: center;
  border-top: 3px solid var(--dark);
}

.cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink-soft);
}

.cart-empty h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-empty p {
  margin: 0.65rem 0 1.35rem;
  color: var(--muted);
  line-height: 1.5;
}

.cart-empty .btn {
  min-width: 10rem;
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, #1a1238 0%, #0c0d14 48%, #1a0f28 100%);
  color: #fff;
  padding: 3.5rem 1rem;
  text-align: center;
}

.error-page .container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.error-page-inner {
  width: min(100%, 34rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.error-code {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 14vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #c4b5fd;
}

.error-page h1 {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
}

.error-text {
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 28rem;
  line-height: 1.5;
}

.error-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.error-btn-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.error-btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.giveaway-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-bundle);
  padding: 2rem;
  text-align: center;
  max-width: 520px;
  margin: 2rem auto 3rem;
}

.giveaway-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 3rem 0 0;
  margin-top: auto;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-socials {
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
  color: #c4b5fd;
  white-space: normal;
}

.footer-socials a {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
  vertical-align: baseline;
}

.footer-socials a + a::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-cols h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-cols a,
.pay-row {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.chat-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: none;
}

.chat-fab:hover {
  transform: none;
}

.chat-fab .tg-logo {
  display: block;
  filter: drop-shadow(0 8px 20px rgba(36, 161, 222, 0.5));
  transition: transform 0.15s ease;
}

.chat-fab:hover .tg-logo {
  transform: scale(1.08);
}

.tg-logo {
  display: block;
  flex-shrink: 0;
}

.faq-answer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 14, 20, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: start center;
  padding: 12vh 1rem 2rem;
}

.search-overlay[hidden] {
  display: none;
}

.search-panel {
  position: relative;
  width: min(100%, 640px);
  background: #fff;
  border: 1px solid #e8e4f5;
  border-radius: 18px;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 24px 60px rgba(91, 76, 245, 0.18);
}

.search-panel-top {
  display: flex;
  justify-content: flex-end;
  margin: -0.25rem -0.35rem 0.65rem 0;
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  margin: 0;
  padding: 0 0.95rem;
  border: 1.5px solid #ddd6fe;
  border-radius: 999px;
  background: #faf8ff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-field:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91, 76, 245, 0.15);
}

.search-field-icon {
  flex-shrink: 0;
  color: #8b5cf6;
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.9rem 0;
  outline: none;
  color: var(--ink);
  font: inherit;
}

.search-field input::placeholder {
  color: #9ca3af;
}

.search-submit {
  flex-shrink: 0;
  padding-inline: 1.35rem;
  box-shadow: 0 8px 20px rgba(91, 76, 245, 0.28);
}

.search-close {
  position: static;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f5f3ff;
  color: #6f7280;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-close:hover {
  background: #ede9fe;
  color: var(--accent);
}

.search-results-section {
  padding-top: 1.5rem;
}

.search-form-page {
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Mobile layout */
@media (max-width: 720px) {
  :root {
    --header-h: 58px;
  }

  .header-inner {
    width: min(100% - 1rem, 1200px);
    gap: 0.35rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .icon-btn,
  .burger {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 1.5rem, 640px);
    margin-inline: auto;
    padding: 2.4rem 0 2.8rem;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-top: 0.9rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section {
    padding: 2.4rem 0;
  }

  .section-title {
    margin-bottom: 1.15rem;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .category-grid {
    gap: 0.65rem;
  }

  .category-name {
    font-size: 0.82rem;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    margin: 0 -0.25rem 1.1rem;
    padding: 0 0.25rem 0.35rem;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
  }

  .bento-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-media {
    min-height: 120px;
  }

  .product-body {
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .product-name {
    font-size: 0.82rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price {
    font-size: 0.95rem;
  }

  .price-old {
    font-size: 0.72rem;
  }

  .add-btn {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .bundle-row {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .bundle-media,
  .bundle-art-stack {
    min-height: 180px;
  }

  .bundle-info h3 {
    font-size: 1.15rem;
  }

  .bundle-buy {
    flex-direction: column;
    align-items: stretch;
  }

  .bundle-btns {
    width: 100%;
  }

  .bundle-btns .btn {
    flex: 1;
    min-width: 0;
  }

  .split-copy .btn {
    display: inline-flex;
    width: auto;
    margin: 0 0.35rem 0.45rem 0 !important;
  }

  .faq-item summary {
    padding: 0.85rem 0.95rem;
    font-size: 0.9rem;
    align-items: flex-start;
  }

  .page-head {
    padding: 1.6rem 0 1rem;
  }

  .page-head h1 {
    font-size: 1.45rem;
  }

  .detail-layout {
    padding: 1.25rem 0 2.25rem;
    gap: 1.1rem;
  }

  .detail-info h1 {
    font-size: 1.4rem;
  }

  .account-wrap {
    padding: 1.25rem 0 2.5rem;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding: 0.45rem;
    scrollbar-width: none;
  }

  .account-nav::-webkit-scrollbar {
    display: none;
  }

  .account-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.6rem 0.8rem;
    font-size: 0.84rem;
  }

  .account-card {
    padding: 1.1rem 1rem;
  }

  .auth-shell {
    max-width: none;
  }

  .cart-table {
    margin: 1rem 0;
  }

  .cart-page {
    padding: 1.25rem 0 2.5rem;
  }

  .cart-row {
    grid-template-columns: 1fr auto;
    gap: 0.55rem 0.75rem;
    padding: 0.9rem;
    align-items: start;
  }

  .cart-item-main {
    grid-column: 1 / -1;
  }

  .cart-qty,
  .cart-line {
    font-weight: 700;
  }

  .cart-row form {
    grid-column: 2;
    justify-self: end;
  }

  .cart-total {
    text-align: left;
    font-size: 1.15rem;
  }

  .cart-total + .btn,
  .cart-empty .btn {
    width: 100%;
  }

  .cart-empty {
    padding: 2rem 0.5rem;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }

  .reviews-page-top {
    gap: 1.5rem;
    padding: 1.6rem 0 1.8rem;
  }

  .reviews-page-intro h1 {
    font-size: 2rem;
  }

  .review-write-foot,
  .review-write-guest {
    flex-direction: column;
    align-items: stretch;
  }

  .review-write-btn {
    width: 100%;
  }

  .reviews-list-wrap {
    padding: 1.6rem 0 2.5rem;
  }

  .reviews-list-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    line-height: 1.4;
  }

  .footer-socials a + a::before {
    display: none;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .footer-cols > :last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 2.2rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .btn,
  .add-btn,
  .icon-btn,
  .filter-chip {
    touch-action: manipulation;
  }

  .search-overlay {
    padding-top: 8vh;
    align-items: start;
  }

  .search-panel {
    padding: 1rem;
  }

  .search-form {
    flex-direction: column;
  }

  .search-submit {
    width: 100%;
  }

  .google-btn-slot,
  .google-btn-slot > div,
  .btn-google,
  .btn-review-submit {
    width: 100% !important;
    max-width: 100%;
  }

  .giveaway-card {
    padding: 1.35rem 1.1rem;
  }

  .orders-list,
  .order-row {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .bento-grid,
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-cols > :last-child {
    grid-column: auto;
  }
}
