/* PrintSheets — warm, friendly theme for young parents */
:root {
  --pink: #ff6b9d;
  --pink-dark: #ec4f86;
  --violet: #8b6dff;
  --violet-dark: #7253f0;
  --sun: #ffc94d;
  --mint: #36d6a8;
  --ink: #3d2e42;
  --muted: #8a7d90;
  --cream: #fff7f3;
  --card: #ffffff;
  --line: #f0e6ee;
  --shadow: 0 10px 30px rgba(157, 95, 130, .12);
  --shadow-sm: 0 4px 14px rgba(157, 95, 130, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(1100px 500px at 12% -8%, #ffe3ef 0%, transparent 60%),
    radial-gradient(1000px 520px at 96% 4%, #e9e2ff 0%, transparent 55%),
    var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, .brand-name { font-weight: 800; letter-spacing: -.01em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }
.center { text-align: center; }
.section-sub { color: var(--muted); margin: -.6rem 0 1.4rem; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.brand-logo { font-size: 1.5rem; }
.brand-name { font-size: 1.35rem; font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-tag { color: var(--muted); font-size: .8rem; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-links { display: flex; gap: 1.1rem; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink); padding: .3rem .2rem; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--pink-dark); border-color: var(--pink); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  background: #f3edf5; border-radius: 999px; padding: .38rem .8rem; font-weight: 800; font-size: .82rem;
  color: var(--ink); user-select: none; transition: background .15s ease; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: #ece0f0; }
.lang-menu .flag { font-size: 1.1rem; line-height: 1; }
.lang-menu .caret { color: var(--muted); font-size: .65rem; transition: transform .18s ease; }
.lang-menu[open] .caret { transform: rotate(180deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + .5rem); list-style: none; min-width: 184px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: .4rem; z-index: 60; animation: pop .14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu li a { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .92rem; padding: .5rem .7rem; border-radius: 11px; }
.lang-menu li a:hover { background: #faf0f6; }
.lang-menu li a.on { background: linear-gradient(135deg, #ffe1ec, #efe6ff); color: var(--pink-dark); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; margin: 1.2rem clamp(.6rem,3vw,1.4rem) 0;
  border-radius: 30px; padding: clamp(2.4rem, 7vw, 4.6rem) 1.2rem clamp(2.6rem, 6vw, 4rem);
  background: linear-gradient(135deg, #fff0f6 0%, #f1ecff 100%);
  border: 1px solid #fbe4ef; text-align: center; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 900; line-height: 1.12; }
.hero-sub { font-size: clamp(1rem, 2.4vw, 1.18rem); color: #6b5d70; margin: 1rem auto 1.6rem; max-width: 600px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1.6rem; }
.hero-badges span { background: rgba(255,255,255,.75); border: 1px solid #f4dcec; color: #6b5d70;
  font-weight: 700; font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 1; }
.hero-blob-1 { width: 220px; height: 220px; background: #ffd0e3; top: -60px; left: -50px; }
.hero-blob-2 { width: 260px; height: 260px; background: #d9cfff; bottom: -90px; right: -60px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet));
  padding: .7rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 107, 157, .35); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 107, 157, .45); }
.btn-lg { font-size: 1.05rem; padding: .85rem 1.9rem; }
.btn-secondary { background: linear-gradient(135deg, #7c6bff, #b06bff); box-shadow: 0 8px 20px rgba(139,109,255,.35); }
.btn-ghost { background: #fff; color: var(--pink-dark); border: 2px solid #ffd5e5; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--pink); }

/* ── Sections ── */
section { margin-bottom: clamp(2.4rem, 6vw, 3.6rem); }
.types, .featured { margin-top: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 1.3rem; }

/* ── Category cards ── */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.cat-card { background: var(--card); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.7rem;
  border-radius: 16px; margin-bottom: .8rem; }
.cat-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.cat-card p { color: var(--muted); font-size: .92rem; }
.cat-1 .cat-icon { background: #ffe1ec; } .cat-2 .cat-icon { background: #e2f7ef; }
.cat-3 .cat-icon { background: #ede6ff; } .cat-4 .cat-icon { background: #fff0d6; }
.cat-5 .cat-icon { background: #e1f0ff; } .cat-6 .cat-icon { background: #fff0f0; }

/* ── Pack cards ── */
.grid-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.pack-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease; }
.pack-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pack-thumb { position: relative; aspect-ratio: 1 / 1.18; background: #faf5f9; overflow: hidden; }
.pack-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.badge-free { position: absolute; top: .6rem; left: .6rem; background: var(--mint); color: #064b38;
  font-weight: 800; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pack-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pack-body h3 { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.pack-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 900; color: var(--pink-dark); font-size: 1.02rem; }
.pack-go { font-weight: 800; font-size: .82rem; color: var(--violet); }

/* ── Chips / meta ── */
.meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { font-size: .72rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px;
  background: linear-gradient(135deg, #ffe1ec, #efe6ff); color: #7a5a78; }
.chip-soft { background: #f4eef6; color: var(--muted); font-weight: 700; }

/* ── Filters ── */
.page-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 1.6rem 0 1.2rem; }
.page-title .count { color: var(--muted); font-weight: 700; font-size: 1rem; }

/* Filter bar — details-based dropdowns */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1.6rem; }
.filter-menu { position: relative; }
.filter-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem .95rem;
  font-family: var(--font); font-weight: 700; font-size: .88rem;
  color: var(--ink); user-select: none;
  box-shadow: var(--shadow-sm); transition: background .15s ease, border-color .15s ease;
}
.filter-menu summary::-webkit-details-marker { display: none; }
.filter-menu summary:hover { background: #faf0f6; border-color: var(--pink); }
.filter-menu .caret { color: var(--muted); font-size: .65rem; transition: transform .18s ease; }
.filter-menu[open] .caret { transform: rotate(180deg); }
.filter-menu[open] summary { border-color: var(--pink); background: #faf0f6; }
.filter-menu ul {
  position: absolute; left: 0; top: calc(100% + .45rem);
  list-style: none; min-width: 180px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: .4rem; z-index: 55; animation: pop .14s ease;
  max-height: 270px; overflow-y: auto;
}
.filter-menu li a {
  display: flex; align-items: center; gap: .5rem; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .88rem;
  padding: .42rem .7rem; border-radius: 10px; white-space: nowrap;
}
.filter-menu li a:hover { background: #faf0f6; }
.filter-menu li a.on { background: linear-gradient(135deg, #ffe1ec, #efe6ff); color: var(--pink-dark); font-weight: 800; }
.filter-active { color: var(--pink-dark); font-weight: 800; }
.filter-reset { color: var(--muted); font-weight: 700; text-decoration: none; font-size: .88rem; margin-left: .2rem; }
.filter-reset:hover { color: var(--pink-dark); }

/* ── Pack detail ── */
.back { display: inline-block; margin: 1.4rem 0 1rem; color: var(--muted); text-decoration: none; font-weight: 700; }
.back:hover { color: var(--pink-dark); }
.pack-detail { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.pack-preview-lg { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: block; }
.pack-detail-info h1 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: .9rem; line-height: 1.2; }
.pack-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.pack-description { color: #5f5364; margin-bottom: 1.5rem; }
.buy-section { border-top: 1px dashed var(--line); padding-top: 1.3rem; }
.price-big { font-size: 1.9rem; font-weight: 900; color: var(--pink-dark); margin-bottom: 1rem; }
.price-usd { font-size: 1.1rem; color: var(--muted); font-weight: 700; }
.buy-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.coming-soon { color: var(--muted); font-style: italic; }

/* ── Misc ── */
.empty { color: var(--muted); font-size: 1.1rem; padding: 2rem 0; }
.empty a { color: var(--pink-dark); font-weight: 800; }
footer { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.foot-brand { font-weight: 900; }
.foot-links { margin-top: .45rem; }
.foot-links a { color: var(--muted); text-decoration: underline; }
.foot-links a:hover { color: var(--pink-dark); }

/* ── Legal / contacts / feedback ── */
.legal { max-width: 760px; padding-top: 1.5rem; padding-bottom: 2.5rem; }
.legal h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: .4rem 0 1rem; }
.legal h2 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { color: #5f5364; }
.legal a { color: var(--pink-dark); }
.legal ul:not(.requisites) { padding-left: 1.2rem; margin: .4rem 0; }
.muted-note { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.requisites { list-style: none; padding: 1rem 1.2rem; margin: .5rem 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.requisites li { color: var(--ink); padding: .15rem 0; }
.feedback-form { display: flex; flex-direction: column; gap: .85rem; max-width: 480px; margin-top: 1rem; }
.feedback-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--ink); }
.feedback-form .opt { color: var(--muted); font-weight: 600; }
.feedback-form input, .feedback-form textarea { font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.feedback-form input:focus, .feedback-form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px #ffe1ec; }
.feedback-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feedback-form button { align-self: flex-start; }
.form-ok { background: #e2f7ef; color: #064b38; border: 1px solid #b6ead7; padding: .8rem 1rem;
  border-radius: 12px; font-weight: 700; margin-bottom: 1.2rem; }

@media (max-width: 640px) {
  .navbar { gap: .5rem; padding: .55rem .8rem; }
  .brand-tag { display: none; }
  .brand-logo { font-size: 1.25rem; }
  .brand-name { font-size: 1.05rem; }
  .nav-right { gap: .55rem; }
  .nav-links { gap: .7rem; font-size: .9rem; }
  .lang-menu summary { padding: .32rem .55rem; font-size: .76rem; gap: .25rem; }
  .lang-menu .flag { font-size: .95rem; }
  .pack-detail { grid-template-columns: 1fr; }
  .pack-detail-media { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 380px) {
  /* очень узкие экраны: убираем «Главная» (бренд-логотип = домой), оставляем «Каталог» */
  .nav-links li:first-child { display: none; }
}
