:root {
  --cream: #fff9f0;
  --paper: #fffdf9;
  --ink: #243049;
  --muted: #6f7483;
  --green: #70aa69;
  --green-dark: #568f52;
  --coral: #d95f4b;
  --blue: #4f83b4;
  --purple: #9562aa;
  --pink: #eea3c8;
  --yellow: #fff08a;
  --line: rgba(36, 48, 73, .10);
  --shadow: 0 24px 80px rgba(69, 54, 86, .12);
  --shadow-soft: 0 14px 40px rgba(69, 54, 86, .09);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: min(1320px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(255,240,138,.45), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(238,163,200,.23), transparent 24rem),
    var(--cream);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 240, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(36,48,73,.06);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(90,73,100,.14);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 17px; letter-spacing: -.02em; }
.brand-copy small { font: 12px/1.2 Arial, sans-serif; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  padding: 12px 15px;
  border-radius: 999px;
  font-size: 14px;
  transition: .2s ease;
}
.header-nav a:hover { background: rgba(255,255,255,.78); }
.header-nav .vk-link { color: #fff; background: var(--blue); padding-inline: 18px; }
.header-nav .vk-link:hover { background: #3f74a5; }
.mobile-menu-btn { display:none; width:44px; height:44px; border:0; background:#fff; border-radius:14px; box-shadow:var(--shadow-soft); }
.mobile-menu-btn span { display:block; width:19px; height:2px; margin:4px auto; border-radius:10px; background:var(--ink); }

.hero {
  min-height: 680px;
  padding-block: 70px 74px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.eyebrow-dot { width: 9px; height: 9px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 6px rgba(217,95,75,.12); }
.hero h1 {
  margin: 18px 0 22px;
  max-width: 720px;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--coral); }
.hero-copy > p {
  max-width: 650px;
  margin: 0;
  font: 18px/1.65 Arial, sans-serif;
  color: var(--muted);
}
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.button {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color:#fff; background:var(--coral); box-shadow:0 13px 28px rgba(217,95,75,.22); }
.button-primary:hover { background:#ca523f; }
.button-ghost { background:rgba(255,255,255,.82); box-shadow:0 10px 28px rgba(69,54,86,.08); border:1px solid rgba(36,48,73,.08); }
.hero-stats {
  margin-top: 38px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats div { display:grid; gap:4px; }
.hero-stats strong { font-size: 23px; letter-spacing:-.03em; }
.hero-stats span { font:12px/1.3 Arial,sans-serif; color:var(--muted); }

.hero-visual { position:relative; }
.hero-banner-wrap {
  overflow:hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  border: 8px solid rgba(255,255,255,.78);
}
.hero-banner-wrap img { width:100%; aspect-ratio: 1818/605; object-fit:cover; }
.hero-note-card {
  position:absolute;
  width:92px; height:92px;
  display:grid; place-items:center;
  border-radius:26px;
  color:#fff;
  font-size:42px;
  font-weight:900;
  box-shadow:0 20px 40px rgba(69,54,86,.16);
  border:5px solid rgba(255,255,255,.72);
}
.hero-note-card-a { right:-22px; top:-48px; background:var(--purple); transform:rotate(9deg); }
.hero-note-card-b { left:-42px; bottom:-52px; background:var(--green); transform:rotate(-9deg); }
.hero-badge {
  position:absolute;
  right:24px;
  bottom:-30px;
  padding:14px 18px;
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  font:14px/1.2 Arial,sans-serif;
}
.hero-badge span { display:block; color:var(--blue); font:bold 27px/1 "Trebuchet MS",sans-serif; }

.feature-strip { border-block:1px solid var(--line); background:rgba(255,255,255,.52); }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); }
.feature-item { display:flex; align-items:center; gap:15px; min-height:104px; padding:20px 30px; border-right:1px solid var(--line); }
.feature-item:last-child { border-right:0; }
.feature-icon { flex:0 0 auto; width:47px; height:47px; display:grid; place-items:center; border-radius:15px; font-size:24px; font-weight:900; }
.feature-green { color:var(--green-dark); background:rgba(112,170,105,.14); }
.feature-coral { color:var(--coral); background:rgba(217,95,75,.12); }
.feature-blue { color:var(--blue); background:rgba(79,131,180,.12); }
.feature-item div { display:grid; gap:4px; }
.feature-item strong { font-size:15px; }
.feature-item small { color:var(--muted); font:13px/1.35 Arial,sans-serif; }

.catalog-section { padding-block: 110px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:34px; margin-bottom:32px; }
.section-heading h2, .about-copy h2 { margin:10px 0 12px; font-size:clamp(36px,4vw,58px); line-height:1.02; letter-spacing:-.045em; }
.section-heading p { margin:0; max-width:720px; color:var(--muted); font:16px/1.6 Arial,sans-serif; }
.catalog-count { flex:0 0 auto; display:grid; gap:4px; text-align:right; }
.catalog-count span { color:var(--coral); font-size:44px; font-weight:900; letter-spacing:-.05em; }
.catalog-count small { color:var(--muted); font:12px Arial,sans-serif; }
.catalog-toolbar { display:grid; grid-template-columns:1fr auto; gap:12px; margin-bottom:18px; }
.search-box {
  height:58px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:0 16px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(69,54,86,.07);
  border:1px solid rgba(36,48,73,.07);
}
.search-box svg { width:22px; height:22px; color:var(--blue); }
.search-box input { width:100%; border:0; outline:0; background:transparent; font:15px Arial,sans-serif; color:var(--ink); }
.search-box input::placeholder { color:#9a9eaa; }
#clear-search { width:34px; height:34px; border:0; background:transparent; border-radius:50%; cursor:pointer; color:#a0a3ac; font-size:24px; }
#clear-search:hover { background:#f6f2ed; color:var(--ink); }
.sort-select { min-width:230px; height:58px; border:1px solid rgba(36,48,73,.07); background:#fff; color:var(--ink); border-radius:18px; padding:0 42px 0 16px; box-shadow:0 10px 30px rgba(69,54,86,.07); outline:none; cursor:pointer; }
.topic-chips { display:flex; flex-wrap:wrap; gap:9px; margin:20px 0 34px; }
.topic-chip { border:1px solid rgba(36,48,73,.09); background:rgba(255,255,255,.66); padding:10px 14px; border-radius:999px; cursor:pointer; color:var(--muted); font-weight:800; font-size:13px; transition:.2s ease; }
.topic-chip:hover { border-color:rgba(79,131,180,.28); color:var(--blue); }
.topic-chip.active { background:var(--ink); color:#fff; border-color:var(--ink); }

.product-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; }
.product-card {
  position:relative;
  min-width:0;
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:#fff;
  border:1px solid rgba(36,48,73,.07);
  box-shadow:0 10px 34px rgba(69,54,86,.06);
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform:translateY(-6px); box-shadow:0 20px 46px rgba(69,54,86,.12); }
.pdf-card-link { display: flex; flex: 1; flex-direction: column; }
.product-card > .favorite-toggle { position: absolute; z-index: 2; top: 9px; right: 9px; width: 38px; height: 38px; }
.product-card:focus-within .product-open { background: var(--blue); color: #fff; }
.product-media { position:relative; overflow:hidden; aspect-ratio: 1 / 1.02; background:#f4f1ec; }
.product-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.product-card:hover .product-media img { transform:scale(1.035); }
.product-media::after { content:""; position:absolute; inset:auto 0 0; height:32%; background:linear-gradient(transparent,rgba(24,25,31,.18)); pointer-events:none; }
.product-badges { position:absolute; left:12px; top:12px; z-index:2; display:flex; flex-wrap:wrap; gap:7px; }
.badge { display:inline-flex; align-items:center; gap:5px; min-height:28px; padding:0 9px; border-radius:999px; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); box-shadow:0 5px 16px rgba(0,0,0,.08); font:bold 11px Arial,sans-serif; }
.badge.video { color:var(--coral); }
.badge.photos { color:var(--blue); }
.product-body { padding:17px 17px 18px; }
.product-title { margin:0; min-height:45px; font-size:17px; line-height:1.3; letter-spacing:-.018em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-meta { margin-top:14px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-price { color:var(--coral); font-size:22px; font-weight:900; letter-spacing:-.04em; white-space:nowrap; }
.product-open { width:38px; height:38px; border-radius:13px; display:grid; place-items:center; background:rgba(79,131,180,.10); color:var(--blue); font-size:19px; transition:.2s ease; }
.product-card:hover .product-open { background:var(--blue); color:#fff; }
.catalog-more-wrap { display:flex; justify-content:center; margin-top:38px; }
.button-more { background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-soft); }
.empty-state { text-align:center; padding:80px 20px; }
.empty-note { width:72px; height:72px; margin:0 auto 18px; display:grid; place-items:center; border-radius:24px; background:rgba(112,170,105,.13); color:var(--green); font-size:34px; }
.empty-state h3 { margin:0 0 8px; font-size:26px; }
.empty-state p { margin:0 0 22px; color:var(--muted); font:15px Arial,sans-serif; }

.about-section { padding-block:110px; background:linear-gradient(135deg, rgba(255,240,138,.48), rgba(238,163,200,.22) 45%, rgba(79,131,180,.12)); }
.about-grid { display:grid; grid-template-columns:.78fr 1.22fr; align-items:center; gap:clamp(42px,7vw,110px); }
.about-logo { position:relative; }
.about-logo::before { content:""; position:absolute; width:120%; aspect-ratio:1; left:-18%; top:-16%; border-radius:50%; background:rgba(255,255,255,.40); filter:blur(4px); }
.about-logo img { position:relative; width:100%; max-width:500px; margin:auto; border-radius:38px; box-shadow:var(--shadow); transform:rotate(-2deg); }
.about-copy > p { max-width:780px; color:var(--muted); font:17px/1.7 Arial,sans-serif; }
.about-points { display:grid; gap:14px; margin:30px 0; }
.about-points div { display:grid; grid-template-columns:54px 1fr; align-items:start; gap:12px; padding:14px; border-radius:18px; background:rgba(255,255,255,.58); border:1px solid rgba(255,255,255,.8); }
.about-points span { width:43px; height:43px; display:grid; place-items:center; border-radius:14px; background:var(--green); color:#fff; font-weight:900; }
.about-points p { margin:6px 0 0; font:15px/1.5 Arial,sans-serif; }

.site-footer { background:#232a3d; color:#fff; padding-block:34px; }
.footer-inner { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:28px; }
.footer-brand { display:flex; align-items:center; gap:11px; font-weight:900; }
.footer-brand img { width:44px; height:44px; object-fit:cover; border-radius:14px; }
.footer-inner p { margin:0; color:rgba(255,255,255,.62); text-align:center; font:12px/1.5 Arial,sans-serif; }
.footer-inner > a:last-child { color:#9bc9ef; font-size:13px; }
.to-top { position:fixed; z-index:30; right:22px; bottom:22px; width:48px; height:48px; border:0; border-radius:16px; background:var(--ink); color:#fff; cursor:pointer; box-shadow:var(--shadow-soft); opacity:0; pointer-events:none; transform:translateY(10px); transition:.2s ease; }
.to-top.visible { opacity:1; pointer-events:auto; transform:none; }

.modal { position:fixed; inset:0; z-index:100; display:none; }
.modal.open { display:block; }
.modal-backdrop { position:absolute; inset:0; background:rgba(22,27,39,.56); backdrop-filter:blur(10px); }
.modal-card {
  position:absolute;
  inset:4vh 50% auto auto;
  transform:translateX(50%);
  width:min(1180px, calc(100vw - 38px));
  max-height:92vh;
  overflow:auto;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  background:var(--paper);
  border-radius:32px;
  box-shadow:0 36px 120px rgba(0,0,0,.28);
}
.modal-close { position:absolute; z-index:5; right:16px; top:16px; width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:14px; background:rgba(255,255,255,.92); box-shadow:0 7px 20px rgba(0,0,0,.10); cursor:pointer; font-size:28px; }
.modal-gallery { min-width:0; padding:18px; background:#f5f1eb; border-radius:32px 0 0 32px; }
.modal-main-media { position:relative; overflow:hidden; min-height:520px; height:calc(92vh - 120px); max-height:720px; display:flex; align-items:center; justify-content:center; border-radius:22px; background:#fff; }
.modal-main-media img { width:100%; height:100%; object-fit:contain; }
.gallery-nav { position:absolute; z-index:2; top:50%; transform:translateY(-50%); width:46px; height:46px; border:0; border-radius:50%; background:rgba(255,255,255,.90); box-shadow:0 6px 20px rgba(0,0,0,.12); cursor:pointer; font-size:31px; }
.gallery-prev { left:12px; }
.gallery-next { right:12px; }
.media-counter { position:absolute; right:13px; bottom:13px; padding:7px 10px; border-radius:999px; color:#fff; background:rgba(35,42,61,.70); backdrop-filter:blur(8px); font:bold 11px Arial,sans-serif; }
.modal-thumbs { display:flex; gap:8px; padding-top:10px; overflow:auto; scrollbar-width:thin; }
.modal-thumb { flex:0 0 68px; width:68px; height:68px; padding:0; overflow:hidden; border-radius:13px; border:2px solid transparent; background:#fff; cursor:pointer; }
.modal-thumb.active { border-color:var(--coral); }
.modal-thumb img { width:100%; height:100%; object-fit:cover; }
.modal-info { padding:46px 42px 38px; min-width:0; }
.modal-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.modal-badges .badge { box-shadow:none; border:1px solid var(--line); background:#fff; }
.modal-info h2 { margin:0; padding-right:30px; font-size:clamp(28px,3.2vw,46px); line-height:1.05; letter-spacing:-.045em; }
.modal-price { margin:18px 0 24px; color:var(--coral); font-size:32px; font-weight:900; letter-spacing:-.05em; }
.modal-description { color:#555d6c; font:15px/1.7 Arial,sans-serif; white-space:pre-line; }
.modal-video-note { margin-top:24px; padding:14px 16px; display:flex; align-items:flex-start; gap:11px; border-radius:16px; background:rgba(217,95,75,.09); color:#894437; }
.modal-video-note span { flex:0 0 auto; width:32px; height:32px; display:grid; place-items:center; border-radius:10px; background:var(--coral); color:#fff; font-size:12px; }
.modal-video-note p { margin:3px 0 0; font:13px/1.45 Arial,sans-serif; }
.modal-actions { display:grid; gap:10px; margin-top:28px; }
.button-wide { width:100%; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.10s; }

@media (max-width: 1120px) {
  .hero { grid-template-columns:1fr; min-height:0; padding-top:52px; }
  .hero-copy { max-width:850px; }
  .hero-visual { max-width:880px; }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .about-grid { grid-template-columns:.9fr 1.1fr; }
}

@media (max-width: 820px) {
  :root { --shell:min(100% - 30px, 720px); }
  .header-inner { min-height:70px; }
  .brand-mark { width:44px; height:44px; border-radius:13px; }
  .brand-copy small { display:none; }
  .header-nav { display:none; position:absolute; top:72px; left:15px; right:15px; padding:10px; border-radius:20px; background:#fff; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; }
  .header-nav.open { display:flex; }
  .header-nav a { text-align:center; }
  .mobile-menu-btn { display:block; }
  .hero { padding-block:42px 64px; gap:56px; }
  .hero h1 { font-size:clamp(43px,11vw,67px); }
  .hero-copy > p { font-size:16px; }
  .hero-note-card { width:72px; height:72px; font-size:32px; border-radius:22px; }
  .hero-note-card-a { right:-6px; top:-40px; }
  .hero-note-card-b { left:-4px; bottom:-44px; }
  .hero-badge { right:10px; bottom:-34px; }
  .feature-grid { grid-template-columns:1fr; padding-block:8px; }
  .feature-item { min-height:84px; border-right:0; border-bottom:1px solid var(--line); padding-inline:4px; }
  .feature-item:last-child { border-bottom:0; }
  .catalog-section { padding-block:80px; }
  .section-heading { align-items:flex-start; }
  .catalog-count { display:none; }
  .catalog-toolbar { grid-template-columns:1fr; }
  .sort-select { width:100%; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .about-grid { grid-template-columns:1fr; }
  .about-logo img { max-width:440px; }
  .footer-inner { grid-template-columns:1fr; text-align:center; justify-items:center; }
  .modal-card { grid-template-columns:1fr; inset:2vh 50% auto auto; max-height:96vh; }
  .modal-gallery { border-radius:32px 32px 0 0; }
  .modal-main-media { min-height:380px; height:55vh; }
  .modal-info { padding:30px 24px 32px; }
}

@media (max-width: 520px) {
  :root { --shell:calc(100vw - 24px); }
  .brand-copy strong { font-size:14px; }
  .hero { padding-top:34px; }
  .hero h1 { font-size:43px; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .button { width:100%; }
  .hero-stats { gap:22px; }
  .hero-banner-wrap { border-width:5px; border-radius:24px; }
  .hero-note-card-a { top:-31px; }
  .hero-note-card-b { bottom:-33px; }
  .hero-badge { position:relative; right:auto; bottom:auto; margin:14px 0 0 auto; width:max-content; }
  .section-heading h2, .about-copy h2 { font-size:38px; }
  .product-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .product-card { border-radius:19px; }
  .product-body { padding:12px; }
  .product-title { min-height:40px; font-size:14px; }
  .product-price { font-size:18px; }
  .product-open { width:32px; height:32px; border-radius:10px; }
  .badge { min-height:24px; padding-inline:7px; font-size:9px; }
  .product-badges { left:8px; top:8px; gap:5px; }
  .topic-chips { flex-wrap:nowrap; overflow:auto; padding-bottom:4px; scrollbar-width:none; }
  .topic-chips::-webkit-scrollbar { display:none; }
  .topic-chip { white-space:nowrap; }
  .about-section { padding-block:75px; }
  .modal-card { width:100vw; inset:0; transform:none; max-height:100vh; height:100vh; border-radius:0; }
  .modal-gallery { border-radius:0; padding:10px; }
  .modal-main-media { min-height:330px; height:48vh; border-radius:16px; }
  .modal-close { right:10px; top:10px; }
  .modal-info { padding:24px 18px 30px; }
  .modal-info h2 { font-size:30px; }
  .gallery-nav { width:40px; height:40px; }
}
.pdf-print-promo { display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 40px; margin-bottom: 18px; border-radius: 24px; overflow: hidden; background: #e8edcc; color: #242a3d; }
.print-promo-copy { padding: clamp(20px,4vw,47px); }
.print-promo-copy h2 { font-size: clamp(1.7rem,3.8vw,3rem); letter-spacing: -.05em; line-height: 1.03; margin: 10px 0; }
.print-promo-copy p { margin: 8px 0 18px; }
.print-promo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.print-promo-photos { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 190px; overflow: hidden; }
.print-promo-photos img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
@media (max-width: 735px) {
  .pdf-print-promo { grid-template-columns: 1fr; }
  .print-promo-photos { height: clamp(185px,42vw,295px); }
}
