﻿.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 18px;
}
.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 18px;
}
.slider-track {
  position: relative;
  min-height: 480px;
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  opacity: 0;
  transform: translateX(30px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.slide-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-content h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.slide-content p {
  max-width: 520px;
  color: var(--muted);
  font-size: 24px;
}
.slide-badge {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 208, 255, 0.192);
  color: #4fa2b1;
  font-weight: 800;
  margin-bottom: 16px;
}
.slide-badge.blue {
  background: rgba(74, 255, 2, 0.205);
  color: #8fc335;
}
.slide-badge.pink {
  background: rgba(255, 10, 51, 0.164);
  color: #ff6889;
}
.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.slide-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(
    135deg,
    rgba(123, 255, 0, 0.12),
    rgba(0, 209, 255, 0.1)
  );
  border: 1px solid var(--border);
}
.sale-glow::before,
.sale-glow::after,
.orb,
.floating-card,
.neon-grid span,
.product-media::before,
.product-media::after,
.showroom-image::before,
.story-image::before {
  content: "";
  position: absolute;
}
.sale-glow::before {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 255, 0, 0.35), transparent 65%);
  right: -90px;
  top: -50px;
  animation: pulse 5s ease-in-out infinite;
}
.sale-glow::after {
  inset: auto 30px 30px auto;
  width: 220px;
  height: 220px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(111, 99, 255, 0.28),
    rgba(0, 209, 255, 0.12)
  );
  transform: rotate(-12deg);
}
.floating-card {
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.floating-card.laptop {
  width: 200px;
  height: 130px;
  left: 40px;
  top: 70px;
  transform: rotate(-11deg);
}
.floating-card.gpu {
  width: 210px;
  height: 120px;
  right: 46px;
  top: 120px;
  transform: rotate(12deg);
}
.floating-card.headset {
  width: 150px;
  height: 150px;
  left: 110px;
  bottom: 50px;
  border-radius: 50%;
}
.neon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 22px;
}
.neon-grid span {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(111, 99, 255, 0.18),
    rgba(0, 209, 255, 0.1)
  );
  border: 1px solid var(--border);
}
.neon-grid span::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.orb-stage {
  overflow: hidden;
}
.orb {
  border-radius: 50%;
  filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}
.orb-a {
  width: 180px;
  height: 180px;
  background: rgba(123, 255, 0, 0.34);
  left: 30px;
  top: 50px;
}
.orb-b {
  width: 220px;
  height: 220px;
  background: rgba(0, 209, 255, 0.25);
  right: 20px;
  top: 90px;
  animation-delay: -2s;
}
.orb-c {
  width: 160px;
  height: 160px;
  background: rgba(111, 99, 255, 0.3);
  left: 110px;
  bottom: 30px;
  animation-delay: -4s;
}
.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.slider-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: 0.25s ease;
}
.slider-dot.active {
  width: 34px;
  background: var(--primary);
}
.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.side-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  isolation: isolate;
}
.side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.03)),
    radial-gradient(
      circle at 80% 20%,
      rgba(111, 99, 255, 0.22),
      transparent 30%
    ),
    radial-gradient(circle at 20% 80%, rgba(0, 209, 255, 0.22), transparent 25%);
  z-index: -1;
}
.side-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.side-subtitle {
  color: var(--muted);
  max-width: 220px;
}
.side-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 56px;
  opacity: 0.25;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.section-kicker {
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
}
.category-grid,
.advantages-grid {
  display: grid;
  gap: 18px;
}
.category-grid {
  grid-template-columns: repeat(7, 1fr);
}
.category-card {
  padding: 26px 18px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    transparent 55%
  );
}
.category-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 209, 255, 0.18),
    rgba(111, 99, 255, 0.16)
  );
  font-size: 28px;
}
.feature-category {
  background: linear-gradient(
    135deg,
    rgba(123, 255, 0, 0.12),
    rgba(0, 209, 255, 0.1)
  );
}
.category-card h3,
.product-title,
.info-story h3 {
  margin: 14px 0 10px;
}
.category-card p,
.product-meta,
.info-story p {
  color: var(--muted);
}
.tab-switcher {
  display: inline-flex;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  gap: 6px;
}
.tab-btn,
.sort-btn,
.grid-mode {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.tab-btn.active,
.sort-btn.active {
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #05110b;
  font-weight: 800;
}
.products-section .container {
  --container: 1440px;
}
.products-carousel-wrap {
  position: relative;
  padding: 18px 0;
  overflow: hidden;
}
.products-carousel-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  background: linear-gradient(
    to right,
    var(--surface) 0px,
    var(--surface) 24px,
    color-mix(in srgb, var(--surface) 78%, transparent) 48px,
    color-mix(in srgb, var(--surface) 48%, transparent) 66px,
    color-mix(in srgb, var(--surface) 22%, transparent) 84px,
    color-mix(in srgb, var(--surface) 6%, transparent) 102px,
    transparent 120px
  );
  pointer-events: none;
  z-index: 2;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}
.products-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 120px;
  background: linear-gradient(
    to left,
    var(--surface) 0px,
    var(--surface) 24px,
    color-mix(in srgb, var(--surface) 78%, transparent) 48px,
    color-mix(in srgb, var(--surface) 48%, transparent) 66px,
    color-mix(in srgb, var(--surface) 22%, transparent) 84px,
    color-mix(in srgb, var(--surface) 6%, transparent) 102px,
    transparent 120px
  );
  pointer-events: none;
  z-index: 2;
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}
.product-carousel {
  display: flex;
  gap: 18px;
  overflow: visible;
  padding: 4px 60px;
  margin-left: -195px;
  will-change: transform;
  transition: opacity 0.16s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card {
  position: relative;
  padding: 18px;
  min-height: 430px;
  width: 270px;
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  transform: scale(var(--carousel-scale, 1)) translateY(0);
  opacity: var(--carousel-opacity, 1);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: scale(calc(var(--carousel-scale, 1) * 1.025)) translateY(-5px);
  border-color: #22c55e !important;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.16), 0 0 12px rgba(34, 197, 94, 0.12) !important;
  z-index: 10;
}
.product-carousel.carousel-sliding .product-card,
.product-carousel.no-transition .product-card {
  transition: none !important;
}
.product-card.compact {
  min-height: 370px;
}
.product-media {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  overflow: hidden;
  height: 190px;
  margin: 18px 0 16px;
}
.product-media::before {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(10px);
  left: 15%;
  top: 15%;
}
.product-media::after {
  inset: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gradient-laptop {
  background: linear-gradient(
    135deg,
    rgba(255, 128, 64, 0.18),
    rgba(68, 11, 11, 0.2)
  );
}
.gradient-monitor {
  background: linear-gradient(
    135deg,
    rgba(255, 208, 0, 0.16),
    rgba(12, 29, 66, 0.22)
  );
}
.gradient-gpu {
  background: linear-gradient(
    135deg,
    rgba(88, 88, 88, 0.3),
    rgba(24, 24, 24, 0.28)
  );
}
.gradient-keyboard {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 96, 0.18),
    rgba(64, 0, 255, 0.18)
  );
}
.gradient-thermal {
  background: linear-gradient(
    135deg,
    rgba(0, 209, 255, 0.18),
    rgba(111, 99, 255, 0.18)
  );
}
.gradient-usb {
  background: linear-gradient(
    135deg,
    rgba(255, 220, 100, 0.2),
    rgba(22, 60, 40, 0.2)
  );
}
.gradient-hdd {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(10, 10, 10, 0.2)
  );
}
.gradient-gpu-small {
  background: linear-gradient(
    135deg,
    rgba(0, 209, 255, 0.2),
    rgba(12, 30, 60, 0.25)
  );
}
.gradient-red-gpu {
  background: linear-gradient(
    135deg,
    rgba(255, 73, 73, 0.26),
    rgba(42, 8, 8, 0.28)
  );
}
.gradient-white-gpu {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.26),
    rgba(90, 90, 90, 0.18)
  );
}
.gradient-dark-gpu {
  background: linear-gradient(
    135deg,
    rgba(40, 40, 40, 0.3),
    rgba(15, 15, 15, 0.24)
  );
}
.favorite-btn,
.product-badge {
  position: absolute;
  top: 16px;
  z-index: 2;
}
.favorite-btn {
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}
.favorite-btn:hover {
  border-color: #ff4d6d;
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.08);
}
.favorite-btn.is-saved {
  border-color: #ff4d6d;
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.1);
}
.product-badge {
  left: 16px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--danger), #ff6b6b);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.product-badge.sale {
  background: linear-gradient(135deg, #12c767, #0fb36f);
}
.product-title {
  font-size: 20px;
  line-height: 1.25;
}
.product-title a {
  color: inherit;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffb020;
  font-size: 14px;
  margin-top: auto;
}
.product-rating span {
  color: var(--muted);
  margin-left: 8px;
}
.product-price {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 14px 0 18px;
}
.old-price {
  text-decoration: line-through;
  color: var(--muted);
}
.new-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.catalog-grid .new-price {
  font-size: clamp(20px, 2vw, 26px);
}
.buy-btn,
.primary-btn,
.ghost-btn,
.section-link,
.consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.buy-btn {
  min-height: 48px;
  background: linear-gradient(135deg, #12c767, #14b85f);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 4px;
}
.primary-btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #041209;
  font-weight: 800;
}
.ghost-btn,
.section-link {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.carousel-wrap {
  position: relative;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 60px;
  height: 240px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  outline: none;
  font-size: 0 !important;
  --nav-line-base: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}
body.light-theme .carousel-nav {
  --nav-line-base: rgba(15, 23, 42, 0.35);
}
.carousel-nav i {
  display: none !important;
}

/* Base line styles */
.carousel-nav::before,
.carousel-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 6px;
  transition: opacity 0.3s ease, 
              transform 0.3s ease, 
              background-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* --- NEXT BUTTON --- */
.carousel-nav.next {
  right: 6px;
}
/* Line 1 (always visible, shorter, 3px wide) */
.carousel-nav.next::before {
  width: 3px;
  height: 120px;
  background-color: var(--nav-line-base);
  right: 22px;
  transform: translateY(-50%);
}
/* Line 2 (always visible, taller, 4px wide) */
.carousel-nav.next::after {
  width: 4px;
  height: 200px;
  background-color: var(--nav-line-base);
  right: 15px;
  transform: translateY(-50%);
}
/* Hover next */
.carousel-nav.next:hover::before,
.carousel-nav.next:hover::after {
  background-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

/* --- PREV BUTTON --- */
.carousel-nav.prev {
  left: 6px;
}
/* Line 1 (always visible, shorter, 3px wide) */
.carousel-nav.prev::before {
  width: 3px;
  height: 120px;
  background-color: var(--nav-line-base);
  left: 22px;
  transform: translateY(-50%);
}
/* Line 2 (always visible, taller, 4px wide) */
.carousel-nav.prev::after {
  width: 4px;
  height: 200px;
  background-color: var(--nav-line-base);
  left: 15px;
  transform: translateY(-50%);
}
/* Hover prev */
.carousel-nav.prev:hover::before,
.carousel-nav.prev:hover::after {
  background-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.hover-product-card {
  overflow: visible;
}
.hover-tooltip {
  display: none !important;
}
.product-icons-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.product-icons-row span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid var(--border);
}
.showroom-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
}
.showroom-copy h2 {
  margin-top: 0;
  font-size: clamp(28px, 3vw, 46px);
}
.showroom-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.showroom-pill {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.showroom-pill.active {
  border-color: #ff3b5c;
  color: #ff627d;
}
.showroom-visual {
  position: relative;
  min-height: 420px;
}
.showroom-image {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    ),
    linear-gradient(120deg, rgba(0, 209, 255, 0.14), rgba(255, 59, 92, 0.12));
}
.showroom-image::before {
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(255, 255, 255, 0.18),
      transparent 22%
    ),
    radial-gradient(circle at 20% 80%, rgba(0, 209, 255, 0.24), transparent 22%);
}
.showroom-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.08) contrast(1.02) saturate(0.92);
}
.showroom-map-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(9, 14, 24, 0.78);
  color: #f4f8ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  z-index: 2;
}
body.light-theme .showroom-map-overlay {
  background: rgba(255, 255, 255, 0.84);
  color: #182233;
  border-color: rgba(20, 25, 35, 0.08);
}
.showroom-map-overlay i {
  color: #22c55e;
}
.advantages-section {
  padding-bottom: 72px;
}
.advantage-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.advantage-badge {
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(17, 186, 102, 0.24),
    rgba(20, 20, 32, 0.6)
  );
  border: 1px solid var(--border);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.advantages-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
.phone-frame {
  padding: 24px;
  display: grid;
  place-items: center;
}
.phone-screen {
  width: min(320px, 100%);
  min-height: 620px;
  border-radius: 42px;
  background: linear-gradient(180deg, #020611, #0a0d24 65%, #2b0b1e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.phone-brand {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #dbeafe, #00d1ff, #ff7f9e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 6px;
}
.phone-subtitle {
  color: #d9dfec;
  font-size: 14px;
}
#tetrisCanvas {
  border-radius: 18px;
  background: #07101f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.game-controls {
  display: flex;
  gap: 10px;
}
.game-controls button {
  width: 48px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.scroll-info {
  padding: 22px;
  height: 720px;
  overflow: auto;
}
.scroll-info-inner {
  display: grid;
  gap: 18px;
}
.info-story {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.story-image {
  position: relative;
  height: 240px;
  border-radius: 22px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--border);
}
.story-image-a {
  background: linear-gradient(
    135deg,
    rgba(111, 99, 255, 0.2),
    rgba(0, 209, 255, 0.18)
  );
}
.story-image-b {
  background: linear-gradient(
    135deg,
    rgba(123, 255, 0, 0.15),
    rgba(0, 209, 255, 0.16)
  );
}
.story-image-c {
  background: linear-gradient(
    135deg,
    rgba(255, 59, 92, 0.18),
    rgba(111, 99, 255, 0.18)
  );
}
.story-image::before {
  inset: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.catalog-page {
  padding: 26px 0 80px;
}
.catalog-content {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}
.catalog-content section {
  margin-top: 0;
  margin-bottom: 0;
}
/* Override mega-menu site.css styles that leak onto catalog page */
.catalog-page .catalog-content {
  border-left: none !important;
  padding-left: 0 !important;
  overflow: visible !important;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.catalog-sidebar {
  padding: 18px;
  height: auto;
  max-height: none;
  overflow: visible;
  position: relative;
  top: auto;
  margin-top: 0 !important;
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* When the page is scrolled and header is compact, enable sticky sidebar */
body.header-compact aside.catalog-sidebar {
  position: sticky;
  top: calc(var(--promo-total-h) + var(--header-h) + 10px);
}
/* When header hides during scroll, move sidebar up cleanly to align with top */
body.site-header-hidden aside.catalog-sidebar {
  position: sticky;
  top: 24px;
}

/* Catalog page: show all filters without scrolling, no sticky positioning */
.catalog-page .catalog-sidebar {
  height: auto;
  max-height: none;
  overflow: visible;
  position: relative !important;
  top: auto !important;
}

.catalog-filter-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.catalog-filter-search input,
.price-inputs input {
  flex: 1;
  min-height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 0 14px;
}
.catalog-filter-search button {
  width: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.filter-block {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.filter-block:first-of-type {
  border-top: 0;
}
.filter-block summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.filter-block summary::-webkit-details-marker {
  display: none;
}
.filter-body {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  max-height: none;
  overflow: visible;
}
.filter-body label {
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: center;
}
.price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.dual-range-slider {
  position: relative;
  width: 100%;
  height: 36px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.dual-range-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: none;
  border: none;
  outline: none;
}
.dual-range-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: 4px;
  border: none;
}
.dual-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: grab;
  border: 3px solid var(--card-bg, #fff);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  margin-top: -8px;
  position: relative;
  z-index: 3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dual-range-slider input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.18);
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}
.dual-range-slider input[type="range"]::-moz-range-track {
  background: transparent;
  height: 4px;
  border: none;
}
.dual-range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: grab;
  border: 3px solid var(--card-bg, #fff);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  position: relative;
  z-index: 3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dual-range-slider input[type="range"]::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.18);
}
.dual-range-slider .price-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--border);
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}
.catalog-content {
  display: grid;
  gap: 18px;
}
.breadcrumbs,
.catalog-banner,
.catalog-toolbar {
  padding: 16px 18px;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}
.catalog-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.16),
    rgba(12, 18, 26, 0.95)
  );
  min-height: 120px;
}
.catalog-banner p {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
  font-weight: 800;
  color: #ff9418;
}
.catalog-banner h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 38px);
}
.catalog-banner span {
  color: var(--muted);
  max-width: 600px;
  display: block;
  font-size: 14px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.toolbar-left,
.toolbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* Cards inside catalog grid must fill their cell, not use carousel fixed width */
.catalog-grid .product-card {
  width: 100%;
  flex: unset;
  min-height: 360px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.catalog-grid .buy-btn {
  width: 100%;
  margin-top: 10px;
  flex-shrink: 0;
}
.catalog-grid .product-media {
  margin: 10px 0;
  flex-shrink: 0;
}
/* Hide the rectangular inner border outline that looks like a corner frame */
.catalog-grid .product-media::after {
  display: none;
}
.catalog-grid .product-price {
  margin-top: auto;
  padding-top: 6px;
}
.catalog-grid .product-title {
  flex-grow: 1;
}
/* Rating should not push with margin-top:auto in grid (product-price already does) */
.catalog-grid .product-rating {
  margin-top: 4px;
}
.catalog-grid .product-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}
.catalog-grid .product-bank-row {
  margin: 4px 0 8px;
}
.footer-brand img {
  height: 60px;
  width: auto;
}
.hotline-box {
  margin-top: 16px;
  display: inline-flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: white;
  color: #1f2937;
  font-size: 14px;
}
.hotline-positive {
  color: #22c55e;
}
.hotline-negative {
  color: #ef4444;
}
.official-section {
  padding: 18px 0 8px;
}
.official-section h4 {
  margin: 0 0 12px;
}
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-strip span {
  padding: 12px 18px;
  border-radius: 12px;
  background: white;
  color: #202633;
  font-weight: 800;
}
.large-socials {
  margin-top: 16px;
}
.top-mini-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.top-mini-nav a {
  color: var(--text);
  opacity: 0.86;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.hero-slider {
  isolation: isolate;
}
.slider-track {
  overflow: hidden;
}
.slide {
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  align-items: stretch;
}
.slide-content {
  min-width: 0;
}
.slide-content h1 {
  max-width: none;
}
.slide-content p {
  max-width: 26ch;
  font-size: clamp(16px, 2vw, 24px);
}
.slide-visual {
  min-width: 0;
}
.slider-controls {
  position: relative;
  z-index: 6;
}
.slider-arrow {
  position: relative;
  z-index: 7;
  cursor: pointer;
}
.hero-side-grid {
  align-self: stretch;
}
.side-card {
  min-height: 245px;
}

/* Header styles moved to site.css for global consistency */

/* в”Ђв”Ђ Responsive: 1180px в”Ђв”Ђ */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-side-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showroom-layout,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: relative;
    top: auto;
  }
  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantage-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-content h1 {
    max-width: 100%;
  }
  .scroll-info {
    height: 600px;
  }
}

/* в”Ђв”Ђ Responsive: 960px в”Ђв”Ђ */
@media (max-width: 960px) {
  .hero-slider {
    min-height: 560px;
  }
  .slider-track {
    min-height: 480px;
  }
  .slide {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .slide-content {
    align-items: center;
    padding: 10px 0 20px;
  }
  .slide-content h1 {
    font-size: clamp(34px, 6vw, 56px);
  }
  .slide-content p {
    font-size: 18px;
    max-width: 100%;
  }
  .slide-actions {
    justify-content: center;
  }
  .slide-visual {
    min-height: 260px;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showroom-addresses {
    grid-template-columns: 1fr 1fr;
  }
  .products-carousel-wrap {
    padding-inline: 46px;
  }
}

/* в”Ђв”Ђ Responsive: 860px в”Ђв”Ђ */
@media (max-width: 860px) {
  .hero-slider {
    min-height: 540px;
    padding: 14px;
  }
  .slider-track {
    min-height: 460px;
  }
  .slide-visual {
    min-height: 220px;
  }
  .slide-content {
    padding: 16px;
  }
  .hero-side-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .side-card {
    min-height: 180px;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showroom-addresses {
    grid-template-columns: 1fr;
  }
  .scroll-info {
    height: 500px;
  }
  .catalog-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-banner p,
  .catalog-banner h1 {
    font-size: clamp(28px, 6vw, 44px);
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* в”Ђв”Ђ Responsive: 640px в”Ђв”Ђ */
@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-side-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantage-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .showroom-addresses {
    grid-template-columns: 1fr;
  }
  .products-carousel-wrap {
    padding-inline: 0;
  }
  .product-carousel {
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -159px;
  }
  .products-carousel-wrap::before {
    width: 120px;
    background: linear-gradient(
      to right,
      var(--surface) 0px,
      var(--surface) 24px,
      color-mix(in srgb, var(--surface) 78%, transparent) 50px,
      color-mix(in srgb, var(--surface) 48%, transparent) 75px,
      color-mix(in srgb, var(--surface) 22%, transparent) 95px,
      color-mix(in srgb, var(--surface) 6%, transparent) 110px,
      transparent 120px
    );
  }
  .products-carousel-wrap::after {
    width: 120px;
    background: linear-gradient(
      to left,
      var(--surface) 0px,
      var(--surface) 24px,
      color-mix(in srgb, var(--surface) 78%, transparent) 50px,
      color-mix(in srgb, var(--surface) 48%, transparent) 75px,
      color-mix(in srgb, var(--surface) 22%, transparent) 95px,
      color-mix(in srgb, var(--surface) 6%, transparent) 110px,
      transparent 120px
    );
  }

  .slide-content h1 {
    font-size: clamp(30px, 8vw, 46px);
  }
  .slide-content p {
    font-size: clamp(15px, 3.5vw, 19px);
  }
}

/* в”Ђв”Ђ Responsive: 480px в”Ђв”Ђ */
@media (max-width: 480px) {
  .hero-slider {
    min-height: 520px;
    padding: 12px;
  }
  .slider-track {
    min-height: 440px;
  }
  .slide-content {
    padding: 14px;
  }
  .slide-content h1 {
    font-size: clamp(26px, 9vw, 40px);
  }
  .slide-content p {
    font-size: 15px;
  }
  .hero-side-grid {
    grid-template-columns: 1fr;
  }
  .side-card {
    min-height: 140px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .advantage-badges {
    grid-template-columns: 1fr;
  }
  .product-card {
    width: 230px;
    flex-basis: 230px;
  }
  .products-carousel-wrap {
    padding-inline: 0;
  }
  .product-carousel {
    padding-left: 18px;
    padding-right: 18px;
    margin-left: -133px;
  }
  .products-carousel-wrap::before {
    width: 90px;
    background: linear-gradient(
      to right,
      var(--surface) 0px,
      var(--surface) 18px,
      color-mix(in srgb, var(--surface) 78%, transparent) 40px,
      color-mix(in srgb, var(--surface) 48%, transparent) 58px,
      color-mix(in srgb, var(--surface) 22%, transparent) 72px,
      color-mix(in srgb, var(--surface) 6%, transparent) 82px,
      transparent 90px
    );
  }
  .products-carousel-wrap::after {
    width: 90px;
    background: linear-gradient(
      to left,
      var(--surface) 0px,
      var(--surface) 18px,
      color-mix(in srgb, var(--surface) 78%, transparent) 40px,
      color-mix(in srgb, var(--surface) 48%, transparent) 58px,
      color-mix(in srgb, var(--surface) 22%, transparent) 72px,
      color-mix(in srgb, var(--surface) 6%, transparent) 82px,
      transparent 90px
    );
  }

  .scroll-info {
    height: 420px;
  }
  .phone-screen {
    min-height: 520px;
  }
}

/* в”Ђв”Ђ Responsive: 380px в”Ђв”Ђ */
@media (max-width: 380px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .slide-content h1 {
    font-size: clamp(22px, 9vw, 32px);
  }
  .product-card {
    width: 210px;
    flex-basis: 210px;
  }
}



/* --- product photos + bank logos --- */
.product-media.has-photo {
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(236,241,247,.94));
  border-color: rgba(20, 28, 45, 0.08);
}
body:not(.light-theme) .product-media.has-photo {
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(240,244,249,.95));
  border-color: rgba(255,255,255,.12);
}
.product-media.has-photo::before {
  content: "";
  position: absolute;
  left: 14%;
  top: 14%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.72), rgba(242,246,251,.36) 58%, transparent 74%);
  filter: blur(16px);
}
.product-media.has-photo::after {
  inset: 14px;
  border-color: rgba(21, 33, 54, 0.08);
}
.product-photo {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  object-position: center;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(16,24,40,.18));
}
.product-bank-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 12px;
  flex-wrap: nowrap;
}
.product-bank-row .bank-logo {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: transform .18s ease;
  overflow: visible;
}
.product-bank-row .bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) saturate(0) opacity(.72);
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}
body.light-theme .product-bank-row .bank-logo img {
  filter: grayscale(1) saturate(0) opacity(.62);
}
.product-bank-row .bank-logo:hover {
  transform: translateY(-1px);
}
.product-bank-row .bank-logo:hover img,
body.light-theme .product-bank-row .bank-logo:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}


.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 12px;
}

.strength-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 188px;
}

.strength-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.strength-card p {
  margin: 0;
}

.strength-card--wide {
  grid-column: span 3;
  min-height: 0;
}

.strength-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #0f1a14;
  background: linear-gradient(135deg, #22c55e, #86efac);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.22);
  font-size: 20px;
}

body.light-theme .showroom-layout.card-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .showroom-pill {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

body.light-theme .showroom-pill.active {
  color: #169c49;
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.96));
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.1);
}

body.light-theme .showroom-image {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 246, 255, 0.96)),
    linear-gradient(120deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.08));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

body.light-theme .showroom-map-frame {
  filter: saturate(0.96) contrast(1.01);
}

body.light-theme .advantage-badge {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(255, 255, 255, 0.94));
  border-color: rgba(22, 163, 74, 0.12);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.08);
}

body.light-theme .strength-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

body.light-theme .strength-card h3 {
  color: #0f172a;
}

body.light-theme .strength-card p {
  color: #667085;
}

body.light-theme .strength-icon {
  color: #0b1b11;
  background: linear-gradient(135deg, #4ade80, #86efac);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.16);
}

@media (max-width: 1180px) {
  .strengths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strength-card,
  .strength-card--wide {
    grid-column: auto;
    min-height: 0;
  }
}

/* --- PREMIUM CART ADD SUCCESS OVERLAY & FLY ANIMATIONS --- */
.product-card.success-added {
  transform: scale(var(--carousel-scale, 1)) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15) !important;
  pointer-events: none !important;
}
.product-card.success-added > *:not(.cart-success-overlay) {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.cart-success-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  background: transparent;
  animation: overlayFadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.cart-success-overlay.fade-out {
  animation: overlayFadeOut 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.checkmark-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.checkmark-svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  stroke-width: 3.5;
  stroke: #22c55e;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #22c55e;
  animation: fillCheckmark .3s ease-in-out .25s forwards, scaleCheckmark .2s ease-in-out .65s both;
}
.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3.5;
  stroke-miterlimit: 10;
  stroke: #22c55e;
  fill: none;
  animation: strokeCircle 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #ffffff;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards;
}
.checkmark-text {
  color: #22c55e;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  animation: textFadeIn 0.3s ease-out 0.55s both;
}
.cart-fly-token-premium {
  position: fixed;
  left: 0;
  top: 0;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  border: 2px solid #22c55e;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4), 0 0 15px rgba(34, 197, 94, 0.2);
  overflow: hidden;
  pointer-events: none;
  z-index: 10000;
  transform: translate(var(--start-x), var(--start-y)) scale(1) rotate(0deg);
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.55s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-fly-token-premium img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
@keyframes overlayFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes overlayFadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.96); }
}
@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}
@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}
@keyframes fillCheckmark {
  100% { box-shadow: inset 0px 0px 0px 40px #22c55e; }
}
@keyframes scaleCheckmark {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Wishlist Page */
.wishlist-page {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wishlist-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wishlist-page-head h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
}
.wishlist-page-head p { margin: 0; font-size: 14px; }
.wishlist-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--primary-soft);
  white-space: nowrap;
  flex-shrink: 0;
}
.wishlist-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.wl-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 12px;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.wl-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 12px 32px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}
.wl-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 2;
  transition: all 0.2s ease;
}
.wl-remove-btn:hover {
  border-color: rgba(255,59,92,0.4);
  color: var(--danger);
  background: rgba(255,59,92,0.1);
}
.wl-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fa 0%, #e8ecf2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.wl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.wl-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  padding: 0 2px;
}
.wl-card-meta {
  font-size: 12px;
  color: var(--muted);
}
.wl-card-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.2s ease;
}
.wl-card-name:hover { color: var(--primary); }
.wl-card-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffb020;
  font-size: 13px;
  margin-top: 2px;
}
.wl-card-stars span {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.wl-card-price {
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  margin-top: 4px;
}
.wl-card-buy {
  margin-top: 10px;
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #07110c;
  font-weight: 800;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wl-card-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(80,255,111,0.3);
}
@media (max-width: 640px) {
  .wishlist-page { padding: 20px; }
  .wishlist-page-head { flex-direction: column; align-items: flex-start; }
  .wishlist-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .wishlist-page-grid { grid-template-columns: 1fr; }
}

/* Catalog states for database-backed category navigation */
.catalog-empty,
.catalog-loading {
  grid-column: 1 / -1;
  min-height: 240px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 38px;
  color: var(--muted);
}
.catalog-empty i {
  font-size: 34px;
  color: var(--primary);
}
.catalog-empty h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}
.catalog-empty p {
  margin: 0;
}

/* Expanded characteristic filters for database-backed catalog */
.catalog-advanced-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 0 2px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.catalog-advanced-head[hidden] { display: none; }
.catalog-advanced-head button {
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.dynamic-filter-groups:empty { display: none; }
.dynamic-filter-block .filter-body {
  gap: 9px;
}
.dynamic-filter-option {
  position: relative;
  width: 100%;
  font-size: 13px;
  min-height: 22px;
}
.dynamic-filter-option input {
  accent-color: var(--primary);
}
.dynamic-filter-option span {
  min-width: 0;
  flex: 1;
}
.dynamic-filter-option small {
  margin-left: auto;
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}
.dynamic-filter-option.is-more {
  display: none;
}
.dynamic-filter-block.expanded .dynamic-filter-option.is-more {
  display: flex;
}
.filter-more {
  margin: 12px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.filter-more i {
  font-size: 10px;
  margin-left: 4px;
}
