@font-face {
  font-family: 'SF Pro Text';
  src: url('assets/fonts/SFProText/SFProText-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('assets/fonts/SFProText/SFProText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('assets/fonts/SFProText/SFProText-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('assets/fonts/SFProText/SFProText-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('assets/fonts/SFProText/SFProText-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: #050506;
  --gold: #DAAA44;
  --gold-soft: rgba(218, 170, 68, 0.35);
  --gold-dark: #c79835;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --container-max: 1440px;
  --container-pad: 100px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  touch-action: manipulation;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
svg { display: inline-block; vertical-align: middle; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--text); }

.nav__link--active {
  color: var(--text);
}
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -5px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  
  view-transition-name: nav-active-line;
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-group(nav-active-line) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-group(bottom-tab-pill) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(bottom-tab-pill),
::view-transition-new(bottom-tab-pill) {
  animation-duration: 0.25s;
  animation-timing-function: ease-in-out;
}

@supports not (selector(::view-transition-group(*))) {
  .nav__link--active::after {
    animation: nav-line-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes nav-line-in {
    from { transform: scaleX(0.5); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(nav-active-line) { animation: none !important; }
  ::view-transition-group(bottom-tab-pill) { animation: none !important; }
  ::view-transition-old(bottom-tab-pill),
  ::view-transition-new(bottom-tab-pill) { animation: none !important; }
  .nav__link--active::after { animation: none !important; }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text);
  transition: color var(--transition);
}
.icon-btn:hover { color: var(--gold); }
.icon-btn svg { display: block; width: 18px; height: 18px; }

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background: url('assets/images/hero-fish.png') center center / cover no-repeat;
  background-color: #000;
  z-index: 0;
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #000 0%,
    rgba(0, 0, 0, 0.75) 10%,
    rgba(0, 0, 0, 0.25) 30%,
    rgba(0, 0, 0, 0) 55%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 40px;
}

.hero__text { max-width: 700px; }

.hero__title {
  margin: 0 0 40px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero__title .accent { color: var(--gold); font-weight: 700; }

.hero__lead {
  margin: 0 0 44px;
  max-width: 610px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 56px;
  padding-top: 90px;
  padding-bottom: 60px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.hero-feature__icon svg { width: 100%; height: 100%; }

.hero-feature__body { display: flex; flex-direction: column; gap: 2px; }
.hero-feature__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.hero-feature__text {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }
.btn--no-icon-anim:hover svg { transform: none; }

.btn--primary {
  background: var(--gold);
  color: #1a1407;
}
.btn--primary:hover {
  background: var(--gold-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.section-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.link-more {
  color: var(--gold);
  font-size: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition);
}
.link-more svg { transition: transform var(--transition); }
.link-more:hover { opacity: 0.85; }
.link-more:hover svg { transform: translateX(3px); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  font-weight: 500;
}

.products { padding: 50px 0; }
.products--new { padding-top: 30px; }

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

.category-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform var(--transition), border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
}
.category-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0) 75%
  );
  pointer-events: none;
}

.category-card__content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.category-card__count {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

.category-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition), color var(--transition);
}
.category-card:hover .category-card__arrow {
  background: var(--gold);
  color: #1a1407;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
}
.product-card__media {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #1a1407;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px 5px;
  border-radius: 999px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card__body {
  flex: 1;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.product-card__weight {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}
.product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.product-card--simple .product-card__price {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}
.product-card--simple .product-card__body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-card__action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.product-card__action svg { width: 16px; height: 16px; }
.product-card__action:hover {
  background: var(--gold);
  color: #1a1407;
}

.features-bar { padding: 70px 0; }
.features-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 70px 32px;
}
.bar-feature {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.bar-feature:last-child { border-right: none; }
.bar-feature__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 18px;
}
.bar-feature__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.bar-feature__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.about { padding: 60px 0; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about__media:hover img { transform: scale(1.03); }

.about__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__title {
  margin: 0 0 20px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.about__text {
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}
.about__card .btn { align-self: flex-start; }

.reviews { padding: 60px 0; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.review:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}
.review__quote {
  display: block;
  font-size: 44px;
  line-height: 0.6;
  color: var(--gold);
  font-family: Georgia, serif;
  margin-bottom: 16px;
  height: 22px;
}
.review__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 22px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__source {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.reviews-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
  white-space: nowrap;
}
.reviews-source:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.06);
}
.reviews-source__logo { font-weight: 700; }
.reviews-source__rating { color: var(--gold); }
.reviews-source__rating strong { font-weight: 700; }
.reviews-source__arrow {
  color: var(--text-muted);
  transition: color 0.18s;
}
.reviews-source:hover .reviews-source__arrow {
  color: var(--gold);
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1407;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.review__name { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.review__stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }

.cta { padding: 60px 0 80px; }
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  align-items: stretch;
  min-height: 300px;
}
.cta__content {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta__title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cta__text {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 420px;
}
.cta__content .btn { align-self: flex-start; }
.cta__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.cta__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--surface) 0%,
    rgba(5, 5, 6, 0.85) 12%,
    rgba(5, 5, 6, 0.4) 30%,
    rgba(5, 5, 6, 0) 55%
  );
  pointer-events: none;
}

.site-footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.logo--footer img { height: 32px; }
.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin: 20px 0 24px;
  max-width: 280px;
  line-height: 1.5;
}
.footer__socials {
  display: flex;
  gap: 8px;
}
.footer__socials .social-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__socials .social-btn:hover {
  color: var(--gold);
}

.footer__col h4 {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.footer__col li { margin-bottom: 10px; }
.footer__col a:not(.social-btn) {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.footer__col a:not(.social-btn):hover { color: var(--gold); }
.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer__contact-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 4px;
}
.footer__contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a:hover { color: var(--gold); }

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__bottom-links a {
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer__bottom-links a:hover { color: var(--gold); }

.auth-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.auth-card__subtitle {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  transition: border-color var(--transition), background var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}
.form-input::placeholder { color: var(--text-dim); }

textarea.form-input {
  height: auto;
  min-height: 46px;
  padding: 12px 16px;
  line-height: 1.5;
}

.form-error {
  margin-top: 6px;
  font-size: 12px;
  color: #ff8b8b;
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.form-agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-strong, rgba(255,255,255,0.18));
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.form-agree input[type="checkbox"]:hover { border-color: var(--gold); }
.form-agree input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.form-agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #1a1407;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-agree a { color: var(--gold); text-decoration: none; }
.form-agree a:hover { opacity: 0.85; }

.auth-card .btn--primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.auth-bottom {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-bottom a { color: var(--gold); }
.auth-bottom a:hover { opacity: 0.85; }

.profile-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.profile-badge--ok {
  background: rgba(54, 211, 153, 0.12);
  color: #6ee0a8;
}
.profile-badge--warn {
  background: rgba(255, 184, 71, 0.12);
  color: #ffb847;
}

.profile-pending {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.profile-pending strong { color: var(--text); font-weight: 600; }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.link-button:hover { opacity: 0.75; }
.profile-email-resend { margin-top: 8px; }
.profile-email-trigger { margin-top: 10px; }

.profile-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-email-form .form-input { width: 100%; }
.profile-email-form .modal-actions { margin-top: 4px; }

.error-page {
  padding: 80px 0 100px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-page__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.error-page__code {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  opacity: 0.5;
}
.error-page__title {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.error-page__text {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}
.error-page__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .error-page { padding: 40px 0 60px; }
  .error-page__code { font-size: 72px; }
  .error-page__title { font-size: 24px; }
  .error-page__actions .btn { width: 100%; }
}

.alert {
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.alert--error {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: #ff9b9b;
}
.alert--success {
  background: rgba(218, 170, 68, 0.08);
  border: 1px solid rgba(218, 170, 68, 0.3);
  color: var(--gold);
}

.user-menu {
  position: relative;
}

.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 260px;
  background: #0e0e10;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 100;

opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.user-menu.is-open .user-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-menu__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 12px;
}

.user-menu__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1407;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.user-menu__info {
  min-width: 0;
  flex: 1;
}

.user-menu__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu__email {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.user-menu__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 6px;
}

.user-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition);
}
.user-menu__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}
.user-menu__item svg {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 15px;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.user-menu__item:hover svg { opacity: 1; }

.user-menu__trigger--avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1407;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.user-menu__trigger--avatar:hover {
  opacity: 0.9;
}

.catalog-page {
  padding: 60px 0 80px;
}

.catalog-head {
  margin-bottom: 32px;
}
.catalog-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.catalog-desc {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--text-muted); transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs__sep { color: var(--text-dim); }
.breadcrumbs__current { color: var(--text); }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.catalog-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.catalog-chip.is-active {
  background: var(--gold);
  color: #1a1407;
  border-color: var(--gold);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-sort__label {
  font-size: 13px;
  color: var(--text-muted);
}
.catalog-sort__select {
  height: 38px;
  padding: 0 36px 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23999' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.catalog-sort__select:focus { outline: none; border-color: var(--gold); }

.product-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.catalog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.catalog-empty a { color: var(--gold); margin-left: 8px; }

.product-page {
  padding: 40px 0 80px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  margin-top: 14px;
  margin-bottom: 80px;
}

.product-detail__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.product-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-dim);
  font-size: 14px;
}
.product-detail__badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.product-detail__info {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
}

.product-detail__cat {
  display: inline-block;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 12px;
}
.product-detail__cat:hover { opacity: 0.8; }

.product-detail__title {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.product-detail__meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.product-detail__price {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.product-detail__desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.product-detail__actions {
  display: flex;
  gap: 12px;
}

.product-related .section-head { margin-bottom: 24px; }

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-detail__title { font-size: 26px; }
  .catalog-title { font-size: 28px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
}

.catalog-sort { align-items: baseline; }
.catalog-sort__combo { width: auto; }
.catalog-sort__combo .combo__trigger {
  height: auto;
  background: transparent;
  border: 0;
  padding: 2px 18px 2px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border-radius: 0;
  white-space: nowrap;
}
.catalog-sort__combo .combo__trigger:hover,
.catalog-sort__combo .combo__trigger:focus,
.catalog-sort__combo .combo.is-open .combo__trigger {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  box-shadow: none;
}
.catalog-sort__combo .combo__caret {
  right: 0;
  color: inherit;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}
.catalog-sort__combo .combo__caret svg { display: block; }
.catalog-sort__combo .combo.is-open .combo__caret { color: var(--text); }
.catalog-sort__combo .combo__option {
  font-size: 13px;
  padding: 9px 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.catalog-sort__combo .combo__option.is-selected::after { float: none; }

.catalog-sort__combo .combo__list {
  right: auto;
  min-width: max-content;
}

[data-catalog-results] {
  transition: opacity 0.15s ease;
  min-height: 400px;
}
[data-catalog-results].is-loading {
  opacity: 0;
  pointer-events: none;
}

[data-catalog-results]:not(.is-loading) .product-grid--catalog > .product-card {
  animation: catalog-card-in 0.32s ease both;
}
.product-grid--catalog > .product-card:nth-child(1)  { animation-delay: 0.02s; }
.product-grid--catalog > .product-card:nth-child(2)  { animation-delay: 0.05s; }
.product-grid--catalog > .product-card:nth-child(3)  { animation-delay: 0.08s; }
.product-grid--catalog > .product-card:nth-child(4)  { animation-delay: 0.11s; }
.product-grid--catalog > .product-card:nth-child(5)  { animation-delay: 0.14s; }
.product-grid--catalog > .product-card:nth-child(6)  { animation-delay: 0.17s; }
.product-grid--catalog > .product-card:nth-child(7)  { animation-delay: 0.20s; }
.product-grid--catalog > .product-card:nth-child(n+8) { animation-delay: 0.22s; }

@keyframes catalog-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-catalog-results],
  .product-grid--catalog > .product-card {
    animation: none !important;
    transition: none !important;
  }
}

.product-card__cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-input {
  text-align: center;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.4em;
  padding-left: 0.4em; 
  height: 64px;
}
.code-input::placeholder {
  color: var(--text-dim);
  letter-spacing: 0.4em;
  font-weight: 400;
}

.cart-menu { position: relative; }

.cart-menu__trigger {
  position: relative;
}
.cart-menu__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1407;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
}
.cart-menu__count[hidden] { display: none !important; }

.cart-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 360px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: #0e0e10;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 100;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.cart-menu.is-open .cart-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cart-menu__head {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.cart-menu__title {
  font-size: 15px;
  font-weight: 600;
}
.cart-menu__expand {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-menu__expand:hover { background: rgba(255,255,255,0.05); color: var(--gold); }

.cart-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.14) transparent;
}
.cart-menu__body::-webkit-scrollbar { width: 6px; }
.cart-menu__body::-webkit-scrollbar-track { background: transparent; }
.cart-menu__body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
}

.cart-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-menu__empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.cart-menu__foot {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
}
.cart-menu__total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.cart-menu__total strong {
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
}
.cart-menu__checkout {
  width: 100%;
  justify-content: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 8px;
  align-items: center;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.cart-item:hover { background: rgba(255,255,255,0.025); }

.cart-item__media {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: block;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }

.cart-item__body { min-width: 0; }
.cart-item__title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item__title:hover { color: var(--gold); }
.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-item__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.cart-item__remove {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cart-item__remove:hover { background: rgba(255,107,107,0.1); color: #ff8b8b; }

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cart-qty__btn {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cart-qty__btn:focus { outline: none; }
.cart-qty__btn:hover { background: rgba(255,255,255,0.05); color: var(--gold); }
.cart-qty__val {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.cart-page { padding: 40px 0 80px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  margin-top: 20px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 32px;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-row__media {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cart-row__title:hover { color: var(--gold); }
.cart-row__weight {
  font-size: 12px;
  color: var(--text-muted);
}
.cart-row__sum {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.cart-row__remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cart-row__remove:hover { background: rgba(255,107,107,0.1); color: #ff8b8b; }

.cart-summary {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.cart-summary__title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
}
.cart-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 16px;
  color: var(--text);
}
.cart-summary__row--total strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cart-summary__checkout {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}
.cart-summary__continue {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.cart-summary__continue:hover { color: var(--gold); }

.cart-empty-full {
  padding: 80px 20px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row {
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
  }
  .cart-row__media { width: 60px; height: 60px; }
  .cart-row__qty { grid-column: 2; }
  .cart-row__sum { grid-column: 3; }
  .cart-row__remove { grid-column: 3; grid-row: 1; }
  .cart-menu__dropdown { width: calc(100vw - 32px); right: 0; }
}

.cart-control {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.cart-control__stepper,
.cart-control__view {
  display: none;
}

.cart-control[data-in-cart="1"] .cart-control__add {
  display: none;
}
.cart-control[data-in-cart="1"] .cart-control__stepper {
  display: inline-flex;
}
.cart-control[data-in-cart="1"] .cart-control__view {
  display: inline-flex;
}

.cart-control__stepper {
  align-items: center;
  background: var(--gold);
  color: #1a1407;
  border-radius: 999px;
  padding: 4px;
  height: 48px;
  user-select: none;
}

.cart-control__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cart-control__btn:hover {
  background: rgba(0, 0, 0, 0.08);
}
.cart-control__btn:active {
  background: rgba(0, 0, 0, 0.15);
}
.cart-control__btn:focus { outline: none; }

.cart-control__qty {
  min-width: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cart-control__view {
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.2s ease;
}
.cart-control__view:hover { opacity: 0.8; }
.cart-control__view svg { transition: transform 0.2s ease; }
.cart-control__view:hover svg { transform: translateX(3px); }

.checkout-page { padding: 40px 0 80px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  margin-top: 20px;
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}

.checkout-section__title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.checkout-grid .form-group--wide { grid-column: 1 / -1; }

.checkout-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.checkout-option:hover { border-color: rgba(212, 175, 55, 0.4); }

.checkout-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s;
}
.checkout-option input[type="radio"]:checked {
  border-color: var(--gold);
}
.checkout-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.checkout-option.is-selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.checkout-option--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.checkout-option--disabled:hover { border-color: var(--border); }

.checkout-option[hidden] { display: none !important; }

.qp-picker { display: block; }

.qp-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .qp-custom { grid-template-columns: 1fr; }
}

.qp-select { position: relative; }

.qp-select__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.qp-select__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.qp-select__btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.qp-select__btn svg {
  color: var(--text-muted);
  transition: transform 0.15s;
}
.qp-select.is-open .qp-select__btn {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}
.qp-select.is-open .qp-select__btn svg {
  transform: rotate(180deg);
  color: var(--gold);
}

.qp-select__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  background: #0e0e10;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.14) transparent;
}
.qp-select__menu::-webkit-scrollbar { width: 6px; }
.qp-select__menu::-webkit-scrollbar-track { background: transparent; }
.qp-select__menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
}

.qp-select__menu[hidden] { display: none !important; }

.qp-select__item {
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.qp-select__item:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}
.qp-select__item.is-selected {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-weight: 700;
}
.qp-select__item--asap {
  margin-bottom: 4px;
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold);
  font-weight: 600;
}
.qp-select__empty {
  padding: 14px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.checkout-option__body {
  flex: 1;
  min-width: 0;
}
.checkout-option__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.checkout-option__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkout-option__price {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

.checkout-map { margin-top: 18px; }
.checkout-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.checkout-map__container {
  position: relative;
  width: 100%;
  height: 360px;
}
.checkout-map__container .checkout-map__canvas {
  width: 100%;
  height: 100%;
}

.checkout-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  
  transform: translate(-50%, calc(-100% + 4px));
  pointer-events: none;
  z-index: 500;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  animation: pin-drop 0.4s ease-out;
}
@keyframes pin-drop {
  0%   { transform: translate(-50%, calc(-100% - 20px)); opacity: 0; }
  100% { transform: translate(-50%, calc(-100% + 4px));  opacity: 1; }
}
.checkout-map__pin svg { display: block; }

.checkout-map__container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  pointer-events: none;
  z-index: 499;
}

.checkout-map__canvas {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #1a1a1d;
}
.checkout-map__hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  min-height: 18px;
}

.promo-trigger {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-trigger__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  transition: opacity 0.15s;
}
.promo-trigger__btn:hover { opacity: 0.85; }
.promo-trigger__btn svg { flex-shrink: 0; }
.promo-trigger__btn span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-trigger__chev {
  transition: transform 0.15s;
  color: var(--text-muted);
}
.promo-trigger__btn:hover .promo-trigger__chev { transform: translateX(3px); }

.promo-trigger.is-applied .promo-trigger__btn {
  color: var(--text);
  font-weight: 600;
}
.promo-trigger.is-applied .promo-trigger__chev { display: none; }

.promo-trigger__remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.promo-trigger__remove:hover {
  background: rgba(255, 107, 107, 0.15);
  color: #ff8b8b;
}
.promo-trigger__remove[hidden] { display: none; }

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 22px;
  position: sticky;
  top: 90px;
}

.checkout-summary__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.checkout-summary__items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-summary__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 12px;
  font-size: 13px;
  align-items: baseline;
}
.checkout-summary__item-name {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-summary__item-qty {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.checkout-summary__item-sum {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.checkout-summary__row[hidden] { display: none !important; }
.checkout-summary__row--total {
  font-size: 17px;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
}
.checkout-summary__row--total strong {
  font-size: 20px;
  color: var(--gold);
}

.checkout-summary__submit {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

.checkout-summary__note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
}

.order-page { padding: 40px 0 80px; }

.order-success-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--text);
}
.order-success-banner__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: #4caf50;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.order-success-banner__title { font-weight: 600; font-size: 15px; }
.order-success-banner__sub   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  margin-top: 20px;
  align-items: start;
}

.order-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 18px;
}
.order-block__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.order-meta {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 16px;
  font-size: 14px;
}
.order-meta dt { color: var(--text-muted); font-weight: 400; }
.order-meta dd { margin: 0; color: var(--text); }

.order-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
}
.order-item__media {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  flex-shrink: 0;
}
.order-item__media img { width: 100%; height: 100%; object-fit: cover; }
.order-item__name { font-size: 14px; font-weight: 500; color: var(--text); }
.order-item__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.order-item__sum  { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }

.order-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.order-status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-status-pill--new        { background: rgba(212,175,55,0.12); color: var(--gold); }
.order-status-pill--progress   { background: rgba(102,153,255,0.12); color: #6699ff; }
.order-status-pill--done       { background: rgba(76,175,80,0.12);  color: #6dcf73; }
.order-status-pill--cancel     { background: rgba(255,107,107,0.12); color: #ff8b8b; }

.order-map {
  margin-top: 14px;
  width: 100%;
  height: 240px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #1a1a1d;
}

@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: 1fr; gap: 2px 0; }
  .order-meta dt { margin-top: 8px; font-size: 12px; }
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.orders-list__row {
  display: grid;
  grid-template-columns: 80px 130px 1fr 160px 130px 24px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.orders-list__row:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.04);
}
.orders-list__id {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.orders-list__date {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-muted);
}
.orders-list__delivery {
  font-size: 13px;
  color: var(--text-muted);
}
.orders-list__total {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.orders-list__chev { color: var(--text-dim); display: inline-flex; }
.orders-list__row:hover .orders-list__chev { color: var(--gold); }

@media (max-width: 720px) {
  .orders-list__row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .orders-list__date { grid-column: 1; }
  .orders-list__delivery { grid-column: 1; }
  .orders-list__status { grid-column: 2; }
  .orders-list__total { grid-column: 1 / -1; text-align: left; }
  .orders-list__chev { display: none; }
}

.notif-menu { position: relative; }

.notif-menu__trigger { position: relative; }

.notif-menu__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
}
.notif-menu__count[hidden] { display: none !important; }

.notif-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 380px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: #0e0e10;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 100;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.notif-menu.is-open .notif-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.notif-menu__head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.notif-menu__title { font-size: 15px; font-weight: 600; }
.notif-menu__mark-all {
  background: none;
  border: 0;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.notif-menu__mark-all:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.notif-menu__mark-all[hidden] { display: none; }

.notif-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.14) transparent;
}
.notif-menu__body::-webkit-scrollbar { width: 6px; }
.notif-menu__body::-webkit-scrollbar-track { background: transparent; }
.notif-menu__body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
}

.notif-menu__list { list-style: none; margin: 0; padding: 0; }
.notif-menu__list li { list-style: none; }

.notif-menu__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.notif-item {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.notif-menu__list li:last-child .notif-item { border-bottom: 0; }
.notif-item:hover { background: rgba(255, 255, 255, 0.03); }

.notif-item__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.notif-item--unread .notif-item__title::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}
.notif-item--unread .notif-item__title {
  color: var(--text);
  font-weight: 600;
}
.notif-item--admin .notif-item__title::before {
  content: 'admin';
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.notif-item__body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}
.notif-item__time {
  font-size: 11px;
  color: var(--text-dim);
}

.legal-page { padding: 40px 0 80px; }
.legal-article {
  max-width: 760px;
  margin: 20px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.legal-article__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal-article__updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-article__body { color: var(--text); line-height: 1.65; font-size: 15px; }
.legal-article__body h2 { margin: 28px 0 12px; font-size: 19px; font-weight: 600; color: var(--text); }
.legal-article__body h3 { margin: 22px 0 10px; font-size: 16px; font-weight: 600; color: var(--text); }
.legal-article__body p { margin: 0 0 14px; color: var(--text-muted); }
.legal-article__body ul,
.legal-article__body ol { margin: 0 0 14px; padding-left: 22px; color: var(--text-muted); }
.legal-article__body li { margin-bottom: 6px; }
.legal-article__body strong { color: var(--text); font-weight: 600; }
.legal-article__body a { color: var(--gold); border-bottom: 1px solid rgba(212, 175, 55, 0.3); }
.legal-article__body a:hover { border-color: var(--gold); }
.legal-article__body em { color: var(--text-muted); font-style: italic; }

.contacts-reqs {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
}
.contacts-reqs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contacts-reqs > div:last-child { border-bottom: 0; }
.contacts-reqs dt {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.contacts-reqs dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  word-break: break-word;
}
@media (max-width: 600px) {
  .contacts-reqs > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 720px) {
  .legal-article { padding: 24px 22px; }
  .legal-article__title { font-size: 22px; }
}

.bottom-nav { display: none; }

@media (max-width: 900px) {
  
  html, body { overflow-x: hidden; }

input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  textarea,
  select,
  .form-input {
    font-size: 16px !important;
  }

  .container { padding: 0 16px; }

.bottom-nav {
    display: flex;
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    z-index: 90;
    padding: 8px;
    background: rgba(12, 12, 14, 0.65);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.55),
      0 4px 12px rgba(0, 0, 0, 0.35);
  }
  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.18s;
    position: relative;
    isolation: isolate;
  }
  .bottom-nav__item svg { width: 22px; height: 22px; display: block; }

.bottom-nav__pill {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    z-index: -1;
    pointer-events: none;
    
  }
  .bottom-nav__item.is-active .bottom-nav__pill {
    background: rgba(212, 175, 55, 0.12);
    view-transition-name: bottom-tab-pill;
  }

.bottom-nav__item.is-active { color: var(--gold); }
  .bottom-nav__item.is-active svg { color: var(--gold); }

  .bottom-nav__icon-wrap { position: relative; display: inline-flex; }
  .bottom-nav__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(12, 12, 14, 0.95);
  }

body:not(.admin-body) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

.header {
    position: static;
    height: 0;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header__inner {
    height: 0;
    padding: 0;
    overflow: visible;
  }

.header .logo {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 95;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.55),
      0 3px 10px rgba(0, 0, 0, 0.35);
    isolation: isolate;
  }
  .header .logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(14, 14, 18, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    z-index: -1;
  }
  .header .logo img { height: 22px; }

body:not(.admin-body) { padding-top: calc(70px + env(safe-area-inset-top)); }

.notif-menu {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    z-index: 95;
    padding: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.55),
      0 3px 10px rgba(0, 0, 0, 0.35);
    isolation: isolate;
  }
  
  .notif-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(14, 14, 18, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    z-index: -1;
  }
  .notif-menu__trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
  }
  .notif-menu__trigger svg { width: 24px; height: 24px; }
  .notif-menu__count {
    top: 0;
    right: 0;
    border: 2px solid rgba(14, 14, 18, 0.95);
  }

.notif-menu__dropdown {
    position: fixed;
    top: calc(max(14px, env(safe-area-inset-top)) + 80px);
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    max-height: 70vh;
    z-index: 96;
  }

.cart-menu { display: none; }
  
  .user-menu { display: none; }
  
  .header__actions > a[href="/login"] { display: none; }

.nav { display: none; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 14px; }

.hero { min-height: auto; padding: 60px 0 80px; }
}

@media (max-width: 640px) {
  
  .header__inner { gap: 8px; }
  .header__actions { gap: 10px; }
  .icon-btn { width: 32px; height: 32px; }
  .logo img { height: 24px; }
  .container { padding: 0 14px; }

.hero { padding: 0; min-height: auto; overflow: hidden; position: relative; }

.hero__image {
    width: 100% !important;
    height: 100% !important;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.75;
  }
  
  .hero__image::after {
    background:
      linear-gradient(to bottom, rgba(5, 5, 6, 0.15) 0%, rgba(5, 5, 6, 0.65) 60%, rgba(5, 5, 6, 0.95) 100%),
      radial-gradient(ellipse at center, transparent 30%, rgba(5, 5, 6, 0.5) 100%) !important;
    width: 100% !important;
  }

  .hero__inner { padding-top: 70px !important; padding-bottom: 50px !important; }
  .hero__text { max-width: 100%; }

  .hero__title { font-size: 42px !important; line-height: 1.0 !important; margin: 0 0 18px !important; }
  .hero__title br { display: none; }
  .hero__lead  { font-size: 14px !important; line-height: 1.55 !important; margin-bottom: 24px !important; max-width: 100% !important; }

  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px !important; }
  .hero__actions .btn { width: 100%; justify-content: center; }

.hero__features {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto;
    gap: 10px !important;
    padding: 0 0 10px 0 !important;
    margin-top: 28px !important;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
  }
  .hero__features::-webkit-scrollbar { display: none; }
  .hero-feature {
    flex-shrink: 0;
    min-width: 210px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

.category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .category-card {
    aspect-ratio: 3 / 4 !important;
    border-radius: 12px !important;
  }
  .category-card__title { font-size: 14px !important; }
  .category-card__count { font-size: 11px !important; }

.section-title { font-size: 26px !important; }
  .catalog-title { font-size: 24px; }

.products { padding: 40px 0 !important; }
  .about    { padding: 40px 0 !important; }
  .reviews  { padding: 40px 0 !important; }
  .cta      { padding: 40px 0 60px !important; }

.about__inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .about__media { display: none; }
  .about__card {
    padding: 24px 22px 26px !important;
  }
  .about__card .eyebrow { display: none; }
  .about__title {
    font-size: 22px !important;
    margin-bottom: 12px !important;
    line-height: 1.2;
  }
  .about__title br { display: none; }
  .about__text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
  .about__card .btn {
    align-self: stretch;
    justify-content: center;
  }

.cta__inner {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .cta__media { display: none; }
  .cta__content {
    padding: 22px 22px 26px !important;
  }
  .cta__title {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }
  .cta__text {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  .cta .btn { width: 100%; justify-content: center; }

.reviews__grid {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto;
    gap: 14px !important;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { flex-shrink: 0; min-width: 280px; max-width: 320px; padding: 22px 22px 20px !important; }

.section-head { flex-direction: column; align-items: flex-start !important; gap: 8px !important; }

.product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .product-card__title { font-size: 14px; }
  .product-card__price { font-size: 16px; }

.product-detail__title { font-size: 22px !important; }
  .product-detail__price { font-size: 26px !important; }
  .product-detail__actions .btn { width: 100%; justify-content: center; }
  .cart-control { flex-direction: column; align-items: stretch; gap: 10px; }
  .cart-control__add { width: 100%; justify-content: center; }
  .cart-control__stepper { width: 100%; justify-content: space-between; }
  .cart-control__view { justify-content: center; }

.cart-row {
    position: relative;
    grid-template-columns: 56px 1fr !important;
    gap: 10px !important;
    padding-right: 36px;
  }
  .cart-row__media { width: 56px; height: 56px; }
  .cart-row__info { grid-column: 2; }
  .cart-row__qty { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
  .cart-row__sum { grid-column: 2; justify-self: end; align-self: center; }
  .cart-row__remove { position: absolute; top: 12px; right: 12px; }

.checkout-section { padding: 18px 18px; }
  .checkout-section__title { font-size: 15px; }
  .checkout-summary { padding: 18px 18px 16px; }
  .checkout-summary__title { font-size: 15px; }
  .checkout-grid { grid-template-columns: 1fr !important; }

.checkout-map__container { height: 260px; }

.order-block { padding: 18px 18px; }
  .order-block__title { font-size: 14px; }
  .order-item { grid-template-columns: 52px 1fr !important; }
  .order-item__media { width: 52px; height: 52px; }
  .order-item__sum { grid-column: 1 / -1; text-align: right; }

.orders-list__row { padding: 14px 16px; }
  .orders-list__id { font-size: 14px; }

.footer__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .footer__col--brand {
    text-align: left;
  }
  
  .footer__grid > .footer__col:nth-of-type(2),
  .footer__grid > .footer__col:nth-of-type(3) { display: none; }

  .site-footer { padding-top: 32px !important; }
  .site-footer .container { padding-bottom: 0; }

  .footer__col h4 { margin-bottom: 10px !important; font-size: 13px !important; }
  .footer__col ul li { margin-bottom: 6px !important; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px !important;
    font-size: 11px !important;
  }
  .footer__bottom-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

.legal-article { padding: 20px 18px; }

.btn { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }

.catalog-toolbar {
    display: block !important;     
    margin-bottom: 18px !important;
  }
  .catalog-sort { margin-top: 14px; }

  .catalog-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    width: 100%;
    max-width: 100%;
    padding: 0 0 4px 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .catalog-chips::-webkit-scrollbar { display: none; }
  .catalog-chip {
    flex-shrink: 0 !important;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .header__actions { gap: 8px; }
  .icon-btn { width: 30px; height: 30px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .product-grid { gap: 10px !important; }
}

