/* =========================================================
   NEO SPORT — Street & Sport Style Shop
   ========================================================= */

:root {
  --bg: #0a0b08;
  --bg-elevated: #131511;
  --card: #16180f;
  --card-border: rgba(184, 246, 37, 0.16);
  --neon: #b8f625;
  --neon-soft: rgba(184, 246, 37, 0.14);
  --neon-dim: #8fc71a;
  --text: #f4f6ef;
  --text-muted: #a4a99a;
  --text-faint: #6f7566;

  --font-display: 'Rajdhani', 'Manrope', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container-w: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.nav-locked {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* accessibility helpers */

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 300;
  background: var(--neon);
  color: var(--bg);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- background glow ---------- */

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 0;
  pointer-events: none;
}

.bg-glow--one {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(184, 246, 37, 0.28), transparent 70%);
  animation: bgFloat1 17s ease-in-out infinite alternate;
}

.bg-glow--two {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -160px;
  background: radial-gradient(circle, rgba(184, 246, 37, 0.14), transparent 70%);
  animation: bgFloat2 21s ease-in-out infinite alternate;
}

@keyframes bgFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-50px, 60px) scale(1.18); }
  100% { transform: translate(25px, -35px) scale(0.94); }
}

@keyframes bgFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(55px, -45px) scale(1.12); }
  100% { transform: translate(-30px, 35px) scale(0.9); }
}

/* ---------- sport-vibe animated background layers ---------- */

.speed-lines {
  position: fixed;
  inset: -15% -15%;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    118deg,
    rgba(184, 246, 37, 0.055) 0px,
    rgba(184, 246, 37, 0.055) 2px,
    transparent 2px,
    transparent 92px
  );
  background-size: 140% 140%;
  animation: speedLinesMove 26s linear infinite;
  mix-blend-mode: screen;
}

.speed-lines--alt {
  background-image: repeating-linear-gradient(
    118deg,
    rgba(244, 246, 239, 0.03) 0px,
    rgba(244, 246, 239, 0.03) 1px,
    transparent 1px,
    transparent 150px
  );
  animation-duration: 38s;
  animation-direction: reverse;
}

@keyframes speedLinesMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-particles span {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon);
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--neon));
  animation: particleRise linear infinite;
}

.bg-particles span:nth-child(1) { left: 6%;  animation-duration: 15s; animation-delay: 0s; }
.bg-particles span:nth-child(2) { left: 18%; animation-duration: 19s; animation-delay: 2s; }
.bg-particles span:nth-child(3) { left: 32%; animation-duration: 16s; animation-delay: 5s; }
.bg-particles span:nth-child(4) { left: 47%; animation-duration: 22s; animation-delay: 1s; }
.bg-particles span:nth-child(5) { left: 61%; animation-duration: 18s; animation-delay: 7s; }
.bg-particles span:nth-child(6) { left: 74%; animation-duration: 20s; animation-delay: 3s; }
.bg-particles span:nth-child(7) { left: 85%; animation-duration: 15s; animation-delay: 9s; }
.bg-particles span:nth-child(8) { left: 93%; animation-duration: 24s; animation-delay: 4s; }

@keyframes particleRise {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.55; }
  85%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow--one,
  .bg-glow--two,
  .speed-lines,
  .speed-lines--alt,
  .bg-particles span {
    animation: none !important;
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 8, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--card-border);
  background: rgba(10, 11, 8, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(184, 246, 37, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-name-accent {
  color: var(--neon);
}

/* nav + cart grouped together on the right, closer to content */

.header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* header actions (cart + mobile nav toggle) */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 30% 20%, rgba(184, 246, 37, 0.22), transparent 70%), var(--neon-soft);
  border: 1px solid var(--neon);
  border-radius: 12px;
  color: var(--neon);
  box-shadow: 0 0 0 0 rgba(184, 246, 37, 0);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-btn svg {
  width: 19px;
  height: 19px;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -8px rgba(184, 246, 37, 0.55);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--neon);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.wishlist-link-btn {
  text-decoration: none;
}

/* nav toggle (mobile hamburger) */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  z-index: 20;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link--cta {
  color: var(--bg);
  background: var(--neon);
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
}

.nav-link--cta:hover {
  color: var(--bg);
  filter: brightness(1.08);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: 1px solid transparent;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--neon);
  color: #0a0b08;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(184, 246, 37, 0.55);
}

.btn-primary:disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(244, 246, 239, 0.25);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 64px 0 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon);
  background: var(--neon-soft);
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px 1px var(--neon);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 10vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero-title-accent {
  color: var(--neon);
  text-shadow: 0 0 30px rgba(184, 246, 37, 0.35);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-date {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  width: 100%;
}

.hero-date-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-date-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 600;
}

.hero-date-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}

.hero-date-divider {
  width: 1px;
  height: 32px;
  background: var(--card-border);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  width: 100%;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-feature-icon {
  color: var(--neon);
  font-weight: 700;
}

/* ticker */

.ticker {
  background: var(--ink, var(--bg));
  background: #000;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

.ticker-track span {
  padding: 0 4px;
}

.ticker-dot {
  color: var(--neon);
  font-size: 0.6rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- section shared ---------- */

section {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 22px;
  max-width: 26ch;
}

.section-text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 68ch;
}

.demo-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--neon-dim);
  background: var(--neon-soft);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 100px;
}

.demo-note[hidden] {
  display: none;
}

/* ---------- catalog / products ---------- */

.catalog {
  border-top: 1px solid var(--card-border);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

.product-grid[hidden] {
  display: none;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  border-color: var(--neon);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(184, 246, 37, 0.14), transparent 60%), var(--bg-elevated);
  border-bottom: 1px solid var(--card-border);
}

.product-image-icon {
  width: 44%;
  max-width: 120px;
  color: var(--neon-dim);
}

.product-image-icon svg {
  width: 100%;
  height: 100%;
}

.product-demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--neon);
  padding: 4px 8px;
  border-radius: 6px;
}

.product-oos-badge {
  right: auto;
  left: 12px;
  background: var(--text-faint);
  color: var(--bg);
}

.product-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.product-wish-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(10, 12, 8, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-wish-btn svg {
  width: 16px;
  height: 16px;
}

.product-wish-btn:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-1px);
}

.product-wish-btn.is-wished {
  background: var(--neon-soft);
  border-color: var(--neon);
  color: var(--neon);
}

.product-wish-btn.is-wished svg {
  fill: currentColor;
}

/* catalog search / filter / pagination */

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.catalog-controls[hidden] {
  display: none;
}

.catalog-search,
.catalog-select {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 100px;
  outline: none;
}

.catalog-search {
  flex: 1 1 220px;
  min-width: 0;
}

.catalog-search:focus,
.catalog-select:focus {
  border-color: var(--neon);
}

.catalog-status {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 24px;
}

.catalog-load-more {
  display: block;
  margin: 30px auto 0;
}

.catalog-load-more[hidden] {
  display: none;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--neon-dim);
  background: var(--neon-soft);
  border: 1px solid var(--card-border);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 2px;
}

.product-name-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-name-link:hover .product-name {
  color: var(--neon);
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.product-price {
  color: var(--neon);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 2px 0 12px;
}

.product-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-meta-item--price {
  color: var(--neon);
  font-weight: 700;
}

.product-meta-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--neon-dim);
  flex-shrink: 0;
}

.product-meta-item--price .product-meta-icon {
  color: var(--neon);
}

.product-meta-icon svg {
  width: 100%;
  height: 100%;
}

.product-order-btn {
  padding: 12px 20px;
  font-size: 0.88rem;
  width: 100%;
}

/* ---------- catalog — editorial light redesign ----------
   Only the .catalog section switches to this clean, white,
   photo-led grid (inspired by seventhstores.com/shop-all) — the
   rest of the site (header, hero, footer, cart, checkout) keeps
   the dark neon NEO SPORT theme. All rules below are scoped under
   .catalog so nothing outside this section is affected. */

.catalog {
  background: #ffffff;
  border-top: none;
  padding: 90px 0 100px;
  position: relative;
  z-index: 1;
}

.catalog .section-tag,
.catalog .section-title {
  color: #111110;
}

.catalog .section-text {
  color: #57574f;
}

.catalog .demo-note {
  color: #6b6b62;
  background: #f4f4f0;
  border-color: #e6e6e0;
}

.catalog .catalog-controls {
  gap: 24px;
  margin-top: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e6e6e0;
}

.catalog .catalog-search,
.catalog .catalog-select {
  background: none;
  border: none;
  border-bottom: 1px solid #d6d6cf;
  border-radius: 0;
  color: #111110;
  padding: 8px 2px;
}

.catalog .catalog-search::placeholder {
  color: #9a9a90;
}

.catalog .catalog-search:focus,
.catalog .catalog-select:focus {
  border-color: #111110;
}

.catalog .catalog-status {
  color: #6b6b62;
}

.catalog .catalog-load-more {
  border-radius: 0;
  border-color: #111110;
  color: #111110;
}

.catalog .catalog-load-more:hover {
  background: #111110;
  color: #ffffff;
}

.catalog .product-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .catalog .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 28px;
  }
}

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

.catalog .product-card {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.catalog .product-card:hover {
  border-color: transparent;
}

.catalog .product-image {
  background: #f2f2ee;
  border-bottom: none;
  border-radius: 2px;
  overflow: hidden;
}

.catalog .product-image-icon,
.catalog .product-image-photo {
  transition: transform 0.6s ease;
}

.catalog .product-card:hover .product-image-icon,
.catalog .product-card:hover .product-image-photo {
  transform: scale(1.04);
}

.catalog .product-image-icon {
  color: #171715;
}

.catalog .product-demo-badge {
  background: #111110;
  color: #ffffff;
  font-size: 0.6rem;
  border-radius: 2px;
}

.catalog .product-oos-badge {
  background: #ffffff;
  color: #111110;
  border: 1px solid #111110;
}

.catalog .product-wish-btn {
  top: 12px;
  right: 12px;
  bottom: auto;
  width: 30px;
  height: 30px;
  background: none;
  backdrop-filter: none;
  border: none;
  color: #111110;
  opacity: 0.5;
}

.catalog .product-wish-btn:hover {
  border-color: transparent;
  color: #111110;
  opacity: 1;
  transform: scale(1.08);
}

.catalog .product-wish-btn.is-wished {
  background: none;
  border-color: transparent;
  color: var(--neon-dim);
  opacity: 1;
}

.catalog .product-body {
  padding: 14px 0 0;
  gap: 3px;
}

.catalog .product-tag {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 4px;
  color: #9a9a90;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.catalog .product-name-link {
  color: inherit;
}

.catalog .product-name {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.94rem;
  color: #171715;
}

.catalog .product-name-link:hover .product-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog .product-meta {
  margin: 4px 0 0;
}

.catalog .product-meta-item:not(.product-meta-item--price) {
  display: none;
}

.catalog .product-meta-item--price {
  color: #171715;
  font-weight: 600;
  font-size: 0.9rem;
}

.catalog .product-meta-icon {
  display: none;
}

.catalog .product-order-btn {
  display: none;
}

/* ---------- product detail page ---------- */

.product-detail-section {
  padding: 150px 0 80px;
  border-top: 1px solid var(--card-border);
}

.page-top-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-btn:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateX(-2px);
}

.back-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.page-top-nav .breadcrumb {
  margin-bottom: 0;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--neon);
}

.breadcrumb-sep {
  color: var(--text-faint);
}

.product-detail-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.product-detail-notfound {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--text-muted);
}

.product-detail-notfound[hidden] {
  display: none;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.product-detail[hidden] {
  display: none;
}

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

.product-detail-media {
  position: relative;
}

.product-detail-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(184, 246, 37, 0.14), transparent 60%), var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail-icon {
  width: 46%;
  max-width: 220px;
  color: var(--neon-dim);
}

.product-detail-icon svg {
  width: 100%;
  height: 100%;
}

.product-detail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pd-thumbs[hidden] {
  display: none;
}

.pd-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 10px;
  border: 1.5px solid var(--card-border);
  background: var(--bg-elevated);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.pd-thumb:hover {
  opacity: 1;
  border-color: var(--neon-dim);
}

.pd-thumb.is-active {
  border-color: var(--neon);
  opacity: 1;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.2;
  margin: 6px 0 6px;
}

.product-detail-price {
  color: var(--neon);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.product-detail-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 52ch;
}

.product-detail-add-btn {
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
}

.product-detail-success {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--neon-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 420px;
}

.product-detail-success[hidden] {
  display: none;
}

.product-detail-success .register-success-icon {
  font-size: 1.4rem;
}

/* ---------- wishlist / order history pages ---------- */

.wishlist-section,
.orders-section {
  padding: 150px 0 80px;
  border-top: 1px solid var(--card-border);
}

.wishlist-empty,
.orders-empty {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
}

.wishlist-empty[hidden],
.orders-empty[hidden] {
  display: none;
}

.wishlist-empty-hint,
.orders-empty-hint {
  max-width: 44ch;
  font-size: 0.92rem;
}

.orders-login {
  max-width: 460px;
}

.orders-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.orders-app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.orders-loading {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.order-card-id {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
}

.order-status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--neon-dim);
  background: var(--neon-soft);
  border: 1px solid var(--card-border);
}

.order-status-badge--tasdiqlangan {
  color: #7fc8ff;
  background: rgba(127, 200, 255, 0.12);
}

.order-status-badge--tayyorlanmoqda,
.order-status-badge--yetkazilmoqda {
  color: #ffbf6b;
  background: rgba(255, 191, 107, 0.12);
}

.order-status-badge--yakunlangan {
  color: var(--neon);
  background: var(--neon-soft);
}

.order-status-badge--bekor_qilingan {
  color: #ff8f8f;
  background: rgba(255, 143, 143, 0.12);
}

.order-card-date {
  color: var(--text-faint);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.order-card-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
  margin-bottom: 12px;
}

.order-card-item {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.order-card-total {
  font-weight: 700;
  color: var(--neon);
  font-size: 1rem;
}

/* ---------- about / features ---------- */

.about {
  border-top: 1px solid var(--card-border);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 30px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s ease;
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--neon);
  transform: translateY(-3px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(184, 246, 37, 0.22), transparent 70%), var(--neon-soft);
  border: 1px solid var(--card-border);
  color: var(--neon);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-card:hover .feature-icon {
  border-color: var(--neon);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- contact / social ---------- */

.contact {
  border-top: 1px solid var(--card-border);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 30px 0 26px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  opacity: 0;
  transform: translateY(24px);
}

.social-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.social-card:hover {
  border-color: var(--neon);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--neon-soft);
  color: var(--neon);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.social-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.social-handle {
  color: var(--text-muted);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-arrow {
  font-size: 1.2rem;
  color: var(--neon);
  flex-shrink: 0;
}

.contact-strip {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-phone {
  transition: color 0.2s ease;
}

.contact-phone:hover {
  color: var(--neon);
}

.map-card {
  margin-top: 18px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
  filter: grayscale(0.15) invert(0.92) contrast(0.9) brightness(0.95) hue-rotate(180deg);
}

.map-links {
  display: flex;
  border-top: 1px solid var(--card-border);
}

.map-link {
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--neon);
  transition: background 0.2s ease;
}

.map-link:first-child {
  border-right: 1px solid var(--card-border);
}

.map-link:hover {
  background: var(--bg-elevated);
}

@media (max-width: 480px) {
  .map-links {
    flex-direction: column;
  }

  .map-link:first-child {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
}

/* ---------- cta ---------- */

.cta {
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.3rem);
}

.cta-text {
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 10px;
}

.cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  color: var(--neon);
  border-color: var(--neon);
}

.footer-text {
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- form fields (shared: order modal) ---------- */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.form-field-hint {
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--text-faint);
  font-size: 0.76rem;
}

.form-field input {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-field input::placeholder {
  color: var(--text-faint);
}

.form-field input:focus {
  border-color: var(--neon);
  outline: none;
}

.form-field input.is-invalid {
  border-color: #ff6b6b;
}

.form-error {
  min-height: 1em;
  font-size: 0.78rem;
  color: #ff8080;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 12px;
  text-align: center;
}

/* size chips */

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.size-chip:hover {
  border-color: var(--neon);
  color: var(--text);
}

.size-chip.is-selected {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--bg);
}

.size-chip.is-disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

/* quantity stepper */

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
  background: var(--neon-soft);
  color: var(--neon);
}

.qty-stepper input {
  width: 52px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn--sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid var(--card-border);
  background: var(--bg-elevated);
}

/* selected sizes list (multi-size add-to-cart) */

.selected-sizes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selected-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.selected-size-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
}

.qty-stepper--sm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  width: auto;
}

.qty-stepper--sm .selected-size-qty {
  min-width: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- order modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 7, 4, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px 22px 0 0;
  padding: 26px 22px 30px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 0.9rem;
}

.modal-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-right: 40px;
}

.modal-product-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--neon);
}

.modal-product-icon svg,
.modal-product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.modal-product h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.modal-product-price {
  color: var(--neon);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 2px;
}

.modal-submit {
  width: 100%;
}

.modal-success {
  text-align: center;
  padding: 20px 6px 6px;
}

.register-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.modal-success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.modal-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- checkout modal ---------- */

.checkout-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-right: 30px;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
  max-height: 220px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

.checkout-item-name {
  color: var(--text);
}

.checkout-item-meta {
  color: var(--text-faint);
  font-size: 0.82rem;
}

.checkout-item-price {
  color: var(--neon);
  font-weight: 700;
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  padding: 4px 2px 20px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 18px;
}

.checkout-total-row span:last-child {
  color: var(--neon);
}

/* ---------- cart drawer ---------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(6, 7, 4, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
}

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

.cart-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--card);
  border-left: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-drawer-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.cart-drawer-head .modal-close {
  position: static;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.cart-empty {
  color: var(--text-faint);
  font-size: 0.92rem;
  padding: 30px 0;
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.cart-item-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--neon-dim);
}

.cart-item-icon svg,
.cart-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-body {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.cart-item-meta {
  color: var(--text-faint);
  font-size: 0.78rem;
  margin: 2px 0 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon);
  white-space: nowrap;
}

.cart-item-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-faint);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cart-item-remove:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.cart-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}

.cart-footer[hidden] {
  display: none;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.cart-total-row span:last-child {
  color: var(--neon);
}

/* ---------- floating quick-contact (FAB) ---------- */

.fab-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-wrap.is-open .fab-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--neon);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fab-item svg {
  width: 20px;
  height: 20px;
}

.fab-item:hover {
  transform: translateY(-2px);
  border-color: var(--neon);
}

.fab-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--bg);
  border: none;
  box-shadow: 0 8px 24px rgba(184, 246, 37, 0.35);
  transition: transform 0.3s ease;
}

.fab-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.fab-wrap.is-open .fab-toggle svg {
  transform: rotate(45deg);
}

.fab-toggle:hover {
  transform: scale(1.06);
}

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.to-top[hidden] {
  display: none;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-2px);
}

/* =========================================================
   Mobile-first base is above (single column, stacked).
   Enhance progressively for larger screens below.
   ========================================================= */

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

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-overlay {
    align-items: center;
  }

  .modal-card {
    border-radius: 22px;
  }
}

@media (min-width: 860px) {
  .header-inner {
    height: 76px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    height: auto;
  }

  .hero {
    padding: 96px 0 0;
  }

  .hero-inner {
    max-width: 760px;
    padding-bottom: 64px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-title {
    max-width: 30ch;
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-field {
    flex: 1;
  }

  .map-frame {
    height: 320px;
  }
}

@media (max-width: 859px) {
  .primary-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 68px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    background: rgba(10, 11, 8, 0.98);
    backdrop-filter: blur(14px);
    padding: 26px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 15;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav .nav-link {
    width: 100%;
    padding: 16px 4px;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text);
  }

  .primary-nav .nav-link--cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

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

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

  .cart-drawer {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Chegirma narxi, promo-kod va yetkazib berish (checkout)
   ============================================================ */

.price-old {
  margin-left: 7px;
  opacity: .5;
  font-weight: 500;
  text-decoration: line-through;
}

.price-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ff4d4d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.checkout-promo {
  display: flex;
  gap: 8px;
  margin: 14px 0 6px;
}

.checkout-promo-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}

.checkout-promo-input::placeholder { text-transform: none; opacity: .5; }
.checkout-promo-btn { flex: 0 0 auto; padding-inline: 18px; }

.checkout-promo-msg {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
}

.checkout-promo-msg.is-ok { color: #b8f625; }
.checkout-promo-msg.is-error { color: #ff6b6b; }

.checkout-delivery { margin-bottom: 12px; }

.checkout-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
}

.checkout-lines {
  margin: 10px 0 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
  opacity: .8;
}

.checkout-line--discount { color: #b8f625; opacity: 1; }

/* `display: flex` brauzerning standart [hidden] qoidasidan kuchliroq bo'lgani uchun
   yashirilgan qatorlar baribir ko'rinib qolardi — shuni aniq bekor qilamiz. */
.checkout-line[hidden],
.checkout-delivery[hidden],
.checkout-promo-msg[hidden] { display: none !important; }
