:root {
  --color-primary: #0057FF;
  --color-primary-dark: #0038CC;
  --color-primary-light: #3D80FF;
  --color-accent: #00D4FF;
  --color-dark: #07090F;
  --color-dark-2: #0F1420;
  --color-dark-3: #161C2E;
  --color-surface: #1A2238;
  --color-surface-2: #212B42;
  --color-text: #E8EDF8;
  --color-text-muted: #8898BB;
  --color-border: rgba(0, 87, 255, 0.18);
  --color-white: #FFFFFF;
  --color-danger: #FF3B5C;
  --color-success: #00E5A0;
  --color-gold: #FFD700;
  --gradient-hero: linear-gradient(135deg, #0038CC 0%, #00D4FF 100%);
  --gradient-card: linear-gradient(180deg, rgba(26, 34, 56, 0) 0%, rgba(26, 34, 56, 0.95) 100%);
  --shadow-glow: 0 0 40px rgba(0, 87, 255, 0.3);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --search-h: 52px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--color-dark);
  color: var(--color-text);
  line-height: 1.6;
  min-width: 300px;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body.hide-cursor * {
  cursor: none !important;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

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

h1,
h2,
h3,
.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.1;
}

.price-tag {
  font-family: "Barlow Condensed", sans-serif;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9998;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preloader-bar {
  width: min(280px, 70vw);
  height: 4px;
  border-radius: 4px;
  background: var(--color-surface-2);
  margin-top: 1.5rem;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient-hero);
  animation: preloader-fill 1.4s ease forwards;
}

.custom-cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-primary-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 20, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 9, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.08em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-main a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav-main a:hover {
  color: var(--color-accent);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(26, 34, 56, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-bar-wrap {
  background: var(--color-dark-2);
  border-bottom: 1px solid var(--color-border);
}

.search-bar {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0.5rem 0 0.65rem;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.35rem 0.75rem 0.35rem 1rem;
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  min-width: 0;
}

.search-form input::placeholder {
  color: var(--color-text-muted);
}

.search-form button {
  border: 0;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
}

.mobile-drawer.open {
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--color-dark-3);
  border-left: 1px solid var(--color-border);
  transform: translateX(100%);
  transition: transform var(--transition);
  padding: 5rem 1.25rem 2rem;
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer nav a {
  color: var(--color-text);
  font-size: 1.1rem;
}

.hero-slider {
  position: relative;
  min-height: min(100vh, 900px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide picture {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 56, 204, 0.82) 0%, rgba(7, 9, 15, 0.55) 55%, rgba(0, 212, 255, 0.25) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, 90vw);
  margin-left: 5vw;
  padding: 2rem 0;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 1rem;
  color: var(--color-white);
  clip-path: inset(0 100% 0 0);
  animation: hero-reveal 1s ease forwards 0.2s;
}

.hero-slide.active .hero-content h1 {
  animation: hero-reveal 1s ease forwards 0.2s;
}

.hero-content p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--color-text);
  max-width: 34rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--gradient-hero);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

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

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

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--color-accent);
}

.hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-arrows button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(15, 20, 32, 0.65);
  color: var(--color-white);
  cursor: pointer;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.stats-strip {
  background: var(--color-dark-2);
  border-block: 1px solid var(--color-border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-accent);
}

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

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.section-alt {
  background: var(--color-dark-2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}

.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.diagonal-top {
  clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.cat-card picture,
.cat-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.6s ease;
}

.cat-card:hover picture img,
.cat-card:hover img {
  transform: scale(1.05);
}

.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
}

.cat-card h3 {
  margin: 0;
  color: var(--color-white);
  font-size: 1.5rem;
  text-align: center;
}

.product-card {
  background: rgba(26, 34, 56, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.product-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-dark-3);
}

.product-card .thumb > a {
  position: absolute;
  inset: 0;
  display: block;
  line-height: 0;
}

.product-card .thumb picture {
  position: absolute;
  inset: 0;
  display: block;
}

.product-card .thumb picture img,
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-card .thumb > img {
  position: absolute;
  inset: 0;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--color-danger);
  color: var(--color-white);
}

.badge.new {
  background: var(--color-gold);
  color: var(--color-dark);
}

.product-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-height: 0;
}

.product-body h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-white);
  min-height: 2.6em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-body h3 a {
  color: inherit;
  text-decoration: none;
}

.product-body h3 a:hover {
  color: var(--color-accent);
}

.product-body .brand {
  min-height: 1.35em;
}

.product-body .stars {
  min-height: 1.25em;
  line-height: 1;
}

.product-body .price-row {
  min-height: 2.25em;
  align-items: center;
}

.product-body > .btn,
.product-body > .btn-primary,
.product-body > .btn-outline {
  margin-top: auto;
  width: 100%;
}

.brand {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

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

.price-new {
  font-size: 1.5rem;
  color: var(--color-danger);
  font-family: "Barlow Condensed", sans-serif;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: var(--color-dark);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  color: var(--color-text-muted);
  filter: grayscale(1);
  white-space: nowrap;
  transition: filter var(--transition), color var(--transition);
}

.marquee-track span:hover {
  filter: grayscale(0);
  color: var(--color-white);
}

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

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.newsletter {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h2 {
  color: var(--color-white);
  margin: 0 0 0.75rem;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.newsletter-form input[type="email"] {
  padding: 0.85rem 1.1rem;
  border-radius: 50px;
  border: 0;
  min-width: min(100%, 280px);
  font: inherit;
}

.newsletter-form .btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border: 0;
}

.newsletter-consent {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: center;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-facade {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--color-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%238898BB' stroke-width='1.5'%3E%3Cpath d='M12 21s-6-5.15-6-10a6 6 0 1112 0c0 4.85-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center 42% no-repeat;
}

.map-facade-label {
  margin-top: 4.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 87, 255, 0.2);
  color: var(--color-text);
  font-size: 0.9rem;
}

.map-facade.loaded {
  background: none;
  cursor: default;
}

.map-facade.loaded .map-facade-label {
  display: none;
}

.split picture,
.split picture img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.site-footer {
  background: var(--color-dark-3);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

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

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-grid a {
  color: var(--color-text-muted);
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: linear-gradient(145deg, var(--color-surface), var(--color-surface-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary-light);
  color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.25);
}

.social-link svg {
  display: block;
}

.pay-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.pay-row img,
.pay-row svg {
  height: 22px;
  width: auto;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(15, 20, 32, 0.9);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 997;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  z-index: 9995;
  max-width: min(360px, 90vw);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 2.5rem;
  background: radial-gradient(ellipse at top, rgba(0, 87, 255, 0.25), transparent 55%), var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + var(--search-h) + 12px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.filter-block {
  margin-bottom: 1.25rem;
}

.filter-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.filter-block label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  position: relative;
  cursor: pointer;
}

.switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text);
  top: 2px;
  left: 3px;
  transition: transform var(--transition);
}

.switch.on {
  background: var(--color-primary);
}

.switch.on::after {
  transform: translateX(18px);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toolbar select {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  font: inherit;
}

.drawer-fab {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 996;
}

.ai-widget-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--gradient-hero);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  z-index: 998;
  animation: glow-pulse 2.4s ease infinite;
}

.ai-panel {
  position: fixed;
  bottom: 88px;
  right: 1.25rem;
  width: 300px;
  height: 450px;
  max-height: 70vh;
  background: rgba(15, 20, 32, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  z-index: 998;
  overflow: hidden;
}

.ai-panel.open {
  display: flex;
}

.ai-panel header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
}

.ai-messages {
  flex: 1;
  overflow: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bubble {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.bubble.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: var(--color-white);
}

.bubble.bot {
  align-self: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.ai-input-row {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.ai-input-row input {
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-dark);
  color: var(--color-text);
  padding: 0.45rem 0.6rem;
  font: inherit;
}

.typing {
  display: none;
  gap: 4px;
  padding: 0.35rem 0.5rem;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: bounce-dots 1s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.5rem 0.5rem;
}

.suggestions button {
  font-size: 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: 0.35rem 0.5rem;
  cursor: pointer;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--color-surface);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.1rem;
  color: var(--color-text-muted);
}

.faq-item.open .faq-a {
  padding-bottom: 1rem;
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.cart-table th,
.cart-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.qty-control input {
  width: 48px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-dark);
  color: var(--color-text);
  padding: 0.35rem;
}

.catalogue-load-more {
  text-align: center;
  margin-top: 1.5rem;
}

.summary-card {
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.summary-card .btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.checkout-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.35);
  color: var(--color-success);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.checkout-modal[hidden] {
  display: none !important;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(4px);
}

.checkout-modal-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.checkout-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.checkout-form input,
.checkout-form textarea {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-dark);
  color: var(--color-text);
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
}
