@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@font-face {
  font-family: 'Tagesschrift';
  src: url('/fonts/TagesschriftCyrillic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000;
  --white: #fff;
  --gray: #808080;
  --header-h: 120px;
  --nav-h: 38px;
  --radius: 20px;
}

/* ─── PAGE LOADER ─── */
#pageLoader {
  position: fixed; inset: 0;
  background: #000;
  z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s cubic-bezier(.4,0,.2,1);
}
#pageLoader.hiding { opacity: 0; pointer-events: none; }
#pageLoader img { width: 100vw; height: 100vh; object-fit: cover; display: block; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--black);
  color: var(--black);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: height .4s cubic-bezier(.4,0,.2,1),
              background .4s cubic-bezier(.4,0,.2,1),
              left .4s cubic-bezier(.4,0,.2,1),
              right .4s cubic-bezier(.4,0,.2,1),
              border-radius .4s cubic-bezier(.4,0,.2,1),
              box-shadow .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* Compact: slim floating rounded pill */
.header-compact .site-header {
  height: 52px;
  background: rgba(10,10,10,.80);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  left: 14px; right: 14px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 6px 28px rgba(0,0,0,.35);
}

/* Logo — full size by default, hidden in compact */
.site-header__logo {
  transition: opacity .3s cubic-bezier(.4,0,.2,1),
              transform .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center top;
  position: relative;
  top: -5px;
}
.site-header__logo img {
  width: 120px;
  height: auto;
}
.header-compact .site-header__logo {
  opacity: 0;
  transform: scale(.7) translateY(-8px);
  pointer-events: none;
}

/* Nav links — always visible at bottom of header */
.header-nav {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .25s, bottom .4s cubic-bezier(.4,0,.2,1);
}
.header-compact .header-nav {
  top: 0;
  bottom: 0;
  height: 100%;
}
.header-nav a {
  font-size: 9px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  padding: 4px 10px; white-space: nowrap;
  transition: color .2s;
}
.header-nav a:hover { color: #fff; }
.header-nav .sec-nav__sep {
  width: .5px; height: 8px;
  background: rgba(255,255,255,.22);
  flex-shrink: 0;
}

/* Search bar in header */
.header-search-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: rgba(10,10,10,.98);
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: height .4s cubic-bezier(.4,0,.2,1), padding .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  z-index: 9997;
}
.header-search-bar.active {
  height: 70px;
  padding: 0 20px;
}
.header-search-bar__input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  padding: 0;
  letter-spacing: .05em;
  transition: color .2s;
}
.header-search-bar__input::placeholder {
  color: rgba(255,255,255,.4);
}
.header-search-bar__input:focus {
  color: #fff;
}
.header-search-bar__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  transition: color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search-bar__close:hover {
  color: #fff;
}

/* Sec-nav — hidden (replaced by header-nav) */
.sec-nav { display: none; }

/* ─── SECONDARY NAV ─── */
.sec-nav-unused {
  position: sticky;
  top: var(--header-h);
  z-index: 9997;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.1);
  transition: padding .4s cubic-bezier(.4,0,.2,1);
}

.sec-nav__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 11px 24px 13px;
  transition: padding .4s cubic-bezier(.4,0,.2,1);
}

.sec-nav__bar a {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 6px 16px;
  white-space: nowrap;
  position: relative;
  transition: color .25s;
}

.sec-nav__bar a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: .5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.sec-nav__bar a:hover { color: var(--white); }
.sec-nav__bar a:hover::after { transform: scaleX(1); }

.sec-nav__sep {
  width: .5px;
  height: 10px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

.sec-nav.small .sec-nav__bar { padding: 6px 24px; }
.sec-nav.small .sec-nav__bar a { font-size: 8px; padding: 4px 10px; letter-spacing: .18em; }
.sec-nav.small .sec-nav__bar a::after { left: 10px; right: 10px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 550px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.hero__title {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: 'Tagesschrift', 'Montserrat', Arial, sans-serif;
  font-size: 100px;
  font-weight: normal;
  line-height: .95;
  text-align: center;
  padding: 0 20px;
}

/* ─── BANNER (dagger logo) ─── */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 20px;
  background: var(--white);
}

.banner img {
  max-width: 850px;
  width: 100%;
}

/* ─── GALLERY GRID ─── */
.gallery {
  padding: 0 0 30px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 320px 320px;
  gap: 0;
  width: 100%;
}

.gallery__tile {
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__tile--big {
  grid-column: 1 / span 3;
  grid-row: 1 / span 2;
}

.gallery__tile--small1 {
  grid-column: 4 / span 3;
  grid-row: 1 / span 1;
}

.gallery__tile--small2 {
  grid-column: 4 / span 3;
  grid-row: 2 / span 1;
}

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery__tile:hover img { transform: scale(1.04); }

/* ─── GALLERY SPACER ─── */
.gallery + .gallery { margin-top: 30px; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black);
  padding: 45px 0 160px;
  text-align: center;
}

/* ── 5-колоночный футер ── */
.footer-cols {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  padding: 0 32px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.footer-col__title {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col__link {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
  text-align: center;
}
.footer-col__link:hover { color: #fff; }

.footer-col__link--legal {
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.65);
}
.footer-col__link--legal:hover { color: #fff; }

.site-footer__copy {
  margin-top: 32px;
  font-family: 'Tagesschrift', 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.22);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .footer-cols { gap: 24px; padding: 0 16px; }
}

/* ─── BOTTOM NAV ─── */
.bottom-menu {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) scale(.5) translateY(0);
  transform-origin: center bottom;
  width: min(92vw, 900px);
  height: 130px;
  background: rgba(15,15,15,.42);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 9999;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  animation: menuIn .7s ease forwards, bmAmbient 4s 1s ease-in-out infinite;
  transition: transform .42s cubic-bezier(.4,0,.2,1), opacity .38s, box-shadow .35s, border-color .35s, background .35s;
}
.bottom-menu:hover {
  background: rgba(22,22,22,.58);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 18px 48px rgba(0,0,0,.38), 0 0 36px rgba(255,255,255,.08), 0 0 80px rgba(255,255,255,.03);
}
.bottom-menu.bm-hidden {
  transform: translateX(-50%) scale(.5) translateY(280px);
  opacity: 0;
  pointer-events: none;
}

.bottom-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.06) 35%, rgba(255,255,255,.02) 70%, rgba(255,255,255,.10));
  opacity: .85;
  pointer-events: none;
  border-radius: inherit;
}

.bm-item {
  position: relative;
  width: 18%;
  max-width: 130px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s, opacity .25s, filter .25s;
  z-index: 1;
}
button.bm-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
button.bm-item:focus,
button.bm-item:focus-visible { outline: none; box-shadow: none; }

.bm-item:hover { transform: translateY(-6px) scale(1.12); filter: drop-shadow(0 0 18px rgba(255,255,255,.7)) drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.bm-item:active { transform: translateY(-2px) scale(.98); }

.bm-item.active { transform: translateY(-5px) scale(1.10); filter: drop-shadow(0 0 14px rgba(255,255,255,.35)); }
.bm-item.active::after {
  content: "";
  position: absolute;
  bottom: 14px;
  width: 26px; height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 10px rgba(255,255,255,.45);
}

/* ─── BOTTOM NAV ICONS (SVG mask) ─── */
.bm-icon {
  display: block;
  background-color: #fff;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.bm-burger {
  width: 52px; height: 52px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.bm-burger i { display: none; }

.bm-search {
  width: 52px; height: 52px;
  border: none; border-radius: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E");
}
.bm-search::after { display: none; }

.bm-user {
  width: 52px; height: 52px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
}
.bm-user::before, .bm-user::after { display: none; }

.bm-cart {
  width: 52px; height: 52px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
}
.bm-cart::before, .bm-cart::after { display: none; }

.bm-center img { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: transform .25s, box-shadow .25s; }
.bm-center:hover img { transform: scale(1.08); }

@keyframes menuIn {
  from { opacity: 0; transform: translateX(-50%) scale(.5) translateY(40px); }
  to   { opacity: 1; transform: translateX(-50%) scale(.5) translateY(0); }
}
@keyframes bmAmbient {
  0%, 100% { box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 0 rgba(255,255,255,0); }
  50%       { box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 28px rgba(255,255,255,.07); }
}

/* ─── CART BADGE ─── */
.bm-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bm-cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #ff3b30;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15,15,15,.85);
  box-shadow: 0 2px 8px rgba(255,59,48,.5);
  letter-spacing: -.02em;
}

/* ─── CATALOG PAGE ─── */
.page-content {
  margin-top: var(--header-h);
  min-height: 60vh;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  padding: 48px 24px 36px;
  color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 0 24px 60px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px 20px;
  cursor: pointer;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
  position: relative;
}

.product-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.product-card__header {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .4s ease;
}

.product-card:hover img { transform: scale(1.04); }

.product-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 50%;
  color: #ccc;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.product-card__fav svg { width: 14px; height: 14px; display: block; flex-shrink: 0; }

.product-card__fav:hover {
  background: #fff;
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.product-card__fav.active {
  color: #ff6b6b;
  background: #fff;
  border-color: #ff6b6b;
}

.product-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card__desc {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 260px;
}

.product-card__price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-card__btn {
  display: inline-block;
  padding: 9px 24px;
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s, background .2s;
}

.product-card:hover .product-card__btn { opacity: 1; transform: translateY(0); }
.product-card__btn:hover { background: #222; }

/* ─── CART PAGE ─── */
.cart-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.cart-items { margin-bottom: 32px; }

.cart-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.cart-item__img { width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.cart-item__name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-item__price { font-size: 12px; margin-top: 4px; }
.cart-item__info { flex: 1; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-right: 12px; }
.cart-item__qty button { width: 28px; height: 28px; border: 1px solid rgba(0,0,0,.2); background: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cart-item__qty button:hover { background: #000; color: #fff; }
.cart-item__qty span { font-size: 14px; min-width: 20px; text-align: center; }
.cart-item__remove { background: none; border: none; cursor: pointer; font-size: 18px; opacity: .5; transition: opacity .2s; }
.cart-item__remove:hover { opacity: 1; }

.cart-total {
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.cart-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin-left: auto; }
.cart-form input {
  padding: 12px 14px;
  border: 1px solid var(--black);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  width: 100%;
  border-radius: var(--radius);
}

.btn-submit {
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover { background: #222; }

.cart-empty { text-align: center; padding: 80px 24px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); }

/* ─── CONTACTS PAGE ─── */
.contacts-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.contacts-page h1 { font-size: 11px; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 40px; }
.contacts-page p { font-size: 13px; line-height: 2; color: var(--gray); margin-bottom: 8px; }
.contacts-page a { color: var(--black); border-bottom: 1px solid; }

/* ─── SEARCH PAGE ─── */
.search-page { max-width: 700px; margin: 0 auto; padding: 60px 24px; }
.search-page h1 { font-size: 11px; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 32px; text-align: center; }
.search-input-wrap { display: flex; gap: 0; border: 1px solid var(--black); }
.search-input-wrap input { flex: 1; padding: 14px 16px; border: none; outline: none; font-family: inherit; font-size: 13px; }
.search-input-wrap button { padding: 14px 24px; background: var(--black); color: var(--white); border: none; cursor: pointer; font-family: inherit; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.search-results { margin-top: 32px; }

/* ─── ACCOUNT PAGE ─── */
.account-page { max-width: 480px; margin: 0 auto; padding: 60px 24px; text-align: center; }
@media (max-width: 640px) {
  .account-page { padding-top: 100px; }
}
.account-page h1 { font-size: 11px; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 40px; }

/* ─── LOOKBOOK ─── */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.lookbook-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ─── SUCCESS ─── */
.form-success {
  display: none;
  padding: 20px;
  background: #f0f0f0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero__title { font-size: 70px; }
  .gallery__grid { grid-template-rows: 260px 260px; }
}

@media (max-width: 768px) {
  .hero__title { font-size: 44px; }
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery__tile--big, .gallery__tile--small1, .gallery__tile--small2 { grid-column: 1; grid-row: auto; }
  .gallery__tile { aspect-ratio: 4/3; }
  .gallery__tile img { height: 100%; }
  .lookbook-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 540px) {
  .header-compact .site-header { left: 8px; right: 8px; }
  .header-nav a { font-size: 8px; padding: 3px 7px; letter-spacing: .14em; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 34px; }
  .bottom-menu { height: 180px; bottom: 24px; padding: 0 16px; width: min(96vw, 640px); border-radius: 20px; }
  .bm-burger { width: 72px; height: 72px; }
  .bm-search { width: 72px; height: 72px; }
  .bm-user   { width: 72px; height: 72px; }
  .bm-cart   { width: 72px; height: 72px; }
  .site-footer { padding-bottom: 220px; }
  .header-nav a { font-size: 7px; padding: 3px 5px; letter-spacing: .10em; }
  .header-nav .sec-nav__sep { display: none; }
}

@media (max-width: 640px) {
  .bm-icon { width: 38px; height: 38px; }
  .bm-center img, .bm-center video { width: 90px; height: 90px; }
}

/* ─── VIDEO / GIF CENTER NAV ─── */
.bm-center video,
.bm-center img {
  width: 74px; height: 74px;
  object-fit: cover; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .25s, box-shadow .25s;
}
.bm-center:hover video,
.bm-center:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255,255,255,.22);
}
@media (max-width: 640px) {
  .bm-center video,
  .bm-center img { width: 62px; height: 62px; }
}

/* ─── PRODUCT POPUP ─── */
.product-popup {
  display: none;
  position: fixed; inset: 0; z-index: 99999;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.85);
}
.product-popup.open { display: flex; }
.product-popup__inner {
  position: relative; display: flex;
  background: #fff; max-width: 900px;
  width: 92vw; max-height: 90vh; overflow: hidden;
  border-radius: var(--radius);
}
.product-popup__close {
  position: absolute; top: 12px; right: 16px;
  font-size: 28px; background: none; border: none;
  cursor: pointer; z-index: 2; line-height: 1; color: #000;
}
.product-popup__slider {
  position: relative; width: 55%; flex-shrink: 0;
  background: #f5f5f5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.product-popup__img-wrap {
  width: 100%; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-popup__img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-popup__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.15); border: none; color: #fff;
  font-size: 36px; width: 40px; height: 60px;
  cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; line-height: 1;
}
.product-popup__arrow:hover { background: rgba(0,0,0,.4); }
.product-popup__prev { left: 0; }
.product-popup__next { right: 0; }
.product-popup__dots {
  position: absolute; bottom: 12px;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px;
}
.product-popup__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,.22); cursor: pointer;
  transition: background .2s;
}
.product-popup__dot.active { background: #000; }
.product-popup__info {
  flex: 1; padding: 52px 36px 36px;
  display: flex; flex-direction: column; overflow-y: auto;
}
.product-popup__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px; line-height: 1.3;
}
.product-popup__desc {
  font-size: 12px; color: #808080;
  line-height: 1.7; margin-bottom: 20px; flex: 1;
}
.product-popup__price {
  font-family: Georgia, serif;
  font-size: 24px; font-weight: 700; margin-bottom: 24px;
}
.product-popup__btn {
  padding: 14px 32px; background: #000; color: #fff;
  font-size: 9px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .2s; align-self: flex-start;
}
.product-popup__btn:hover { background: #222; }
.popup-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 16px;
  background: none;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 8px;
  color: #aaa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.popup-fav-btn:hover, .popup-fav-btn.active {
  border-color: #ff6b6b;
  color: #ff6b6b;
}
.popup-fav-btn.active svg { fill: #ff6b6b; stroke: #ff6b6b; }
@media (max-width: 640px) {
  .product-popup__inner { flex-direction: column; max-height: 95vh; overflow-y: auto; }
  .product-popup__slider { width: 100%; }
  .product-popup__info { padding: 24px 20px 20px; }
  .product-popup__name { font-size: 16px; }
}

/* ─── TG POPUP ─── */
.tg-popup {
  display: none; position: fixed; inset: 0;
  z-index: 99998; align-items: center; justify-content: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tg-popup.open { display: flex; }
.tg-popup__box {
  position: relative;
  background: rgba(18,18,22,.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  max-width: 400px; width: 90vw;
  padding: 52px 36px 36px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  border-radius: var(--radius);
}
.tg-popup__close {
  position: absolute; top: 12px; right: 16px;
  font-size: 24px; background: none; border: none;
  cursor: pointer; color: rgba(255,255,255,.45); line-height: 1;
  transition: color .2s;
}
.tg-popup__close:hover { color: #fff; }
.tg-popup__title {
  font-family: 'Tagesschrift', 'Montserrat', Arial, sans-serif;
  font-size: 19px; font-weight: 700; letter-spacing: .06em;
  color: #fff; text-transform: uppercase;
}
.tg-popup__text { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 290px; }
.tg-popup__btn {
  display: block; padding: 13px 32px;
  background: #229ED9; color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, box-shadow .2s; width: 100%; text-align: center;
  border: none; border-radius: 2px;
}
.tg-popup__btn:hover { background: #1a8bbf; box-shadow: 0 4px 18px rgba(34,158,217,.35); }
.tg-popup__skip {
  font-size: 10px; color: rgba(255,255,255,.35);
  letter-spacing: .15em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  transition: color .2s;
}
.tg-popup__skip:hover { color: rgba(255,255,255,.75); }

/* ─── ORDER CARD ─── */
.order-card {
  border: 1px solid rgba(0,0,0,.1);
  padding: 16px 20px; margin-bottom: 12px;
}
.order-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.order-card__date { font-size: 11px; color: #808080; margin-bottom: 4px; }
.order-card__total { font-family: Georgia, serif; font-size: 16px; font-weight: 700; }
.order-status { font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 3px 8px; }
.order-status--pending { background: #fff3cd; color: #856404; }
.order-status--paid { background: #d1e7dd; color: #0f5132; }
.order-status--shipped { background: #cff4fc; color: #055160; }
.order-status--done { background: #d3d3d3; color: #333; }
.auth-error { color: #ff4a4a; font-size: 11px; min-height: 16px; }

/* ─── LOOKBOOK HERO ─── */
.lookbook-hero {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  cursor: default;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lookbook-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.lookbook-hero-link { cursor: pointer; }
.lookbook-hero-link:hover .lookbook-hero img { transform: scale(1.02); }
.lookbook-hero__label {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px; letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  white-space: nowrap;
  background: rgba(255,255,255,.7);
  padding: 5px 14px;
  backdrop-filter: blur(4px);
}

.lookbook-hero-link {
  display: block;
  text-decoration: none;
}
.lookbook-hero__cta {
  position: absolute;
  bottom: 24px;
  right: 28px;
  color: rgba(255,255,255,.85);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  background: rgba(0,0,0,.35);
  padding: 8px 16px;
  backdrop-filter: blur(6px);
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
  pointer-events: auto;
}
.lookbook-hero-link:hover .lookbook-hero__cta {
  background: rgba(0,0,0,.75);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .lookbook-hero__cta {
    right: 50%;
    bottom: 54px;
    transform: translateX(50%);
    white-space: nowrap;
  }
  .lookbook-hero-link:hover .lookbook-hero__cta {
    transform: translateX(50%) translateY(-2px);
  }
}

/* ─── PRODUCT SIZE PICKER ─── */
.product-popup__sizes {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.size-btn {
  padding: 7px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff; color: #000;
  font-family: inherit; font-size: 10px;
  font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.size-btn:hover { border-color: #000; }
.size-btn.active { background: #000; color: #fff; border-color: #000; }

/* ─── FOOTER LEGAL ─── */
.site-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0;
}
.site-footer__company {
  font-size: 10px; color: rgba(255,255,255,.38);
  letter-spacing: .08em; margin-bottom: 12px;
}
.site-footer__links {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.site-footer__links a {
  font-size: 9px; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-decoration: underline;
  text-transform: uppercase; transition: color .2s;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__links span { color: rgba(255,255,255,.25); font-size: 10px; }
.site-footer__contact {
  font-size: 10px; color: rgba(255,255,255,.38); letter-spacing: .08em;
  margin-top: 4px;
}
.footer-doc-link {
  font-size: 10px; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.footer-doc-link:hover { color: #fff; }
.footer-reviews-link {
  font-size: 10px; color: rgba(255,255,255,.55);
  letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; margin-top: 6px; transition: color .2s;
}
.footer-reviews-link:hover { color: #fff; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.1);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__text {
  flex: 1; min-width: 200px;
  font-size: 11px; color: #555; line-height: 1.6;
}
.cookie-banner__text a { color: #000; text-decoration: underline; }
.cookie-banner__btn {
  padding: 10px 24px;
  background: #000; color: #fff;
  font-family: inherit; font-size: 9px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.cookie-banner__btn:hover { background: #222; }

/* ─── NAV SEARCH ─── */
.sec-nav__search-btn {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 6px 16px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  transition: color .25s;
}
.sec-nav__search-btn::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: .5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.sec-nav__search-btn:hover { color: var(--white); }
.sec-nav__search-btn:hover::after { transform: scaleX(1); }

.sec-nav__search-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 560px;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 0 8px 0 24px;
  transform: translateX(101%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 6;
  border-left: 1px solid rgba(255,255,255,.12);
}
.sec-nav__search-overlay.open { transform: translateX(0); }

.sec-nav__search-overlay input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 6px 2px;
  outline: none;
}
.sec-nav__search-overlay input::placeholder { color: rgba(255,255,255,.38); }

.sec-nav__search-close {
  color: rgba(255,255,255,.6);
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 0 16px;
  line-height: 1;
  transition: color .2s;
  flex-shrink: 0;
}
.sec-nav__search-close:hover { color: #fff; }

/* ─── NAV SEARCH DROPDOWN ─── */
.nav-search-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0,0,0,.14);
  border-top: 1px solid rgba(0,0,0,.06);
  z-index: 9990;
  max-height: 380px;
  overflow-y: auto;
}
.nav-search-drop.open { display: block; }

.nav-search-drop__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  color: #000;
  transition: background .15s;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-search-drop__item:last-child { border-bottom: none; }
.nav-search-drop__item:hover { background: #f6f6f6; }
.nav-search-drop__item img { width: 52px; height: 52px; object-fit: cover; flex-shrink: 0; }
.nav-search-drop__info { display: flex; flex-direction: column; gap: 4px; }
.nav-search-drop__name { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.nav-search-drop__price { font-size: 11px; color: #808080; font-family: Georgia, serif; }
.nav-search-drop__empty { padding: 22px; text-align: center; font-size: 11px; color: #808080; letter-spacing: .15em; text-transform: uppercase; }

/* ─── GHOST BUTTON (catalog CTA inside hero) ─── */
.catalog-cta {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.btn-ghost {
  display: inline-block;
  padding: 13px 44px;
  border: 1.5px solid rgba(255,255,255,.65);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-radius: 28px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}
.btn-ghost:active {
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── CATALOG BANNER ─── */
.catalog-banner {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  max-height: 65vh;
  display: block;
}
.catalog-banner img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.catalog-banner:hover img { transform: scale(1.02); }

/* ─── MERCH HERO VIDEO ─── */
.merch-hero-video {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  max-height: 70vh;
  margin-top: var(--header-h);
}
.merch-hero-video video {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

/* ─── MERCH GIF CALLOUT ─── */
.merch-callout {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  max-height: 70vh;
  display: block;
}
.merch-callout img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

/* ─── PROMO CODE ─── */
.promo-section {
  max-width: 480px;
  margin-left: auto;
  margin-bottom: 20px;
}
.promo-input-row {
  display: flex;
  gap: 0;
}
.promo-input-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--black);
  border-right: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  outline: none;
  background: #fff;
}
.promo-input-row input::placeholder { text-transform: none; letter-spacing: 0; }
.promo-input-row button {
  padding: 11px 20px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.promo-input-row button:hover { background: #333; }
.promo-msg { font-size: 11px; margin-top: 7px; letter-spacing: .06em; min-height: 16px; }
.promo-msg.ok { color: #2d7d2d; }
.promo-msg.err { color: #c0392b; }
.cart-discount { text-align: right; font-size: 13px; color: #2d7d2d; margin-bottom: 8px; }

/* ─── SEARCH POPUP ─── */
.search-popup {
  display: none;
  position: fixed; inset: 0;
  z-index: 100001;
  background: rgba(0,0,0,.60);
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-popup.open { display: flex; }
.search-popup__inner {
  width: min(680px, 96vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: rgba(15,15,15,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.search-popup__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.search-popup__bar svg { flex-shrink: 0; color: rgba(255,255,255,.4); }
.search-popup__input {
  flex: 1;
  background: none; border: none;
  color: #fff; font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
}
.search-popup__input::placeholder { color: rgba(255,255,255,.3); }
.search-popup__close {
  background: none; border: none;
  color: rgba(255,255,255,.5);
  font-size: 26px; cursor: pointer;
  line-height: 1; padding: 0;
  transition: color .2s;
}
.search-popup__close:hover { color: #fff; }
.search-popup__results { overflow-y: auto; }
.search-popup__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  transition: background .15s;
}
.search-popup__item:hover { background: rgba(255,255,255,.05); }
.search-popup__item img { width: 52px; height: 52px; object-fit: cover; flex-shrink: 0; }
.search-popup__item-info { display: flex; flex-direction: column; gap: 3px; }
.search-popup__item-name { font-size: 13px; font-weight: 600; }
.search-popup__item-price { font-size: 11px; color: rgba(255,255,255,.5); }
.search-popup__empty { padding: 32px 20px; text-align: center; color: rgba(255,255,255,.35); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ─── CART POPUP — центральный стеклянный модал ─── */
@keyframes cartPopupIn {
  from { opacity: 0; transform: scale(.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cart-popup {
  display: none;
  position: fixed; inset: 0;
  z-index: 100002;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}
.cart-popup.open { display: flex; }
.cart-popup__box {
  width: min(480px, 94vw);
  max-height: 82vh;
  background: rgba(12,12,12,.82);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  overflow: hidden;
  color: #fff;
  animation: cartPopupIn .28s cubic-bezier(.4,0,.2,1);
}
.cart-popup__head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.cart-popup__title { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #fff; }
.cart-popup__close { background: none; border: none; font-size: 26px; cursor: pointer; color: rgba(255,255,255,.45); line-height: 1; transition: color .2s; }
.cart-popup__close:hover { color: #fff; }
.cart-popup__items { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-popup__empty { padding: 60px 0; text-align: center; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.cart-popup__item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.cart-popup__item-img { width: 60px; height: 60px; object-fit: cover; flex-shrink: 0; border-radius: 4px; }
.cart-popup__item-info { flex: 1; }
.cart-popup__item-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; color: #fff; }
.cart-popup__item-price { font-size: 11px; color: rgba(255,255,255,.55); }
.cart-popup__item-qty { display: flex; align-items: center; gap: 6px; }
.cart-popup__item-qty button { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .15s; }
.cart-popup__item-qty button:hover { background: rgba(255,255,255,.18); }
.cart-popup__item-qty span { font-size: 13px; min-width: 18px; text-align: center; color: #fff; }
.cart-popup__item-del { background: none; border: none; font-size: 18px; color: rgba(255,255,255,.25); cursor: pointer; transition: color .2s; }
.cart-popup__item-del:hover { color: rgba(255,255,255,.9); }
.cart-popup__footer { padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.cart-popup__total { font-family: Georgia, serif; font-size: 20px; font-weight: 700; color: #fff; }
.cart-popup__checkout { display: block; text-align: center; padding: 14px; background: rgba(255,255,255,.12); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); transition: background .2s, border-color .2s; }
.cart-popup__checkout:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.cart-popup__to-catalog { font-size: 11px; color: rgba(255,255,255,.45); text-align: center; border-bottom: 1px solid rgba(255,255,255,.2); width: fit-content; margin: 0 auto; }

/* ── Account popup ─────────────────────────────────── */
@keyframes accPopupIn {
  from { opacity:0; transform:scale(.96) translateY(10px); }
  to   { opacity:1; transform:scale(1)   translateY(0); }
}
.account-popup { position:fixed; inset:0; z-index:9000; background:rgba(0,0,0,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); display:none; justify-content:center; align-items:center; padding-top:var(--header-h); }
.account-popup.open { display:flex; }
.account-popup__box { width:min(420px,94vw); max-height:calc(100vh - var(--header-h) - 40px); background:rgba(12,12,12,.82); backdrop-filter:blur(28px) saturate(160%); -webkit-backdrop-filter:blur(28px) saturate(160%); border:1px solid rgba(255,255,255,.10); border-radius:var(--radius); display:flex; flex-direction:column; overflow:hidden; color:#fff; animation:accPopupIn .25s cubic-bezier(.4,0,.2,1); }
.account-popup__head { display:flex; align-items:center; justify-content:space-between; padding:20px 24px 18px; border-bottom:1px solid rgba(255,255,255,.08); flex-shrink:0; }
.account-popup__title { font-size:10px; font-weight:700; letter-spacing:.3em; text-transform:uppercase; color:#fff; }
.account-popup__close { background:none; border:none; font-size:26px; cursor:pointer; color:rgba(255,255,255,.45); line-height:1; transition:color .2s; }
.account-popup__close:hover { color:#fff; }
.account-popup__body { flex:1; overflow-y:auto; padding:24px; display:flex; flex-direction:column; gap:16px; }
.account-popup__tabs { display:flex; gap:0; border-bottom:1px solid rgba(255,255,255,.10); margin-bottom:16px; }
.acc-tab { padding:8px 16px; font-size:9px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; cursor:pointer; border:none; background:none; color:rgba(255,255,255,.45); border-bottom:2px solid transparent; transition:border-color .2s, color .2s; font-family:inherit; }
.acc-tab.active { border-bottom-color:#fff; color:#fff; }
.acc-panel { display:none; }
.acc-panel.active { display:block; }
.account-popup__form { display:flex; flex-direction:column; gap:10px; }
.account-popup__form input { padding:11px 13px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); color:#fff; font-family:inherit; font-size:13px; outline:none; border-radius:8px; transition:border-color .2s; }
.account-popup__form input::placeholder { color:rgba(255,255,255,.3); }
.account-popup__form input:focus { border-color:rgba(255,255,255,.45); }
.acc-error { font-size:11px; color:#ff6b6b; min-height:16px; }
.acc-submit { padding:13px; background:rgba(255,255,255,.12); color:#fff; font-size:9px; font-weight:700; letter-spacing:.25em; text-transform:uppercase; border:1px solid rgba(255,255,255,.25); border-radius:var(--radius); cursor:pointer; font-family:inherit; transition:background .2s, border-color .2s; width:100%; }
.acc-submit:hover { background:rgba(255,255,255,.22); border-color:rgba(255,255,255,.5); }
.account-popup__profile { padding-bottom:16px; border-bottom:1px solid rgba(255,255,255,.08); }
.acc-profile-name { font-size:16px; font-weight:700; margin-bottom:2px; color:#fff; }
.acc-profile-email { font-size:12px; color:rgba(255,255,255,.5); }
.account-popup__links { display:flex; flex-direction:column; gap:8px; }
.acc-link { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.7); border-bottom:1px solid rgba(255,255,255,.15); padding-bottom:4px; display:block; transition:color .2s; }
.acc-link:hover { color:#fff; }
.acc-logout { background:rgba(255,255,255,.08); color:rgba(255,255,255,.6); padding:11px 20px; font-size:9px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; border:1px solid rgba(255,255,255,.15); border-radius:var(--radius); cursor:pointer; font-family:inherit; transition:background .2s; margin-top:8px; width:100%; }
.acc-logout:hover { background:rgba(255,255,255,.18); color:#fff; }

/* ── Size chart button + lightbox ───────────────── */
.btn-size-chart { display:inline-flex; align-items:center; gap:6px; padding:10px 18px; background:none; border:1px solid rgba(0,0,0,.25); font-size:9px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; cursor:pointer; font-family:inherit; transition:background .2s, border-color .2s; margin-bottom:4px; }
.btn-size-chart:hover { background:rgba(0,0,0,.05); border-color:#000; }
.size-chart-lightbox { position:fixed; inset:0; z-index:200000; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; cursor:zoom-out; }
.size-chart-lightbox.open { display:flex; }
.size-chart-lightbox img { max-width:92vw; max-height:90vh; object-fit:contain; pointer-events:none; }
.size-chart-lightbox__close { position:absolute; top:16px; right:20px; background:none; border:none; color:#fff; font-size:36px; cursor:pointer; line-height:1; z-index:1; opacity:.75; transition:opacity .2s; }
.size-chart-lightbox__close:hover { opacity:1; }

/* ── CDEK widget ─────────────────────────────────── */
.btn-cdek { display:block; width:100%; padding:12px; background:#00A651; color:#fff; font-size:9px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; border:none; cursor:pointer; font-family:inherit; transition:background .2s; text-align:center; }
.btn-cdek:hover { background:#007a3d; }
.cdek-modal { position:fixed; inset:0; z-index:9500; background:rgba(0,0,0,.6); display:none; align-items:center; justify-content:center; }
.cdek-modal.open { display:flex; }
.cdek-modal__inner { position:relative; width:min(900px,96vw); height:min(600px,90vh); background:#fff; border-radius: var(--radius); overflow: hidden; }
.cdek-modal__close { position:absolute; top:8px; right:12px; z-index:10; background:rgba(255,255,255,.9); border:none; font-size:24px; cursor:pointer; width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:50%; transition:background .2s; }
.cdek-modal__close:hover { background:#fff; }
.cart-popup__to-catalog { font-size: 11px; color: #808080; text-align: center; border-bottom: 1px solid #808080; width: fit-content; margin: 0 auto; }

/* ─── РАЗМЕРЫ — OOS (out of stock) ─────────────────────────────────────────── */
.size-btn--oos {
  color: #bbb;
  border-color: #e0e0e0;
  background: #fafafa;
  text-decoration: line-through;
  cursor: pointer;
  position: relative;
}
.size-btn--oos::after {
  content: 'нет';
  position: absolute;
  top: -7px;
  right: -3px;
  font-size: 7px;
  letter-spacing: .04em;
  color: #aaa;
  background: #fff;
  padding: 0 2px;
  text-decoration: none;
}
.size-btn--oos.active {
  border-color: #f0c040;
  color: #c8951a;
  background: #fffdf0;
}

/* ─── КНОПКА ПРЕДЗАКАЗА ──────────────────────────────────────────────────── */
.btn--preorder {
  background: #1a1a1a !important;
  color: #f0c040 !important;
  border-color: #f0c040 !important;
}
.preorder-badge {
  display: inline-block;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #f0c040;
  color: #000;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
}
