/* Сайт Masyafood для покупателей. Цвета и шрифты взяты из логотипа:
   тёмно-зелёный, сливочный фон, золото для мелких акцентов. Заголовки с
   засечками, как «food» в логотипе, остальное обычным шрифтом системы. */

:root {
  --brand: #1b3a2b;
  --brand-2: #275440;
  --cream: #f4efe3;
  --paper: #fbf9f4;
  --card: #ffffff;
  --gold: #a8894f;
  --gold-soft: #f1e8d4;
  --ink: #1d2721;
  --muted: #6c746d;
  --line: #e7e0d0;
  --green: #2f7a4f;
  --red: #b4432f;
  --star: #e2a422;
  --r: 14px;
  --r-sm: 10px;
  --serif: "Georgia", "Times New Roman", "PT Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sh: 0 1px 2px rgba(27, 58, 43, .05), 0 8px 24px -16px rgba(27, 58, 43, .25);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { margin: 0; padding: 0; }
body.pub { font: 16px/1.55 var(--sans); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 0 0 12px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -4px; }
.ic.gold { color: var(--star); width: 16px; height: 16px; vertical-align: -2px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sin { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pwrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.pg-menu .pwrap, .pg-account .pwrap, .pg-reviews .pwrap { max-width: 1040px; }
.pg-x .pwrap, .pg-login .pwrap { max-width: 760px; }

/* ---------- кнопки ---------- */

.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15.5px; font-weight: 600; padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.pbtn:hover { background: var(--brand-2); }
.pbtn:active { transform: translateY(1px); }
.pbtn:disabled { opacity: .45; cursor: default; }
.pbtn.lg { padding: 15px 26px; font-size: 16.5px; }
.pbtn.sm { padding: 9px 16px; font-size: 14.5px; }
.pbtn.wide { display: flex; width: 100%; margin-top: 18px; }
.pbtn.wide + .pbtn.wide { margin-top: 10px; }
.pbtn.ghost { background: transparent; color: var(--brand); }
.pbtn.ghost:hover { background: rgba(27, 58, 43, .06); }
.pbtn.light { background: #fff; color: var(--brand); border-color: #fff; }
.linkbtn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--brand); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; }
.linkbtn .ic { width: 16px; height: 16px; }

/* ---------- полоски сверху ---------- */

.staffbar { background: #111a15; color: #cfd8d2; font-size: 13.5px; text-align: center; padding: 7px 12px; }
.staffbar a { color: #e9d9b4; font-weight: 600; text-decoration: none; margin-left: 6px; }
.staffbar .ic { width: 14px; height: 14px; vertical-align: -2px; }
.notice { display: block; background: var(--c, var(--brand)); color: #fff; font-weight: 600; font-size: 14px; text-align: center; padding: 10px 16px; text-decoration: none; }
.notice .ic { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- шапка ---------- */

.shead { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 244, .94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.shead .sin { display: flex; align-items: center; gap: 20px; height: 74px; }
.slogo { display: flex; align-items: center; flex: 0 0 auto; }
.slogo img { height: 44px; width: auto; display: block; }
.snav { display: flex; gap: 2px; margin: 0 auto; align-items: center; }
.snav a { padding: 9px 13px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.snav a:hover { color: var(--brand); }
.snav a.on { color: var(--brand); font-weight: 650; }
.snav a.on::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.snav-extra { display: none; }
.sacts { display: flex; gap: 8px; align-items: center; }
.stel { display: flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; margin-right: 6px; white-space: nowrap; }
.stel .ic { color: var(--brand); width: 18px; height: 18px; }
.sbtn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; font-size: 14.5px; white-space: nowrap; border: 1px solid var(--brand); }
.sbtn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.sbtn.ghost:hover { border-color: var(--brand); }
.sbtn i { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--paper); }
.sburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: var(--r-sm); cursor: pointer; color: var(--ink); place-items: center; }
.sburger .b-close, body.navopen .sburger .b-open { display: none; }
body.navopen .sburger .b-close { display: block; }
@media (max-width: 1080px) { .stel span { display: none; } }
@media (max-width: 920px) {
  .shead .sin { height: 64px; gap: 10px; }
  .slogo img { height: 36px; }
  .sburger { display: grid; }
  .sbtn .sl, .stel { display: none; }
  .sbtn { padding: 0 12px; }
  .snav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35); max-height: calc(100vh - 64px); overflow: auto; }
  body.navopen .snav { display: flex; }
  .snav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .snav a.on::after { display: none; }
  .snav-extra { display: grid; gap: 4px; margin-top: 10px; }
  .snav-extra a { display: flex; align-items: center; gap: 10px; border: 0; font-size: 16px; color: var(--brand); padding: 10px 4px; }
}

/* ---------- заголовок страницы ---------- */

.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 22px; }
.pagehead h1 { font-size: 36px; margin: 0; }
.pagehead p { margin: 6px 0 0; color: var(--muted); max-width: 620px; }
.ratechip { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; text-decoration: none; color: var(--ink); font-size: 14px; }
.ratechip b { font-size: 16px; }
.ratechip span { color: var(--muted); }

.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 14px; }
.perr { background: #f8e4df; color: var(--red); border-radius: var(--r-sm); padding: 12px 15px; font-size: 14.5px; margin: 0 0 14px; }
.pok { background: #e5f1e8; color: var(--green); border-radius: var(--r-sm); padding: 12px 15px; font-weight: 600; margin: 0 0 14px; }
.pback { margin: 0 0 14px; }
.pback a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 14.5px; }

/* ---------- формы ---------- */

label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; color: var(--ink); }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27, 58, 43, .12); background: #fff; }
input:disabled { color: var(--muted); }
textarea { min-height: 90px; resize: vertical; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px; background: var(--paper); }
.seg input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.passw { position: relative; }
.passw input { padding-right: 50px; }
.passw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; padding: 10px; color: var(--muted); }

/* ---------- главная ---------- */

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 26px 0 10px; }
.hero h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 18px; color: var(--brand); }
.hero p { font-size: 18.5px; color: #48524b; margin-bottom: 28px; max-width: 520px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-facts > * { flex: 1; padding-right: 18px; text-decoration: none; color: var(--ink); }
.hero-facts > * + * { border-left: 1px solid var(--line); padding-left: 18px; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 26px; color: var(--brand); }
.hero-facts span { font-size: 13.5px; color: var(--muted); }
.hero-pic { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.hero-pic::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(168, 137, 79, .45); }
.hero-pic .hero-logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(27, 58, 43, .28)); }
.hero-pic.photo { border-radius: 28px; aspect-ratio: 4 / 5; overflow: hidden; }
.hero-pic.photo::before { display: none; }
.hero-pic.photo img { width: 100%; height: 100%; object-fit: cover; }

.hsec { margin-top: 64px; }
.hsec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hsec-h h2 { font-size: 32px; margin: 0; }
.hsec-h > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hsec-h > a .ic { width: 18px; height: 18px; }

.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-top: 44px; }
.feat { padding: 26px 24px; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat-i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--brand); margin-bottom: 16px; font-size: 22px; }
.feat-i .ic { width: 24px; height: 24px; }
.feat b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

.hgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.hcard:hover { box-shadow: 0 18px 36px -24px rgba(27, 58, 43, .45); transform: translateY(-2px); }
.hcard-ph { position: relative; aspect-ratio: 4 / 3; background: var(--gold-soft); display: grid; place-items: center; overflow: hidden; }
.hcard-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hcard:hover .hcard-ph img { transform: scale(1.03); }
.hcard-ph img.noimg, .pthumb img.noimg { width: 56%; height: auto; object-fit: contain; opacity: .9; transform: none !important; }
.hcard-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.hcard-cat { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hcard-n { font-weight: 650; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.3; }
.hcard-k { font-size: 13px; color: var(--muted); }
.hcard-f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.hcard-f b { font-size: 19px; font-family: var(--serif); }
.hcard-f small { font-size: 13px; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.hcard-f button { width: 42px; height: 42px; border-radius: var(--r-sm); border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hcard-f button:hover { background: var(--brand-2); }
.pbadge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 6px; z-index: 1; }

.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.promo { position: relative; overflow: hidden; border-radius: var(--r); padding: 24px; background: var(--c); color: #fff; min-height: 160px; display: flex; flex-direction: column; gap: 6px; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.promo > * { position: relative; }
.promo b { font-family: var(--serif); font-size: 22px; }
.promo-b { align-self: flex-start; background: #fff; color: var(--c); font-weight: 800; font-size: 14px; padding: 3px 10px; border-radius: 6px; }

.banner { position: relative; border-radius: var(--r); overflow: hidden; background: var(--c); color: #fff; min-height: 220px; display: flex; align-items: flex-end; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner.img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 20, 14, .72), rgba(10, 20, 14, .1)); }
.banner-tx { position: relative; z-index: 1; padding: 30px; max-width: 620px; }
.banner h2 { color: #fff; font-size: 30px; }
.banner p { opacity: .92; margin-bottom: 16px; }
.textblock { border-left: 4px solid var(--c); padding: 26px 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.step i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-style: normal; font-family: var(--serif); font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 14px; }
.step b { font-size: 17.5px; display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 650; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--gold); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: #4a544d; padding-bottom: 18px; margin: 0; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--brand); color: #e8efe9; border-radius: 22px; padding: 44px; overflow: hidden; position: relative; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201, 176, 120, .35); }
.cta-logo { height: 40px; width: auto; margin-bottom: 18px; opacity: .95; }
.cta h2 { color: #fff; font-size: 30px; }
.cta p { margin: 0; color: #c8d5cc; }
.cta .cta-small { margin-top: 10px; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.cta-btns { display: grid; gap: 10px; min-width: 260px; position: relative; z-index: 1; }
.cbtn { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transition: background .15s; }
.cbtn:hover { background: rgba(255, 255, 255, .15); }
.cbtn .ic { width: 26px; height: 26px; }
.cbtn span { display: flex; flex-direction: column; line-height: 1.25; }
.cbtn small { color: #b9c9be; font-size: 13px; }
.cbtn.wa .ic { color: #4ade80; }
.cbtn.ig .ic { color: #f9a8d4; }

/* ---------- отзывы: тизер на главной ---------- */

.rt-grid { display: grid; grid-template-columns: 220px repeat(3, 1fr); gap: 16px; }
.rt-sum { background: var(--brand); color: #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.rt-sum b { font-family: var(--serif); font-size: 52px; line-height: 1; }
.rt-sum span { color: #c8d5cc; font-size: 14px; }
.rt-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rt-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.rt-head b { display: block; font-size: 15px; }
.rt-card p { margin: 0; color: #45504a; font-size: 14.5px; }

/* ---------- звёзды ---------- */

.stars { display: inline-flex; gap: 1px; vertical-align: -3px; }
.stars i { width: 18px; height: 18px; display: inline-block; background: linear-gradient(90deg, var(--star) var(--f), #ddd6c6 var(--f));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4L2.8 9.5l6.4-.8z"/></svg>') center/contain no-repeat; }
.stars i .ic { display: none; }
.stars.sm i { width: 14px; height: 14px; }
.rt-sum .stars i { background: linear-gradient(90deg, var(--star) var(--f), rgba(255,255,255,.25) var(--f)); }
.ava { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; font-weight: 700; color: #fff; background: hsl(var(--h) 32% 40%); text-transform: uppercase; font-size: 17px; }

/* ---------- страница отзывов ---------- */

.rsum { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; }
.rsum-avg { display: flex; flex-direction: column; align-items: center; gap: 6px; border-right: 1px solid var(--line); padding-right: 30px; }
.rsum-avg b { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--brand); }
.rsum-avg .stars i { width: 22px; height: 22px; }
.rsum-avg span { color: var(--muted); font-size: 14px; }
.rsum-bars { display: grid; gap: 7px; }
.rsum-bars a { display: grid; grid-template-columns: 14px 1fr 42px; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-size: 14px; border-radius: 6px; padding: 2px 4px; }
.rsum-bars a:hover, .rsum-bars a.on { background: var(--gold-soft); }
.rsum-bars i { height: 10px; border-radius: 5px; background: #eee8db; overflow: hidden; }
.rsum-bars i b { display: block; height: 100%; background: var(--star); border-radius: 5px; }
.rsum-bars em { font-style: normal; color: var(--muted); text-align: right; }
.rtools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.rtools select { width: auto; padding: 9px 12px; font-size: 14.5px; background: var(--card); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .ic.gold { width: 14px; height: 14px; }
.rlist { display: grid; gap: 12px; margin-bottom: 20px; }
.rv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.rv.mine { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); margin-bottom: 12px; }
.rv header { display: flex; gap: 12px; align-items: center; }
.rv-who b { display: block; font-size: 15.5px; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--green); font-weight: 600; }
.verified .ic { width: 14px; height: 14px; }
.minetag { font-size: 12px; font-weight: 700; color: var(--gold); margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
.rv-meta { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; font-size: 13.5px; color: var(--muted); }
.rv-text { margin: 0; font-size: 15.5px; color: #2c352f; white-space: normal; }
.rv-reply { margin-top: 14px; background: var(--paper); border-left: 3px solid var(--brand); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; }
.rv-reply-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; }
.rv-reply-h img { width: 22px; height: 22px; border-radius: 50%; }
.rv-reply-h span { color: var(--muted); font-size: 13px; }
.rv-reply p { margin: 0; font-size: 14.5px; color: #3b453f; }
.rv-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13.5px; }
.likebtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 5px 12px; cursor: pointer; color: var(--muted); font: inherit; font-size: 13.5px; }
.likebtn .ic { width: 16px; height: 16px; }
.likebtn.on { color: var(--brand); border-color: var(--brand); background: rgba(27, 58, 43, .06); }
.rv-foot .linkbtn { margin-left: auto; }

.sdlg { border: 0; border-radius: 18px; padding: 28px; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.sdlg::backdrop { background: rgba(17, 26, 21, .55); backdrop-filter: blur(3px); }
.sdlg-x { position: absolute; right: 14px; top: 14px; border: 0; background: var(--paper); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.sdlg h2 { padding-right: 36px; }
.starpick { display: flex; gap: 6px; justify-content: center; margin: 18px 0 4px; }
.starpick button { border: 0; background: none; cursor: pointer; padding: 2px; color: #ddd6c6; transition: transform .1s, color .1s; }
.starpick button .ic { width: 42px; height: 42px; }
.starpick button.on { color: var(--star); }
.starpick button:hover { transform: scale(1.1); }
.starword { text-align: center; font-weight: 600; color: var(--muted); min-height: 22px; }
.rv-count { text-align: right; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.gate-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.empty-rv { padding: 36px; }

/* ---------- меню ---------- */

.pcats { position: sticky; top: 74px; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin-bottom: 4px; background: var(--cream); scrollbar-width: none; }
.pcats::-webkit-scrollbar { display: none; }
.pcats a { flex: 0 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.pcats a span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.pcats a:hover { border-color: var(--brand); }
.pcat { font-size: 24px; margin: 26px 0 12px; }
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pitem { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; grid-template-columns: 108px 1fr; gap: 14px; }
.pthumb { position: relative; width: 108px; height: 108px; border-radius: var(--r-sm); overflow: hidden; background: var(--gold-soft); display: grid; place-items: center; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb .pbadge { top: 6px; left: 6px; font-size: 11px; padding: 2px 6px; }
.pinfo { min-width: 0; display: flex; flex-direction: column; }
.pname { font-weight: 650; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.3; }
.pname:hover { color: var(--brand); }
.pdesc-s { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.pmeta span + span::before { content: '·'; margin-right: 10px; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.pprice { font-family: var(--serif); font-weight: 700; font-size: 19px; white-space: nowrap; }
.pprice small { font-family: var(--sans); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.pstock { display: inline-block; font-size: 12px; font-weight: 600; margin-top: 6px; }
.pstock.low { color: #9a6a12; }
.pstock.none { color: var(--red); }
.pqty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); overflow: hidden; flex: 0 0 auto; }
.pqty.on { border-color: var(--brand); background: #fff; }
.pqty .qb { width: 38px; height: 38px; border: 0; background: transparent; color: var(--brand); cursor: pointer; display: grid; place-items: center; }
.pqty .qb .ic { width: 18px; height: 18px; }
.pqty .qb:hover { background: rgba(27, 58, 43, .06); }
.pqty input[type=number] { width: 40px; border: 0; text-align: center; font-weight: 700; background: transparent; padding: 0; font-size: 16px; -moz-appearance: textfield; box-shadow: none; }
.pqty input::-webkit-outer-spin-button, .pqty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pqty.big { display: flex; width: 100%; justify-content: space-between; }
.pqty.big .qb { width: 54px; height: 50px; }
.pqty.big input[type=number] { flex: 1; font-size: 18px; }
.checkout { margin-top: 26px; padding: 26px; scroll-margin-top: 90px; }
.checkout .who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border-radius: var(--r-sm); }
.checkout .who div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.checkout .who span { color: var(--muted); font-size: 14px; }
.checkout .who a { font-size: 14px; font-weight: 600; }
.checkout .who .ic { color: var(--brand); }
.gate { text-align: center; padding: 34px 26px; }
.gate .gate-btns { justify-content: center; }
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(251, 249, 244, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.psum { font-size: 15px; }
.psum b { font-family: var(--serif); font-size: 22px; }
.psum span { color: var(--muted); }
.psum small { display: block; font-size: 12.5px; color: var(--green); font-weight: 600; }
body.hasbar { padding-bottom: 80px; }
@media (min-width: 860px) {
  .pbar { left: 50%; transform: translateX(-50%); width: 1000px; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px -20px rgba(0,0,0,.3); }
}

/* ---------- карточка товара ---------- */

.pgal { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: -4px 0 16px; }
.pgal img { flex: 0 0 100%; height: 360px; object-fit: cover; border-radius: var(--r-sm); scroll-snap-align: start; background: #eee; }
.pgal.multi img { flex-basis: 86%; }
.pnoph { height: 220px; border-radius: var(--r-sm); margin-bottom: 16px; display: grid; place-items: center; background: var(--gold-soft); }
.pnoph img { width: 140px; }
.ptag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.pbig { font-family: var(--serif); font-size: 30px; font-weight: 700; margin: 6px 0; }
.pbig small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }
.pdesc { white-space: pre-line; font-size: 16px; margin-top: 10px; color: #3b453f; }
.phint { font-size: 13.5px; font-weight: 700; margin: 18px 0 8px; }
.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ptile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 4px; text-align: center; }
.ptile b { display: block; font-size: 19px; line-height: 1.1; font-family: var(--serif); }
.ptile b small { font-size: 11px; margin-left: 1px; color: var(--muted); font-family: var(--sans); }
.ptile span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.pbadges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.pbadges span { background: var(--gold-soft); color: #6b5312; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.pcomp ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.pcomp li { margin: 3px 0; }
.pcomp em { font-style: normal; font-size: 12px; margin-left: 4px; }
.pplaces { display: grid; gap: 12px; }
.pplace { display: flex; gap: 12px; align-items: center; }
.pplace img, .pph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--paper); display: grid; place-items: center; color: var(--brand); }
.pplace-main { flex: 1; min-width: 0; font-size: 14px; }
.pplace-main b { display: block; }
.pplace-main .ic { width: 14px; height: 14px; vertical-align: -2px; }
.pplace-side { text-align: right; white-space: nowrap; }
.pplace-side b { display: block; font-size: 15px; }
.pbuy label { margin-top: 0; }

/* ---------- страница заказа ---------- */

.pstatus { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 6px 0 4px; color: var(--brand); }
.psteps { list-style: none; margin: 18px 0 2px; padding: 0; }
.psteps li { position: relative; padding: 0 0 18px 34px; font-size: 15px; color: var(--muted); }
.psteps li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.psteps li:last-child::before { display: none; }
.psteps li::after { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d5cfbf; background: #fff; }
.psteps li.done { color: var(--ink); }
.psteps li.done::after { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.psteps li.done::before { background: var(--green); }
.psteps li.cur { color: var(--ink); font-weight: 700; }
.psteps li.cur::after { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #fff; animation: ppulse 1.6s infinite; }
@keyframes ppulse { 0% { box-shadow: inset 0 0 0 3px #fff, 0 0 0 0 rgba(168,137,79,.5); } 100% { box-shadow: inset 0 0 0 3px #fff, 0 0 0 10px rgba(168,137,79,0); } }
.pitems { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pitems td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pitems td:last-child { text-align: right; white-space: nowrap; }
.pitems tr.total td { border: 0; font-weight: 800; font-size: 17px; padding-top: 12px; }
.preceipt { border: 1px dashed #cfc8b6; border-radius: var(--r-sm); padding: 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.preceipt h2 { font-family: inherit; text-align: center; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.preceipt .thanks { text-align: center; margin-top: 10px; font-weight: 700; }
.prefresh { text-align: center; font-size: 12.5px; color: var(--muted); }
.ppay { margin-top: 12px; border: 1px solid var(--brand); border-radius: var(--r); padding: 18px; }
.ppay-sum { font-family: var(--serif); font-size: 36px; font-weight: 700; }
.ppay-sum small { font-size: 15px; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.ppay-how { background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; margin-top: 14px; font-size: 14.5px; }
.ppay-how p:last-child { margin-bottom: 0; }
.ppay-acc { font-size: 20px; background: #fff; border: 1px dashed var(--brand); border-radius: 8px; padding: 1px 10px; cursor: pointer; }
.ppay-acc.ok { background: var(--brand); color: #fff; }
.ppaid { display: inline-block; background: #e5f1e8; color: var(--green); font-weight: 700; border-radius: 6px; padding: 5px 12px; font-size: 14px; margin: 8px 0 0; }

/* ---------- страницы о нас, доставка, контакты ---------- */

.spage { max-width: 860px; margin: 0 auto; }
.spage-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--r); margin-bottom: 18px; display: block; }
.spage-tx { padding: 30px 34px; font-size: 17px; line-height: 1.7; color: #333d37; }
.spage-tx p { margin: 0 0 14px; }
.spage-tx p:first-child::first-letter { font-family: var(--serif); font-size: 3.1em; float: left; line-height: .9; margin: 6px 10px 0 0; color: var(--brand); }
.spage-tx p:last-child { margin: 0; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
a.ccard:hover { border-color: var(--brand); }
.ccard .ic { width: 28px; height: 28px; color: var(--brand); margin-bottom: 10px; }
.ccard.wa .ic { color: #25a35a; }
.ccard.ig .ic { color: #c13584; }
.ccard.tg .ic { color: #2a9fd8; }
.ccard b { font-size: 16px; }
.ccard small { color: var(--muted); font-size: 14.5px; }

/* ---------- вход и кабинет ---------- */

.auth { display: grid; place-items: center; padding: 12px 0; }
.auth-box { width: min(440px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--sh); }
.auth-logo { display: block; width: 92px; height: 92px; margin: -6px auto 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 8px; }
.auth-tabs button { border: 0; background: none; padding: 11px; border-radius: 9px; font: inherit; font-weight: 650; font-size: 15.5px; color: var(--muted); cursor: pointer; }
.auth-tabs button.on { background: var(--brand); color: #fff; }
.authnote { background: var(--gold-soft); border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px; margin: 10px 0 0; }

.acc { max-width: 920px; margin: 0 auto; }
.acc-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 20px; }
.acc-h h1 { font-size: 32px; margin: 0; }
.acc-h p { margin: 4px 0 0; }
.acc-bal { display: flex; justify-content: space-between; align-items: center; }
.acc-bal b { font-family: var(--serif); font-size: 26px; color: var(--green); }
.acc-bal b.neg { color: var(--red); }
.acc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc .hsec-h { margin-bottom: 8px; }
.acc .hsec-h h2 { font-size: 22px; }
.olist { display: grid; }
.orow { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.orow:last-child { border: 0; }
.orow-m { min-width: 0; }
.orow-m p { margin: 4px 0 0; }
.orow-s { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; white-space: nowrap; }
.orow-s a { font-weight: 600; font-size: 14px; }
.ost { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--gold-soft); color: #8a6a1c; }
.ost.s-delivered { background: #e5f1e8; color: var(--green); }
.ost.s-cancelled { background: #f8e4df; color: var(--red); }

/* ---------- подвал и плавающие кнопки ---------- */

.sfoot { background: #13261c; color: #c4d0c8; margin-top: 70px; padding: 54px 0 0; font-size: 14.5px; }
.sfoot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 34px; }
.sfoot-logo { height: 38px; width: auto; margin-bottom: 14px; }
.sfoot-about p { max-width: 360px; color: #a9b8ae; }
.sfoot b { color: #fff; display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.sfoot a, .sfoot span { display: flex; align-items: center; gap: 8px; color: #c4d0c8; text-decoration: none; margin: 8px 0; }
.sfoot a:hover { color: #fff; }
.sfoot .ic { width: 17px; height: 17px; color: #c9b078; }
.sfoot-soc { display: flex; gap: 10px; margin-top: 16px; }
.soc { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; border: 1px solid rgba(255,255,255,.18); margin: 0 !important; }
.soc .ic { width: 20px; height: 20px; color: #fff; }
.soc.wa:hover { background: #25a35a; border-color: #25a35a; }
.soc.ig:hover { background: #c13584; border-color: #c13584; }
.soc.tg:hover { background: #2a9fd8; border-color: #2a9fd8; }
.sfoot-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; color: #7f9186; font-size: 13px; }
.sfoot-copy em { font-family: var(--serif); color: #c9b078; }
body.hasbar .sfoot { padding-bottom: 80px; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; transition: bottom .2s; }
body.hasbar .fab { bottom: 92px; }
.fab-b { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 26px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); overflow: hidden; }
.fab-b .ic { width: 26px; height: 26px; }
.fab-b span { max-width: 0; opacity: 0; transition: max-width .25s, opacity .2s; white-space: nowrap; }
.fab-b:hover span { max-width: 120px; opacity: 1; }
.fab-b.wa { background: #25a35a; }
.fab-b.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.ctoast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: var(--brand); color: #fff; padding: 13px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; z-index: 50; transition: all .25s; pointer-events: none; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); white-space: nowrap; }
.ctoast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
body.hasbar .ctoast { bottom: 96px; }

/* ---------- телефон ---------- */

@media (max-width: 920px) {
  .pwrap { padding: 20px 16px 50px; }
  .sin { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 6px; }
  .hero-pic { order: -1; width: 62%; margin: 8px auto 0; }
  .hero-pic.photo { width: 100%; aspect-ratio: 4 / 3; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16.5px; }
  .hero-facts b { font-size: 21px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { padding: 20px 16px; }
  .feat:nth-child(3) { border-left: 0; }
  .feat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hcard-b { padding: 10px 12px 12px; }
  .hcard-n { font-size: 14.5px; }
  .hcard-f b { font-size: 16.5px; }
  .hcard-f button { width: 38px; height: 38px; }
  .hsec { margin-top: 46px; }
  .hsec-h h2, .pagehead h1 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  .rt-grid { grid-template-columns: 1fr; }
  .rt-sum { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding: 18px 20px; }
  .rt-sum b { font-size: 38px; }
  .cta { grid-template-columns: 1fr; padding: 30px 22px; }
  .cta h2 { font-size: 24px; }
  .cta-btns { min-width: 0; }
  .sfoot-grid { grid-template-columns: 1fr; gap: 24px; }
  .acc-two { grid-template-columns: 1fr; }
  .plist { grid-template-columns: 1fr; }
  .pcats { top: 64px; }
  .pitem { grid-template-columns: 88px 1fr; gap: 12px; }
  .pthumb { width: 88px; height: 88px; }
  .rsum { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .rsum-avg { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .pgal img { height: 260px; }
  .spage-tx { padding: 22px; font-size: 16px; }
  .fab { right: 12px; bottom: 12px; }
  .fab-b { width: 50px; height: 50px; padding: 0; justify-content: center; }
  .fab-b span { display: none; }
}

.snav a { white-space: nowrap; }
@media (max-width: 1280px) { .stel span { display: none; } .snav a { padding: 9px 10px; } }
.hcard-ph img.noimg, .pthumb img.noimg { width: 38%; opacity: .5; filter: grayscale(.2); }
.pthumb img.noimg { width: 52%; }
@media (max-width: 920px) {
  .hero-pic { width: 44%; }
  .hero-facts { margin-top: 24px; padding-top: 14px; }
  .hero-facts > * { padding-right: 10px; }
  .hero-facts > * + * { padding-left: 10px; }
  .hero-facts b { font-size: 19px; }
  .hero-facts span { font-size: 12px; }
  .hero-btns .pbtn { flex: 1; }
}
@media (max-width: 920px) {
  .sacts { margin-left: auto; }
  .hero-btns .pbtn { padding: 14px 12px; font-size: 15px; white-space: nowrap; }
}
