:root {
  --bg: #0a0a0a;
  --blush: #f6e8ee;
  --pink: #f3c6d4;
  --pink-2: #e8a8bd;
  --text: #f6f1ee;
  --muted: #b8aea8;
  --line: rgba(243, 198, 212, .22);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Vazirmatn, Tahoma, sans-serif;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

.head { position: sticky; top: 0; z-index: 40; background: #0b0b0b; border-bottom: 1px solid var(--line); }
.head__row { min-height: 74px; display: flex; align-items: center; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand b { display: block; font-family: Oswald, sans-serif; letter-spacing: .16em; font-size: 18px; line-height: 1; }
.brand small { display: block; color: var(--pink); letter-spacing: .2em; font-size: 9px; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 8px 11px; font-size: 14px; color: #efe6e2; position: relative; }
.nav a.is-on { color: var(--pink); }
.nav a.is-on::after { content: ""; position: absolute; right: 12px; left: 12px; bottom: 0; height: 2px; background: var(--pink); }
.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn, .burger {
  width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #fff;
  display: inline-grid; place-items: center; flex: 0 0 40px; cursor: pointer; position: relative;
}
.icon-btn i { font-size: 20px; }
.icon-btn em {
  position: absolute; top: 4px; left: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--pink-2); color: #111; font-style: normal; font-size: 10px; line-height: 16px;
}
.burger { display: none; align-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; }
.search {
  display: none; position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  width: min(320px, 90vw); background: #161616; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px;
}
.search.is-open { display: block; }
.search input { width: 100%; background: transparent; border: 0; outline: none; }

.hero { padding: 28px 0 10px; }
.hero__grid {
  display: grid;
  grid-template-columns: 140px minmax(280px, .95fr) minmax(280px, .9fr) 150px;
  gap: 22px;
  align-items: center;
}
.hero__note p, .hero__side b {
  margin: 0;
  font-family: Great Vibes, cursive;
  font-size: 42px;
  line-height: 1.05;
  color: var(--pink);
}
.hero__note small, .hero__side span {
  display: block;
  margin-top: 14px;
  letter-spacing: .16em;
  font-size: 11px;
  color: var(--muted);
}
.hero__shot { margin: 0; border-radius: 28px; overflow: hidden; }
.hero__shot img { width: 100%; height: 520px; object-fit: cover; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.3; font-weight: 800; }
.hero__copy p { margin: 14px 0 22px; color: #d8cfc9; max-width: 360px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pink-btn, .dark-btn, .ghost-btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 11px 18px; border: 1px solid transparent; cursor: pointer; font-weight: 600;
}
.pink-btn { background: var(--pink); color: #1a1214; }
.pink-btn--block { width: 100%; justify-content: center; }
.dark-btn { background: #111; color: #fff; border-color: #111; }
.ghost-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }

.shop { padding: 20px 0; }
.shop__panel {
  display: grid;
  grid-template-columns: .7fr 1.2fr .7fr;
  gap: 22px;
  align-items: center;
  background: var(--blush);
  color: #1b1416;
  border-radius: 28px;
  padding: 28px;
}
.shop small { letter-spacing: .2em; color: #8d6d76; }
.shop h2 { font-size: 32px; line-height: 1.35; margin: 8px 0; }
.shop__copy p { color: #5c4a4f; margin-bottom: 16px; }
.shop__photo { margin: 0; position: relative; }
.shop__photo img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; }
.shop__photo b {
  position: absolute; left: 16px; bottom: 16px;
  font-family: Great Vibes, cursive; font-size: 36px; color: #fff; text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.shop__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.shop__feats li { display: flex; align-items: center; gap: 10px; }
.shop__feats i { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }

.works, .about, .reviews, .contact { padding: 48px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2, .about h2, .book h2, .contact h2 { font-size: 28px; }
.sec-head p, .sec-head a { color: var(--muted); }
.works__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.works__grid button { padding: 0; border: 0; background: #111; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.works__grid img { width: 100%; height: 100%; object-fit: cover; }

.about__grid { display: grid; grid-template-columns: .8fr 1.1fr .7fr; gap: 22px; align-items: center; }
.about p { color: #d5cbc6; margin: 14px 0 18px; }
.about figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; }
.about img { width: 100%; height: 320px; object-fit: cover; }
.about figure b, .about figure small, .contact figure small {
  position: absolute; left: 16px; bottom: 14px;
  font-family: Great Vibes, cursive; font-size: 32px; line-height: 1.05; color: #fff;
}
.about__back img { height: 360px; }

.book { padding: 10px 0 48px; }
.book__grid {
  display: grid;
  grid-template-columns: .8fr .7fr 1fr;
  gap: 22px;
  align-items: center;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding: 0 0 0 24px;
}
.book p { color: var(--muted); margin: 10px 0 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 10px; color: #ddd; }
.steps i {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1a1a1a; border: 1px solid var(--line);
  display: grid; place-items: center; font-style: normal; color: var(--pink);
}
.book img { width: 100%; height: 280px; object-fit: cover; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reviews article { background: #121212; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.reviews header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.reviews header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.reviews header span { color: var(--pink); margin-inline-start: auto; }
.reviews p { color: #d8cfc9; }

.contact__grid { display: grid; grid-template-columns: .8fr 1fr .7fr; gap: 18px; align-items: stretch; }
.contact ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.contact li { display: flex; align-items: center; gap: 8px; }
.contact i { color: var(--pink); }
.map { border-radius: 18px; overflow: hidden; min-height: 240px; background: #111; }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; filter: invert(.9) hue-rotate(180deg); }
.contact figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; }
.contact figure img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

.foot { border-top: 1px solid var(--line); padding: 18px 0 24px; }
.foot__row, .soc { display: flex; align-items: center; gap: 12px; }
.foot__row { justify-content: space-between; flex-wrap: wrap; }
.soc a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }

.drawer { pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__veil, .modal__veil { position: fixed; inset: 0; background: rgba(0,0,0,.6); }
.drawer__veil { opacity: 0; }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer.is-open .drawer__veil, .drawer.is-open .drawer__panel { z-index: 90; }
.drawer__panel {
  position: fixed; z-index: 60; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(360px, 92vw); background: #141212; border-inline-start: 1px solid var(--line);
  transform: translateX(-110%); transition: transform .3s ease;
  display: flex; flex-direction: column; padding: 16px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer header, .drawer footer, .cart__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.drawer header button, .modal__x { width: 36px; height: 36px; border: 0; background: transparent; color: #fff; cursor: pointer; }
#cartList { flex: 1; overflow: auto; }
.cart__row { justify-content: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart__row img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.cart__empty { color: var(--muted); }
.drawer footer b { color: var(--pink); }

.modal { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; padding: 18px; }
.modal.is-open { display: grid; }
.catalog__box, .mbox, .light {
  position: relative; z-index: 1; width: min(960px, 100%);
  max-height: 90vh; overflow: auto; background: #151212;
  border: 1px solid var(--line); border-radius: 20px; padding: 22px;
}
.mbox { width: min(420px, 100%); }
.mbox--video { width: min(720px, 100%); padding: 10px; }
.mbox--video img { width: 100%; border-radius: 12px; }
.modal__x { position: absolute; top: 10px; inset-inline-start: 10px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.cat { border: 1px solid var(--line); background: #111; color: #eee; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.cat.is-on { background: var(--pink); color: #1a1214; border-color: var(--pink); }
.cat-block + .cat-block { margin-top: 18px; }
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prod { background: #1a1616; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.prod img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.prod h3 { font-size: 14px; margin: 8px 0; }
.prod__row { display: flex; align-items: center; justify-content: space-between; }
.prod__row button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #111; color: var(--pink); cursor: pointer; }
.mbox form { display: grid; gap: 10px; }
.mbox label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.mbox input, .mbox select { background: #0e0c0c; border: 1px solid var(--line); border-radius: 10px; padding: 11px; outline: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.light { width: min(720px, 100%); }
.light img { width: 100%; max-height: 68vh; object-fit: contain; background: #000; border-radius: 12px; }
body.is-lock { overflow: hidden; }

@media (max-width: 980px) {
  .burger { display: inline-grid; }
  .nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0; margin: 0;
    background: #0b0b0b; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 14px 14px; z-index: 5;
  }
  .nav.is-open { display: flex; }
  .tools { margin-inline-start: auto; }
  .hero__grid, .shop__panel, .about__grid, .book__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__note, .hero__side { display: none; }
  .hero__shot img, .about img, .book img { height: 280px; }
  .works__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .book__grid { padding: 22px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .works__grid, .catalog__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}
