*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
:root {
  --white: #fff;
  --bg: #f3f3f3;
  --ink: #1a1a1a;
  --ink2: #444;
  --sub: #777;
  --border: #e0e0e0;
  --blue: #f9c31f;      /* акцент — жёлтый Electro */
  --blue-h: #e6b000;    /* hover — чуть темнее */
  --blue-pale: #fef9e7; /* бледно-жёлтый фон */
  --blue-text: #1a1a1a; /* текст на жёлтом фоне */
  --red: #e53935;
  --green: #2e7d32;
  --orange: #f9c31f;
  --header-top: #1a1a1a; /* тёмная шапка */
  --sidebar-w: 280px;
  --radius: 3px;
  --shadow: 0 1px 4px rgba(0,0,0,.08);
  --shadow-h: 0 4px 16px rgba(0,0,0,.14);
}
body { font-family: 'Montserrat', Arial, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; font-weight: 400; }
a { text-decoration: none; color: inherit; }
button { font-family: 'Montserrat', Arial, sans-serif; }

/* ─── TOP CONTACT BAR ─── */
.top-bar {
  background: var(--blue);
  color: rgba(255,255,255,.95);
  font-size: 12px;
  padding: 7px 0;
}
.top-bar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.top-contacts { display: flex; gap: 20px; }
.top-contacts span { display: flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; }
.top-right { color: rgba(0,0,0,.6); font-size: 12px; }

/* ─── MAIN HEADER ─── */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 300;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  height: 70px; display: flex; align-items: center; gap: 20px;
}
.logo { flex-shrink: 0; }
.logo-mark { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; font-family: 'Montserrat', Arial, sans-serif; }
.logo-mark em { color: var(--blue); font-style: normal; }
.logo-mark .logo-i { color: var(--ink); }

/* SEARCH BAR */
.search-bar { flex: 1; min-width: 0; max-width: 580px; display: flex; height: 42px; border: 2px solid #ddd; border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.search-input { flex: 1; border: none; padding: 0 14px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; color: var(--ink); outline: none; }
.search-input::placeholder { color: #aaa; }
.search-submit { background: var(--blue); border: none; color: white; padding: 0 18px; cursor: pointer; font-size: 17px; transition: background .15s; }
.search-submit:hover { background: var(--blue-h); color: var(--ink); }

/* HEADER RIGHT */
.header-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.h-contact-block { margin-right: 12px; }
.h-phone { font-size: 15px; font-weight: 700; color: var(--ink); }
.h-contact-sub { font-size: 11px; color: var(--sub); }
.h-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; cursor: pointer; padding: 6px 12px;
  color: var(--ink); transition: color .15s; position: relative;
  font-size: 11px; font-weight: 500;
}
.h-icon-btn:hover { color: var(--blue); }
.h-icon { font-size: 20px; line-height: 1; }
.h-badge {
  position: absolute; top: 2px; right: 8px;
  background: var(--blue); color: white;
  border-radius: 50%; width: 16px; height: 16px;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.h-badge.hidden { display: none; }
.cart-icon-btn { color: var(--blue); }

/* ─── LAYOUT ─── */
.layout-wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px 60px; display: flex; gap: 20px; align-items: flex-start; }

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky; top: 80px;
  max-height: calc(100vh - 100px);
  display: flex; flex-direction: column;
}
.sidebar-head {
  background: var(--ink);
  color: var(--blue); font-size: 13px; font-weight: 700;
  padding: 14px 16px; display: flex; align-items: center; gap: 8px;
  letter-spacing: .04em; text-transform: uppercase;
  flex-shrink: 0;
}
.sidebar-head .menu-icon { font-size: 16px; }
.sidebar-cats-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1;
  /* Custom thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sidebar-cats-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-cats-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-cats-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.sidebar-cat {
  white-space: normal;
  word-break: break-word;
  text-align: left;
  font-size: 11px;
  padding: 6px 10px;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 13px; font-weight: 500; color: var(--ink2);
  cursor: pointer; border: none; background: none; width: 100%;
  border-bottom: 1px solid var(--border); transition: background .12s, color .12s;
  text-align: left; font-family: 'Montserrat', Arial, sans-serif;
}
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover { background: var(--blue-pale); color: var(--ink); }
.sidebar-cat.active { background: var(--blue-pale); color: var(--blue-text); font-weight: 700; border-left: 3px solid var(--blue); }
.sidebar-cat .sc-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-cat .sc-count { margin-left: auto; flex-shrink: 0; white-space: nowrap; font-size: 10px; font-weight: 600; color: var(--sub); background: var(--bg); border-radius: 10px; padding: 1px 6px; }
.sidebar-cat.active .sc-count { background: var(--blue); color: var(--ink); }

/* ─── MAIN CONTENT ─── */
.main-col { flex: 1; min-width: 0; }

/* HERO BANNER */
.hero {
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  height: 320px;        /* фиксированная высота */
  min-height: unset;
  border: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #eef1f5 0%, #e2e8f0 100%);
  flex-shrink: 0;
}

/* Full-bleed background layers (used only when custom bg image is set) */
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity .7s ease, transform 5s ease;
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}
.hero-bg-img.active { opacity: 1; transform: scale(1.0); z-index: 1; }

/* fallback bg */
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #eef1f5 0%, #e2e8f0 100%); z-index: 0; }

/* Left: text card */
.hero-content {
  position: relative; z-index: 3;
  padding: 36px 40px;
  flex: 0 0 520px;
  max-width: 60%;
  min-width: 0;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: opacity .4s ease, transform .4s ease;
  box-sizing: border-box;
  background: var(--white);
}
/* Frosted glass — applied when hero has a full-bleed background image */
.hero.has-bg .hero-content {
  padding: 28px 32px;
  margin: 28px 36px;
  width: auto;
  max-width: 420px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.hero-content.transitioning { opacity: 0; transform: translateY(8px); }

/* Right: product image panel */
.hero-img-panel {
  flex: 1;
  min-width: 50%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity .6s ease, transform .5s ease;
  opacity: 0;
  transform: scale(.97);
  padding: 0;
}
.hero-img-panel img.img-ready { opacity: 1; transform: scale(1); }
.hero-img-panel .hero-placeholder {
  font-size: 5rem;
  opacity: .15;
}

.hero-overlay { display: none; }
.hero-visual { display: none; }
.hero::after { display: none; }
.hero-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px; flex-shrink: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.hero-title {
  font-size: 22px; font-weight: 700; line-height: 1.25;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif; letter-spacing: -.2px;
  color: var(--ink);
  flex-shrink: 0;
  overflow: hidden;
  text-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 16px rgba(255,255,255,.9), 1px 1px 0 rgba(255,255,255,.8), -1px -1px 0 rgba(255,255,255,.8);
}
.hero-sub {
  font-size: 12px; color: var(--ink2);
  margin-bottom: 10px;
  line-height: 1.5; font-weight: 400;
  height: calc(12px * 1.5 * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex-shrink: 0;
  text-shadow: 0 0 6px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,1);
}
.hero-dot { width:8px;height:8px;border-radius:50%;background:rgba(0,0,0,.2);cursor:pointer;transition:background .2s,transform .2s; }
.hero-dot.active { background:var(--blue); transform:scale(1.3); box-shadow: 0 0 0 2px rgba(249,195,31,.4); }
.hero-btn {
  display: inline-block; background: var(--blue); color: var(--ink);
  border-radius: var(--radius); padding: 10px 24px; font-size: 13px;
  font-weight: 700; border: none; cursor: pointer; transition: background .15s, transform .15s;
  font-family: 'Montserrat', Arial, sans-serif; letter-spacing: .02em;
  border-radius: 3px;
}
.hero-btn:hover { background: var(--blue-h); transform: translateY(-1px); color: var(--ink); }
.hero-btn:hover { background: var(--blue-h); }
.hero-visual { font-size: 7rem; position: relative; z-index: 1; opacity: .85; }

.pm-ad-wrap {
  padding: 8px 16px 12px;
  border-top: 1px solid var(--border);
  background: #fafafa;
  border-radius: 0 0 8px 8px;
}
.pm-ad-label {
  font-size: 10px; color: #bbb; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 8px;
  font-family: Arial, sans-serif;
}
#pm-ad-block {
  display: flex; justify-content: center;
  max-width: 100%; overflow: hidden;
  min-height: 60px;
}

/* ── PM IMAGE ZOOM ── */
.pm-img-col::after {
  content: '🔍';
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.45);
  color: white; font-size: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.pm-img-col:hover::after { opacity: 1; }
@media (max-width: 768px) { .pm-img-col::after { opacity: .7; } }

/* ── AD BLOCK ── */

.topviewed-wrap {
  margin-bottom: 20px;
}
.topviewed-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.topviewed-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--blue); padding-left: 10px;
}
.topviewed-reset {
  font-size: 11px; color: var(--sub); cursor: pointer;
  background: none; border: none; font-family: inherit;
  transition: color .15s;
}
.topviewed-reset:hover { color: var(--ink); }
.topviewed-scroll {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  min-width: 0;
}
@media (max-width: 900px) {
  .topviewed-scroll { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .topviewed-scroll { grid-template-columns: repeat(2, 1fr); }
}
.tv-card {
  width: 100%;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0;
  cursor: pointer; position: relative;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  display: flex; flex-direction: column; overflow: hidden;
}
.tv-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); border-color: var(--blue); }
.tv-wish {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  border-radius: 50%; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.tv-wish:hover { background: #fff0f0; border-color: var(--red); transform: scale(1.15); }
.tv-wish.active { background: #fff0f0; border-color: var(--red); color: var(--red); }
.tv-img {
  width: 100%; height: 110px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; overflow: hidden; flex-shrink: 0;
}
.tv-img img { width: 100%; height: 100%; object-fit: cover; }
.tv-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; }
.tv-name { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tv-price { font-size: 12px; font-weight: 700; color: #1a73e8; }
.tv-time { font-size: 10px; color: var(--sub); }


.cat-tiles-wrap {
  margin-bottom: 24px;
  /* Prevent overflow clipping from parent */
  overflow: hidden;
}
.cat-tiles-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  /* Show thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  /* Smooth momentum scroll on touch */
  -webkit-overflow-scrolling: touch;
  /* Prevent items from shrinking */
  min-width: 0;
}
.cat-tiles-scroll::-webkit-scrollbar { height: 4px; }
.cat-tiles-scroll::-webkit-scrollbar-track { background: transparent; }
.cat-tiles-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.cat-tile {
  flex-shrink: 0; width: 110px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 8px 12px;
  text-align: center; cursor: pointer;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cat-tile:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); border-color: var(--blue); }
.cat-tile.active { border-color: var(--blue); background: var(--blue-pale); }
.ct-img {
  width: 60px; height: 60px; border-radius: 6px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; overflow: hidden;
}
.ct-img img { width: 100%; height: 100%; object-fit: cover; }
.ct-name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ct-count { font-size: 11px; color: var(--sub); }

/* SECTION HEADING */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title {
  font-size: 18px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 0;
  border-left: 4px solid var(--blue); padding-left: 10px;
}
.sort-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); }
.sort-sel {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 5px 10px; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px;
  background: white; color: var(--ink); outline: none; cursor: pointer;
}

/* ─── PRODUCT GRID ─── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }

/* ─── PRODUCT CARD ─── */
.pcard {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; cursor: pointer;
  transition: box-shadow .2s, transform .2s; overflow: hidden; position: relative;
}
.pcard:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }

.pcard-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--red); color: white; font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 3px; letter-spacing: .04em;
}
.pcard-wish {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: white; border: 1px solid var(--border);
  border-radius: 50%; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: background .15s, color .15s;
  opacity: 0; transition: opacity .18s;
}
.pcard:hover .pcard-wish { opacity: 1; }
.pcard-wish:hover { background: var(--red); border-color: var(--red); color: white; }
.pcard-wish.active { color: var(--red); border-color: var(--red); opacity: 1; }

.pcard-img {
  width: 100%; aspect-ratio: 1/1; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-placeholder { font-size: 3rem; opacity: .2; transition: transform .3s; }
.pcard:hover .pcard-placeholder { transform: scale(1.08); }

/* hover add-to-cart strip */
.pcard-add-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--blue); color: white;
  padding: 8px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  transform: translateY(100%); transition: transform .22s;
  cursor: pointer; border: none; font-family: 'Montserrat', Arial, sans-serif;
}
.pcard:hover .pcard-add-strip { transform: translateY(0); }
.pcard-add-strip.added { background: var(--green); color: white; }
.pcard-add-strip:hover { background: var(--blue-h); color: var(--ink); }
.pcard-add-strip.added:hover { background: var(--green); }

.pcard-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard-cat { display: none; }
.pcard-name {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35;
  min-height: calc(13px * 1.35 * 3);
  overflow: hidden;
}
.pcard-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.pcard-price { font-size: 16px; font-weight: 800; color: #1a73e8; }
.pcard-cart-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.pcard-cart-btn {
  background: none; border: 1px solid var(--border);
  border-radius: 50%; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; transition: background .15s, border-color .15s;
}
.pcard-cart-btn:hover { background: var(--blue); border-color: var(--blue); }
.pcard-cart-btn.added { background: var(--green); border-color: var(--green); }

/* ─── SECTION CATEGORY BLOCKS ─── */
.cat-section { margin-bottom: 28px; }
.cat-section-head {
  background: var(--blue); color: white;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 11px 16px; border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 0;
}
.cat-section-grid {
  background: white; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 12px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}

/* ─── EMPTY ─── */
.empty-state { text-align: center; padding: 80px 20px; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.empty-icon { font-size: 56px; opacity: .25; margin-bottom: 16px; }
.empty-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.empty-sub { font-size: 14px; color: var(--sub); max-width: 360px; margin: 0 auto 24px; line-height: 1.6; }
.empty-cta { display: inline-block; background: var(--blue); color: white; border-radius: var(--radius); padding: 12px 28px; font-weight: 700; font-size: 14px; transition: background .15s; }
.empty-cta:hover { background: var(--blue-h); }

/* ─── FLASH SALES BAR ─── */
.flash-bar {
  background: var(--blue); color: var(--ink); font-size: 13px; font-weight: 700;
  padding: 10px 16px; margin-bottom: 16px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  letter-spacing: .04em;
}

/* ─── FOOTER ─── */
footer { background: var(--ink); border-top: 3px solid var(--blue); color: rgba(255,255,255,.5); padding: 24px; font-size: 13px; text-align: center; }
footer a { color: rgba(255,255,255,.5); }
footer a:hover { color: var(--blue); }

/* ─── CART DRAWER ─── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 600; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100vw; background: white; z-index: 601; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: -6px 0 30px rgba(0,0,0,.12); }
.wish-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100vw; background: white; z-index: 601; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: -6px 0 30px rgba(0,0,0,.12); }
.wish-drawer.open { transform: translateX(0); }
.wish-head { background: var(--red); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.wish-head-title { font-size: 15px; font-weight: 700; color: white; }
.wish-head-close { background: rgba(255,255,255,.15); border: none; border-radius: 4px; width: 28px; height: 28px; cursor: pointer; color: white; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.wish-items { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.wish-item { display: flex; gap: 12px; align-items: center; background: #fafafa; border-radius: 10px; padding: 10px 12px; border: 1px solid var(--border); }
.wish-item-img { width: 56px; height: 56px; border-radius: 6px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; overflow: hidden; flex-shrink: 0; }
.wish-item-img img { width: 100%; height: 100%; object-fit: cover; }
.wish-item-info { flex: 1; min-width: 0; }
.wish-item-cat { font-size: 10px; color: var(--sub); text-transform: uppercase; letter-spacing: .04em; }
.wish-item-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; margin: 2px 0 4px; }
.wish-item-price { font-size: 14px; font-weight: 700; color: #1a73e8; }
.wish-item-actions { display: flex; flex-direction: column; gap: 6px; }
.wish-to-cart { background: var(--blue); color: var(--ink); border: none; border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; }
.wish-to-cart:hover { background: var(--blue-h); }
.wish-remove { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--sub); cursor: pointer; font-family: inherit; }
.wish-remove:hover { border-color: var(--red); color: var(--red); }
.wish-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--sub); }
.wish-empty-icon { font-size: 3rem; opacity: .3; }
.wish-foot { padding: 16px 22px; border-top: 1px solid var(--border); }
.wish-add-all { width: 100%; background: var(--blue); color: var(--ink); border: none; border-radius: 8px; padding: 12px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.wish-add-all:hover { background: var(--blue-h); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--blue); }
.cart-head-title { font-size: 15px; font-weight: 700; color: white; }
.cart-head-close { background: rgba(255,255,255,.15); border: none; border-radius: 4px; width: 28px; height: 28px; cursor: pointer; color: white; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cart-head-close:hover { background: rgba(255,255,255,.25); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-empty-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--sub); gap: 8px; font-size: 13px; }
.cart-empty-msg span:first-child { font-size: 3rem; opacity: .2; }
.ci { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 6px; padding: 10px; border: 1px solid var(--border); }
.ci-img { width: 48px; height: 48px; border-radius: 4px; background: white; border: 1px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; overflow: hidden; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-cat { font-size: 11px; color: var(--sub); }
.ci-qty { display: flex; align-items: center; gap: 5px; margin-top: 5px; }
.ci-qty button { width: 20px; height: 20px; border: 1px solid var(--border); background: white; border-radius: 3px; font-weight: 700; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ci-qty button:hover { background: var(--blue); color: white; border-color: var(--blue); }
.ci-qty span { font-size: 12px; font-weight: 700; min-width: 18px; text-align: center; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.ci-price { font-size: 13px; font-weight: 800; color: var(--blue); }
.ci-rm { background: none; border: none; cursor: pointer; color: #ccc; font-size: 14px; transition: color .12s; }
.ci-rm:hover { color: var(--red); }
.cart-foot { padding: 16px 20px 20px; border-top: 2px solid var(--blue); background: var(--white); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; background: var(--bg); border-radius: var(--radius); padding: 10px 14px; }
.cart-total-label { font-size: 13px; color: var(--sub); font-weight: 600; }
.cart-total-val { font-size: 20px; font-weight: 800; color: var(--ink); }
.cart-order-btn {
  width: 100%;
  min-height: 56px;
  background: var(--blue);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: all .15s;
  overflow: hidden;
}
.cart-order-btn:hover { background: var(--blue-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,195,31,.4); }
.cart-order-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.cart-order-btn-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 20px;
}
.cart-order-btn-icon { font-size: 20px; line-height: 1; }
.cart-order-btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.cart-order-btn-title { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.cart-order-btn-sub { font-size: 10px; font-weight: 500; color: rgba(26,26,26,.6); margin-top: 1px; }

/* ─── PRODUCT MODAL ─── */
.pm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 700; display: flex; align-items: flex-start; justify-content: center; padding: 16px 16px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(3px); }
.pm-overlay.open { opacity: 1; pointer-events: all; }
.pm-modal { background: white; border-radius: 8px; max-width: 680px; width: 100%; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.2); transform: scale(.95) translateY(16px); transition: transform .25s cubic-bezier(.34,1.56,.64,1); position: relative; margin: auto 0; }
.pm-overlay.open .pm-modal { transform: scale(1) translateY(0); }

/* Плавающий крестик — всегда в правом верхнем углу экрана, поверх всего */
.pm-close-fixed {
  position: fixed;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #555;
  z-index: 810;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  transition: background .15s, transform .15s;
}
.pm-close-fixed:hover { background: #f0f0f0; transform: scale(1.1); }
.pm-close-fixed:active { transform: scale(.93); }
/* Показываем только когда модалка открыта */
body.pm-open .pm-close-fixed { display: flex; }
.pm-body { display: flex; flex-direction: column; }
.pm-img-col { position: relative; width: 100%; height: 320px; flex-shrink: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 5rem; border-radius: 8px 8px 0 0; overflow: hidden; cursor: zoom-in; transition: height .3s ease; }
.pm-img-col img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pm-info { flex: 1; padding: 24px 20px 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.pm-breadcrumb { font-size: 11px; color: var(--sub); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--blue); }
.pm-name { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.pm-price-row { display: flex; align-items: baseline; gap: 8px; }
.pm-price { font-size: 28px; font-weight: 800; color: var(--blue); }
.pm-instock { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 5px; }
.pm-instock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pm-info-left { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pm-info-right { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.pm-add-btn { background: var(--blue); color: white; border: none; border-radius: var(--radius); padding: 13px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pm-add-btn:hover { background: var(--blue-h); }
.pm-add-btn.added { background: var(--green); }
.pm-desc-wrap { padding: 10px 16px 14px; border-top: 1px solid var(--border); }
.pm-desc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); margin-bottom: 8px; }
.pm-desc-text { font-size: 14px; color: var(--ink2); line-height: 1.7; }

/* ─── ORDER MODAL ─── */
.ord-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 800; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(3px); }
.ord-overlay.open { opacity: 1; pointer-events: all; }
.ord-modal { background: white; border-radius: 8px; max-width: 440px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.2); transform: scale(.95) translateY(12px); transition: transform .25s cubic-bezier(.34,1.56,.64,1); overflow: hidden; }
.ord-overlay.open .ord-modal { transform: scale(1) translateY(0); }
.ord-head { background: var(--blue); padding: 18px 22px; border-radius: 8px 8px 0 0; }
.ord-head h3 { font-size: 16px; font-weight: 700; color: white; }
.ord-head p { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.ord-body { padding: 20px 22px; }
.ord-field { margin-bottom: 12px; }
.ord-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sub); margin-bottom: 5px; }
.ord-field input, .ord-field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 9px 12px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; color: var(--ink); background: var(--bg); outline: none; transition: border-color .15s; resize: vertical; }
.ord-field input:focus, .ord-field textarea:focus { border-color: var(--blue); background: white; }
.ord-actions { display: flex; gap: 10px; margin-top: 16px; }
.ord-cancel { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 11px; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 600; color: var(--sub); cursor: pointer; }
.ord-cancel:hover { background: var(--border); }
.ord-submit { flex: 2; background: var(--blue); color: white; border: none; border-radius: var(--radius); padding: 11px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; }
.ord-submit:hover { background: var(--blue-h); }
.ord-success { text-align: center; padding: 32px 22px; }
.ord-success-icon { font-size: 3rem; margin-bottom: 12px; }
.ord-success h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.ord-success p { font-size: 13px; color: var(--sub); line-height: 1.6; margin-bottom: 18px; }
.ord-success button { background: var(--green); color: white; border: none; border-radius: var(--radius); padding: 12px 28px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ─── TOAST ─── */
#toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: white; padding: 11px 18px; border-radius: 6px; font-size: 13px; font-weight: 500; border-left: 3px solid var(--blue); opacity: 0; transform: translateY(8px); transition: all .22s; z-index: 9999; pointer-events: none; max-width: 300px; }
#toast.show { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
/* ═══════════════════════════════════════
   MOBILE & RESPONSIVE
═══════════════════════════════════════ */

/* ── Tablet (sidebar hides) ── */
@media (max-width: 960px) {
  .sidebar { display: none; }
  .layout-wrap { padding-top: 12px; }
}

/* ── Mobile header tweaks ── */
@media (max-width: 768px) {
  .top-bar { display: none; }
  .h-contact-block { display: none; }
  .h-icon-btn:not(.cart-icon-btn) { display: none; }

  .header-inner {
    height: 56px;
    padding: 0 12px;
    gap: 10px;
  }

  /* Hamburger button — mobile only */
  .mob-menu-btn {
    display: flex !important;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--blue); color: white;
    border: none; border-radius: 6px;
    font-size: 17px; cursor: pointer;
    flex-shrink: 0;
  }

  .search-bar {
    height: 36px;
    border-width: 1.5px;
    font-size: 13px;
  }
  .search-input { font-size: 13px; padding: 0 36px 0 10px; }
  .search-submit { width: 36px; font-size: 14px; }

  .logo-mark { font-size: 20px; }

  .h-icon-btn { padding: 4px 10px; font-size: 10px; }
  .h-icon { font-size: 17px; }

  /* Hero mobile — картинка фоном, текст поверх */
  .hero {
    flex-direction: column;
    height: 260px;
    position: relative;
  }
  .hero-content {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: unset;
    padding: 16px 16px 20px;
    overflow: hidden;
    background: linear-gradient(to top,
      rgba(0,0,0,.65) 0%,
      rgba(0,0,0,.4) 45%,
      rgba(0,0,0,0) 100%
    );
    position: relative;
    z-index: 3;
    justify-content: flex-end;
    align-items: flex-start;
  }
  /* Белый текст поверх тёмного градиента */
  .hero-title { font-size: 18px; color: #fff; -webkit-text-stroke: 0; text-shadow: none; }
  .hero-sub { font-size: 11px; margin-bottom: 8px; color: rgba(255,255,255,.85); text-shadow: none; }
  .hero-label { color: var(--blue); text-shadow: none; }
  #hero-price { color: #fff !important; text-shadow: none; }
  .hero-img-panel {
    position: absolute;
    inset: 0;
    height: 100%;
    min-width: unset;
    min-height: unset;
    width: 100%;
    z-index: 1;
  }
  .hero-img-panel img { max-height: 100%; }
  .hero-sub { font-size: 11px; margin-bottom: 8px; }
  .hero-btn { padding: 8px 16px; font-size: 12px; }
  .hero.has-bg .hero-content { margin: 12px; padding: 16px; width: auto; }

  /* Cat tiles */
  .cat-tile { width: 90px; }
  .ct-img { width: 50px; height: 50px; font-size: 1.6rem; }
  .ct-name { font-size: 11px; }

  /* Products grid */
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pcard-name { font-size: 12px; }
  .pcard-price { font-size: 14px; }
  .page-wrap { padding: 0 10px 80px; } /* bottom padding for mobile nav */

  /* Layout */
  .layout-wrap { padding: 10px 10px 80px; gap: 0; }

  /* Mobile bottom nav bar */
  .mob-bottom-nav { display: flex !important; }
}

@media (max-width: 420px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .pcard-body { padding: 8px 10px 10px; }
  .hero-title { font-size: 22px; }
}

/* ── Mobile drawer overlay ── */
.mob-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 400;
  backdrop-filter: blur(2px);
}
.mob-drawer-overlay.open { display: block; }

/* ── Mobile category drawer ── */
.mob-cat-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 280px; max-width: 85vw;
  background: var(--white);
  z-index: 401;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
.mob-cat-drawer.open { transform: translateX(0); }

.mob-drawer-head {
  background: var(--blue); color: white;
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.mob-drawer-close {
  background: rgba(255,255,255,.2); border: none; border-radius: 6px;
  width: 28px; height: 28px; color: white; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mob-drawer-cats {
  flex: 1; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.mob-drawer-cats::-webkit-scrollbar { width: 4px; }
.mob-drawer-cats::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Mobile bottom navigation ── */
.mob-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 350;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.mob-nav-items {
  display: flex;
  max-width: 480px; margin: 0 auto;
}
.mob-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 8px 4px 10px;
  border: none; background: none;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 500;
  color: var(--sub); cursor: pointer;
  transition: color .15s;
  position: relative;
}
.mob-nav-item:hover, .mob-nav-item.active { color: var(--ink); background: var(--blue-pale); border-radius: 4px; }
.mob-nav-icon { font-size: 20px; line-height: 1; }
.mob-nav-badge {
  position: absolute; top: 6px; right: 22%;
  background: var(--blue); color: var(--ink);
  border-radius: 50%; width: 15px; height: 15px;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mob-nav-badge.hidden { display: none; }

/* ── Hide mob-only elements on desktop ── */
.mob-menu-btn { display: none; }
.mob-bottom-nav { display: none; }

/* ── Modals full-screen on mobile ── */
@media (max-width: 600px) {
  .cart-drawer { width: 100vw; }
  .pm-body { flex-direction: column; }
  .pm-img-col { width: 100%; height: 180px; border-radius: 8px 8px 0 0; cursor: zoom-in; }
  .pm-info { padding: 16px 16px 20px; }
  .pm-desc-wrap { padding: 14px 16px 20px; }
  .ord-modal { border-radius: 16px 16px 0 0; position: fixed; bottom: 0; left: 0; right: 0; }
  .ord-overlay { align-items: flex-end; padding: 0; }
}
/* pm-img-col expanded — картинка перекрывает весь контент модалки */
.pm-img-col.expanded {
  height: 220px;
  cursor: zoom-out;
}
.pm-img-col.expanded::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: zoom-out;
}
.pm-img-expanded-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000;
  z-index: 800;
  cursor: grab;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.pm-img-expanded-overlay.open { display: flex; }
.pm-img-expanded-overlay img {
  height: 100%;
  width: auto;
  max-width: none;
  min-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  margin: 0 auto;
}

/* ── NO-PRICE CARDS (плёнки) ── */
.pcard-noprice { opacity: .92; }
.pcard-noprice:hover { opacity: 1; }
.pcard-no-price-badge {
  display: inline-block;
  background: rgba(0,0,0,.06);
  color: var(--sub);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  margin-top: 4px;
  letter-spacing: .04em;
}

/* ── ДВУХУРОВНЕВЫЙ САЙДБАР ── */
.sidebar-section {
  width: 100%; text-align: left; background: none; border: none;
  padding: 8px 12px 8px 10px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 11px; font-weight: 700; color: var(--ink);
  cursor: pointer; border-radius: 8px;
  transition: background .15s; margin-top: 2px;
  text-transform: uppercase; letter-spacing: .04em;
}
.sidebar-section:hover { background: var(--bg); }
.sidebar-section.open { background: rgba(249,195,31,.12); color: var(--blue); }
.sidebar-section .sc-section-label { flex: 1; white-space: normal; word-break: break-word; line-height: 1.3; font-size: 11px; }
.sidebar-section .sc-arrow { font-size: 10px; color: var(--sub); transition: transform .2s; }
.sidebar-section.open .sc-arrow { transform: rotate(180deg); }

.sidebar-sub-wrap { display: none; padding-left: 4px; }
.sidebar-sub-wrap.open { display: block; }

.sidebar-subcat {
  padding-left: 20px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--sub) !important;
  white-space: normal !important;
  word-break: break-word;
  text-align: left;
  line-height: 1.3;
}
.sidebar-subcat:hover { color: var(--ink) !important; }
.sidebar-subcat.active { color: var(--blue) !important; font-weight: 700 !important; }
.sc-dot { color: var(--muted); margin-right: 2px; font-size: 14px; line-height: 1; }

/* Мобильный drawer секции */
.mob-drawer-section {
  padding: 10px 16px 4px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--sub);
  border-top: 1px solid var(--border); margin-top: 4px;
}
.mob-drawer-section:first-child { border-top: none; margin-top: 0; }
.mob-drawer-subcat { padding-left: 28px !important; font-size: 13px !important; }

/* ── CART PDF BTN & QTY INPUT ── */
.cart-pdf-btn {
  width: 100%; padding: 13px;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--blue); border-radius: var(--radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .15s;
  margin-top: 8px; display: flex;
  align-items: center; justify-content: center; gap: 8px;
}
.cart-pdf-btn:hover { background: var(--blue); color: var(--ink); }
.cart-pdf-btn:disabled { opacity: .4; cursor: default; }

.ci-qty-input {
  width: 44px; text-align: center;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 2px 4px; font-size: 13px; font-weight: 600;
  font-family: inherit; color: var(--ink);
  background: var(--white);
  -moz-appearance: textfield;
}
.ci-qty-input::-webkit-outer-spin-button,
.ci-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ci-qty-input:focus { outline: none; border-color: var(--blue); }

/* ── SIDEBAR FILMS LINK ── */
.sidebar-films-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin-top: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--blue); text-decoration: none;
  border-top: 1px solid var(--border);
  border-radius: 8px;
  transition: background .15s;
}
.sidebar-films-link:hover { background: var(--bg); }

/* ── MOBILE DRAWER SECTIONS ── */
.mob-drawer-section-btn {
  width: 100%; text-align: left; background: none; border: none;
  padding: 11px 16px; display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; font-weight: 700; color: var(--ink);
  cursor: pointer; border-top: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .15s;
}
.mob-drawer-section-btn:first-child { border-top: none; }
.mob-drawer-section-btn:hover { background: var(--bg); }
.mob-drawer-section-btn.open { color: var(--blue); }
.mob-sec-arrow { font-size: 11px; color: var(--sub); transition: transform .2s; }
.mob-drawer-section-btn.open .mob-sec-arrow { transform: rotate(90deg); }
.mob-sub-wrap { display: none; }
.mob-sub-wrap.open { display: block; }

/* ── SHARE BUTTON ── */
.pm-share-btn {
  display: block; width: 100%; margin-top: 8px;
  padding: 10px 16px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px; font-weight: 600; color: var(--sub);
  cursor: pointer; transition: all .15s; text-align: center;
}
.pm-share-btn:hover { border-color: var(--blue); color: var(--ink); background: var(--blue-pale); }
