/* Шарени Нишки — основен стил */

:root {
  --bg: #fbf7f1;
  --sand: #f3ebdf;
  --card: #ffffff;
  --ink: #2a211b;
  --muted: #6b5e52;
  --line: #e7dccd;
  --accent: #b4532a;
  --accent-dark: #93421f;
  --teal: #2f5d62;
  --teal-dark: #21464a;
  --gold: #c9a25b;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(60, 38, 20, .22);
  --shadow-lg: 0 22px 50px -18px rgba(60, 38, 20, .35);
  --font-head: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }

/* ---------- бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: 13px 28px; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(147, 66, 31, .7); }
.btn:active { transform: none; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.btn.light { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn.light:hover { background: var(--sand); border-color: var(--sand); color: var(--teal-dark); box-shadow: none; }
.btn.sm { padding: 9px 18px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- хедър ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(251, 247, 241, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(60, 38, 20, .35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: 0; }
.brand:hover { color: var(--ink); }
.brand .logo-mark { height: 48px; width: auto; flex: none; }
.footer .brand .logo-mark { background: var(--bg); border-radius: 12px; padding: 5px 7px; height: 56px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a.link:hover::after, .nav a.link.active::after { transform: scaleX(1); }
.nav a.link:hover { color: var(--accent); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .92rem; transition: background .2s; }
.cart-btn:hover { background: var(--accent); }
.cart-btn .count { background: var(--accent); color: #fff; min-width: 22px; height: 22px; border-radius: 11px; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.cart-btn:hover .count { background: #fff; color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; font-size: 1.15rem; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- херо ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 85% 10%, rgba(201, 162, 91, .16), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(47, 93, 98, .09), transparent 60%),
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(180, 83, 42, .045) 46px 48px), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 96px); min-height: min(720px, calc(100vh - var(--header-h))); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-bottom: 22px; }
.hero h1 em { display: block; font-style: italic; color: var(--accent); font-weight: 700; margin-top: .08em; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 14px 30px; color: var(--muted); font-size: .94rem; font-weight: 500; }
.hero .trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero .trust i { color: var(--teal); }
.hero-visual { position: relative; justify-self: center; width: min(430px, 100%); }
.hero-visual .frame { position: relative; border-radius: 240px 240px 26px 26px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); background: var(--sand); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: 240px 240px 26px 26px; z-index: -1; }
.hero-badge { position: absolute; left: -26px; bottom: 44px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.35; max-width: 250px; }
.hero-badge i { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--accent); display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; }

/* ---------- ленти / стойности ---------- */
.values { background: var(--teal-dark); color: #fff; }
.values ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.values li { display: flex; align-items: center; gap: 16px; padding: 26px 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.values li:first-child { border-left: 0; }
.values i { font-size: 1.5rem; color: var(--gold); width: 32px; text-align: center; flex: none; }
.values strong { display: block; font-size: 1rem; line-height: 1.3; }
.values span { font-size: .86rem; opacity: .8; line-height: 1.4; display: block; }

/* ---------- секции ---------- */
section.block { padding-block: clamp(64px, 9vw, 112px); }
section.block.sand { background: var(--sand); }
.head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.head .eyebrow { justify-content: center; }
.head .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--accent); }

/* за нас */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about .photo { position: relative; }
.about .photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about .photo::after { content: ""; position: absolute; width: 140px; height: 140px; right: -24px; bottom: -24px; background: repeating-linear-gradient(45deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .45; border-radius: var(--radius); z-index: -1; }
.about h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.about p { color: var(--muted); }
.ticks { margin: 22px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks i { color: #fff; background: var(--teal); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; flex: none; margin-top: 3px; }

/* филтри */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* карти */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 26px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.06); }
.card .tagline { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--teal-dark); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.card .ribbon { position: absolute; right: 14px; top: 14px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.card .meta i { color: var(--teal); margin-right: 6px; }
.card .price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.price small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.card .media[data-open] { cursor: zoom-in; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 40px 0; }

/* магазин — допълнения */
.count-badge { position: absolute; right: 12px; bottom: 12px; background: rgba(30, 20, 12, .72); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.price.ask { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted); }
.card .more { margin: 0 0 16px; }
.card .more ul { margin: 0 16px 14px; padding-left: 18px; list-style: disc; font-size: .9rem; color: #3d332b; }
.card .more li { margin-bottom: 4px; }
.card .media[data-open] .ribbon { background: var(--teal); }

/* курсове — големи карти */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 28px; align-items: stretch; }
.courses:has(details[open]) { align-items: start; }
.card.course .media { aspect-ratio: 16 / 10; }
.card.course.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.card.course .body { padding: 24px 26px 26px; }
.card.course h3 { font-size: 1.4rem; }
.card.course p.lead { font-family: var(--font-head); font-style: italic; font-size: 1.02rem; color: var(--accent-dark); line-height: 1.45; margin-bottom: 12px; flex: 0; }
.card.course p { flex: 0 0 auto; }
.facts { display: grid; gap: 10px; margin: 6px 0 18px; padding: 16px 0; border-block: 1px solid var(--line); font-size: .93rem; }
.facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.facts i { color: var(--teal); width: 18px; text-align: center; margin-top: 3px; flex: none; }
.more { margin-bottom: 20px; background: var(--sand); border-radius: 14px; }
.more summary { cursor: pointer; list-style: none; padding: 13px 18px; font-weight: 600; font-size: .94rem; color: var(--teal-dark); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .7rem; transition: transform .25s; }
.more[open] summary::after { transform: rotate(180deg); }
.more h4 { font-family: var(--font-body); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 4px 18px 8px; }
.more ul { margin: 0 18px 14px; padding-left: 18px; list-style: disc; font-size: .93rem; color: #3d332b; }
.more li { margin-bottom: 5px; }
.more .small { margin: 0 18px 16px; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.card.course .price-row { margin-top: auto; padding-top: 4px; align-items: flex-end; }
.price .incl, .incl { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.deposit { margin: 12px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; margin: 44px auto 0; padding: 20px 28px; background: #fff; border: 1px dashed var(--accent); border-radius: var(--radius); max-width: 760px; text-align: center; }
.callout strong { font-family: var(--font-head); font-size: 1.15rem; }

/* детски рождени дни */
.card .media.kid { aspect-ratio: 16 / 9; background: var(--sand); }
.card.course .media.kid img { object-fit: cover; }
.media.kid.iconic { display: grid; place-items: center; }
.media.kid.iconic i { font-size: 3.4rem; color: rgba(255, 255, 255, .95); text-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.media.kid.t1 { background: linear-gradient(135deg, #c96f3f, #b4532a); }
.media.kid.t2 { background: linear-gradient(135deg, #3f7378, #2f5d62); }
.media.kid.t3 { background: linear-gradient(135deg, #d7b370, #c9a25b); }
.custom { display: flex; align-items: center; gap: 28px; margin: 36px auto 0; padding: 30px 34px; background: #fff; border: 1.5px dashed var(--accent); border-radius: var(--radius); max-width: 980px; }
.custom .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--sand); color: var(--accent); display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.custom .txt { flex: 1; }
.custom h3 { font-size: 1.4rem; margin-bottom: 6px; }
.custom p { color: var(--muted); margin-bottom: 10px; }
.custom .small { font-size: .88rem; margin: 12px 0 0; }
.ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.idea { border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 7px 16px; font-size: .92rem; font-weight: 500; transition: all .2s; }
.idea:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) { .custom { flex-direction: column; align-items: flex-start; padding: 24px; } .custom .btn { width: 100%; } }
.kids-note { max-width: 760px; margin: 44px auto 0; padding: 26px 30px; background: var(--sand); border-radius: var(--radius); text-align: center; }
.kids-note p { margin: 0 0 8px; color: #3d332b; }
.kids-note .fa-info-circle { color: var(--accent); margin-right: 6px; }
.kids-note .kids-contact { margin-top: 16px; font-family: var(--font-head); font-size: 1.1rem; }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 6px; }
.phones a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; text-decoration: none; color: var(--ink); transition: all .2s; }
.phones a i { color: var(--accent); }
.phones a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* галерия */
.masonry { columns: 3 280px; column-gap: 22px; }
.masonry figure { margin: 0 0 22px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); box-shadow: var(--shadow); }
.masonry img { width: 100%; height: auto; transition: transform .6s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(30, 20, 12, .78)); color: #fff; font-weight: 600; font-size: .95rem; opacity: 0; transform: translateY(8px); transition: all .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }
.masonry button.open { all: unset; display: block; width: 100%; cursor: zoom-in; }

.gallery-empty { column-span: all; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; color: var(--muted); }
.gallery-empty i { font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 14px; }
.gallery-empty p { max-width: 460px; margin: 0 auto 20px; }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 13, 8, .92); display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 76vh; max-width: min(1100px, 100%); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lightbox .cap { color: #fff; text-align: center; display: grid; gap: 12px; justify-items: center; }
.lightbox .cap strong { font-family: var(--font-head); font-size: 1.15rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }

/* курсове */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; margin-top: 56px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.panel h3 { font-size: 1.5rem; }
.panel > p { color: var(--muted); }

/* форми */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 93, 98, .15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #e8f3ee; color: #1d5a43; font-weight: 500; font-size: .94rem; display: none; }
.form-status.show { display: block; }

/* видео */
.video-card .media { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); display: grid; place-items: center; cursor: pointer; }
.video-card .play { width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s; }
.video-card:hover .play { transform: scale(1.1); }
.video-card .soon { position: absolute; right: 14px; top: 14px; background: rgba(255, 255, 255, .18); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* услуги */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s, box-shadow .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--sand); color: var(--accent); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 18px; }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--muted); font-size: .96rem; margin: 0; }
.process { margin-top: 64px; background: var(--teal-dark); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 56px); }
.process h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--teal-dark); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.steps span { opacity: .82; font-size: .94rem; line-height: 1.55; display: block; }
.process .cta { text-align: center; margin-top: 36px; }

/* въпроси */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #dccbb4; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; color: var(--accent); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* контакти */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 22px; margin: 28px 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--accent); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.info-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* футър */
.footer { background: var(--teal-dark); color: rgba(255, 255, 255, .86); padding: 72px 0 28px; font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand svg { color: var(--gold); }
.footer li { margin-bottom: 9px; }
.footer .socials a { background: rgba(255, 255, 255, .12); }
.footer .socials a:hover { background: var(--gold); color: var(--teal-dark); }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .86rem; opacity: .75; }

/* кошница */
.overlay { position: fixed; inset: 0; background: rgba(20, 13, 8, .5); backdrop-filter: blur(2px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--bg); z-index: 100; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .25); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { margin: 0; font-size: 1.4rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.drawer { overflow-y: auto; overscroll-behavior: contain; }
.drawer header { position: sticky; top: 0; z-index: 2; background: var(--bg); }
.cart-items { flex: 1 0 auto; padding: 8px 24px; }
.checkout { margin-top: auto; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.cart-empty i { font-size: 2.6rem; color: var(--line); display: block; margin-bottom: 16px; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 68px; height: 68px; object-fit: cover; border-radius: 12px; }
.line .t { font-weight: 600; line-height: 1.3; font-size: .96rem; }
.line .p { color: var(--muted); font-size: .88rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: .7rem; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.line .sum { font-weight: 700; font-family: var(--font-head); }
.checkout { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.checkout .total { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 4px; }
.checkout input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.checkout input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 93, 98, .15); }
.checkout small { color: var(--muted); font-size: .8rem; line-height: 1.5; }

/* тост, нагоре */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s; z-index: 150; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--gold); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s; z-index: 70; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-dark); }

/* страници с правна информация */
.page-hero { background: var(--sand); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 8px; }
.page-hero p { color: var(--muted); margin: 0; }
.prose { padding: 56px 0 88px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose p, .prose li { color: #3d332b; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* появяване при скрол */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- адаптивност ---------- */
@media (max-width: 1020px) {
  .values ul { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(3) { border-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .split, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) and (min-width: 961px) { .nav { gap: 16px; } .nav a.link { font-size: .88rem; } .brand span { font-size: 1.2rem; } .cart-btn { padding: 9px 14px; } }
@media (max-width: 960px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 30px; transform: translateX(100%); transition: transform .3s; overflow: auto; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav a.link { padding: 18px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a.link::after { display: none; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-visual { order: -1; width: min(320px, 78%); }
  .hero-badge { left: -10px; bottom: 22px; }
  .about { grid-template-columns: 1fr; }
  .about .photo { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .values ul { grid-template-columns: 1fr; }
  .values li { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 8px; }
  .values li:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .cart-btn .label { display: none; }
  .cart-btn { padding: 10px 14px; }
  .brand { font-size: 1.15rem; }
  .brand .logo-mark { height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .header, .drawer, .overlay, .to-top, .toast { display: none !important; } }

/* школа по занаяти */
.school-topics { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 8px; }
.school-topics .service { padding: 24px 20px; text-align: center; }
.school-topics .service .ico { margin: 0 auto 14px; }
.school-topics .service h3 { font-size: 1.02rem; margin: 0; line-height: 1.35; }
.school-split { margin-top: 36px; }
.panel.summer { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.panel.summer h3 { color: #fff; }
.panel.summer p { color: rgba(255, 255, 255, .86); }
.panel.summer .eyebrow { color: var(--gold); }
.panel.summer .eyebrow::before { background: var(--gold); }
.panel.summer .form-note { color: rgba(255, 255, 255, .7); }
.panel.summer .btn.ghost { color: #fff; border-color: #fff; }
.panel.summer .btn.ghost:hover { background: #fff; color: var(--teal-dark); }

.video-note { display: flex; gap: 10px; align-items: flex-start; background: #e8f3ee; color: #1d5a43; border-radius: 12px; padding: 10px 14px; font-size: .88rem; font-weight: 500; line-height: 1.45; margin: 0 0 14px; flex: 0 0 auto; }
.video-note i { margin-top: 2px; font-size: 1rem; }

@media (max-width: 1400px) and (min-width: 961px) { .nav { gap: 14px; } .nav a.link { font-size: .85rem; } .brand span { font-size: 1.2rem; } .cart-btn .label { display: none; } .cart-btn { padding: 9px 14px; } }

/* обучение за преподаватели */
.teachers { margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }
.teachers .t-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.teachers .t-head .eyebrow { justify-content: center; }
.teachers .t-head h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.teachers .t-head p { color: var(--muted); margin: 0; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.t-item { background: var(--sand); border-radius: 18px; padding: 24px 22px; }
.t-item .ico { width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px; }
.t-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.t-item p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.t-foot { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.t-foot p { margin: 0; color: #3d332b; max-width: 720px; font-size: .96rem; }

/* школа — допълнения и събития */
.school-lead { text-align: center; max-width: 720px; margin: -24px auto 36px; font-size: 1.12rem; color: var(--muted); }
.school-more { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.school-more .panel p { color: #3d332b; }
@media (max-width: 760px) { .school-more { grid-template-columns: 1fr; } }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-bottom: 40px; }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.event .when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--accent); }
.event .when span { color: var(--muted); font-size: .92rem; }
.event h3 { font-size: 1.3rem; margin: 0; }
.event p { margin: 0; color: #3d332b; font-size: .96rem; }
.event .where { color: var(--muted); }
.event .price-line { font-weight: 700; color: var(--teal-dark); }
.event .btn { align-self: flex-start; margin-top: 6px; }
.events-empty { grid-column: 1 / -1; text-align: center; background: var(--sand); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; }
.events-empty i { font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 12px; }
.events-empty h3 { margin-bottom: 8px; }
.events-empty p { max-width: 520px; margin: 0 auto; color: var(--muted); }
.event-form { max-width: 760px; margin: 0 auto; }
.event-form .form-intro { color: var(--muted); }

.ev-actions { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 8px; }
.ev-link { font-size: .9rem; font-weight: 600; }

/* изделия по поръчка */
.mto{margin:.6rem 0 .2rem;padding:.7rem .85rem;border-radius:12px;background:var(--sand, #f6efe4);border:1px dashed rgba(201,111,63,.45);font-size:.88rem;line-height:1.45}
.mto p{margin:0}
.mto-lead{color:var(--accent,#c96f3f)}
.mto-lead i{margin-right:.25rem}
.mto-note{margin-top:.3rem!important;opacity:.85}
.mto-banner{display:flex;gap:.9rem;align-items:flex-start;max-width:820px;margin:0 auto 1.6rem;padding:1rem 1.2rem;border-radius:14px;background:#fff;border:1px solid rgba(201,111,63,.3);box-shadow:0 4px 18px rgba(60,40,20,.06)}
.mto-banner i{color:var(--accent,#c96f3f);font-size:1.3rem;margin-top:.2rem}
.mto-banner p{margin:0;line-height:1.55}

/* водещ на курсовете */
.trainer{display:flex;gap:.8rem;align-items:center;justify-content:center;max-width:760px;margin:0 auto 1.8rem;padding:.9rem 1.2rem;border-radius:14px;background:#fff;border:1px solid rgba(201,111,63,.3)}
.trainer i{color:var(--accent,#c96f3f);font-size:1.4rem}
.trainer p{margin:0;line-height:1.5}
/* архив събития */
.events-archive{max-width:820px;margin:1.6rem auto 0}
.events-archive[hidden]{display:none}
.events-archive details{background:#fff;border:1px solid rgba(60,40,20,.12);border-radius:14px;padding:.4rem 1rem}
.events-archive summary{cursor:pointer;padding:.6rem 0;font-weight:700;list-style:none}
.events-archive summary i{color:var(--accent,#c96f3f);margin-right:.4rem}
.events-archive ul{list-style:none;margin:0;padding:0 0 .6rem}
.events-archive li{display:flex;flex-wrap:wrap;gap:.2rem .8rem;padding:.55rem 0;border-top:1px solid rgba(60,40,20,.08);align-items:baseline}
.events-archive .a-date{opacity:.7;font-size:.9rem;min-width:11rem}
.events-archive .a-place{opacity:.65;font-size:.85rem}

/* снимки на курсисти */
.course-photos{margin:3.2rem 0 3rem}
.course-photos .cp-head{text-align:center;max-width:680px;margin:0 auto 1.8rem}
.course-photos .cp-head h3{margin:.3rem 0 .5rem}
.course-photos .cp-head p{margin:0;opacity:.85}

/* промоция за двама */
.duo{margin:1rem 0 .4rem;padding:.9rem 1rem;border-radius:14px;background:var(--sand,#f6efe4);border:1px dashed rgba(201,111,63,.55)}
.duo p{margin:0 0 .6rem;font-size:.92rem;line-height:1.5}
.duo .duo-title{font-weight:700;color:var(--accent,#c96f3f);font-size:1rem;margin-bottom:.4rem}
.duo .duo-title i{margin-right:.3rem}
.duo .duo-title s{opacity:.55;font-weight:500;margin-left:.3rem}

/* детски работилници със снимки */
.card .media.kid:not(.iconic){aspect-ratio:4/3}
.media.kid[data-kopen]{cursor:zoom-in}
.idea-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:1rem 0 .6rem;max-width:680px}
.idea-photos figure{margin:0;position:relative;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:var(--sand)}
.idea-photos button.open{all:unset;display:block;width:100%;cursor:zoom-in}
.idea-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.idea-photos figcaption{position:absolute;inset:auto 0 0 0;padding:22px 10px 8px;background:linear-gradient(transparent,rgba(30,20,12,.7));color:#fff;font-weight:600;font-size:.85rem}

/* тема със снимка в школата */
.school-topics .service.has-photo{padding:0;overflow:hidden;display:flex;flex-direction:column;text-align:center}
.school-topics .service.has-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.school-topics .service.has-photo h3{padding:14px 12px 16px;margin:0}

/* покана с фон на стана */
.banner-cta{position:relative;padding:clamp(72px,10vw,130px) 0;background-size:cover;background-position:center 35%;background-repeat:no-repeat;color:#fff;text-align:center}
.banner-cta h2{color:#fff;font-size:clamp(1.9rem,4vw,3rem);margin-bottom:.6em}
.banner-cta p{color:rgba(255,255,255,.92);font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.6;max-width:640px;margin:0 auto 1.6em}
.banner-cta .cta{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.btn.light{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85)}
.btn.light:hover{background:#fff;color:#3a2412}

/* херо с цяла снимка на фон */
.hero.hero-bg .wrap{grid-template-columns:1fr;min-height:min(680px,calc(100vh - var(--header-h)))}
.hero.hero-bg .wrap>div{max-width:660px}
.hero.hero-bg h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.hero.hero-bg h1 em{color:#f6c18e}
.hero.hero-bg .eyebrow{color:#f6c18e}
.hero.hero-bg .eyebrow::before{background:#f6c18e}
.hero.hero-bg p.lead{color:rgba(255,255,255,.93)}
.hero.hero-bg .btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85)}
.hero.hero-bg .btn.ghost:hover{background:#fff;color:#3a2412}
.hero.hero-bg .trust{color:rgba(255,255,255,.92)}
.hero.hero-bg .trust i{color:#f6c18e}
@media (max-width:960px){.hero.hero-bg{background-position:center 40%!important}.hero.hero-bg .wrap{min-height:0}}

/* „За нас“ — широка снимка отгоре, текст отдолу */
#about .about{grid-template-columns:1fr;gap:clamp(28px,4vw,48px);justify-items:center}
#about .about .photo{width:100%;max-width:960px;margin:0 auto}
#about .about .photo::after{display:none}
#about .about .photo img{width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover;object-position:center 40%;border-radius:20px;box-shadow:0 14px 40px rgba(60,40,20,.14)}
#about .about > div:not(.photo){width:100%;max-width:780px}
#about .about .ticks{margin-top:1.4em}
@media (max-width:960px){#about .about .photo{max-width:100%}#about .about .photo img{aspect-ratio:4 / 3;border-radius:16px}}

/* mto-banner v2 */
.mto-banner{display:flex;gap:1.1rem;align-items:flex-start;max-width:860px;margin:0 auto 2rem;padding:1.4rem 1.6rem;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fbf4ea 100%);border:1px solid rgba(201,111,63,.28);box-shadow:0 6px 24px rgba(60,40,20,.07)}
.mto-banner>i{flex:0 0 auto;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(201,111,63,.12);color:var(--accent,#c96f3f);font-size:1.15rem;margin:0}
.mto-text{flex:1;min-width:0}
.mto-text h3{margin:0 0 .45rem;font-size:1.15rem}
.mto-text p{margin:0 0 .6rem;line-height:1.65}
.mto-text .mto-sub{margin:0;font-size:.92rem;opacity:.85;padding-top:.6rem;border-top:1px dashed rgba(201,111,63,.4)}
@media(max-width:560px){.mto-banner{flex-direction:column;gap:.7rem;padding:1.1rem 1.1rem}}

/* mto collapsible */
details.mto{padding:0;margin:.5rem 0 .2rem;font-size:.85rem;background:transparent;border:1px dashed rgba(201,111,63,.4);border-radius:10px}
details.mto summary{list-style:none;cursor:pointer;padding:.45rem .7rem;display:flex;align-items:center;gap:.4rem;color:var(--accent,#c96f3f);font-weight:600}
details.mto summary::-webkit-details-marker{display:none}
details.mto .mto-chev{margin-left:auto;font-size:.7rem;transition:transform .2s}
details.mto[open] .mto-chev{transform:rotate(180deg)}
details.mto .mto-lead,details.mto .mto-note{padding:0 .7rem;margin:0 0 .45rem}
details.mto .mto-note{padding-bottom:.55rem}

/* lightbox note */
.lb-note{margin:.35rem 0 0;font-size:.9rem;color:#cfe9dc;display:flex;align-items:center;gap:.4rem}
.lb-note::before{content:"\f144";font-family:"Font Awesome 5 Free";font-weight:900}

.more .more-desc{margin:0 18px 10px;font-size:.9rem;color:#3d332b;line-height:1.55}

/* product modal */
.card .p-name{cursor:pointer}
.pm{position:fixed;inset:0;z-index:110;background:rgba(20,13,8,.6);display:none;align-items:center;justify-content:center;padding:16px}
.pm.open{display:flex}
.pm-box{position:relative;background:#fff;border-radius:20px;max-width:900px;width:100%;max-height:92vh;overflow:auto;display:grid;grid-template-columns:1.05fr 1fr;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.pm-close{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#3d332b;font-size:1rem;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.pm-media{background:#f6efe4;padding:14px;display:flex;flex-direction:column;gap:10px}
.pm-main{cursor:zoom-in;border-radius:14px;overflow:hidden;background:#fff}
.pm-main img{display:block;width:100%;max-height:60vh;object-fit:contain}
.pm-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.pm-thumbs button{border:2px solid transparent;border-radius:10px;padding:0;width:58px;height:58px;overflow:hidden;cursor:pointer;background:#fff;opacity:.75}
.pm-thumbs button.on{border-color:var(--accent,#c96f3f);opacity:1}
.pm-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.pm-info{padding:26px 26px 24px}
.pm-cat{font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent,#c96f3f);font-weight:700}
.pm-info h3{margin:.3rem 0 .4rem;font-size:1.4rem;line-height:1.25;padding-right:34px}
.pm-price{font-size:1.25rem;font-weight:700;margin-bottom:.8rem}
.pm-desc{margin:0 0 .9rem;line-height:1.65}
.pm-info h4{margin:1rem 0 .4rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--teal-dark,#1d4a45)}
.pm-info ul{margin:0 0 .9rem;padding-left:18px;list-style:disc;font-size:.93rem;line-height:1.55}
.pm-info li{margin-bottom:4px}
.pm-video{display:flex;gap:8px;align-items:center;margin:0 0 .9rem;padding:.55rem .8rem;border-radius:10px;background:#e8f3ee;color:#1d5a43;font-size:.9rem;font-weight:500}
.pm-mto{margin:0 0 1rem;padding:.7rem .9rem;border:1px dashed rgba(201,111,63,.45);border-radius:12px;background:#fbf4ea;font-size:.88rem;line-height:1.5}
.pm-mto p{margin:0}.pm-mto i{color:var(--accent,#c96f3f)}
.pm-mto-note{margin-top:.3rem!important;opacity:.85}
.pm-actions{margin-top:1.1rem}
@media(max-width:720px){.pm{padding:0;align-items:flex-end}.pm-box{grid-template-columns:1fr;border-radius:20px 20px 0 0;max-height:94vh}.pm-info{padding:18px 18px 22px}.pm-main img{max-height:42vh}}
.pm-size{margin:0 0 .8rem;display:flex;gap:8px;align-items:center;font-size:.95rem}.pm-size i{color:var(--accent,#c96f3f)}

/* voucher amount */
.pm-voucher{margin:0 0 1rem;padding:.9rem 1rem;border-radius:14px;background:#fbf4ea;border:1px solid rgba(201,111,63,.25)}
.pm-voucher h4{margin:0 0 .6rem!important}
.v-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:.8rem}
.v-chip{border:1.5px solid rgba(180,83,42,.4);background:#fff;color:var(--accent,#b4532a);border-radius:999px;padding:.45rem 1rem;font-weight:700;font-size:.95rem;cursor:pointer}
.v-chip.on{background:var(--accent,#b4532a);color:#fff;border-color:var(--accent,#b4532a)}
.v-other{display:block;font-size:.85rem;margin-bottom:.3rem;color:#5b4d42}
#vAmt{width:100%;max-width:200px;padding:.6rem .8rem;border:1.5px solid rgba(61,51,43,.25);border-radius:10px;font-size:1rem;font-family:inherit}
.v-err{margin:.4rem 0 0;color:#b0301c;font-size:.85rem;min-height:1em}