/* Витрина по ссылке. Отдельный файл: клиенту с телефона незачем тянуть
   стили кабинета, а правки в кабинете не должны ломать страницу заказа. */

:root {
  --bg: #f5f3ee;
  --card: #fff;
  --ink: #17231d;
  --muted: #6d7a72;
  --line: #e2ded4;
  --gold: #b8902b;
  --gold2: #d9ae4e;
  --green: #2f7b52;
  --red: #b3392c;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.pub {
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.hasbar { padding-bottom: 86px; }
.pwrap { max-width: 620px; margin: 0 auto; padding: 16px 14px 32px; }

.phead { padding: 6px 4px 14px; }
.phead h1 { font-size: 24px; margin: 0 0 4px; }
h1 { font-size: 22px; margin: 0 0 6px; line-height: 1.25; }
h2 { font-size: 16px; margin: 0 0 10px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.big { font-size: 44px; line-height: 1; margin-bottom: 8px; }
a { color: var(--green); }

.pcard { background: var(--card); border-radius: 18px; padding: 16px; margin-bottom: 14px;
         box-shadow: 0 1px 2px rgba(13,42,32,.05), 0 10px 30px -18px rgba(13,42,32,.25); }
.perr { background: #f7e2de; color: var(--red); border-radius: 12px; padding: 11px 14px; font-size: 14px; margin: 0 0 12px; }
.pback { margin: 0 0 12px; font-size: 14px; }
.pback a { text-decoration: none; font-weight: 600; }

.pcats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; }
.pcats a { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px;
           padding: 6px 13px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.pcat { font-size: 15px; margin: 14px 2px 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.plist { display: grid; gap: 10px; }
.pitem { background: var(--card); border-radius: 16px; padding: 10px; display: grid;
         grid-template-columns: 74px 1fr; gap: 12px; align-items: start;
         box-shadow: 0 1px 2px rgba(13,42,32,.05); }
.pthumb { width: 74px; height: 74px; border-radius: 13px; overflow: hidden; background: #eef1ec;
          display: grid; place-items: center; font-size: 30px; text-decoration: none; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pinfo { min-width: 0; }
.pname { display: block; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: 3px; }
.pnut { font-size: 12px; color: var(--muted); }
.pprice { font-weight: 800; margin-top: 4px; }
.pprice small { font-weight: 500; font-size: 12px; color: var(--muted); }
.pstock { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; margin: 4px 0 0; }
.pstock.ok { background: #e4f3ea; color: var(--green); }
.pstock.low { background: #fdf1dc; color: #9a6a12; }
.pstock.none { background: #f7e2de; color: var(--red); }

.pqty { grid-column: 2; display: inline-flex; align-items: center; gap: 2px; margin-top: 8px;
        border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.pqty.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,144,43,.15); }
.pqty .qb { width: 36px; height: 36px; border: 0; background: transparent; font-size: 19px;
            color: var(--ink); cursor: pointer; }
.pqty input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700;
              background: transparent; outline: none; -moz-appearance: textfield; }
.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; margin: 0 0 4px; }
.pqty.big .qb { width: 54px; height: 46px; }

.pgal { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: -4px -16px 14px; padding: 0 16px; }
.pgal img { flex: 0 0 100%; height: 250px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: #eee; }
.pgal.multi img { flex-basis: 86%; }
.pnoph { height: 160px; border-radius: 14px; margin-bottom: 14px; display: grid; place-items: center;
         font-size: 52px; background: linear-gradient(135deg, #e9f1ec, #f3e8cc); }
.ptag { display: inline-block; font-size: 12px; font-weight: 600; color: #1d5240; background: #e9f1ec;
        border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.pbig { font-size: 26px; font-weight: 800; margin: 4px 0 2px; }
.pbig small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pdesc { white-space: pre-line; font-size: 15px; margin-top: 10px; }

.phint { font-size: 13px; font-weight: 700; margin: 14px 0 8px; }
.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ptile { background: #f6f5f0; border-radius: 12px; padding: 10px 4px; text-align: center; }
.ptile b { display: block; font-size: 17px; line-height: 1.1; }
.ptile b small { font-size: 11px; margin-left: 1px; color: var(--muted); }
.ptile span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.pbadges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.pbadges span { background: #f3e8cc; color: #6b5312; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.pcomp ul { margin: 0; padding-left: 18px; font-size: 14px; }
.pcomp li { margin: 3px 0; }
.pcomp em { font-style: normal; font-size: 12px; margin-left: 4px; }

.pplaces { display: grid; gap: 10px; }
.pplace { display: flex; gap: 12px; align-items: center; }
.pplace img, .pph { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
                    background: #f6f5f0; display: grid; place-items: center; font-size: 20px; }
.pplace-main { flex: 1; min-width: 0; font-size: 14px; }
.pplace-main b { display: block; }
.pplace-side { text-align: right; white-space: nowrap; }
.pplace-side b { display: block; font-size: 15px; }

label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 5px; }
input[type=text], input[type=tel], input[type=number], textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,144,43,.16); }
textarea { min-height: 76px; 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: 11px; border: 1px solid var(--line);
            border-radius: 12px; font-weight: 600; font-size: 14px; }
.seg input:checked + span { background: #12362a; color: #fff; border-color: #12362a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pbtn { display: inline-block; font: inherit; font-size: 16px; font-weight: 700; padding: 14px 22px;
        border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--gold2), var(--gold));
        color: #0a2118; cursor: pointer; text-decoration: none;
        box-shadow: 0 10px 24px -12px rgba(184,144,43,.8); }
.pbtn.wide { display: block; width: 100%; margin-top: 16px; }

.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: rgba(255,255,255,.96);
        border-top: 1px solid var(--line); padding: 12px 14px 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-size: 19px; }

.pstatus { font-size: 24px; font-weight: 800; margin: 6px 0 4px; }
.psteps { list-style: none; margin: 16px 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: #e4e2da; }
.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 #d5d3cb; 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(184,144,43,.5); }
  100% { box-shadow: inset 0 0 0 3px #fff, 0 0 0 10px rgba(184,144,43,0); }
}

.pitems { width: 100%; border-collapse: collapse; font-size: 14px; }
.pitems td { padding: 7px 0; border-bottom: 1px solid #eeede7; vertical-align: top; }
.pitems td:last-child { text-align: right; white-space: nowrap; }
.pitems tr.total td { border: 0; font-weight: 800; font-size: 16px; padding-top: 10px; }
.preceipt { border: 1px dashed #cfcdc4; border-radius: 14px; padding: 14px;
            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: 12px; color: #8a958e; }

.pfoot { text-align: center; font-size: 12px; color: #8a958e; padding: 6px 14px 30px; display: flex;
         gap: 10px; justify-content: center; flex-wrap: wrap; }
.pfoot a { color: #8a958e; }

/* ---------- блоки из конструктора витрины ---------- */

:root { --brand: #0f6b6f; }
.pbtn { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px var(--brand); }
.pbtn.sm { padding: 10px 18px; font-size: 15px; }
.pqty.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); }
.pcats a:hover { border-color: var(--brand); }
.phead { display: flex; gap: 12px; align-items: center; }
.plogo { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; }
.psum small { display: block; font-size: 12.5px; color: var(--green); font-weight: 600; }

.pnotice { display: block; margin: -16px -14px 14px; padding: 11px 16px; background: var(--c); color: #fff; font-weight: 700; font-size: 14.5px; text-align: center; text-decoration: none; }
.pnotice + .pnotice { margin-top: -14px; border-top: 1px solid rgba(255,255,255,.25); }
.pbanner { position: relative; border-radius: 20px; overflow: hidden; margin: 0 0 14px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); color: #fff; min-height: 150px; display: flex; align-items: flex-end; }
.pbanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pbanner.img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65)); }
.pbanner-tx { position: relative; z-index: 1; padding: 18px; }
.pbanner.img { min-height: 200px; }
.pbanner h2 { font-size: 22px; margin: 0 0 6px; color: #fff; }
.pbanner p { margin: 0 0 12px; font-size: 15px; opacity: .95; }
.pbanner .pbtn { background: #fff; color: var(--c); box-shadow: none; }
.ppromos { display: flex; gap: 10px; overflow-x: auto; margin: 0 -14px 14px; padding: 0 14px 4px; scroll-snap-type: x mandatory; }
.ppromo { position: relative; flex: 0 0 78%; scroll-snap-align: start; border-radius: 18px; padding: 16px; background: var(--c); color: #fff; display: flex; flex-direction: column; gap: 4px; overflow: hidden; min-height: 120px; }
.ppromo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.ppromo > * { position: relative; }
.ppromo b { font-size: 18px; }
.ppromo span { font-size: 14px; opacity: .95; }
.ppromo-badge { align-self: flex-start; background: #fff; color: var(--c) !important; font-weight: 800; font-size: 15px !important; padding: 3px 10px; border-radius: 99px; opacity: 1 !important; }
.pfeat { display: flex; gap: 10px; overflow-x: auto; margin: 0 -14px 14px; padding: 0 14px 4px; }
.pfeat-it { flex: 0 0 150px; background: var(--card); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 2px rgba(13,42,32,.05); }
.pfeat-ph { position: relative; height: 110px; border-radius: 12px; overflow: hidden; background: #eef1ec; display: grid; place-items: center; font-size: 34px; text-decoration: none; }
.pfeat-ph img { width: 100%; height: 100%; object-fit: cover; }
.pfeat-it b { font-size: 14px; line-height: 1.25; }
.pfeat-it > span { font-weight: 800; font-size: 14px; }
.pfeat-add { margin-top: auto; border: 0; border-radius: 10px; padding: 9px 6px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.pthumb { position: relative; }
.pbadge { position: absolute; top: 4px; left: 4px; background: #c0392b; color: #fff; font-style: normal; font-weight: 800; font-size: 11.5px; padding: 2px 7px; border-radius: 99px; z-index: 1; }
.ptext { border-left: 5px solid var(--c); }
.ptext p, .pcontacts p { white-space: normal; }
.pitem.flash { box-shadow: 0 0 0 3px var(--brand); transition: box-shadow .2s; }

/* ---------- оплата ---------- */
.ppay { margin-top: 10px; border: 2px solid var(--brand); border-radius: 16px; padding: 16px; }
.ppay-sum { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.ppay-sum small { font-size: 15px; font-weight: 600; color: var(--muted); }
.ppay-how { background: #f6f5f0; border-radius: 12px; 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: #e4f3ea; color: var(--green); font-weight: 700; border-radius: 99px; padding: 5px 12px; font-size: 14px; margin: 8px 0 0; }

/* =====================================================================
   Полноценный сайт: шапка, главная, страницы, вход, кабинет.
   ===================================================================== */

body.pub { background: #f7f5f0; }
.sin { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.pwrap { max-width: 1160px; padding: 22px 18px 40px; }
.pnotice, .pnotice + .pnotice { margin: 0; border-top: 0; }
.staffbar { background: #1f2c29; color: #fff; font-size: 13.5px; text-align: center; padding: 7px 12px; }
.staffbar a { color: #9fe3dc; font-weight: 700; }

.shead { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.shead .sin { display: flex; align-items: center; gap: 18px; height: 70px; }
.slogo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.slogo img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.slogo-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.slogo b { font-size: 20px; letter-spacing: -.01em; }
.snav { display: flex; gap: 4px; margin: 0 auto; align-items: center; }
.snav a { padding: 9px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.snav a:hover { background: #f1efe8; }
.snav a.on { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.snav .snav-tel { display: none; }
.sacts { display: flex; gap: 8px; align-items: center; }
.sbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
.sbtn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.sbtn i { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e74c3c; color: #fff; font-style: normal; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; }
.sburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; font-size: 20px; cursor: pointer; }
@media (max-width: 900px) {
  .shead .sin { height: 62px; gap: 10px; }
  .slogo b { font-size: 17px; }
  .sburger { display: block; }
  .sbtn .sl { display: none; }
  .sbtn { padding: 0 13px; }
  .snav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  body.navopen .snav { display: flex; }
  .snav a { padding: 13px 12px; font-size: 17px; }
  .snav .snav-tel { display: block; color: var(--brand); }
}

.pbtn.ghost { background: #fff; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.pbtn.ghost.light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.5); }
.pbtn.wide + .pbtn.wide { margin-top: 10px; text-align: center; }
.center { text-align: center; }
.pok { background: #e4f3ea; color: var(--green); border-radius: 12px; padding: 11px 14px; font-weight: 600; margin-bottom: 14px; }

/* главная */
.hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 440px; display: flex; align-items: center; padding: 48px; color: #fff;
        background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--brand) 55%, #fff) 0, transparent 45%), linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65) 0, rgba(0,0,0,.25) 65%, rgba(0,0,0,.05)); }
.hero-tx { position: relative; z-index: 1; max-width: 580px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; margin-bottom: 16px; }
.hero h1 { font-size: 50px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; color: #fff; }
.hero p { font-size: 18px; opacity: .92; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .pbtn { background: #fff; color: var(--brand); padding: 16px 28px; font-size: 17px; }
.hero .pbtn.ghost.light { background: rgba(255,255,255,.12); color: #fff; }
.hsec { margin-top: 46px; }
.hsec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hsec-h h2 { font-size: 28px; margin: 0; letter-spacing: -.02em; }
.hsec-h a { font-weight: 700; color: var(--brand); text-decoration: none; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -40px; position: relative; z-index: 2; padding: 0 18px; }
.feat { background: #fff; border-radius: 20px; padding: 22px 20px; box-shadow: 0 16px 40px -24px rgba(13,42,32,.35); }
.feat span { font-size: 34px; display: block; margin-bottom: 10px; }
.feat b { display: block; font-size: 17px; margin-bottom: 4px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
.hgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hcard { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(13,42,32,.06); transition: transform .15s, box-shadow .15s; }
.hcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(13,42,32,.4); }
.hcard-ph { position: relative; aspect-ratio: 4 / 3; background: #eef1ec; display: grid; place-items: center; font-size: 46px; text-decoration: none; }
.hcard-ph img { width: 100%; height: 100%; object-fit: cover; }
.hcard-ph .pbadge { top: 10px; left: 10px; font-size: 13px; padding: 3px 9px; }
.hcard-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hcard-n { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.25; }
.hcard-k { font-size: 13px; color: var(--muted); }
.hcard-f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.hcard-f b { font-size: 19px; }
.hcard-f small { font-size: 13px; color: var(--muted); font-weight: 600; }
.hcard-f button { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--brand); color: #fff; font-size: 22px; cursor: pointer; }
.hcard-f button:active { transform: scale(.92); }
.ppromos.big { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); overflow: visible; }
.ppromos.big .ppromo { min-height: 150px; padding: 22px; }
.ppromos.big .ppromo b { font-size: 21px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border-radius: 20px; padding: 24px; }
.step i { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-weight: 800; font-size: 19px; display: grid; place-items: center; margin-bottom: 12px; }
.step b { font-size: 18px; display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.hcontact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border-radius: 24px; padding: 30px; }
.hcontact h2 { font-size: 26px; margin-bottom: 8px; }
.hcontact p { margin: 4px 0; }
.big-tel { font-size: 28px; font-weight: 800; color: var(--brand); text-decoration: none; }
.hcontact-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.pbanner h2 { font-size: 26px; }
.pbanner.img { min-height: 280px; }

/* страницы */
.spage { max-width: 820px; margin: 0 auto; }
.spage-h { display: flex; align-items: center; gap: 14px; margin: 10px 0 20px; }
.spage-h span { font-size: 42px; }
.spage-h h1 { font-size: 36px; margin: 0; letter-spacing: -.02em; }
.spage-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 22px; margin-bottom: 18px; }
.spage-tx { padding: 26px 28px; font-size: 17px; line-height: 1.65; }
.spage-tx p { margin: 0 0 14px; }
.spage-tx p:last-child { margin: 0; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.ccard { background: #fff; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
a.ccard:hover { box-shadow: 0 0 0 2px var(--brand); }
.ccard span { font-size: 28px; }
.ccard b { font-size: 16px; }
.ccard small { color: var(--muted); font-size: 14.5px; }

/* вход */
.auth { display: grid; place-items: center; padding: 30px 0 20px; }
.auth-box { width: min(440px, 100%); background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 20px 50px -28px rgba(13,42,32,.45); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1efe8; border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: none; padding: 12px; border-radius: 11px; font: inherit; font-weight: 700; font-size: 16px; color: var(--muted); cursor: pointer; }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.passw { position: relative; }
.passw input { padding-right: 52px; }
.passw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 18px; cursor: pointer; padding: 8px; }
input[type=password], input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none; box-sizing: border-box; }
input:disabled { background: #f1efe8; color: var(--muted); }

/* кабинет */
.acc { max-width: 900px; margin: 0 auto; }
.acc-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 18px; }
.acc-h h1 { font-size: 30px; margin: 0; }
.acc-h p { margin: 4px 0 0; }
.acc-bal { display: flex; justify-content: space-between; align-items: center; }
.acc-bal b { font-size: 26px; color: var(--green); }
.acc-bal b.neg { color: var(--red); }
.acc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.olist { display: grid; gap: 8px; }
.orow { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eeede7; }
.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: 4px; text-align: right; white-space: nowrap; }
.orow-s a { color: var(--brand); font-weight: 700; font-size: 14px; }
.ost { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #fdf1dc; color: #9a6a12; }
.ost.s-delivered { background: #e4f3ea; color: var(--green); }
.ost.s-cancelled { background: #f7e2de; color: var(--red); }
.linkbtn { border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; }

/* корзина: всплывашка */
.ctoast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: #1f2c29; color: #fff; padding: 13px 20px; border-radius: 14px; font-weight: 700; text-decoration: none; z-index: 50; transition: all .25s; pointer-events: none; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.ctoast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
body.hasbar .ctoast { bottom: 96px; }

/* меню на компьютере шире: в две колонки */
.pg-menu .pwrap, .pg-account .pwrap { max-width: 1000px; }
@media (min-width: 860px) {
  .pg-menu .plist { grid-template-columns: 1fr 1fr; }
  .pg-menu .pcats { position: sticky; top: 70px; z-index: 5; background: #f7f5f0; padding-top: 8px; }
  .pbar { left: 50%; transform: translateX(-50%); max-width: 1000px; border-radius: 18px 18px 0 0; }
}
.pbuy .pbtn.ghost { display: block; }

.sfoot { background: #1f2c29; color: #cfd8d4; margin-top: 60px; padding: 40px 0 0; font-size: 14.5px; }
.sfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.sfoot b { color: #fff; display: block; margin-bottom: 10px; }
.sfoot-brand { font-size: 20px; }
.sfoot a, .sfoot span { display: block; color: #cfd8d4; text-decoration: none; margin: 6px 0; }
.sfoot a:hover { color: #fff; }
.sfoot-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 16px 18px 22px; color: #8fa19b; font-size: 13px; }
body.hasbar .sfoot { padding-bottom: 80px; }

@media (max-width: 900px) {
  .hero { min-height: 380px; padding: 30px 22px; border-radius: 22px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .feats { grid-template-columns: 1fr 1fr; margin-top: 16px; padding: 0; }
  .hgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .hsec { margin-top: 34px; }
  .hsec-h h2 { font-size: 23px; }
  .sfoot-grid { grid-template-columns: 1fr; gap: 14px; }
  .acc-two { grid-template-columns: 1fr; }
  .spage-h h1 { font-size: 28px; }
  .hcard-b { padding: 10px 12px 12px; }
  .hcard-n { font-size: 14.5px; }
  .hcard-f b { font-size: 16px; }
  .hcard-f button { width: 38px; height: 38px; }
}
[hidden] { display: none !important; }
.pqty input[type=number] { width: 52px; padding: 8px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.pqty.big input[type=number] { flex: 1; }
