/* ==========================================================================
   Be Craft — сторінки «Підбірки», «Про нас», «Контакти», «Партнерам», FAQ, рецепти, пошук, відновлення пароля (новий дизайн).
   Префікс .pg-*. Спільна основа — new-home.css (шапка/підвал .nd-*). Верстка перенесена з newdesign/222/becraft-wp (ручна верстка по Figma).
   Макет 1536px, контент 1152px, адаптив 1200 / 960 / 600.
   ========================================================================== */

.pg {
  --bg: #FBFBF9; --sand: #F2EBDB; --sand-2: #E3D7CC; --ink: #413227; --bar: #5A483A;
  --muted: #766150; --muted-2: #7D6652; --muted-3: #CDB7A5; --gold: #C9AE87; --cream: #FFFDF9; --cream-2: #FFFBF3;
  --peach: #FAE3C2; --foot-link: #C8BCA4; --foot-text: #E0DCD3; --line: rgba(65, 50, 39, .18);
  --container: 1152px; --gutter: 24px;
  --font-head: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-body);
}
.pg :where(img) { max-width: 100%; display: block; }
.pg :where(a) { color: inherit; text-decoration: none; }
.pg :where(h1, h2, h3, h4) { font-family: var(--font-head); margin: 0; color: var(--ink); line-height: 1.2; }
.pg :where(p) { margin: 0; }
.pg :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.pg :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.pg :where(input, textarea, select) { font: inherit; color: var(--ink); }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }

/* ---------- Сетка ---------- */
.pg-container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.pg-section { padding: 96px 0; }
.pg-section--sand { background: var(--sand); }
.pg-section--dark { background: var(--ink); color: var(--cream); }
.pg-section--dark h2, .pg-section--dark h3 { color: var(--cream); }
.pg-grid { display: grid; gap: 32px; }
.pg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pg-stack-8 > * + * { margin-top: 8px; }
.pg-stack-16 > * + * { margin-top: 16px; }
.pg-stack-24 > * + * { margin-top: 24px; }

/* ---------- Типографика ---------- */
.pg-eyebrow { font: 400 12px/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pg-section--dark .pg-eyebrow, .pg-eyebrow--gold { color: var(--gold); }
.pg-h1 { font: 700 32px/1.25 var(--font-head); letter-spacing: -.01em; }
.pg-h1-xl { font: 700 40px/1.2 var(--font-head); letter-spacing: -.01em; }
.pg-h2 { font: 700 40px/1.2 var(--font-head); letter-spacing: -.01em; }
.pg-h2-light { font-weight: 300; }
.pg-h2-sm { font: 400 24px/1.3 var(--font-head); }
.pg-h3 { font: 400 20px/1.35 var(--font-head); }
.pg-h3-b { font-weight: 700; }
.pg-lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.pg-section--dark .pg-lead { color: var(--gold); }
.pg-text { font-size: 16px; color: var(--muted); }
.pg-small { font-size: 13px; color: var(--muted); }
.pg-tiny { font-size: 12px; color: var(--muted); }
.pg-num { font: 200 40px/1 var(--font-head); }
.pg-price { font: 400 16px/1.3 var(--font-head); }
.pg-price s, .pg-old { color: var(--muted-2); text-decoration: line-through; margin-left: 8px; }
.pg-ink { color: var(--ink); }

/* ---------- Кнопки и ссылки ---------- */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 40px;
  font: 400 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream) !important; transition: opacity .2s; }
.pg-btn:hover { opacity: .88; }
.pg-btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink) !important; }
.pg-btn--ghost { background: transparent; color: var(--ink) !important; }
.pg-btn--ghost-light { background: transparent; border-color: var(--cream); color: var(--cream) !important; }
.pg-btn--block { width: 100%; }
.pg-btn--lg { min-height: 56px; }
.pg-btn[disabled] { background: transparent; border-color: var(--line); color: #9E9E9E !important; cursor: default; }
.pg-link { font: 400 13px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.pg-link-sm { font-size: 12px; }
.pg-textlink { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Чипы-фильтры */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 20px; border: 1px solid var(--line);
  font: 400 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: transparent; }
.pg-chip sup, .pg-chip .pg-cnt { font-size: 10px; letter-spacing: 0; color: var(--muted-2); }
.pg-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pg-chip.is-active .pg-cnt { color: var(--peach); }
.pg-tag { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; background: var(--sand); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pg-badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 3px 8px; background: var(--sand); font: 400 11px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.pg-badge--dark { background: var(--ink); color: var(--cream); }

/* Кнопки выбора объёма */
.pg-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg-option { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; border: 1px solid var(--line);
  font: 400 12px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.pg-option small { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.pg-option.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pg-option.is-active small { color: var(--peach); }

/* Количество */
.pg-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 48px; }
.pg-qty button { width: 48px; height: 100%; font-size: 18px; }
.pg-qty input { width: 48px; text-align: center; border: 0; background: transparent; font: 400 16px var(--font-head); }

/* ---------- Медиа-заглушки (заменить на <img>) ---------- */
.pg-media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--sand) center / cover no-repeat; overflow: hidden; }
.pg-media > img { width: 100%; height: 100%; object-fit: cover; }
.pg-section--sand .pg-media { background-color: var(--sand-2); }
.pg-media[data-img]:empty::after { content: attr(data-img); position: absolute; inset: auto 12px 12px; font-size: 11px; color: var(--muted-2); }
.pg-media--3x2 { aspect-ratio: 3 / 2; }
.pg-media--contain img { object-fit: contain; padding: 24px; box-sizing: border-box; }
.pg-media--4x5 { aspect-ratio: 4 / 5; }
.pg-media--4x3 { aspect-ratio: 4 / 3; }
.pg-media--wide { aspect-ratio: 16 / 7; }

/* ---------- Хлебные крошки и шапка страницы ---------- */
.pg-crumbs { padding: 40px 0 0; font-size: 13px; color: var(--muted); }
.pg-crumbs a { color: var(--muted); }
.pg-crumbs span { color: var(--muted-2); margin: 0 6px; }
.pg-crumbs b { font-weight: 400; color: var(--ink); }
.pg-page-head { padding: 48px 0 64px; }
.pg-page-head .pg-h1 { margin-top: 16px; }
.pg-page-head .pg-lead { margin-top: 16px; }
.pg-page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.pg-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.pg-sec-head .pg-h2, .pg-sec-head .pg-h2-sm { margin-top: 16px; }
.pg-sec-head .pg-lead { margin-top: 16px; }

/* ---------- Карточки ---------- */
.pg-card { position: relative; display: flex; flex-direction: column; }
.pg-card .pg-media { margin-bottom: 24px; }
.pg-card__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pg-card__title { font: 400 20px/1.35 var(--font-head); }
.pg-card__meta { font-size: 13px; color: var(--muted-2); margin-top: 12px; }
.pg-card__desc { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pg-card__price { font: 400 16px var(--font-head); margin-top: 16px; }
.pg-card__actions { margin-top: 20px; }
.pg-card .pg-btn--ghost { min-height: 44px; padding: 0 24px; width: 100%; }
.pg-card--sm .pg-card__title { font-size: 16px; }
.pg-card--sm .pg-media { margin-bottom: 16px; }
.pg-card__count { position: absolute; top: 16px; left: 16px; padding: 8px 12px; background: var(--bg); font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* Карточка адреса */
.pg-addr { padding: 32px; border: 1px solid var(--line); background: var(--bg); }
.pg-addr .pg-h3 { margin-bottom: 4px; }
.pg-addr__links { display: flex; gap: 24px; margin-top: 24px; }
.pg-addr__links a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* Отзыв */
.pg-review { padding: 32px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.pg-review q { quotes: none; font: 400 19px/1.5 var(--font-body); }
.pg-review__who { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.pg-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--muted-2); color: #fff; display: grid; place-items: center; font: 700 18px var(--font-head); }
.pg-review__who b { display: block; font: 400 16px var(--font-head); }
.pg-review__who small { font-size: 13px; color: var(--muted); }
.pg-rating { display: inline-flex; align-items: center; gap: 8px; font: 400 16px var(--font-head); }
.pg-rating::before { content: "★★★★★"; letter-spacing: 2px; color: var(--ink); font-size: 13px; }
.pg-rating small { font: 400 13px var(--font-body); color: var(--muted); }

/* ---------- Аккордеон FAQ (нативный <details>) ---------- */
.pg-faq { border-top: 1px solid var(--line); }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 400 20px/1.35 var(--font-head); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; font: 300 24px/1 var(--font-body); color: var(--muted); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details > div { padding: 0 0 28px; font-size: 17px; color: var(--muted); max-width: 900px; }
.pg-section--dark .pg-faq, .pg-section--dark .pg-faq details { border-color: rgba(255,253,249,.2); }
.pg-section--dark .pg-faq summary { color: #fff; }
.pg-section--dark .pg-faq details > div { color: var(--foot-text); }
.pg-faq--center-head .pg-sec-head { justify-content: center; text-align: center; }

/* ---------- Формы ---------- */
.pg-form { display: grid; gap: 24px; }
.pg-form-row { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.pg-field { display: flex; flex-direction: column; gap: 10px; }
.pg-field label, .pg-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pg-input { height: 48px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0 2px; font-size: 16px; outline: none; }
.pg-input::placeholder, textarea::placeholder { color: var(--muted-2); }
.pg-input:focus { border-color: var(--ink); }
textarea.pg-input { height: 96px; padding-top: 12px; resize: vertical; }
.pg-phone { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.pg-phone .pg-flag { width: 20px; height: 14px; background: linear-gradient(#0057B7 50%, #FFD700 50%); }
.pg-phone .pg-code { color: var(--muted); }
.pg-phone .pg-input { border: 0; flex: 1; }
.pg-hint { font-size: 12px; color: var(--muted); }
.pg-check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.5; }
.pg-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: 0 0 18px; }
.pg-check a { color: var(--ink); }
.pg-pass { position: relative; }
.pg-pass button { position: absolute; right: 0; bottom: 12px; font-size: 12px; color: var(--muted); }
.pg-form--dark .pg-label, .pg-form--dark label { color: var(--gold); }
.pg-form--dark .pg-input, .pg-form--dark .pg-phone { border-color: rgba(255,253,249,.3); color: var(--cream); }

/* Тёмная плашка с формой «Залишилося питання?» / «Підбір» */
.pg-callback { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.pg-callback__form { display: flex; gap: 32px; align-items: flex-end; }
.pg-callback__form .pg-field { width: 220px; }

/* CTA-сплит: фото слева, тёмный блок справа */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 597px; }
.pg-split__media { background: var(--sand) center / cover no-repeat; position: relative; }
.pg-split__body { background: var(--ink); color: var(--cream); padding: 120px 120px 80px 120px; display: flex; flex-direction: column; justify-content: center; }
.pg-split__body .pg-h2 { color: var(--cream); margin: 24px 0 24px; }
.pg-split__body .pg-lead { color: var(--gold); margin-bottom: 40px; }
.pg-btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Цифры */
.pg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pg-stats .pg-num { display: block; margin-bottom: 12px; }
.pg-stats p { font-size: 13px; color: var(--muted); }

/* Шаги 01–04 */
.pg-steps { display: grid; gap: 32px; grid-template-columns: repeat(4, 1fr); }
.pg-steps--3 { grid-template-columns: repeat(3, 1fr); }
.pg-step { display: flex; gap: 24px; }
.pg-step__n { font-size: 12px; letter-spacing: .18em; color: var(--muted); padding-top: 4px; }
.pg-step h3 { font: 400 20px/1.35 var(--font-head); margin-bottom: 8px; }
.pg-step p { font-size: 16px; color: var(--muted); }

/* Сайдбар + контент */
.pg-with-aside { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.pg-with-aside--wide { grid-template-columns: 256px 1fr; gap: 88px; }
.pg-with-panel { display: grid; grid-template-columns: 1fr 384px; gap: 64px; align-items: start; }
.pg-panel { background: var(--sand); padding: 40px; position: sticky; top: 24px; }
.pg-panel h2 { font: 600 24px/1.3 var(--font-head); }
.pg-panel__row { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pg-panel__row b { font: 400 16px var(--font-head); color: var(--ink); }
.pg-panel__total { display: flex; justify-content: space-between; font: 600 20px var(--font-head); padding: 24px 0; }
.pg-side-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font: 400 16px var(--font-head); color: var(--muted); }
.pg-side-nav a.is-active { color: var(--ink); font-weight: 600; }
.pg-side-nav a span { font: 400 13px var(--font-body); color: var(--muted-2); }

/* Кабинет пользователя */
.pg-account-user b { display: block; font: 400 20px var(--font-head); }
.pg-account-user small { font-size: 13px; color: var(--muted); }
.pg-account-nav { margin-top: 48px; }
.pg-account-out { display: inline-block; margin-top: 40px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid; }
.pg-block-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.pg-block-title .pg-n { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.pg-block-title h2 { font: 600 24px/1.3 var(--font-head); }
.pg-block-title .pg-aside { margin-left: auto; font-size: 13px; color: var(--muted); }
.pg-block + .pg-block { margin-top: 96px; }
.pg-table { width: 100%; border-collapse: collapse; }
.pg-table th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.pg-table td { padding: 20px 0; border-bottom: 1px solid var(--line); font: 400 16px var(--font-head); vertical-align: top; }
.pg-table td.pg-n { color: var(--muted-3); font: 400 13px var(--font-body); width: 64px; }
.pg-table td.pg-m { font: 400 13px var(--font-body); color: var(--muted); }

/* Авторизация */
.pg-auth { display: grid; grid-template-columns: 576px 1fr; gap: 88px; padding: 48px 0 120px; align-items: center; }
.pg-auth__media { position: relative; aspect-ratio: 4 / 5; }
.pg-auth__note { position: absolute; left: 72px; right: 8px; bottom: 72px; background: var(--ink); color: var(--cream-2); padding: 32px; }
.pg-auth__note .pg-eyebrow { color: var(--gold); }
.pg-auth__note h2 { font: 300 24px/1.3 var(--font-head); color: var(--cream); margin: 12px 0 16px; }
.pg-auth__note li { font-size: 13px; padding: 4px 0; }
.pg-auth__form { max-width: 400px; }
.pg-auth__tabs { display: flex; gap: 24px; margin: 24px 0 40px; }
.pg-auth__tabs a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.pg-auth__tabs a.is-active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.pg-auth__bonus { background: var(--sand); padding: 16px 20px 16px 40px; font-size: 13px; }
.pg-auth__alt { font-size: 12px; color: var(--muted); margin-top: 24px; }

/* Товар / мастер-класс */
.pg-product { display: grid; grid-template-columns: 560px 1fr; gap: 152px; padding: 48px 0 96px; }
.pg-product__gallery .pg-media { aspect-ratio: 4 / 5; }
.pg-product__thumbs { display: flex; gap: 16px; margin-top: 16px; }
.pg-product > * { min-width: 0; }
.pg-product__thumbs .pg-media { width: min(88px, 22%); aspect-ratio: 4 / 5; }
.pg-product__title { font: 700 40px/1.2 var(--font-head); letter-spacing: -.01em; margin: 16px 0 16px; }
.pg-product__price { font: 400 24px var(--font-head); margin: 40px 0 32px; }
.pg-product__price s { font-size: 17px; }
.pg-product__features li { display: flex; gap: 12px; font-size: 13px; color: var(--muted); padding: 6px 0; }
.pg-product__features li::before { content: "—"; color: var(--muted-2); }
.pg-product__buy { margin-top: 32px; }
.pg-product__secondary { display: flex; justify-content: space-between; margin-top: 24px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.pg-product__secondary a { border-bottom: 1px solid; }
.pg-product__delivery { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.pg-product__delivery p { font-size: 15px; color: var(--muted); font-weight: 700; }
.pg-product__delivery p + p { margin-top: 16px; }
.pg-product__delivery small { display: block; font-weight: 400; color: var(--foot-link); margin-top: 4px; }
.pg-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.pg-radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line); }
.pg-radio input { margin-top: 4px; accent-color: var(--ink); }
.pg-radio b { display: block; font: 400 13px var(--font-head); }
.pg-radio small { font-size: 11px; color: var(--muted); }
.pg-pyramid { display: grid; grid-template-columns: 400px 1fr; gap: 0 32px; }
.pg-pyramid dl { margin: 0; display: grid; grid-template-columns: 164px 1fr; row-gap: 40px; }
.pg-pyramid dt { font-size: 12px; letter-spacing: .18em; color: #fff; }
.pg-pyramid dd { margin: 0; font-size: 17px; color: var(--foot-text); }
.pg-program li { display: flex; gap: 16px; padding: 14px 0; font: 400 16px var(--font-head); }
.pg-program li span { font: 400 12px var(--font-body); letter-spacing: .18em; color: var(--muted); padding-top: 3px; }

/* Каталог */
.pg-lines { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); margin-bottom: 64px; }
.pg-lines a { padding: 14px; border-right: 1px solid var(--line); }
.pg-lines a:last-child { border-right: 0; }
.pg-lines b { display: block; font: 400 13px var(--font-head); }
.pg-lines small { font-size: 11px; color: var(--muted-2); }
.pg-filters > * + * { margin-top: 40px; }
.pg-filters .pg-label { display: block; margin-bottom: 16px; }
.pg-filters .pg-side-nav a { color: var(--ink); padding: 6px 0; }
.pg-toolbar { display: flex; justify-content: space-between; margin-bottom: 32px; font-size: 13px; color: var(--muted); }
.pg-toolbar button { letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.pg-more { text-align: center; margin-top: 64px; }

/* Сборщик наборов */
.pg-picker-card { display: flex; flex-direction: column; }
.pg-picker-card .pg-media { margin-bottom: 16px; }
.pg-picker-card h3 { font: 400 16px/1.4 var(--font-head); }
.pg-picker-card p { font-size: 13px; color: var(--muted); margin-top: 8px; flex: 1; }
.pg-picker-card .pg-price { margin-top: 16px; }
.pg-picker-card .pg-price small { font: 400 13px var(--font-body); color: var(--muted-2); margin-left: 8px; }
.pg-picker-card .pg-btn { margin-top: 16px; min-height: 44px; }
.pg-picker-card.is-added .pg-btn { background: var(--ink); color: var(--cream) !important; }
.pg-set-count { font: 600 24px var(--font-head); }
.pg-set-empty { font-size: 13px; color: var(--muted); padding: 24px 0; border-bottom: 1px solid var(--line); }

/* Рецепты */
.pg-recipe-card { border: 1px solid var(--line); padding: 24px; background: var(--bg); }
.pg-recipe-card .pg-card__cat { margin-bottom: 12px; }
.pg-recipe-card h3 { font: 400 20px var(--font-head); }
.pg-recipe-card .pg-tags { display: flex; gap: 8px; margin: 24px 0; }
.pg-recipe-card .pg-tags span { padding: 6px 10px; background: var(--sand); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pg-recipe-card footer { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.pg-recipe-card footer a { color: var(--ink); border-bottom: 1px solid; }
.pg-banner { background: var(--sand); padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }

/* Главная */
.pg-hero { position: relative; min-height: 760px; display: flex; align-items: center; background: #2e241c center / cover no-repeat; color: var(--cream); }
.pg-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.pg-hero > .pg-container { position: relative; }
.pg-hero__title { font: 300 68px/1.2 var(--font-head); letter-spacing: .03em; color: var(--cream); }
.pg-hero__title b { font-weight: 300; display: block; }
.pg-hero .pg-lead { color: var(--cream-2); margin: 24px 0 48px; max-width: 520px; }
.pg-hero__city { margin-top: 32px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pg-hero--light { background-color: var(--sand-2); color: var(--ink); }
.pg-hero--light::before { display: none; }
.pg-hero--light .pg-hero__title, .pg-hero--light .pg-eyebrow { color: var(--ink); }
.pg-hero--light .pg-hero__title b { font-weight: 900; }
.pg-hero--light .pg-lead { color: var(--muted); }
.pg-figures { background: var(--ink); padding: 72px 0; }
.pg-figures .pg-stats .pg-num { font-size: 56px; color: var(--cream); }
.pg-figures .pg-stats p { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pg-video { position: relative; aspect-ratio: 1536 / 772; background: #000 center / cover; display: grid; place-items: center; }
.pg-video button { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--cream); color: var(--cream); font-size: 24px; }
.pg-tabs-inline { display: flex; gap: 32px; }
.pg-tabs-inline button { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-tabs-inline button.is-active { color: var(--ink); border-bottom: 1px solid; }
.pg-collection-banner { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; background: var(--ink) center / cover; color: var(--cream); }
.pg-collection-banner .pg-h2 { color: var(--cream); margin: 16px 0; }
.pg-collection-banner .pg-lead { color: var(--gold); margin: 0 auto 40px; }
.pg-consult { position: relative; text-align: center; padding: 80px 0; background: var(--sand) center / cover; }
.pg-consult .pg-lead { margin: 16px auto 40px; }
.pg-consult .pg-form { max-width: 560px; margin: 0 auto; text-align: left; }

/* Обложка линейки (Be Luxury) */
.pg-cover { position: relative; min-height: 384px; display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--ink) center / cover; color: var(--cream); }
.pg-cover h1 { font: 700 68px/1.1 var(--font-head); color: var(--cream); margin: 16px 0; }
.pg-cover p { color: var(--cream-2); max-width: 640px; }

/* Миссия */
.pg-mission { text-align: center; }
.pg-mission p { font: 200 34px/1.45 var(--font-head); color: var(--cream); max-width: 780px; margin: 24px auto; }
.pg-mission small { font-size: 13px; letter-spacing: .18em; color: var(--gold); }

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  .pg-split__body { padding: 64px; }
  .pg-product { grid-template-columns: 1fr 1fr; gap: 64px; }
  .pg-auth { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 960px) {
  .pg [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .pg-panel[style*="margin-top"] { margin-top: 0 !important; }
  .pg-table { display: block; overflow-x: auto; }
  .pg-grid-3, .pg-grid-4, .pg-stats, .pg-steps { grid-template-columns: repeat(2, 1fr); }
  .pg-with-aside, .pg-with-aside--wide, .pg-with-panel, .pg-split, .pg-product, .pg-auth, .pg-pyramid, .pg-callback { grid-template-columns: 1fr; }
  .pg-panel { position: static; }
  .pg-lines { grid-template-columns: repeat(4, 1fr); }
  .pg-lines a { border-bottom: 1px solid var(--line); }
  .pg-split__media { min-height: 360px; }
  .pg-callback__form { flex-wrap: wrap; }
  .pg-h2, .pg-h1-xl, .pg-product__title { font-size: 32px; }
  .pg-hero__title, .pg-cover h1 { font-size: 44px; }
  .pg-section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .pg-grid-2, .pg-grid-3, .pg-grid-4, .pg-stats, .pg-steps, .pg-steps--3, .pg-form-row, .pg-options, .pg-radios { grid-template-columns: 1fr; }
  .pg-lines { grid-template-columns: repeat(2, 1fr); }
  .pg-sec-head, .pg-page-head__row, .pg-banner { flex-direction: column; align-items: flex-start; }
  .pg-h2 { font-size: 28px; }
  .pg-hero { min-height: 560px; }
  .pg-hero__title, .pg-cover h1 { font-size: 36px; }
  .pg-split__body, .pg-panel { padding: 32px 24px; }
  .pg-callback__form .pg-field { width: 100%; }
  .pg-auth__note { position: static; margin-top: -40px; }
}

/* ==========================================================================
   Доповнення для WordPress-версії (утиліти, форми заявок, рецепти, пошук)
   ========================================================================== */
.pg { overflow-x: clip; }
.pg a:focus-visible, .pg button:focus-visible, .pg summary:focus-visible, .pg .pg-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Утиліти відступів/вирівнювання (замість inline-style з макета) */
.pg-bold { font-weight: 700 !important; }
.pg-center { text-align: center; }
.pg-t-r { text-align: right; }
.pg-mt-xs { margin-top: 6px; }
.pg-mt-s { margin-top: 12px; }
.pg-mt-m { margin-top: 24px; }
.pg-mt-l { margin-top: 32px; }
.pg-mt-xl { margin-top: 120px; }
.pg-mt-banner { margin: 96px 0 120px; }
.pg-mb-s { margin-bottom: 16px; }
.pg-mb-m { margin-bottom: 24px; }
.pg-pb-s { padding-bottom: 24px; }
.pg-pb-xl { padding-bottom: 120px; }
.pg-h1--hero { margin: 16px 0 32px; }
.pg-h1--gap { margin: 16px 0 24px; }
.pg-h2--gap { margin: 16px 0 24px; }
.pg-h2--mini { margin: 12px 0 8px; }
.pg-num--s { font-size: 24px; font-weight: 300; }
.pg-num--m { font-size: 44px; }
.pg-lead--center { margin: 16px auto 40px; }
.pg-btn-row--center { justify-content: center; }
.pg-btn--auto { width: auto !important; }
.pg-page-head--tight { padding-bottom: 48px; }
.pg-page-head--search { padding-bottom: 40px; }
.pg-head-s { padding: 48px 0 40px; align-items: flex-end; }
.pg-grid--rows { row-gap: 64px; }
.pg-grid--top { align-items: start; }
.pg-grid--center { gap: 64px; align-items: center; }
.pg-grid--wide { gap: 64px; }
.pg-grid--directions { gap: 72px 32px; padding-bottom: 120px; }
.pg-hero-split { gap: 64px; align-items: center; padding: 40px 0 120px; }
.pg-media--tall { aspect-ratio: 669 / 892; }
.pg-media--banner { aspect-ratio: 1536 / 397; width: 100%; }
.pg-pair { display: flex; gap: 40px; margin-top: 40px; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pg-features li { display: flex; gap: 12px; font-size: 13px; color: var(--muted); padding: 6px 0; }
.pg-features li::before { content: "—"; color: var(--muted-2); }
.pg-card__lead { margin: 16px 0 20px; }
.pg-card__title a, .pg-card h3 a { color: inherit; }
.pg-media > img { position: absolute; inset: 0; }
.pg-contact-item { margin-top: 48px; }
.pg-contact-item + .pg-contact-item { margin-top: 40px; }
.pg-contact-big { font: 300 28px/1.3 var(--font-head); margin: 12px 0 4px; word-break: break-word; }
.pg-contact-cta { display: flex; align-items: center; gap: 24px; margin-top: 56px; flex-wrap: wrap; }
.pg-doclist { margin-top: 12px; line-height: 2; }
.pg-doclist a:hover, .pg-link:hover, .pg-textlink:hover { opacity: .7; }
.pg-sticky { position: sticky; top: 24px; }
.pg-faq-group { margin-bottom: 96px; }
.pg-faq-group:last-child { margin-bottom: 0; }
.pg-with-aside--none { grid-template-columns: 1fr; }
.pg-with-aside > .pg-aside { min-width: 0; }
.pg-with-aside > div { min-width: 0; }
.pg-callback > div:first-child { min-width: 0; }

/* Хлібні крихти */
.pg-crumbs { padding: 40px 0 0; font-size: 13px; color: var(--muted); }
.pg-crumbs a { color: var(--muted); }
.pg-crumbs span { color: var(--muted-2); margin: 0 6px; }
.pg-crumbs b { font-weight: 400; color: var(--ink); }
.pg-crumbs a:hover { color: var(--ink); }

/* Форми заявок */
.pg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pg-form-foot { display: flex; align-items: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.pg-form-msg { margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.pg-form-msg.is-error { color: #a33a2a; }
.pg-form.is-sent .pg-field, .pg-form.is-sent .pg-form-foot, .pg-form.is-sent .pg-form-row { display: none; }
.pg-form--dark .pg-form-msg { color: var(--cream); }
.pg-form--dark .pg-form-msg.is-error { color: #f1b3a8; }
.pg-form--dark label { color: var(--gold); }
.pg-callback__form { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.pg-callback__form .pg-field { width: 220px; }
.pg-callback__form .pg-form-foot { margin: 0; }
.pg-callback__form .pg-form-msg { flex-basis: 100%; }
.pg-form--dark .pg-input { color: var(--cream); }
.pg-form--dark .pg-input::placeholder { color: rgba(255, 253, 249, .55); }
select.pg-input { appearance: none; background: transparent; }

/* Місія */
.pg-mission .pg-eyebrow { font: 400 12px/1.4 var(--font-body); margin: 0 auto; max-width: none; color: var(--gold); letter-spacing: .18em; }

/* Заголовок блоку FAQ/кабінету */
.pg-block-title .pg-aside-note { margin-left: auto; font-size: 13px; color: var(--muted); }
.pg-block--first { margin-top: 96px; }
.pg-table--s td { padding: 10px 0; font-size: 14px; }
.pg-table td.pg-m { font: 400 13px var(--font-body); color: var(--muted); }
.pg-table a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Кабінет-сайдбар на сторінках рецепта */
.pg-aside { align-self: start; }
.pg-account-user b { display: block; font: 400 20px var(--font-head); }
.pg-account-user small { font-size: 13px; color: var(--muted); }
.pg-account-nav { margin-top: 48px; }
.pg-account-out { display: inline-block; margin-top: 40px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid; }
.pg-with-panel { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
.pg-with-aside > .pg-with-panel { min-width: 0; }
.pg-panel { position: sticky; top: 24px; margin-top: 0; }
.pg-panel__lead { margin: 16px 0 24px; }
.pg-panel__list { margin-bottom: 8px; }
.pg-panel__row span { padding-right: 12px; }
.pg-panel__total { padding: 24px 0; }
.pg-panel__total span:last-child { font: 400 24px var(--font-head); }
.pg-notice { margin: 0 0 24px; padding: 14px 18px; background: var(--sand); font-size: 14px; }

/* Рецепти */
.pg-filters { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.pg-filter .pg-label { display: block; margin-bottom: 12px; }
.pg-more { text-align: center; margin-top: 64px; }
.pg-empty { padding: 48px 0; }
.pg-recipe-card { border: 1px solid var(--line); padding: 24px; background: var(--bg); }
.pg-recipe-card > summary { list-style: none; cursor: pointer; }
.pg-recipe-card > summary::-webkit-details-marker { display: none; }
.pg-recipe-card h3 { font: 400 20px/1.35 var(--font-head); }
.pg-recipe-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-recipe-card .pg-card__cat { margin-bottom: 12px; }
.pg-tags-s { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.pg-tags-s span { padding: 6px 10px; background: var(--sand); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pg-recipe-card footer { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.pg-recipe-card__body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pg-recipe-card__buy { display: grid; gap: 16px; margin-top: 20px; text-align: center; }
.pg-actions-s { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.pg-actions-s .pg-textlink { font-size: 13px; cursor: pointer; }
.pg-textlink { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-btn.is-busy { opacity: .6; pointer-events: none; }

/* Пошук */
.pg-search-form { display: flex; gap: 16px; align-items: flex-end; margin-top: 32px; max-width: 640px; }
.pg-search-form input[type="search"] { flex: 1; height: 52px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 17px; padding: 0 2px; outline: none; border-radius: 0; }
.pg-result + .pg-result { margin-top: 80px; }
.pg-hits { border-top: 1px solid var(--line); }
.pg-hits li { border-bottom: 1px solid var(--line); }
.pg-hits a { display: block; padding: 22px 0; }
.pg-hits a:hover .pg-hits__title { text-decoration: underline; text-underline-offset: 3px; }
.pg-hits__title { display: block; font: 400 20px/1.35 var(--font-head); }
.pg-hits__meta { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ACF-форма рецепта під макет */
.pg-acf { min-width: 0; max-width: 760px; }
.pg-acf__form { margin-top: 48px; }
.pg-acf .acf-form-fields { padding: 0; background: transparent; }
.pg-acf .acf-fields > .acf-field { padding: 0 0 28px; border: 0; }
.pg-acf .acf-label label { font: 400 12px/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pg-acf .acf-field input[type=text], .pg-acf .acf-field input[type=number], .pg-acf .acf-field input[type=email], .pg-acf .acf-field textarea, .pg-acf .acf-field select {
  width: 100%; min-height: 48px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background-color: transparent; box-shadow: none; font: 400 16px var(--font-body); color: var(--ink); outline: none; }
.pg-acf .acf-field textarea { min-height: 96px; }
.pg-acf .acf-field input:focus, .pg-acf .acf-field textarea:focus, .pg-acf .acf-field select:focus { border-color: var(--ink); }
.pg-acf .acf-table { border: 0 !important; }
.pg-acf .acf-table > thead > tr > th { border: 0; font: 400 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: transparent; }
.pg-acf .acf-table > tbody > tr > td { border-color: var(--line); background: transparent; }
.pg-acf .acf-repeater .acf-row-handle { background: transparent; border-color: var(--line); }
.pg-acf .select2-container .select2-selection { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; min-height: 48px; }
.pg-acf .acf-button, .pg-acf .acf-form-submit .acf-button, .pg-acf .acf-actions .acf-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 28px; border: 1px solid var(--ink) !important; background: transparent !important; color: var(--ink) !important;
  font: 400 12px/1.2 var(--font-body) !important; letter-spacing: .12em; text-transform: uppercase; border-radius: 0 !important; cursor: pointer; text-decoration: none !important; }
.pg-acf .acf-actions .acf-button:hover { background: var(--ink) !important; color: var(--cream) !important; }
.pg-acf .acf-form-submit { margin-top: 16px; }
.pg-acf .acf-form-submit .acf-button { min-height: 52px; padding: 0 40px; background: var(--ink) !important; color: var(--cream) !important; }
.pg-acf .acf-form-submit .acf-button:hover { opacity: .88; }
.pg-acf .acf-field--post-title { display: none; }
.pg-acf #message, .pg-acf .acf-notice { margin: 0 0 24px; padding: 12px 16px; background: var(--sand); color: var(--ink); }

@media (max-width: 960px) {
  .pg-with-panel { grid-template-columns: 1fr; }
  .pg-panel { position: static; }
  .pg-sticky { position: static; }
  .pg-grid--directions, .pg-hero-split, .pg-pb-xl { padding-bottom: 72px; }
  .pg-mt-xl { margin-top: 72px; }
  .pg-callback__form .pg-field { width: 100%; }
  .pg-block--first { margin-top: 56px; }
  .pg-faq-group { margin-bottom: 56px; }
  .pg-grid--center, .pg-grid--wide { gap: 40px; }
}
@media (max-width: 600px) {
  .pg-grid--directions { gap: 56px; }
  .pg-pair { gap: 24px; }
  .pg-search-form { flex-direction: column; align-items: stretch; }
  .pg-search-form .pg-btn { width: 100%; }
  .pg-contact-big { font-size: 22px; }
  .pg-crumbs { padding-top: 24px; }
  .pg-mt-banner { margin: 56px 0 72px; }
  .pg-head-s { padding: 32px 0; }
}

/* ---------- Сторінка майстер-класів (templates/pg-masterclasses.php) ---------- */
.pg-mk-city { display: block; max-width: 320px; }
.pg-mk-city select { width: 100%; height: 48px; margin-top: 12px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.pg-mk-filter { margin-bottom: 24px; }
.pg-mk-filter .pg-eyebrow { margin-bottom: 12px; }
.pg-mk-count { margin: 8px 0 32px; }
.pg-mk-card { display: flex; flex-direction: column; }
.pg-mk-card[hidden] { display: none; }
.pg-mk-card .pg-card__actions { margin-top: auto; padding-top: 20px; }
.pg-mk-card .pg-card__meta { display: flex; align-items: center; gap: 6px; }
.pg-mk-callback { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
@media (max-width: 960px) {
  .pg-mk-callback { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Відео-блок головної (.nd-video) на сторінках .pg: скидання кнопок `.pg :where(button)` не повинно ховати кнопку play. */
.pg .nd-video__play { padding: 0 0 0 4px; border: 1px solid rgba(255, 253, 249, 0.85); background: rgba(255, 253, 249, 0.12); color: #fffdf9; }
.pg .nd-video__play:hover { background: rgba(255, 253, 249, 0.24); }
