﻿:root {
  --car-navy: #091a2a;
  --car-navy-2: #122c42;
  --car-blue: #0f6fff;
  --car-blue-soft: #eaf3ff;
  --car-red: #ff5a36;
  --car-orange: #ffb11c;
  --car-slate: #5f6f85;
  --car-bg: #edf3f8;
  --car-surface: #ffffff;
  --car-line: #dbe5ef;
  --car-text: #12212d;
  --car-muted: #5a6979;
  --car-shadow: 0 18px 45px rgba(9, 26, 42, 0.12);
  --car-radius: 22px;
  --car-gold: #f9c74f;
}

body {
  background:
    radial-gradient(circle at top right, rgba(15,111,255,0.10), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255,90,54,0.08), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef5fb 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17,31,44,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,31,44,0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  z-index: 0;
}

img {
  object-fit: cover;
}

.site-shell {
  background: transparent;
}

.topbar {
  background: linear-gradient(180deg, var(--car-navy) 0%, #0a1f35 100%);
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar a:hover {
  color: #fff;
}

.header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(17, 31, 44, 0.06);
  border-bottom: 1px solid var(--car-line);
}
.mobile-bottom-nav{
  display: none;
}
.logo {
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--car-blue) 0%, var(--car-red) 100%);
  border-radius: 18px;
  padding: 10px;
  width: 220px;
  max-width: 220px;
  box-shadow: 0 14px 30px rgba(15,111,255,0.22);
}

.logo-mark img {
  width: 100%;
  height: 52px;
  object-fit: contain;
}

.search {
  position: relative;
  background: #f3f7fb;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(17,31,44,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(9,26,42,0.12);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

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

.live-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--car-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--car-line);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.live-search-item:last-child {
  border-bottom: none;
}

.live-search-item:hover {
  background: linear-gradient(135deg, rgba(15,111,255,0.06) 0%, rgba(255,90,54,0.04) 100%);
  text-decoration: none;
  color: var(--car-navy);
}

.live-search-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.live-search-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--car-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-subtitle {
  font-size: 11px;
  color: var(--car-muted);
}

.live-search-type {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--car-blue);
  background: var(--car-blue-soft);
  padding: 5px 8px;
  border-radius: 999px;
}

.login-btn {
  border-color: var(--car-line);
  background: #fff;
  color: var(--car-navy);
  border-radius: 14px;
  font-weight: 700;
}

.login-btn:hover {
  color: var(--car-blue);
  border-color: rgba(15,111,255,0.35);
}

.icon-btn {
  background: #f3f7fb;
  border: 1px solid transparent;
}

.icon-btn:hover {
  background: var(--car-blue-soft);
}

.nav {
  background: rgba(9,26,42,0.96);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav a {
  color: rgba(255,255,255,0.76);
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.nav .nav-cat {
  background: linear-gradient(135deg, rgba(15,111,255,0.18) 0%, rgba(255,90,54,0.12) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.slider {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 14% 20%, rgba(255,177,28,0.18), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(15,111,255,0.18), transparent 22%),
    linear-gradient(135deg, #0c2034 0%, #183f5c 52%, #0e4888 100%);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--car-shadow);
}

.slides {
  position: relative;
  min-height: 470px;
}

.slide {
  position: relative;
  min-height: 470px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        position: absolute;
    }

.slide img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.08);
}

.slide-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px clamp(20px, 4vw, 64px);
  background: linear-gradient(90deg, rgba(7,16,25,0.7) 0%, rgba(7,16,25,0.1) 60%, rgba(7,16,25,0.12) 100%);
}

.slide-caption h2 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 12px;
  max-width: 520px;
}

.slide-caption p {
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
  margin-bottom: 22px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 2;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.26);
}

.slider-btn.prev { right: 18px; }
.slider-btn.next { left: 18px; }

.slider-btn svg { width: 18px; height: 18px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.section {
  position: relative;
  isolation: isolate;
  padding: 30px 24px;
  margin: 18px 0;
  border-radius: 30px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 12% 10%, rgba(15,111,255,0.08), transparent 18%),
    radial-gradient(circle at 88% 16%, rgba(255,177,28,0.08), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.82) 0%, rgba(232,242,255,0.95) 100%);
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
  box-shadow: 0 18px 40px rgba(9,26,42,0.05);
  overflow: hidden;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  border: 1px solid rgba(15,111,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 18px 30px rgba(15,111,255,0.08);
  background: linear-gradient(135deg, rgba(15,111,255,0.12), rgba(255,90,54,0.08));
}

.section::before {
  width: 240px;
  height: 240px;
  right: -54px;
  top: -68px;
  border-radius: 52px;
  transform: rotate(28deg);
}

.section::after {
  width: 180px;
  height: 180px;
  left: -42px;
  bottom: -46px;
  border-radius: 34px;
  transform: rotate(24deg);
  background: linear-gradient(135deg, rgba(255,177,28,0.12), rgba(15,111,255,0.1));
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--car-navy);
  font-weight: 800;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-head h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--car-blue) 0%, var(--car-red) 100%);
  box-shadow: 0 0 18px rgba(15,111,255,0.35);
}

.more {
  color: var(--car-blue);
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.more::after {
  content: "→";
  transition: transform 0.25s ease;
  display: inline-block;
}

.more:hover::after {
  transform: translateX(4px);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 8px;
}

.stat-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(233,242,255,0.8) 100%);
  border: 1px solid var(--car-line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(13, 29, 42, 0.04);
}

.stat-box .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--car-blue-soft) 0%, rgba(15,111,255,0.12) 100%);
  color: var(--car-blue);
  display: grid;
  place-items: center;
}

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

.stat-box strong {
  display: block;
  color: var(--car-navy);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.stat-box span {
  color: var(--car-muted);
  font-size: 13px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  display: block;
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(240,247,255,0.9) 100%);
  border: 1px solid var(--car-line);
  border-radius: 22px;
  padding: 16px 14px;
  box-shadow: 0 10px 22px rgba(15, 34, 55, 0.04);
  transform: translateY(0);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.3) 48%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.cat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -26px;
  top: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,111,255,0.16) 0%, rgba(15,111,255,0.05) 32%, transparent 70%);
  animation: pulseOrb 5s ease-in-out infinite;
  pointer-events: none;
}

.cat-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--car-shadow);
  border-color: rgba(15,111,255,0.18);
}

.cat-card:hover::before {
  transform: translateX(120%);
}

.cat-card .thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 124px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf4ff 0%, #f7f9ff 100%);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(17,31,44,0.04);
}

.cat-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.cat-card:hover .thumb img {
  transform: scale(1.10) rotate(-2deg);
  filter: saturate(1.08);
}

.cat-card h3 {
  position: relative;
  z-index: 1;
  color: var(--car-navy);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: color 0.25s ease;
}

.cat-card:hover h3 {
  color: var(--car-blue);
}

.deal-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 15% 18%, rgba(255,180,58,0.20), transparent 16%),
    radial-gradient(circle at 86% 18%, rgba(76,141,255,0.18), transparent 20%),
    linear-gradient(135deg, #040b13 0%, #0a1824 24%, #0e2438 52%, #0d2c45 70%, #0a1a2c 100%);
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 22px;
  color: #fff;
  box-shadow:
    0 26px 44px rgba(2, 12, 22, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -18px 26px rgba(5, 16, 28, 0.38);
}

.deal-panel::before,
.deal-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.deal-panel::before {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(255,177,28,0.24) 0%, rgba(255,177,28,0.09) 26%, transparent 68%);
}

.deal-panel::after {
  width: 340px;
  height: 340px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(30,118,255,0.20) 0%, rgba(30,118,255,0.08) 30%, transparent 68%);
}

.deal-head,
.products-grid {
  position: relative;
  z-index: 1;
}

.deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.deal-head h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 2rem);
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.deal-head .timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(54px, 1fr));
  gap: 10px;
  width: fit-content;
  min-width: 260px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 10px 28px rgba(2, 12, 22, 0.18);
}

.deal-head .timer-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.deal-head .timer-ring {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.deal-head .timer-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.deal-head .timer-ring-bg,
.deal-head .timer-ring-fg {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}

.deal-head .timer-ring-bg {
  stroke: rgba(255,255,255,0.14);
}

.deal-head .timer-ring-fg {
  stroke: #ffb11c;
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(255,177,28,0.55));
}

.deal-head .timer-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  pointer-events: none;
}

.deal-head .timer-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}

.deal-head .timer-unit {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .deal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .deal-head .timer {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(4, minmax(52px, 1fr));
  }

  .deal-head .timer-ring {
    width: 52px;
    height: 52px;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(244,249,255,0.85) 100%);
  background-size: 16px 16px, 16px 16px, auto, auto;
  border: 1px solid var(--car-line);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 10px 20px rgba(9,26,42,0.04);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 48%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 34px rgba(9,26,42,0.1);
  border-color: rgba(15,111,255,0.18);
}

.product-card:hover::before {
  transform: translateX(120%);
}

.product-card .thumb {
  display: block;
  position: relative;
  height: 188px;
  background: linear-gradient(135deg, #f3f7fd 0%, #edf3f7 100%);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(17,31,44,0.04);
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.52s ease, filter 0.52s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.08) rotate(-1.2deg);
  filter: saturate(1.08);
}

.product-card h3 {
  color: var(--car-text);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 46px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.product-card:hover h3 {
  color: var(--car-blue);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}

.card-stars {
  color: var(--car-orange);
  font-size: 1rem;
  letter-spacing: 1px;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.price-now {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--car-navy);
}

.price-now small,
.price-old small {
  font-size: 0.7rem;
  color: var(--car-muted);
}

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

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--car-red) 0%, #ff6b52 100%);
  color: white;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(255,90,54,0.3);
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  transition: 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--car-blue) 0%, #0b6ef0 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15,111,255,0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #085fe3 0%, #0a5dd9 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--car-red) 0%, #ff764a 100%);
  color: #fff;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ef4f34 0%, #ee6a47 100%);
}

.btn-outline {
  border: 1px solid var(--car-line);
  background: #fff;
  color: var(--car-navy);
}

.btn-outline:hover {
  border-color: rgba(15,111,255,0.3);
  color: var(--car-blue);
}

.banner-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.banner-duo a {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--car-shadow);
}

.banner-duo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.mini-brand-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 16px;
}

.brand-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--car-line);
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card .mark {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ebf3ff 0%, #fff3ef 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--car-blue);
  font-weight: 800;
  font-size: 1.3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.blog-card {
  background: var(--car-surface);
  border: 1px solid var(--car-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(9,26,42,0.04);
}

.blog-card .bc-img {
  display: block;
  height: 220px;
  overflow: hidden;
}

.blog-card .bc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-body {
  padding: 18px;
}

.bc-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--car-blue-soft);
  color: var(--car-blue);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bc-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--car-navy);
  line-height: 1.6;
  margin-bottom: 10px;
}

.bc-body p {
  color: var(--car-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.bc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--car-slate);
  font-size: 12px;
}

.bc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bc-meta svg {
  width: 15px;
  height: 15px;
}

.newsletter {
  background: linear-gradient(135deg, #0c1d2d 0%, #133a5b 42%, #0d3d66 100%);
  border-radius: 30px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  box-shadow: var(--car-shadow);
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin-bottom: 8px;
}

.newsletter p {
  color: rgba(255,255,255,0.8);
}

.newsletter form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 580px);
}

.newsletter input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-radius: 14px;
  padding: 15px 16px;
  min-height: 54px;
}

.newsletter input::placeholder {
  color: rgba(255,255,255,0.7);
}

.footer {
  background: linear-gradient(180deg, #091924 0%, #0f1d2a 100%);
  color: rgba(255,255,255,0.82);
  margin-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 44px 0 30px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .logo-mark {
  width: 170px;
  max-width: 170px;
  padding: 8px 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,0.7);
}

.shop-layout {
  padding-top: 10px;
}

.filters {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--car-line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(9, 26, 42, 0.06);
  overflow: hidden;
}

.filters .filters-head {
  background: linear-gradient(135deg, #0a2034 0%, #133d63 100%);
  color: #fff;
  border-bottom: none;
  padding: 18px 16px;
}

.filters .filters-head a {
  color: #dfeeff;
}

.filter-group {
  border-bottom: 1px solid var(--car-line);
  padding: 16px;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  color: var(--car-navy);
  font-size: 0.82rem;
}

.check {
  color: var(--car-text);
  font-size: 0.8rem;
}

.price-range input,
.variant-block .form-control,
.variant-block .form-select,
.newsletter input {
  border: 1px solid rgba(17, 31, 44, 0.12);
}

.toolbar {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--car-line);
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(9,26,42,0.04);
  padding: 14px 16px;
}

.toolbar .sort-label {
  color: var(--car-slate);
}

.sort-tabs button {
  background: #f3f7fb;
  border: 1px solid transparent;
  color: var(--car-muted);
}

.sort-tabs button.active {
  background: linear-gradient(135deg, var(--car-blue-soft) 0%, rgba(15,111,255,0.12) 100%);
  color: var(--car-blue);
  border-color: rgba(15,111,255,0.18);
}

.shop-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-products .product-card,
.product-card {
  border: 1px solid var(--car-line);
  box-shadow: 0 16px 32px rgba(9,26,42,0.05);
  background: rgba(255,255,255,0.82);
}

.shop-products .product-card h3,
.product-card h3 {
  color: var(--car-navy);
}

.shop-products .product-card .thumb,
.product-card .thumb {
  border-radius: 18px;
  border: 1px solid rgba(17,31,44,0.04);
}

.pd-grid {
  padding-top: 12px;
}

.pd-gallery,
.buy-box,
.pd-tabs {
  border: 1px solid var(--car-line);
  box-shadow: 0 16px 32px rgba(9,26,42,0.05);
  background: rgba(255,255,255,0.82);
}

.pd-gallery {
  padding: 16px;
  border-radius: 26px;
}

.pd-main-img {
  border-radius: 18px;
  border: 1px solid var(--car-line);
  background: linear-gradient(135deg, #f4f8fd 0%, #edf1f7 100%);
}

.pd-info h1 {
  color: var(--car-navy);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.pd-info .pd-en,
.pd-meta,
.buy-box .seller,
.buy-box .bb-row,
.review-head .date,
.summary-row,
.category-short-description,
.category-long-description {
  color: var(--car-muted);
}

.pd-features ul li {
  background: var(--car-blue-soft);
  border: 1px solid rgba(15,111,255,0.08);
  border-radius: 12px;
  padding: 8px 10px;
}

.buy-box {
  border-radius: 26px;
  padding: 20px;
}

.buy-box .bb-final {
  color: var(--car-navy);
}

.buy-box .bb-row.bb-stock {
  background: linear-gradient(135deg, #f3f8ff 0%, #eef6ff 100%);
  border: 1px solid rgba(15,111,255,0.08);
}

.tab-head {
  background: rgba(242,247,251,0.8);
}

.tab-head button {
  color: var(--car-slate);
}

.tab-head button.active {
  color: var(--car-blue);
  border-bottom-color: var(--car-blue);
}

.spec-table th {
  background: #f4f8fd;
  color: var(--car-slate);
}

.review {
  border-bottom: 1px solid var(--car-line);
  padding-top: 18px;
}

.review-head .avatar {
  background: linear-gradient(135deg, var(--car-blue-soft) 0%, rgba(15,111,255,0.12) 100%);
  color: var(--car-blue);
}

.cart-items,
.summary,
.cart-empty {
  border: 1px solid var(--car-line);
  border-radius: 26px;
  box-shadow: 0 12px 24px rgba(9,26,42,0.05);
}

.cart-item {
  padding: 18px 12px;
}

.cart-item .ci-body h3 {
  color: var(--car-navy);
  font-size: 1rem;
}

 qty {
  border: 1px solid var(--car-line);
  border-radius: 12px;
  overflow: hidden;
}

 qty button {
  background: #f4f8fd;
  color: var(--car-blue);
  border: none;
}

.summary {
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(244,248,253,0.9) 100%);
}

.summary h3 {
  color: var(--car-navy);
}

.summary-row.total {
  border-top-color: rgba(17,31,44,0.12);
  color: var(--car-navy);
}

.summary .btn-primary,
.btn-accent,
.filter-toggle-mobile,
.login-btn {
  border-radius: 12px;
}

.category-title {
  color: var(--car-navy);
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  margin-bottom: 10px;
}

.category-short-description,
.category-long-description {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--car-line);
  border-radius: 18px;
  padding: 18px 20px;
}

.filter-toggle-mobile {
  background: linear-gradient(135deg, var(--car-blue) 0%, var(--car-red) 100%);
  box-shadow: 0 14px 24px rgba(15,111,255,0.2);
}

.catalog-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071b2e 0%, #102d49 38%, #123c61 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  padding: 28px 28px 22px;
  box-shadow: 0 18px 40px rgba(9,26,42,0.12);
  margin: 0 0 22px;
}

.catalog-hero::before,
.catalog-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.14);
  pointer-events: none;
}

.catalog-hero::before {
  width: 220px;
  height: 220px;
  border-radius: 42px;
  right: -50px;
  top: -50px;
  transform: rotate(22deg);
}

.catalog-hero::after {
  width: 140px;
  height: 140px;
  border-radius: 26px;
  left: -20px;
  bottom: -30px;
  transform: rotate(28deg);
}

.catalog-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.catalog-hero-copy {
  color: #effaff;
}

.catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.catalog-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--car-orange);
  box-shadow: 0 0 0 6px rgba(255,177,28,0.15);
}

.catalog-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.catalog-hero p {
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  line-height: 1.9;
  margin: 0;
}

.catalog-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.catalog-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 14px 12px;
  backdrop-filter: blur(4px);
}

.catalog-metric strong {
  display: block;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.catalog-metric span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}

.catalog-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.catalog-panel-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 18px 16px;
}

.catalog-panel-card .label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.64);
  margin-bottom: 8px;
}

.catalog-panel-card strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.catalog-panel-card span {
  color: rgba(255,255,255,0.76);
  font-size: 12px;
}

.category-shell {
  position: relative;
}

.category-shell::before {
  content: "";
  position: absolute;
  inset: 20px 0 auto 0;
  height: 140px;
  background: linear-gradient(90deg, rgba(15,111,255,0.06), rgba(255,90,54,0.04));
  border-radius: 28px;
  pointer-events: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin: 20px 0 28px;
  padding: 44px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #071b2e 0%, #102d49 38%, #123c61 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(9,26,42,0.12);
  text-align: center;
  color: #fff;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.15);
}

.page-hero::before {
  width: 260px;
  height: 260px;
  border-radius: 46px;
  right: -72px;
  top: -82px;
  transform: rotate(26deg);
}

.page-hero::after {
  width: 180px;
  height: 180px;
  border-radius: 30px;
  left: -36px;
  bottom: -52px;
  transform: rotate(24deg);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
}

.page-hero p {
  max-width: 740px;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
}

.page-hero .page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.page-hero .page-hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--car-orange);
  box-shadow: 0 0 0 6px rgba(255,177,28,0.15);
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mini-brand-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .header .header-main .header-actions,
  .header-actions {
    display: none !important;
  }

  body {
    padding-bottom: 96px !important;
  }
}

@media (max-width: 900px) {
  .header-main {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    height: auto;
    padding: 12px 0;
  }

  .header-main .menu-toggle {
    order: 1;
    flex-shrink: 0;
  }

  .header-main .logo {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
        justify-content: left;
  }

  .header-main .logo-mark {
    width: 150px;
    max-width: 100%;
    min-width: 0;
  }

  .header-main .search {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .header-main .search input {
    min-width: 0;
    width: 100%;
  }

  .header-actions {
    display: none !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border: 1px solid rgba(17, 31, 44, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(9, 26, 42, 0.10);
  }

  .mob-nav-item {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 52px;
    padding: 8px 6px;
    color: var(--car-navy);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .mob-nav-item:hover,
  .mob-nav-item:focus-visible,
  .mob-nav-item.active {
    color: var(--car-blue);
    background: rgba(15, 111, 255, 0.06);
    text-decoration: none;
  }

  .mob-nav-item svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
  }

  .mob-nav-item .badge {
    position: absolute;
    top: 4px;
    right: 20%;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--car-red);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
  }

  body {
    padding-bottom: 94px !important;
  }

  .stats-strip,
  .products-grid,
  .blog-grid,
  .banner-duo,
  .mini-brand-list,
  .cat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter form {
        width: 100%;
        flex-direction: column;
        max-width: 100%;
        display: contents;
  }
  .newsletter form .btn {
    width: 100%;
  }
  .slide-caption {
    padding: 28px 20px;
  }
  .slide img,
  .slides,
  .slide {
    min-height: 380px;
    height: 380px;
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(15,111,255,0.12), 0 18px 38px rgba(9,26,42,0.08); }
  50% { box-shadow: 0 0 26px rgba(15,111,255,0.18), 0 22px 44px rgba(9,26,42,0.12); }
  100% { box-shadow: 0 0 0 rgba(15,111,255,0.12), 0 18px 38px rgba(9,26,42,0.08); }
}

@keyframes sheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

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

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.logo-mark,
.icon-btn,
.search,
.nav a,
.btn,
.product-card,
.cat-card,
.brand-card,
.blog-card,
.banner-duo a,
.slider,
.deal-panel,
.newsletter,
.filter-group,
.toolbar,
.filters,
.site-shell .section {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, filter 0.28s ease;
  will-change: transform, box-shadow;
}

.logo-mark:hover,
.icon-btn:hover,
.search:focus-within,
.nav a:hover,
.btn:hover,
.product-card:hover,
.cat-card:hover,
.brand-card:hover,
.blog-card:hover,
.banner-duo a:hover {
  transform: translateY(-3px);
}

.logo-mark {
  animation: drift 6s ease-in-out infinite;
}

.header .logo-mark,
.header .icon-btn,
.header .login-btn,
.header .search {
  box-shadow: 0 8px 18px rgba(9,26,42,0.04);
}

.nav a,
.btn {
  position: relative;
  overflow: hidden;
}

.nav a::after,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 42%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.nav a:hover::after,
.btn:hover::after {
  transform: translateX(130%);
}

.slider,
.deal-panel,
.newsletter {
  animation: glowPulse 9s ease-in-out infinite;
}

.product-card,
.cat-card,
.brand-card,
.blog-card,
.banner-duo a {
  position: relative;
  overflow: hidden;
}

.product-card::before,
.cat-card::before,
.brand-card::before,
.blog-card::before,
.banner-duo a::before,
.deal-panel::before,
.slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.product-card:hover::before,
.cat-card:hover::before,
.brand-card:hover::before,
.blog-card:hover::before,
.banner-duo a:hover::before,
.deal-panel:hover::before,
.slider:hover::before {
  transform: translateX(120%);
}

.hero,
.section,
.section-head,
.product-card,
.cat-card,
.brand-card,
.blog-card,
.banner-duo a,
.newsletter {
  animation: fadeUp 0.7s ease both;
}

.product-card:nth-child(2n),
.cat-card:nth-child(2n),
.brand-card:nth-child(2n),
.blog-card:nth-child(2n) {
  animation-delay: 0.08s;
}

.product-card:nth-child(3n),
.cat-card:nth-child(3n),
.brand-card:nth-child(3n),
.blog-card:nth-child(3n) {
  animation-delay: 0.14s;
}

.hero-grid .slider {
  overflow: hidden;
}

.hero-grid .slider .slide {
  animation: fadeUp 0.7s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
