/*!****************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Aspid/assets/styles/core.scss ***!
  \****************************************************************************************************************************/
@charset "UTF-8";
:root {
  --black: #0a0a0a;
  --dark: #101010;
  --dark-2: #151515;
  --dark-3: #1b1b1b;
  --dark-4: #222;
  --gray: #666;
  --mid-gray: #888;
  --light-gray: #aaa;
  --white: #f0f0f0;
  --red: #d42027;
  --red-dark: #b01a20;
  --red-glow: rgba(212, 32, 39, 0.25);
  --green: #2ecc71;
  --font-display: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%270 0 256 256%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23n%29%27 opacity=%270.03%27/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10000;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Акцидентные элементы: капитель и жирное начертание */
.section-header h2,
.hero-text h1,
.promo-text h3,
.cta-inner h2,
.about-item-num,
.catalog-page-header h1,
.catalog-empty h3,
.catalog-drawer-header h3,
.cart-header h3,
.os-header h3,
.ch-block-title,
.product-info h1,
.desc-content h3,
.related h2,
.r-card-body h4,
.p-card-body h3,
.account-page h1,
.acc-main h2,
.acc-empty h3,
.auth-side-content h2,
.auth-form-header h1,
.contact-form h2,
.page-title,
.static-page h1,
.page404 h1,
.success-page h1,
.pay-page h1 {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
  margin-bottom: 36px;
}
.page-title span {
  color: var(--red);
}

.static-page h1 span,
.success-page h1 span,
.account-page h1 span,
.catalog-page-header h1 span,
.contacts-page h1 span {
  color: var(--red);
}

.cta-inner h2 span,
.promo-text h3 span,
.related h2 span,
.auth-side-content h2 span,
.acc-main h2 span {
  color: var(--red);
}

/* ══════════ TOP BAR ══════════ */
.top-bar {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 0;
  font-size: 0.78rem;
  color: var(--mid-gray);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--light-gray);
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left svg {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ══════════ HEADER ══════════ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}

.logo svg {
  height: 28px;
  width: auto;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light-gray);
  transition: color 0.3s;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s;
}

nav a:hover {
  color: var(--white);
}

nav a:hover::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.h-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  border-radius: 0;
}

.h-btn:hover {
  color: var(--white);
}

.h-btn svg {
  width: 20px;
  height: 20px;
}

.h-btn-cart {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  gap: 6px;
  width: auto;
  padding: 0 16px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.h-btn-cart:hover {
  border-color: rgba(212, 32, 39, 0.3);
}

.cart-badge {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 4px;
}

.h-btn-cart .cart-badge {
  position: static;
  top: auto;
  right: auto;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ══════════ CATALOG TRIGGER ══════════ */
.catalog-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.catalog-trigger:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 20px var(--red-glow);
}

.catalog-trigger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.catalog-trigger-bars span {
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}

.catalog-trigger-bars span:nth-child(2) {
  width: 70%;
}

.catalog-trigger:hover .catalog-trigger-bars span:nth-child(2) {
  width: 100%;
}

/* ══════════ CATALOG DRAWER (LEFT) ══════════ */
.catalog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1998;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.catalog-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.catalog-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  max-width: 88vw;
  height: 100vh;
  z-index: 2002;
  background: var(--dark);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.catalog-drawer.active {
  transform: translateX(0);
}

.catalog-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.catalog-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.catalog-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
}

.catalog-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.catalog-close svg {
  width: 18px;
  height: 18px;
}

.catalog-menu {
  padding: 16px 0;
  flex: 1;
}

.catalog-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  color: var(--light-gray);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s;
  border-left: 2px solid transparent;
  cursor: pointer;
}

.catalog-menu-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  border-left-color: var(--red);
  padding-left: 32px;
}

.catalog-menu-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  opacity: 0.6;
  flex-shrink: 0;
}

.catalog-menu-item:hover svg {
  opacity: 1;
}

.catalog-menu-item .item-count {
  margin-left: auto;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
}

.catalog-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  margin: 10px 28px;
}

.catalog-drawer-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.catalog-drawer-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 300;
  padding: 8px 0;
  transition: color 0.3s;
}

.catalog-drawer-footer a:hover {
  color: var(--white);
}

.catalog-drawer-footer a svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  opacity: 0.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--red-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn-sm {
  padding: 11px 24px;
  font-size: 0.75rem;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow {
  transform: translateX(3px);
}

.hero-product {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-product-img {
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.hero-product-img img {
  width: 100%;
  height: auto;
}

.hero-product-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ══════════ CATEGORIES ══════════ */
.categories {
  padding: 64px 0 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 2px;
  line-height: 1;
}

.section-header h2 span {
  color: var(--red);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: all 0.3s;
}

.section-link:hover {
  color: var(--red);
  gap: 12px;
}

.section-link svg {
  width: 14px;
  height: 14px;
}

/* ══════════ PRODUCTS GRID ══════════ */
.products-section {
  padding: 0 0 80px;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.products-count {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
}

.products-filters {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--light-gray);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--red);
  color: var(--white);
  background: rgba(212, 32, 39, 0.06);
}

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

.p-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.p-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.p-card-img {
  aspect-ratio: 1;
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.p-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.p-badge span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
}

.badge-new {
  background: var(--red);
  color: var(--white);
}

.badge-stock {
  background: rgba(46, 204, 113, 0.15);
  color: var(--green);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.p-card-quick {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.p-card:hover .p-card-quick {
  opacity: 1;
  transform: translateY(0);
}

.p-card-quick:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.p-card-quick svg {
  width: 18px;
  height: 18px;
}

.p-card-body {
  padding: 20px 22px 24px;
}

.p-card-cat {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.p-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1.1;
}

.p-card-desc {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 1px;
  line-height: 1;
}

.p-price small {
  font-size: 0.55em;
  color: var(--mid-gray);
  margin-left: 2px;
}

.p-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.p-add-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.p-add-btn svg {
  width: 14px;
  height: 14px;
}

/* ══════════ BREADCRUMBS ══════════ */
.breadcrumbs {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--gray);
}

.breadcrumbs-list a {
  color: var(--mid-gray);
  transition: color 0.3s;
}

.breadcrumbs-list a:hover {
  color: var(--white);
}

.breadcrumbs-list .sep {
  color: var(--gray);
  font-size: 0.7rem;
}

.breadcrumbs-list .current {
  color: var(--white);
}

/* ══════════ FOOTER ══════════ */
footer {
  padding: 48px 0 32px;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 300;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  transition: all 0.3s;
}

.footer-socials a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-socials a svg {
  width: 15px;
  height: 15px;
}

/* ══════════ SEARCH OVERLAY ══════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 40px;
  transform: translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-inner {
  transform: translateY(0);
}

.search-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.search-field {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  transition: border-color 0.3s;
}

.search-field:focus-within {
  border-color: var(--red);
}

.search-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--white);
  letter-spacing: 2px;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.12);
}

.search-field svg {
  width: 26px;
  height: 26px;
  color: var(--gray);
  flex-shrink: 0;
}

.search-close {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
}

.search-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.search-close svg {
  width: 20px;
  height: 20px;
}

.search-hints {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-hint {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
}

.search-hint:hover {
  border-color: rgba(212, 32, 39, 0.25);
  color: var(--white);
  background: rgba(212, 32, 39, 0.05);
}

/* ══════════ CART DRAWER ══════════ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 92vw;
  height: 100vh;
  z-index: 2001;
  background: var(--dark);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.cart-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
}

.cart-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.cart-close svg {
  width: 18px;
  height: 18px;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty svg {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.cart-empty {
  text-align: center;
}

.cart-empty p {
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 4px;
}

.cart-empty small {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-footer .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
}

/* Позиции в дровере (рисует core.js) */
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  background: var(--dark-3);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}

.cart-item-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.cart-item-remove {
  position: absolute;
  top: 14px;
  right: 0;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: var(--red);
}

.cart-item-remove svg {
  width: 14px;
  height: 14px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qty-btn {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--dark-3);
  color: var(--white);
}

.qty-value {
  min-width: 34px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.cart-total-row strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 1px;
}

.cart-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--mid-gray);
  transition: color 0.3s;
}

.cart-link:hover {
  color: var(--white);
}

/* Живой поиск в оверлее */
.search-results {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s;
}

.search-result:hover {
  border-color: rgba(212, 32, 39, 0.4);
}

.search-result img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-result-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  white-space: nowrap;
}

.search-empty {
  margin-top: 24px;
  color: var(--gray);
  font-size: 0.85rem;
}

/* ══════════ ANIMATIONS ══════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-in-1 {
  animation-delay: 0.1s;
}

.fade-in-2 {
  animation-delay: 0.2s;
}

.fade-in-3 {
  animation-delay: 0.3s;
}

.fade-in-4 {
  animation-delay: 0.4s;
}

/* Всплывающие уведомления (добавлено в корзину, ошибка) */
.notify {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notify-item {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red);
  color: var(--white);
  padding: 12px 18px;
  font-size: 0.85rem;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: notifyIn 0.3s ease;
  pointer-events: auto;
}
.notify-item.is-error {
  border-left-color: #e74c3c;
}
.notify-item.is-success {
  border-left-color: var(--green);
}

@keyframes notifyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Адаптив общих блоков: контейнер, шапка, сетка карточек, футер, поиск */
@media (max-width: 1100px) {
  .container {
    padding: 0 24px;
  }
  .p-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  nav > a {
    display: none;
  }
  .burger {
    display: flex;
  }
  .top-bar-right {
    display: none;
  }
  .p-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .search-close {
    top: 20px;
    right: 20px;
  }
  .search-inner {
    padding: 0 20px;
  }
  .products-toolbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .products-filters {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }
}
@media (max-width: 480px) {
  .p-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .h-btn-cart > span:not(.cart-badge) {
    display: none;
  }
}
.container.header-main,
.container.hero-grid {
  padding-inline: 40px;
}

.hero-product img {
  aspect-ratio: 654/499;
  object-fit: contain;
}

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

.p-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.p-card-img > a:not(.p-card-quick) {
  display: block;
  width: 100%;
  height: 100%;
}

.p-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.p-card-body h3 {
  overflow-wrap: anywhere;
}

.p-card-footer {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.p-add-btn {
  justify-content: center;
  max-width: 100%;
}

.product-top > *,
.hero-grid > *,
.promo-box > * {
  min-width: 0;
}

.gallery-thumbs {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-info h1,
.variation-opt,
.desc-content,
.specs-table td {
  overflow-wrap: anywhere;
}

.cats-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
    gap: 12px;
  }
  .header-main nav {
    flex-basis: 100%;
    order: 3;
  }
  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
  }
  .header-actions .burger {
    display: none;
  }
  .catalog-trigger {
    width: 100%;
    justify-content: center;
  }
  .container.header-main,
  .container.hero-grid {
    padding-inline: 24px;
  }
  .p-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .header-main {
    gap: 12px;
  }
  .header-main .logo svg {
    max-width: 120px;
  }
  .p-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-card-footer {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .fade-in {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/*# sourceMappingURL=core.css.map*/