:root {
  /* Monoxrom (qora-oq) palitra */
  --bg: #050505;
  --bg2: #0a0a0a;
  --bg3: #121212;
  --card-solid: #0e0e0e;

  /* Glass effekti */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(18, 18, 18, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-soft: rgba(255, 255, 255, 0.08);

  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.22);

  --text: #ffffff;
  --text2: #9a9a9a;
  --text3: #5e5e5e;
  --accent: #ffffff;
  --accent-soft: #d8d8d8;
  --accent-glow: rgba(255, 255, 255, 0.18);

  /* Shriftlar — o'qishga qulay */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* Header — Glass effekti (Apple uslubi) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border-soft);
  transition: all 0.4s ease;
}

.header.solid {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform 0.3s;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* SVG ikonkalar (oq, har joyda ishlatiladi) */
.ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  color: #fff;
  flex-shrink: 0;
}
.ico-lg { width: 26px; height: 26px; }
.ico-logo { height: 15px; width: auto; vertical-align: middle; opacity: 0.9; filter: drop-shadow(0 0 6px rgba(255,255,255,0.2)); }
.val-svg { width: 30px; height: 30px; color: #fff; }
.ci-lg { display: inline-flex; width: 26px; height: 26px; color: #fff; }
.ci-lg .ico, .ci-lg .val-svg { width: 24px; height: 24px; }
.ci-icon .ico { width: 22px; height: 22px; }
.social-btn .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.footer-info .ico { width: 15px; height: 15px; vertical-align: -2px; }

.logo:hover {
  transform: scale(1.04);
}

.logo-svg {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.logo-text .accent {
  color: var(--accent);
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.5);
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 100px;
  position: relative;
  color: var(--text2);
  transition: all 0.3s;
}

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

.nav-link.admin-nav-link {
  color: #000;
  background: #fff;
  border: 1px solid #fff;
  font-weight: 800;
}

.nav-link.admin-nav-link:hover {
  color: #000;
  background: var(--accent-soft);
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.header-phone:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
}

.cart-btn:hover {
  background: var(--glass-bg);
  transform: scale(1.08);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fff;
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: transform 0.2s;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 64px;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.05) 0%, transparent 55%),
    linear-gradient(180deg, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.7) 100%);
  z-index: 1;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(12px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}

.glitch {
  position: relative;
  color: var(--text);
  animation: glitch 4s ease-in-out infinite;
}

@keyframes glitch {
  0%, 100% { text-shadow: 0 0 18px rgba(255,255,255,0.25); }
  48% { text-shadow: -2px 0 rgba(255,255,255,0.5), 2px 0 rgba(120,120,120,0.5); }
  50% { text-shadow: 2px 0 rgba(255,255,255,0.5), -2px 0 rgba(120,120,120,0.5); }
  52% { text-shadow: 0 0 18px rgba(255,255,255,0.25); }
}

.hero-gaming {
  display: block;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 8px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  -webkit-text-stroke: 1px rgba(255,255,255,0.9);
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 36px;
  letter-spacing: 3px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
  padding: 15px 40px;
  background: #fff;
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  border: 1px solid #fff;
  border-radius: 100px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
}

.btn-outline {
  padding: 15px 40px;
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 100px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.6);
  margin: 0 auto 10px;
  animation: scroller 2s infinite;
}

@keyframes scroller {
  0% { height: 36px; opacity: 1; }
  100% { height: 0; opacity: 0; }
}

.hero-scroll span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text3);
}

/* Brands Ticker */
.brands-ticker {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}

.ticker-items {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  width: max-content;
  animation: ticker 45s linear infinite;
  color: var(--text2);
  will-change: transform;
}

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

.ticker-items:hover { animation-play-state: paused; }

/* Brendlar — bir xil rangda (monoxrom) */
.brand-m {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--text2);
  white-space: nowrap;
  transition: color 0.3s;
  margin-right: 52px;
}
.brand-m:hover { color: var(--text); }

.ticker-logo {
  height: 30px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.25));
  margin-right: 52px;
  flex-shrink: 0;
}

/* YouTube bo'lim */
.youtube-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.yt-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 14px 44px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sections */
.categories-section,
.products-section {
  padding: 100px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.section-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  margin: 18px auto 0;
}

/* Categories — glass cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.cat-card {
  position: relative;
  padding: 38px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), box-shadow 0.55s, border-color 0.55s;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 0 24px rgba(255,255,255,0.04);
}

.cat-card:hover,
.cat-card:focus {
  outline: none;
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.30);
  box-shadow:
    0 24px 54px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 0 32px rgba(255,255,255,0.07);
}

/* doimiy yumshoq yorug'lik (refraction) */
.cat-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 90% at 50% -15%, rgba(255,255,255,0.20), transparent 60%);
  opacity: 0.65;
  transition: opacity 0.5s;
  z-index: 0;
  pointer-events: none;
}
.cat-card:hover .cat-bg,
.cat-card:focus .cat-bg { opacity: 1; }

/* liquid sheen — yaltirash hoverda diagonal o'tadi */
.cat-sheen {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 55%;
  height: 200%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.10) 40%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0.10) 60%, transparent 100%);
  transform: rotate(6deg);
  transition: left 0.75s cubic-bezier(0.16,1,0.3,1);
  z-index: 1;
  pointer-events: none;
}
.cat-card:hover .cat-sheen,
.cat-card:focus .cat-sheen { left: 130%; }

.cat-icon {
  font-size: 46px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  filter: grayscale(1) brightness(1.5) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.cat-svg {
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,0.18));
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.cat-card p {
  font-size: 13px;
  color: var(--text2);
  position: relative;
  z-index: 2;
}

.cat-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text2);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.35s ease;
}

.cat-card:hover .cat-cta,
.cat-card:focus .cat-cta {
  opacity: 1;
  transform: translateX(0);
  color: var(--text);
}

/* Products controls */
.products-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 50px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 10px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border-soft);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.3s;
}

.filter-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.filter-tab.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

.search-wrap {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 13px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
}

.search-input::placeholder { color: var(--text3); }

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s, border-color 0.45s;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.product-card:hover {
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-info { padding: 22px; }

.product-brand {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text2);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions button {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.product-actions button:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.product-actions .btn-order {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.product-actions .btn-order:hover {
  background: transparent;
  color: #fff;
  border-color: var(--glass-border);
}

.btn-disabled {
  flex: 1;
  padding: 10px;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text3) !important;
  border-radius: 100px;
  font-weight: 600;
  cursor: not-allowed !important;
}

.product-card.out-of-stock .product-image img {
  filter: grayscale(1) brightness(0.6);
}

.product-image {
  position: relative;
}

.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 100px;
}

.cond-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cond-new { background: rgba(255,255,255,0.92); color: #000; }
.cond-used { background: rgba(0,0,0,0.7); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

.modal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.modal-thumb {
  width: 58px; height: 58px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 1px solid var(--glass-border); opacity: 0.55; transition: all 0.2s;
}
.modal-thumb.active, .modal-thumb:hover { opacity: 1; border-color: #fff; }

.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* About */
.about-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-desc {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 18px;
  line-height: 1.85;
}

.features-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15px;
}

.fi-icon {
  color: var(--text);
  font-size: 14px;
  flex-shrink: 0;
}

.contact-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 34px;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 26px;
  letter-spacing: 1px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
}

.ci-icon {
  font-size: 22px;
  min-width: 30px;
  filter: grayscale(1) brightness(1.5);
}

.contact-item strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text2);
}

.contact-item a { color: var(--text); text-decoration: underline; }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  flex: 1;
  text-align: center;
  padding: 11px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--glass-bg);
  transition: all 0.3s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
}

.map-box {
  margin-top: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
}
.map-box iframe {
  filter: grayscale(0.3) invert(0.9) hue-rotate(180deg);
}
.map-open {
  display: block;
  text-align: center;
  padding: 11px;
  background: var(--glass-bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--glass-border);
  transition: background 0.3s;
}
.map-open:hover { background: rgba(255,255,255,0.1); }

/* Footer */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 22px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p { font-size: 13px; color: var(--text2); }

.footer-cats h4,
.footer-info h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text2);
}

.footer-cats a,
.footer-info p {
  display: block;
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 9px;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-cats a:hover { color: var(--text); }
.footer-info a { color: var(--text2); }
.footer-info a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text3);
}

.admin-link { color: var(--text3); transition: color 0.3s; }
.admin-link:hover { color: var(--text); }

/* Cart Sidebar — glass */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid var(--glass-border);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.active { right: 0; }

.cart-head {
  padding: 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cart-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--text3); }

.cart-item {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.cart-item-price { color: var(--text); font-weight: 700; font-size: 14px; font-family: var(--font-display); }

.cart-item-remove {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text2);
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
}
.cart-item-remove:hover { background: rgba(255,255,255,0.14); color: var(--text); border-color: var(--border-strong); }

.cart-foot { padding: 22px; border-top: 1px solid var(--border); }
.cart-total {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Modal — glass */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-bg.active { opacity: 1; pointer-events: all; }

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 2001;
  max-width: 640px;
  width: 90%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  font-size: 22px;
  color: var(--text2);
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover { color: var(--text); background: var(--glass-bg); }
.modal-content { padding: 32px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 26px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  max-width: 320px;
}

.toast.active {
  opacity: 1;
  pointer-events: all;
  animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { transform: translateX(400px); }
  to { transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  }
  .nav-link {
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav-link:hover, .nav-link:active { background: rgba(255,255,255,0.08); }

  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 12px; }
  .header-phone { display: none; }
  .hero-title { font-size: 44px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .cart-sidebar { width: 100%; right: -100%; }
  .product-modal { width: 95%; }
  .modal-content > div { grid-template-columns: 1fr !important; }
  .toast { bottom: 20px; right: 20px; left: 20px; max-width: none; }
}

/* ============================================= */
/* LIGHT THEME (kunduzgi rejim) */
/* ============================================= */
[data-theme="light"] {
  --bg: #f4f4f6;
  --bg2: #ffffff;
  --bg3: #ececef;
  --card-solid: #ffffff;
  --glass-bg: rgba(0,0,0,0.045);
  --glass-bg-strong: rgba(255,255,255,0.88);
  --glass-border: rgba(0,0,0,0.12);
  --glass-border-soft: rgba(0,0,0,0.08);
  --border: rgba(0,0,0,0.1);
  --border-strong: rgba(0,0,0,0.25);
  --text: #0b0b0c;
  --text2: #5b5b62;
  --text3: #9a9aa2;
  --accent: #0b0b0c;
  --accent-soft: #222222;
  --accent-glow: rgba(0,0,0,0.12);
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
/* Hero har doim qora qoladi (zarrachalar + glitch uchun) */
[data-theme="light"] .hero { background: #050505; }
[data-theme="light"] .hero-title,
[data-theme="light"] .glitch { color: #fff; }
[data-theme="light"] .hero-desc { color: #cfcfcf; }
[data-theme="light"] .hero-eyebrow { color: #fff; }
/* Oq logoni qora qilamiz (light fon uchun) */
[data-theme="light"] .logo-img,
[data-theme="light"] .ticker-logo,
[data-theme="light"] .footer-brand img,
[data-theme="light"] .ico-logo { filter: invert(1); }
/* Oq SVG ikonkalar -> matn rangi (qora) */
[data-theme="light"] .ico,
[data-theme="light"] .cat-svg,
[data-theme="light"] .val-svg,
[data-theme="light"] .ci-lg,
[data-theme="light"] .ci-lg .ico { color: var(--text); }
[data-theme="light"] .header.solid { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
/* Xarita light rejimda normal */
[data-theme="light"] .map-box iframe { filter: none; }
/* Modal matni light rejimda qora (inline ranglarni bekor qilamiz) */
[data-theme="light"] #modalContent [style*="color: #fff"],
[data-theme="light"] #modalContent h2 { color: var(--text) !important; }
[data-theme="light"] #modalContent [style*="color: #9a9a9a"],
[data-theme="light"] #modalContent [style*="color: #c4c4c4"] { color: var(--text2) !important; }
[data-theme="light"] .btn-primary { background:#0b0b0c; color:#fff; }
[data-theme="light"] .cond-new { background:#0b0b0c; color:#fff; }

/* ============================================= */
/* THEME TOGGLE TUGMA */
/* ============================================= */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s;
}
.theme-toggle:hover { background: var(--glass-bg-strong); border-color: var(--border-strong); }
.theme-toggle .ico { width: 18px; height: 18px; }
.ico-moon { display: none; }
[data-theme="light"] .ico-sun { display: none; }
[data-theme="light"] .ico-moon { display: inline-block; }

/* ============================================= */
/* SAVATDAGI SON (1-10) */
/* ============================================= */
.qty-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  color: var(--text);
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.qty-btn:hover:not(:disabled) { background: var(--glass-bg-strong); border-color: var(--border-strong); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-num { min-width: 26px; text-align: center; font-weight: 700; font-family: var(--font-display); }

/* ============================================= */
/* REYTING (yulduzlar) */
/* ============================================= */
.stars { display: inline-flex; gap: 2px; align-items: center; }
.star { width: 15px; height: 15px; fill: rgba(150,150,150,0.4); }
.star.on { fill: #f5b301; }
.product-rating { margin: 2px 0 8px; }

/* ============================================= */
/* TELEFON MODALI (Sotib olaman) */
/* ============================================= */
.phone-modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); z-index: 3000; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.phone-modal-bg.active { opacity: 1; pointer-events: auto; }
.phone-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 3001; width: 92%; max-width: 420px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 32px 26px;
  opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.phone-modal.active { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
.pm-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.pm-sub { color: var(--text2); font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.pm-input {
  width: 100%; padding: 14px 16px; font-size: 17px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 12px; color: var(--text); font-family: var(--font-body);
  margin-bottom: 14px; text-align: center; letter-spacing: 0.5px;
}
.pm-input:focus { outline: none; border-color: var(--border-strong); }
.pm-submit { width: 100%; }
.pm-note { color: var(--text3); font-size: 12px; text-align: center; margin-top: 12px; }

/* ============================================= */
/* VALYUTA KURSLARI KARUSELI */
/* ============================================= */
.rates-section { padding: 30px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.rates-head { max-width: 1200px; margin: 0 auto 14px; padding: 0 20px; display: flex; align-items: baseline; gap: 12px; }
.rates-title { font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.rates-date { color: var(--text2); font-size: 12px; }
.rates-ticker-wrap { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rates-ticker { display: inline-flex; white-space: nowrap; width: max-content; animation: ratesScroll 50s linear infinite; }
@keyframes ratesScroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.rate-item {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 40px; font-family: var(--font-display); font-size: 16px;
  color: var(--text2);
}
.rate-item strong { color: var(--text); font-weight: 700; }
.rate-val { color: var(--text2); }

/* ============================================= */
/* RESPONSIVE — barcha telefonlar & iPhone modellari */
/* ============================================= */
@media (max-width: 900px) {
  .modal-grid { grid-template-columns: 1fr !important; }
  .product-modal { max-width: 520px; }
}
@media (max-width: 768px) {
  .header-phone { display: none; }
  .container { padding: 0 16px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section-title { font-size: 30px; }
}
@media (max-width: 600px) {
  .cart-sidebar { width: 100%; right: -100%; }
  .product-modal { width: 94%; padding-bottom: 10px; }
  .modal-thumb { width: 48px; height: 48px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { font-size: 12px; padding: 7px 12px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .hero-title { font-size: clamp(32px, 13vw, 52px); }
  .hero-desc { font-size: 13px; }
  .rate-item { font-size: 14px; margin-right: 28px; }
  .pm-title { font-size: 19px; }
  .logo-img { height: 26px; }
  .nav { gap: 0; }
}
@media (max-width: 360px) {
  .categories-grid { grid-template-columns: 1fr; }
  .header-actions { gap: 6px; }
  .theme-toggle, .cart-btn { width: 36px; height: 36px; }
}

/* ============================================= */
/* LIGHTBOX — to'liq original rasm */
/* ============================================= */
.modal-img-wrap { position: relative; }
.zoom-hint {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 12px; padding: 6px 12px; border-radius: 100px;
  backdrop-filter: blur(6px); pointer-events: none;
  border: 1px solid rgba(255,255,255,0.2);
}
.lightbox {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
  padding: 24px;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 94vw; max-height: 90vh;
  object-fit: contain;   /* TO'LIQ — kesilmaydi */
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7);
  cursor: default;
}
.lb-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 20px; cursor: pointer; z-index: 4001;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer; z-index: 4001;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0,0,0,0.5);
  padding: 6px 14px; border-radius: 100px;
}
@media (max-width: 600px) {
  .lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}

/* ============================================= */
/* HERO KARUSEL (brend rasmlari) */
/* ============================================= */
.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #060606;
  display: block;
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; }

/* Brend slayd — qora fon + diagonal yorug' chiziqlar */
.brand-slide {
  background: radial-gradient(120% 120% at 70% 30%, #1a1a1a 0%, #060606 70%);
}
.brand-slide::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    repeating-linear-gradient(118deg, transparent 0 44px, rgba(255,255,255,0.045) 44px 45px, transparent 45px 120px),
    linear-gradient(118deg, transparent 30%, rgba(255,255,255,0.10) 47%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.10) 53%, transparent 70%);
  filter: blur(0.5px);
  pointer-events: none;
}
.bs-inner { position: relative; text-align: center; padding: 0 20px; z-index: 1; }
.bs-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 9vw, 110px);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.bs-sub {
  margin-top: 16px;
  font-size: clamp(13px, 2.2vw, 20px);
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
}

/* Nuqtalar */
.hero-dots {
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.hero-dot.active { background: #fff; width: 26px; border-radius: 6px; }
[data-theme="light"] .hero { background: #060606; }

/* ============================================= */
/* SUPPORT / DRAYVERLAR */
/* ============================================= */
.support-section { padding: 90px 0; }
.support-box {
  max-width: 620px; margin: 0 auto;
  display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap;
}
.support-select {
  flex: 1; min-width: 200px;
  padding: 15px 18px; font-size: 16px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 12px; color: var(--text); font-family: var(--font-body);
  cursor: pointer;
}
.support-select:focus { outline: none; border-color: var(--border-strong); }
.support-select option { background: #111; color: #fff; }
[data-theme="light"] .support-select option { background: #fff; color: #111; }
.support-btn { flex: none; white-space: nowrap; }
@media (max-width: 520px) {
  .support-box { flex-direction: column; }
  .support-btn { width: 100%; }
  .hero { min-height: 72vh; }
  .hero-dots { bottom: 54px; }
}

/* ============================================= */
/* HERO WALL SLAYD — desktop landshaft, mobil portret */
/* ============================================= */
.hero-slide-wall {
  background-image: url('../img/hero-laptopstore.jpg');
}
/* Light rejimda mobil menyu foni oq */
[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.98) !important;
}
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link:active { background: rgba(0,0,0,0.06) !important; }

/* Telefon (≤768px): karusel ISHLAYDI, wall slayd portret rasmga o'zgaradi */
@media (max-width: 768px) {
  .hero-slide-wall { background-image: url('../img/hero-mobile.jpg'); }
  .hero { min-height: 84vh; }
  .hero-dots { bottom: 54px; }
}

/* MS7 maxfiy admin link (kichik) */
.ms7-link {
  font-size: 11px;
  color: var(--text3);
  opacity: 0.5;
  text-decoration: none;
  margin-left: 6px;
  transition: opacity 0.2s;
}
.ms7-link:hover { opacity: 1; color: var(--text2); }

/* ============================================= */
/* TIL ALMASHTIRGICH (UZ / RU / EN) */
/* ============================================= */
.lang-switch {
  display: inline-flex; gap: 2px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent;
  color: var(--text2); font-size: 12px; font-weight: 700;
  padding: 5px 9px; border-radius: 100px; cursor: pointer;
  transition: all 0.2s; font-family: var(--font-display);
  line-height: 1;
}
.lang-btn.active { background: var(--text); color: var(--bg); }
.lang-btn:hover:not(.active) { color: var(--text); }
@media (max-width: 600px) {
  .lang-btn { padding: 5px 6px; font-size: 11px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 380px) {
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 4px 5px; font-size: 10px; }
}

/* ============================================= */
/* MODAL — ichki padding va mobil tartib (TUZATISH) */
/* ============================================= */
#modalContent { padding: 30px; }
.product-modal .modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
}
[data-theme="light"] .product-modal .modal-close { background: rgba(0,0,0,0.4); }

@media (max-width: 768px) {
  #modalContent { padding: 22px 16px 20px; }
  .modal-grid { gap: 18px !important; }
  .product-modal { width: 94%; max-height: 92vh; }
  .product-modal .modal-close { top: 10px; right: 10px; }
}
@media (max-width: 480px) {
  #modalContent { padding: 18px 14px 18px; }
}
