:root {
  /* бренд */
  --pb-yellow: #FFCC00;        /* каталог, акценти, CTA другого рівня */
  --pb-yellow-tint: #FFF6CC;   /* активні фільтри, підказки, іконки-плашки */
  /* текст */
  --pb-ink: #212529;           /* основний текст, темні кнопки, кошик */
  --pb-ink-body: #3B4046;      /* довгий текст */
  --pb-ink-muted: #5F666D;     /* підписи, допоміжний текст */
  /* поверхні */
  --pb-bg: #F2F2F5;            /* фон сторінки */
  --pb-card: #FFFFFF;
  --pb-muted: #F7F7F9;         /* фон фото, рядків таблиць */
  --pb-line: #E4E4EA;          /* розділювачі */
  --pb-line-control: #D5D5DC;  /* рамки полів, лічильників */
  /* дії і стани */
  --pb-buy: #198038;           /* ЛИШЕ для покупки: Купити / До кошика / Оформити */
  --pb-success: #146C2E;       /* «0 ₴», «Виконано», економія */
  --pb-success-tint: #E6F4EA;
  --pb-sale: #E71C24;          /* акційна ціна, бейдж знижки */
  --pb-error-tint: #FDECEC; --pb-error: #8F1218;
  --pb-warn: #B45309; --pb-warn-tint: #FFF4E5; --pb-warn-ink: #7A3A05;
  --pb-control-off: #A9AEB4;
  --pb-link: #8A5F00;          /* посилання; поточний #D29200 не проходить контраст */
  --pb-disabled: #D9D9DE;
  /* форма */
  --pb-r-badge: 6px; --pb-r-field: 10px; --pb-r-btn: 12px; --pb-r-card: 14px; --pb-r-panel: 16px; --pb-r-banner: 20px;
  --pb-font: 'Mulish', system-ui, sans-serif; /* ваги 500/700/800/900 */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--pb-bg);
  color: var(--pb-ink);
  font: 400 15px/1.5 var(--pb-font);
}

a { color: var(--pb-link); }
:where(a, button, input, select, textarea, summary, [tabindex="0"]):focus-visible { outline: 3px solid var(--pb-yellow); outline-offset: 2px; }
:where(button, input) { color: inherit; font: inherit; }
:where(button):not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }

.pb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pb-header { --pb-header-height: 84px; --pb-header-current: var(--pb-header-height); height: var(--pb-header-height); }
.pb-header__inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.pb-header__brand,
.pb-header__catalog,
.pb-header__phone,
.pb-header__cart {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  color: var(--pb-ink);
  min-height: 44px;
}

.pb-header__brand img { display: block; height: 28px; width: auto; }
.pb-header__catalog {
  height: 48px;
  padding: 0 18px;
  border-radius: var(--pb-r-field);
  background: var(--pb-yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.pb-header__search-toggle, .pb-header__phone-mobile { display: none; }
.pb-header__phone-text { display: flex; flex-direction: column; line-height: 1.2; }
.pb-header__phone-desktop { font-size: 16px; font-weight: 800; white-space: nowrap; }

.pb-header__cart,
.pb-header__cart:hover {
  height: 48px;
  padding: 0 16px;
  border-radius: var(--pb-r-field);
  background: var(--pb-ink);
  color: var(--pb-card);
  font-weight: 800;
}

.pb-header__cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pb-yellow);
  color: var(--pb-ink);
  font-size: 12px;
}

.pb-search {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 51px;
  padding: 0 2px 0 4px;
  border: 1.5px solid var(--pb-line-control);
  border-radius: var(--pb-r-field);
  background: var(--pb-card);
}

.pb-search:focus-within { outline: 2px solid var(--pb-link); outline-offset: 2px; }
.pb-search input[type=search] {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--pb-ink);
  background: transparent;
  outline: none;
}
.pb-search input::placeholder { color: var(--pb-ink-muted); opacity: 1; }

.pb-search__submit,
.pb-search__scan,
.pb-header__search-toggle {
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--pb-r-field);
  background: transparent;
  color: var(--pb-ink);
  align-items: center;
  justify-content: center;
}
.pb-search__submit, .pb-search__scan { display: flex; }
.pb-search__submit { color: var(--pb-ink-muted); }
.pb-search__scan span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--pb-bg);
  display: grid;
  place-items: center;
}

.pb-scanner {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 22px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-r-panel);
  background: var(--pb-card);
  color: var(--pb-ink);
  pointer-events: auto;
  overflow: auto;
}
.pb-scanner::backdrop { background: rgb(33 37 41 / 55%); }
.pb-scanner__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pb-scanner h2 { margin: 0; font-size: 20px; font-weight: 900; }
.pb-scanner video { width: 100%; max-height: 45dvh; border-radius: var(--pb-r-field); background: var(--pb-ink); }
.pb-scanner__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 12px 0; }
.pb-scanner__form label { grid-column: 1 / -1; }
.pb-scanner__form input { min-height: 44px; min-width: 0; padding: 0 10px; border: 1px solid var(--pb-line-control); border-radius: var(--pb-r-field); }
.pb-scanner button { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--pb-r-field); background: var(--pb-yellow); font-weight: 800; }
.pb-scanner__head button { background: var(--pb-bg); font-size: 20px; }
.pb-scanner [data-pb-camera] { background: var(--pb-card); border: 1px solid var(--pb-line-control); }
.pb-scanner__status { margin: 0; }
.pb-scanner__status:not(:empty) { margin-top: 12px; }
@media (max-width: 768px) {
  .pb-scanner { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--pb-r-panel) var(--pb-r-panel) 0 0; padding: 16px 16px max(20px, env(safe-area-inset-bottom)); }
}

.pb-footer { background: var(--pb-card); border-top: 1px solid var(--pb-line); font-size: 14px; }
.pb-footer__inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}
.pb-footer__brand, .pb-footer__links, .pb-footer__support { display: flex; flex-direction: column; }
.pb-footer__brand { gap: 14px; }
.pb-footer__brand img { height: 26px; width: auto; display: block; align-self: flex-start; }
.pb-footer__brand p { margin: 0; line-height: 1.6; color: var(--pb-ink-body); max-width: 48ch; }
.pb-footer__label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pb-ink-muted); }
.pb-footer__links a, .pb-footer__mobile-links a,
.pb-footer__contact, .pb-footer__phone { display: flex; align-items: center; min-height: 44px; }
.pb-footer__links a, .pb-footer__mobile-links a { color: var(--pb-ink); }
.pb-footer__support { gap: 0; padding: 18px 20px; border-radius: var(--pb-r-card); background: var(--pb-yellow-tint); }
.pb-footer__phone { gap: 10px; font-size: 20px; font-weight: 900; color: var(--pb-ink); text-decoration: none; }
.pb-footer__phone svg { width: 20px; height: 20px; flex: none; }
.pb-footer__contact { font-size: 14px; font-weight: 700; }
.pb-footer__mobile-links { display: none; }
.pb-footer__copyright {
  max-width: 1368px;
  margin: 28px auto 0;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--pb-line);
  font-size: 13px;
  color: var(--pb-ink-muted);
}

.pb-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: var(--pb-r-card);
  background: var(--pb-card);
}
.pb-card__product { display: flex; flex-direction: column; gap: inherit; text-decoration: none; }
.pb-card__photo {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--pb-r-field);
  background: var(--pb-muted);
}
.pb-card__photo img { width: 100%; height: 100%; max-height: 100%; position: absolute; object-fit: contain; }
.pb-card__photo:has(img) { background: var(--pb-card); }
.pb-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--pb-sale);
  color: var(--pb-card);
  font-size: 12px;
  font-weight: 800;
}
.pb-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 38px;
  overflow: hidden;
  color: var(--pb-ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}
.pb-card__seller { color: var(--pb-ink-muted); font-size: 12px; }
.pb-card__seller b { color: var(--pb-ink); }
.pb-card__prices {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 38px;
  line-height: 1.2;
}
.pb-card__prices s { color: var(--pb-ink-muted); font-size: 13px; }
.pb-card__prices b { font-size: 18px; font-weight: 900; }
.pb-card__prices--sale b { color: var(--pb-sale); }
.pb-card__prices--unavailable b { color: var(--pb-ink-muted); }
.pb-card__actions { position: relative; display: flex; flex-wrap: wrap; align-items: start; gap: 6px; }
.pb-card > :is(.pb-card__actions, .pb-card__unavailable) { margin-top: auto; }
.pb-card__actions .pb-card__buy { flex: 1 1 44px; }
.pb-card__actions .pb-stepper { grid-template-columns: 44px 30px 44px; }
.pb-card__actions [role=status]:not(.pb-sr-only) { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--pb-error); }
.pb-stepper {
  --pb-stepper-row-height: 44px;
  display: grid;
  grid-template-columns: 44px 2px 44px;
  grid-template-rows: var(--pb-stepper-row-height);
  align-items: center;
  border: 1.5px solid var(--pb-line-control);
  border-radius: var(--pb-r-field);
}
.pb-stepper button { height: var(--pb-stepper-row-height); padding: 0; border: 0; background: transparent; font: 400 18px Arial, sans-serif; }
.pb-stepper button:disabled { color: var(--pb-ink-muted); }
.pb-stepper button[aria-disabled=true], .pb-purchase__quantity button[aria-disabled=true] { color: var(--pb-control-off); }
.pb-stock-message, .pb-stock-warning { margin: 0; font-size: 13px; font-weight: 800; color: var(--pb-warn); }
.pb-stock-message:not(:empty) { margin-bottom: 4px; }
.pb-stock-message:not(:empty)::before {
  content: ""; display: inline-block; vertical-align: 2px; width: 6px; height: 6px;
  margin-inline-end: 6px; border-radius: 50%; background: currentColor;
}
.pb-stock-warning:not(:empty), .pb-stock-message[data-pb-limit-hit] {
  padding: 6px 9px; border-radius: 8px; color: var(--pb-warn-ink); background: var(--pb-warn-tint);
}
.pb-stock-warning:not(:empty) { margin-top: 8px; }
.pb-sales-unit { font-size: 12px; font-weight: 600; color: var(--pb-ink-muted); }
.pb-stepper .pb-stepper__minus { padding-right: 10px; }
.pb-stepper .pb-stepper__plus { padding-left: 10px; }
.pb-stepper output { position: relative; justify-self: center; min-width: 22px; text-align: center; font-weight: 800; pointer-events: none; }
.pb-card__buy, .pb-card__buy:hover, .pb-card__unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--pb-r-field);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.pb-card__buy, .pb-card__buy:hover { flex: 1; align-self: start; background: var(--pb-buy); color: var(--pb-card); }
.pb-card__buy svg { width: 18px; height: 18px; }
.pb-card__unavailable { align-self: stretch; background: var(--pb-disabled); color: var(--pb-ink-muted); }

@media (min-width: 769px) and (max-width: 980px) {
  .pb-header__inner { gap: 12px; }
  .pb-header__brand img { max-width: 130px; height: auto; }
  .pb-header__catalog { gap: 6px; padding-inline: 10px; }
  .pb-header__phone { gap: 6px; }
  .pb-header__cart { gap: 6px; padding-inline: 10px; }
}

@media (max-width: 768px) {
  body { line-height: 1.45; }
  .pb-header__inner {
    display: grid;
    grid-template-columns: 44px minmax(44px, 1fr) 44px auto 44px;
    grid-template-rows: 60px;
    gap: 0 4px;
    padding: 0 12px;
  }
  .pb-header__catalog { grid-column: 1; grid-row: 1; justify-content: center; height: 44px; padding: 0; }
  .pb-header__catalog span, .pb-header__phone-desktop { display: none; }
  .pb-header__brand { grid-column: 2; grid-row: 1; min-width: 0; margin-left: 4px; }
  .pb-header__brand img { max-width: 100%; height: auto; max-height: 15px; }
  .pb-header__search-toggle { grid-column: 3; grid-row: 1; display: flex; }
  .pb-header__search-toggle svg { width: 22px; height: 22px; }
  .pb-header__phone { grid-column: 4; grid-row: 1; gap: 4px; padding: 0 2px; white-space: nowrap; }
  .pb-header__phone svg { width: 16px; height: 16px; stroke-width: 2px; }
  .pb-header__phone-mobile { display: inline; font-size: 13px; font-weight: 800; }
  .pb-header__cart { grid-column: 5; grid-row: 1; height: 44px; padding: 0; position: relative; justify-content: center; }
  .pb-header__cart svg { width: 20px; height: 20px; }
  .pb-header__cart-total { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; overflow: hidden; }
  .pb-header__cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: 11px;
  }
  .pb-search { grid-column: 1 / -1; display: none; height: 47px; margin-bottom: 12px; padding-left: 12px; }
  .pb-header[data-pb-search-open] .pb-search { display: flex; }
  .pb-search__submit { display: none; }
  .pb-search input[type=search] { font-size: 16px; }
  .pb-search__scan svg { width: 18px; height: 18px; }
  .pb-footer { font-size: 13px; padding: 20px 16px; }
  .pb-footer__inner { padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .pb-footer__brand img { height: 18px; }
  .pb-footer__brand p { max-width: none; line-height: 1.5; }
  .pb-footer__links, .pb-footer__contact, .pb-footer__phone svg { display: none; }
  .pb-footer__support { gap: 2px; padding: 0; background: transparent; }
  .pb-footer__support .pb-footer__label { font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: normal; }
  .pb-footer__phone { font-size: 16px; font-weight: 800; }
  .pb-footer__mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .pb-footer__copyright { margin: 14px 0 0; padding: 12px 0 0; }
  .pb-card { padding: 8px; border-radius: var(--pb-r-btn); gap: 6px; }
  .pb-card__photo { aspect-ratio: auto; height: 110px; border-radius: 8px; }
  .pb-card__badge { top: 6px; left: 6px; padding: 1px 5px; border-radius: 4px; font-size: 11px; }
  .pb-card__name { min-height: 34px; font-size: 13px; line-height: 1.3; }
  .pb-card__seller { font-size: 11px; }
  .pb-card__prices { min-height: 32px; line-height: 1.15; }
  .pb-card__prices s { font-size: 11px; }
  .pb-card__prices b { font-size: 16px; }
  .pb-card__actions { gap: 4px; }
  .pb-card__actions .pb-stepper { grid-template-columns: 44px 24px 44px; }
  .pb-card__actions .pb-stepper [data-pb-card-quantity] { font-size: 14px; }
  .pb-card__buy span { display: none; }
  .pb-card__buy, .pb-card__unavailable { font-size: 13px; }
}

/* Product page */
.pb-product { max-width: 1368px; margin: auto; padding: 0 24px 64px; }
.pb-product__breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 12px; color: var(--pb-ink-muted); font-size: 13px; }
.pb-product__breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.pb-product__breadcrumbs [aria-current] { color: var(--pb-ink); }
.pb-product__back { display: none; }
.pb-product__hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 14px; }
.pb-product__gallery { grid-row: 1 / span 2; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--pb-card); border-radius: var(--pb-r-panel); }
.pb-product__badges { display: flex; gap: 8px; position: absolute; top: 20px; left: 20px; pointer-events: none; z-index: 1; }
.pb-product__badge { padding: 4px 10px; background: var(--pb-ink); color: var(--pb-card); font-size: 14px; font-weight: 800; border-radius: 6px; }
.pb-product__badge--sale { background: var(--pb-sale); }
.pb-product__photo { flex: 1; min-height: 440px; min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; background: var(--pb-card); padding: 0; cursor: zoom-in; }
.pb-product__photo img { display: block; width: min(100%, 420px); height: 330px; object-fit: contain; }
.pb-product__photo > span { display: flex; align-items: center; gap: 6px; color: var(--pb-ink-muted); font-size: 13px; }
.pb-product__thumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pb-product__thumbs button { border: 1px solid var(--pb-line-control); background: var(--pb-card); border-radius: 8px; width: 60px; height: 60px; padding: 4px; }
.pb-product__thumbs button[aria-pressed=true] { border: 2px solid var(--pb-link); }
.pb-product__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pb-product__identity { grid-column: 2; display: grid; gap: 14px; min-width: 0; }
.pb-product__identity h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 900; letter-spacing: -.01em; }
.pb-product__identity-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; }
.pb-product__identity-desktop > span { display: flex; align-items: center; gap: 4px; }
.pb-product__identity-desktop a { display: inline-flex; min-height: 44px; margin-block: -11.5px; align-items: center; font-weight: 700; }
.pb-product__identity-desktop > span > span { color: var(--pb-ink-muted); }
.pb-product__identity-mobile, .pb-product__seller-mobile, .pb-product__price--mobile { display: none; }
.pb-product__purchase { grid-column: 2; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--pb-r-panel); background: var(--pb-card); }
.pb-product__seller-desktop { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #EEEEF2; font-size: 14px; color: var(--pb-ink-muted); }
.pb-product__seller-desktop b, .pb-product__seller-mobile b { color: var(--pb-link); font-weight: 800; }
.pb-product__seller-icon { width: 32px; height: 32px; display: grid; place-items: center; background: var(--pb-yellow-tint); color: var(--pb-ink); border-radius: 8px; }
.pb-product__seller-icon svg { width: 18px; height: 18px; }
.pb-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.pb-product__price.pb-product__price--mobile { display: none; }
.pb-product__price strong { font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
.pb-product__price--sale strong { color: var(--pb-sale); }
.pb-product__price--unavailable strong { color: var(--pb-ink-muted); }
.pb-product__price s { font-size: 18px; color: var(--pb-ink-muted); }
.pb-product__unit { color: var(--pb-ink-muted); font-size: 14px; }
.pb-purchase__history { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; margin: 0 0 8px; border-radius: 10px; color: var(--pb-success); background: var(--pb-success-tint); font-size: 13px; font-weight: 800; }
.pb-purchase__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pb-purchase__quantity { height: 58px; display: grid; grid-template-columns: 48px minmax(44px, auto) 48px; align-items: center; border: 1.5px solid var(--pb-line-control); border-radius: 12px; }
.pb-purchase__quantity button { height: 52px; border: 0; background: transparent; font: 22px Arial, sans-serif; }
.pb-purchase__quantity button:disabled { color: var(--pb-ink-muted); }
[data-pb-product-qty], .pb-stepper input[type="number"] {
  appearance: textfield; width: 100%; min-width: 0; height: 44px; padding: 0;
  border: 0; background: var(--pb-muted); border-radius: 6px;
  color: var(--pb-ink); text-align: center; font-weight: 800;
}
[data-pb-product-qty] { font-size: 18px; }
.pb-stepper input[type="number"] { height: calc(var(--pb-stepper-row-height) - 8px); }
.pb-stepper input[type="number"]:focus-visible { outline-offset: -2px; }
[data-pb-card-quantity] { font-size: 16px; }
:is([data-pb-product-qty], .pb-stepper input[type="number"])::-webkit-inner-spin-button,
:is([data-pb-product-qty], .pb-stepper input[type="number"])::-webkit-outer-spin-button { appearance: none; margin: 0; }
.pb-purchase__line-total { display: flex; flex-direction: column; min-width: 110px; line-height: 1.2; }
.pb-purchase__line-total span { font-size: 12px; color: var(--pb-ink-muted); }
.pb-purchase__line-total strong { font-size: 20px; font-weight: 900; }
.pb-purchase__buy, .pb-purchase__favorite, .pb-purchase__sold-out button {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  padding: 0 12px; border: 0; border-radius: 12px; font-size: 17px; font-weight: 800;
}
.pb-purchase__buy { flex: 1 1 145px; color: var(--pb-card); background: var(--pb-buy); text-transform: uppercase; }
.pb-purchase__buy > b { display: none; }
.pb-purchase__buy svg { width: 20px; height: 20px; }
.pb-purchase__buy:disabled, .pb-purchase__buy[aria-disabled="true"], .pb-card__buy[aria-disabled="true"] { opacity: .65; }
.pb-purchase__favorite { width: 56px; border: 1.5px solid var(--pb-line-control); background: var(--pb-card); color: var(--pb-sale); }
.pb-purchase__favorite[aria-pressed=true] svg { fill: currentColor; }
.pb-purchase__extras { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.pb-purchase__extras:empty { display: none; }
.pb-purchase__pack { position: relative; min-height: 44px; margin-block: -4px; padding: 0 12px; background: transparent; border: 0; font-size: 13px; font-weight: 700; isolation: isolate; }
.pb-purchase__pack::before { position: absolute; content: ""; inset: 4px 0; border: 1.5px dashed #C9A100; background: var(--pb-yellow-tint); border-radius: 8px; z-index: -1; }
.pb-purchase__pack:disabled { color: var(--pb-ink-muted); }
.pb-purchase__progress { flex: 1 1 240px; display: grid; gap: 5px; }
.pb-purchase__progress progress { appearance: none; border: 0; height: 6px; width: 100%; color: var(--pb-yellow); background: var(--pb-line); border-radius: 999px; overflow: hidden; }
.pb-purchase__progress progress::-webkit-progress-bar { background: var(--pb-line); }
.pb-purchase__progress progress::-webkit-progress-value { background: var(--pb-yellow); border-radius: 999px; }
.pb-purchase__progress progress::-moz-progress-bar { background: var(--pb-yellow); }
.pb-purchase__progress progress[data-complete]::-webkit-progress-value { background: var(--pb-buy); }
.pb-purchase__progress progress[data-complete]::-moz-progress-bar { background: var(--pb-buy); }
.pb-purchase__sold-out { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pb-purchase__sold-out button:disabled { flex: 1 1 260px; background: var(--pb-disabled); color: var(--pb-ink-muted); }
.pb-purchase__sold-out a { min-height: 44px; display: flex; align-items: center; font-weight: 800; }
.pb-purchase__sticky, .pb-purchase__age-mobile { display: none; }
.pb-product__shipping-desktop { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 10px 12px; font-size: 14px; padding-top: 14px; border-top: 1px solid #EEEEF2; }
.pb-product__shipping-desktop span > span, .pb-product__shipping-body span { color: var(--pb-ink-muted); }
.pb-product__shipping-desktop :nth-child(3n) { text-align: right; }
.pb-product__shipping-desktop a { display: grid; align-items: start; min-height: 44px; margin-bottom: -23px; font-weight: 800; }
.pb-product__shipping-desktop em { color: var(--pb-success); font-style: normal; font-weight: 800; }
.pb-product__shipping-mobile { display: none; }
.pb-product__age { display: flex; gap: 10px; margin: 0; align-items: flex-start; color: var(--pb-ink-muted); font-size: 12px; line-height: 1.45; }
.pb-product__age b { flex: none; padding: 0 5px; border-radius: 4px; background: var(--pb-ink); color: var(--pb-card); font-weight: 900; }

.pb-product__about { margin-top: 40px; display: grid; gap: 16px; }
.pb-product__about h2, .pb-product__similar h2 { margin: 0; font-weight: 900; }
.pb-product__about h2 { font-size: 26px; }
.pb-product__about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.pb-product__about-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.pb-product__detail { padding: 22px 24px; border-radius: var(--pb-r-panel); background: var(--pb-card); }
.pb-product__detail summary, .pb-product__shipping-mobile summary { list-style: none; }
.pb-product__detail summary::-webkit-details-marker, .pb-product__shipping-mobile summary::-webkit-details-marker { display: none; }
.pb-product__detail summary { font-size: 18px; font-weight: 800; cursor: pointer; }
@media (min-width: 769px) {
  .pb-product__about-grid:not(:has(.pb-product__expand[aria-expanded="true"])) { align-items: stretch; }
  .pb-product__detail[open] summary { pointer-events: none; cursor: default; }
}
.pb-product__detail summary svg { display: none; color: var(--pb-ink-muted); }
.pb-product__description { position: relative; margin-top: 12px; color: var(--pb-ink-body); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.pb-product__description[data-pb-truncated] { max-height: 178px; overflow: hidden; }
.pb-product__description[data-pb-truncated]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 64px; background: linear-gradient(transparent, var(--pb-card)); pointer-events: none; }
.pb-product__description p { margin: 0 0 10px; }
.pb-product__description b { color: var(--pb-ink); font-weight: 800; }
.pb-product__description img, .pb-product__description table { max-width: 100%; }
.pb-product__specs { margin: 10px 0 0; font-size: 14px; }
.pb-product__specs div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; padding: 9px 0; border-top: 1px solid #EEEEF2; overflow-wrap: anywhere; }
.pb-product__specs dt { color: var(--pb-ink-muted); }
.pb-product__specs dd { margin: 0; text-align: right; font-weight: 700; }
.pb-product__specs:not([data-pb-specs-open]) [data-pb-extra-spec] { display: none; }
.pb-product__expand { min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--pb-link); font-weight: 800; }

.pb-product__similar { margin-top: 32px; display: grid; gap: 16px; }
.pb-product__similar > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pb-product__similar h2 { font-size: 22px; }
.pb-product__similar > div:first-child a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; }
.pb-product__related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pb-product__related-grid .pb-card { padding: 14px; gap: 10px; }
.pb-product__related-grid .pb-card__name { min-height: 42px; }
.pb-product__related-grid .pb-card__prices { min-height: auto; }
.pb-product__options { display: grid; gap: 8px; margin-bottom: 12px; }
.pb-product__options fieldset { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 8px; border: 1px solid var(--pb-line-control); border-radius: 10px; }
.pb-product__options label, .pb-product__options select, .pb-product__options input:not([type=hidden]), .pb-product__options textarea { min-height: 44px; min-width: 0; }
.pb-product__options label { display: flex; align-items: center; gap: 6px; }
.pb-product__options input:is([type=radio],[type=checkbox]) { min-width: 24px; }
.pb-product__purchase [data-pb-buy-status]:not(.pb-sr-only) { color: var(--pb-error); margin: 8px 0 0; }
.pb-product__zoom { border: 0; border-radius: 16px; width: min(680px, calc(100vw - 24px)); padding: 12px; }
.pb-product__zoom::backdrop { background: rgb(33 37 41 / 65%); }
.pb-product__zoom form { display: flex; justify-content: end; }
.pb-product__zoom button { min-height: 44px; min-width: 44px; border: 0; border-radius: 8px; background: var(--pb-bg); font-size: 22px; }
.pb-product__zoom img { display: block; width: 100%; height: min(68vh, 600px); object-fit: contain; }

@media (max-width: 768px) {
  .pb-product { padding: 0 0 24px; }
  .pb-product__breadcrumbs { display: none; }
  .pb-product__back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 12px; font-size: 13px; }
  .pb-product__hero { display: grid; grid-template-columns: 124px minmax(0, 1fr); grid-template-rows: auto auto; gap: 0; background: var(--pb-card); }
  .pb-product__gallery { grid-row: 1; padding: 12px 0 12px 12px; border-radius: 0; width: 124px; gap: 6px; }
  .pb-product__badges { top: 18px; left: 18px; }
  .pb-product__badges .pb-product__badge--sale { display: none; }
  .pb-product__badge { padding: 1px 5px; border-radius: 4px; font-size: 11px; }
  .pb-product__photo { position: relative; flex: none; min-height: 140px; border: 1px solid #EEEEF2; }
  .pb-product__photo img { width: 100%; height: 110px; }
  .pb-product__photo > span { position: absolute; bottom: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--pb-bg); display: grid; place-items: center; color: var(--pb-ink); }
  .pb-product__photo > span span { display: none; }
  .pb-product__thumbs { gap: 4px; }
  .pb-product__thumbs button { width: 52px; height: 44px; }
  .pb-product__identity { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
  .pb-product__identity h1 { font-size: 17px; line-height: 1.3; letter-spacing: normal; }
  .pb-product__identity-desktop, .pb-product__seller-desktop, .pb-product__price--desktop { display: none; }
  .pb-product__identity-mobile, .pb-product__seller-mobile { display: block; font-size: 12px; color: var(--pb-ink-muted); }
  .pb-product__ean { display: block; }
  .pb-product__price.pb-product__price--mobile { display: flex; margin-top: auto; gap: 2px 8px; }
  .pb-product__price strong { font-size: 24px; letter-spacing: -.01em; }
  .pb-product__price s { font-size: 13px; }
  .pb-product__price .pb-product__badge { align-self: center; }
  .pb-product__purchase { display: contents; }
  [data-pb-product-form], .pb-purchase__extras, .pb-purchase__sold-out { grid-column: 1 / -1; margin: 0; padding-inline: 12px; }
  .pb-purchase__extras { padding-block: 4px 6px; border-bottom: 1px solid var(--pb-line); font-size: 12px; gap: 4px 8px; justify-content: space-between; }
  .pb-purchase__extras .pb-purchase__progress, .pb-purchase__line-total, .pb-purchase__buy svg { display: none; }
  .pb-purchase__pack { padding: 0 10px; font-size: 12px; margin-block: -2px; }
  .pb-purchase__pack::before { inset: 7px 0; }
  .pb-purchase__age-mobile { display: inline; color: var(--pb-ink-muted); }
  .pb-purchase__controls { flex-wrap: nowrap; gap: 8px; }
  .pb-purchase__quantity { height: 54px; grid-template-columns: 44px 38px 44px; }
  .pb-purchase__quantity button { height: 48px; font-size: 20px; }
  [data-pb-product-qty] { font-size: 17px; }
  .pb-purchase__buy { flex: 1; flex-direction: column; gap: 0; min-height: 52px; text-transform: none; font-size: 15px; line-height: 1.15; }
  .pb-purchase__buy > b { display: inline; font-size: 12px; font-weight: 600; }
  .pb-purchase__sold-out { padding-bottom: 12px; gap: 4px; border-bottom: 1px solid var(--pb-line); justify-content: center; }
  .pb-purchase__sold-out button:disabled { flex-basis: 100%; min-height: 52px; }
  .pb-product__age { display: none; }
  .pb-purchase__sticky:not([hidden]) { display: flex; flex-wrap: wrap; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; gap: 8px; align-items: center; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--pb-line); box-shadow: 0 -4px 16px rgb(0 0 0 / 8%); background: var(--pb-card); }
  .pb-purchase__sticky .pb-purchase__quantity { height: 50px; grid-template-columns: 44px 36px 44px; }
  .pb-purchase__sticky .pb-purchase__quantity button { height: 44px; }
  .pb-purchase__sticky .pb-purchase__buy { min-height: 48px; }
  .pb-purchase__sticky .pb-stock-warning { flex-basis: 100%; margin: 0; }
  .pb-purchase__sticky .pb-stock-warning:empty { display: none; }
  .pb-product__shipping-desktop { display: none; }
  .pb-product__shipping-mobile { grid-column: 1 / -1; display: block; margin: 8px 12px 0; border-radius: 12px; background: var(--pb-card); }
  .pb-product__shipping-mobile details + details { border-top: 1px solid #EEEEF2; }
  .pb-product__detail + .pb-product__detail { box-shadow: inset 0 1px #EEEEF2; }
  .pb-product__shipping-mobile summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; font-size: 14px; cursor: pointer; }
  .pb-product__shipping-mobile summary > span { flex: 1; }
  .pb-product__shipping-mobile summary > svg:first-child { width: 18px; height: 18px; }
  .pb-product__shipping-mobile summary > span span, .pb-product__shipping-mobile summary svg:last-child { color: var(--pb-ink-muted); }
  .pb-product__shipping-body { display: grid; gap: 8px; padding: 0 14px 12px 42px; font-size: 13px; }
  .pb-product__about { margin: 14px 12px 0; gap: 6px; }
  .pb-product__about h2, .pb-product__similar h2 { font-size: 17px; }
  .pb-product__about-grid { display: block; border-radius: 12px; background: var(--pb-card); overflow: hidden; }
  .pb-product__detail { padding: 0; border-radius: 0; }
  .pb-product__detail summary:focus-visible { outline-offset: -2px; }
  .pb-product__detail summary { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; font-size: 15px; pointer-events: auto; cursor: pointer; }
  .pb-product__detail summary svg { display: block; }
  .pb-product__detail[open] summary svg, .pb-product__shipping-mobile details[open] summary svg:last-child { transform: rotate(180deg); }
  .pb-product__description, .pb-product__description[data-pb-truncated] { margin: 0; padding: 0 14px 12px; max-height: unset; overflow: visible; font-size: 14px; line-height: 1.55; }
  .pb-product__description::after, .pb-product__expand { display: none; }
  .pb-product__specs { margin: 0; padding: 0 14px 10px; font-size: 13px; }
  .pb-product__specs div, .pb-product__specs:not([data-pb-specs-open]) [data-pb-extra-spec] { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 8px 0; }
  .pb-product__similar { margin-top: 10px; gap: 4px; }
  .pb-product__similar > div:first-child { padding: 0 12px; }
  .pb-product__similar > div:first-child a { font-size: 13px; }
  .pb-product__related-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12px 4px; scrollbar-width: none; gap: 8px; }
  .pb-product__related-grid .pb-card { flex: 0 0 188px; padding: 8px; gap: 6px; scroll-snap-align: start; }
  .pb-product__related-grid .pb-card__photo { height: 76px; }
  .pb-product__related-grid .pb-card__name { min-height: 34px; }
  .pb-product__related-grid .pb-card__prices { align-self: flex-start; }
}

/* Category and search */
.pb-header[data-pb-listing-search] .pb-search:has(input[type=search]:not(:placeholder-shown)) { border-color: var(--pb-ink); }
.pb-listing { max-width: 1808px; margin: 0 auto; padding: 0 24px 64px; }
.pb-listing__crumbs { padding: 16px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--pb-ink-muted); font-size: 13px; }
.pb-listing__crumbs a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin-block: -12px; }
.pb-listing__crumbs [aria-current] { color: var(--pb-ink); }
.pb-listing__location, .pb-listing__mobile-toolbar, .pb-listing__mobile-facets { display: none; }
.pb-listing__heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 18px; min-width: 0; }
.pb-listing__heading h1 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pb-listing__heading span { color: var(--pb-ink-muted); }
.pb-listing__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.pb-filter .pb-filter__promotion { display: none; }
.pb-listing__sidebar { padding: 6px 20px 16px; background: var(--pb-card); border-radius: var(--pb-r-panel); }
.pb-listing__results { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pb-listing__toolbar { padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-radius: var(--pb-r-card); background: var(--pb-card); }
.pb-listing__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-listing__chip, .pb-listing__reset { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; font-weight: 800; }
.pb-listing__chip { padding: 0 8px 0 12px; gap: 4px; position: relative; isolation: isolate; color: var(--pb-card); font-weight: 700; }
.pb-listing__chip::before { position: absolute; inset: 6px 0; z-index: -1; content: ""; border-radius: 16px; background: var(--pb-ink); }
.pb-listing__chip:hover { color: var(--pb-card); }
.pb-listing__chip span:last-child { font-size: 18px; min-width: 22px; text-align: center; }
.pb-listing__reset { padding: 0 8px; }
.pb-listing__sort { display: flex; align-items: center; gap: 10px; }
.pb-listing__sort-label { color: var(--pb-ink-muted); font-size: 13px; }
.pb-listing select { height: 44px; border: 1.5px solid var(--pb-line-control); border-radius: 8px; padding: 0 10px; background: var(--pb-card); color: var(--pb-ink); font: 700 14px var(--pb-font); }
.pb-listing__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pb-listing__grid .pb-card { align-self: stretch; }
.pb-listing__grid .pb-card__actions, .pb-listing__grid .pb-card__unavailable { margin-top: auto; }
.pb-listing__pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; color: var(--pb-ink-muted); font-size: 13px; }
.pb-listing__pagination a { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 28px; border: 1.5px solid var(--pb-ink); border-radius: 12px; background: var(--pb-card); color: var(--pb-ink); font-size: 15px; font-weight: 800; text-decoration: none; }
.pb-listing__pagination a[aria-busy=true] { opacity: .65; }
.pb-listing__pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pb-listing__pages a, .pb-listing__pages span {
  min-width: 44px; width: auto; min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--pb-ink); font-size: 14px; font-weight: 800;
}
.pb-listing__pages a[aria-current=page] { background: var(--pb-yellow); }
.pb-listing__pages span { padding: 0; min-width: 18px; }
.pb-listing__heading .pb-listing__correction { margin-block: 0 8px; color: var(--pb-ink-muted); }
.pb-listing__filter-dialog { display: none; }
.pb-filter { display: flex; flex-direction: column; }
.pb-filter fieldset { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0; padding: 4px 0 7px; border: 0; border-bottom: 1px solid #EEEEF2; }
.pb-filter fieldset:last-of-type { border-bottom: 0; }
.pb-filter legend { padding: 12px 0 0; font-size: 13px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.pb-filter__prices { display: flex; align-items: center; gap: 8px; }
.pb-filter__prices label { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; color: var(--pb-ink-muted); font-size: 12px; }
.pb-filter__prices > span { flex: none; padding-top: 16px; }
.pb-filter__prices input { width: 100%; height: 44px; border: 1.5px solid var(--pb-line-control); border-radius: 8px; padding: 0 10px; background: var(--pb-card); font-size: 16px; font-weight: 700; color: var(--pb-ink); }
.pb-filter__prices input::placeholder { opacity: 1; color: var(--pb-ink); }
.pb-filter__range { height: 28px; position: relative; isolation: isolate; margin: 0 -11px; }
.pb-filter__range::before { content: ""; position: absolute; height: 4px; inset: 12px 18px auto; border-radius: 2px; background: var(--pb-yellow); }
.pb-filter__range input { position: absolute; appearance: none; inset: -8px 0 0; width: 100%; height: 44px; margin: 0; background: transparent; pointer-events: none; accent-color: var(--pb-yellow); }
.pb-filter__range input:focus-visible { outline-offset: -2px; z-index: 1; }
.pb-filter__range input::-webkit-slider-thumb { appearance: none; width: 44px; height: 44px; pointer-events: auto; cursor: grab; background: radial-gradient(circle, var(--pb-card) 0 7px, var(--pb-ink) 7px 9px, transparent 9px); }
.pb-filter__range input::-moz-range-thumb { width: 44px; height: 44px; border: 0; pointer-events: auto; cursor: grab; background: radial-gradient(circle, var(--pb-card) 0 7px, var(--pb-ink) 7px 9px, transparent 9px); }
.pb-filter__check { min-height: 44px; display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.pb-filter__check input { flex: none; accent-color: var(--pb-ink); margin: 0; width: 18px; height: 18px; }
/* Reserve the filter column while the live facet values are loading. */
.pb-filter--loading { opacity: .55; }
.pb-filter__loading-row {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
.pb-filter__loading-row::before, .pb-filter__loading-row::after,
.pb-filter__loading-prices span::after, .pb-filter__loading-range {
  content: ""; display: block; background: var(--pb-line); border-radius: 6px;
}
.pb-filter__loading-row::before { width: 18px; height: 18px; border-radius: 4px; }
.pb-filter__loading-row::after { width: 52%; height: 10px; }
.pb-filter__loading-row:nth-of-type(2)::after { width: 38%; }
.pb-filter__loading-row:nth-of-type(3)::after { width: 64%; }
.pb-filter__loading-prices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  font-size: 12px; color: var(--pb-ink-muted);
}
.pb-filter__loading-prices span::after { height: 44px; margin-top: 2px; border-radius: 8px; }
.pb-filter__loading-range { height: 4px; margin: 12px 6px; }
.pb-listing__filter-dialog [data-pb-load-facets] { width: 100%; padding-inline: 16px; }
.pb-listing__filter-dialog .pb-filter--loading { padding-inline: 0; }

.pb-filter__more > summary {
  display: flex; align-items: center; min-height: 44px; list-style: none; cursor: pointer;
  color: var(--pb-link); font-weight: 800; font-size: 14px;
}

/* SearchSuggest.html / SearchSuggestMobile.html */
.pb-search-layout { position: relative; flex: 1 1 300px; min-width: 0; }
.pb-search-layout .pb-search { width: 100%; }
.pb-search-layout .pb-search input:focus { font-size: 16px; font-weight: 700; }
.pb-search__close { display: none; }
.pb-search__clear { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--pb-bg); }
.pb-search-layout input::-webkit-search-cancel-button { appearance: none; }
.pb-header[data-pb-search-suggesting] .pb-search { border: 2px solid var(--pb-ink); outline: 0; }
.pb-search-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: -120px; z-index: 25; display: flex; flex-direction: column;
  background: var(--pb-card); border-radius: var(--pb-r-panel); box-shadow: 0 24px 48px rgb(0 0 0 / 20%); overflow: hidden;
}
.pb-header[data-pb-search-suggesting] .pb-cart-toast { z-index: 30; }
.pb-suggest__scroll { min-height: 0; max-height: min(575px, 67dvh); overflow: auto; }
.pb-suggest__layout { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); }
.pb-suggest__layout:not(:has(.pb-suggest__aside)) { display: block; }
.pb-suggest__aside { padding: 16px; background: #FBFBFC; border-right: 1px solid var(--pb-line); display: grid; align-content: start; gap: 14px; }
.pb-suggest__correction { padding: 10px 12px; border-radius: 10px; background: var(--pb-muted); font-size: 13px; line-height: 1.4; }
.pb-suggest__correction span, .pb-suggest__categories span, .pb-suggest__info small, .pb-suggest__single > span { color: var(--pb-ink-muted); }
.pb-suggest__facet, .pb-suggest__categories { display: grid; gap: 6px; }
.pb-suggest__caption { color: var(--pb-ink-muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pb-suggest__categories a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 14px; }
.pb-suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-suggest__chips a { display: inline-flex; align-items: center; padding: 0 12px; min-height: 44px; border-radius: 17px; background: var(--pb-yellow-tint); font-size: 13px; }
.pb-suggest__categories a, .pb-suggest__chips a, .pb-suggest__info a, .pb-suggest__single a { color: var(--pb-ink); font-weight: 800; text-decoration: none; }
.pb-suggest__items { display: grid; align-content: start; padding: 10px; min-width: 0; }
.pb-suggest__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.pb-suggest__item:has([data-pb-search-active]) { background: var(--pb-muted); }
.pb-suggest__photo { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: white; }
.pb-suggest__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.pb-suggest__info { display: grid; gap: 2px; min-width: 0; }
.pb-suggest__info a { display: grid; gap: 2px; min-height: 44px; align-content: center; line-height: 1.3; font-size: 14px; }
.pb-suggest__info a .pb-card__name { min-height: 0; font-size: inherit; }
.pb-suggest__info small, .pb-suggest__info s { font-weight: 600; font-size: 12px; }
.pb-suggest__item .pb-suggest__info b { white-space: nowrap; }
.pb-suggest__info s { color: var(--pb-ink-muted); }
.pb-suggest__info mark { padding: 0 1px; border-radius: 3px; color: inherit; background: #FFF0A8; }
.pb-suggest__sale { color: var(--pb-sale); }
.pb-suggest__item .pb-card__buy { width: 44px; flex: none; }
.pb-suggest__item .pb-card__unavailable { max-width: 112px; padding: 0 8px; font-size: 12px; }
.pb-suggest__item .pb-card__actions { justify-self: start; }
.pb-suggest__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pb-line); padding: 10px 16px; }
.pb-suggest__keys { font-size: 12px; color: var(--pb-ink-muted); }
.pb-suggest__keys kbd { font: inherit; font-size: 11px; font-weight: 800; padding: 1px 6px; border: 1px solid var(--pb-line-control); border-radius: 5px; }
.pb-suggest__foot .pb-action { padding: 0 16px; text-align: center; }
.pb-suggest__empty, .pb-suggest__single { padding: 20px; display: grid; gap: 10px; }
.pb-suggest__empty > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.pb-suggest__empty .pb-suggest__chips a { background: var(--pb-bg); }
.pb-suggest__single a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 2px solid var(--pb-ink); border-radius: 12px; }
.pb-suggest__single a[data-pb-search-active] { background: var(--pb-yellow-tint); }
.pb-suggest__single .pb-suggest__photo { width: 64px; height: 64px; }
.pb-suggest__open { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; background: var(--pb-yellow); font-weight: 900; }
.pb-suggest__mobile-label { display: none; }
@media (min-width: 769px) {
  body:has(.pb-header[data-pb-search-suggesting])::before {
    content: ""; position: fixed; inset: 80px 0 0; z-index: 10; background: rgb(33 37 41 / 35%); pointer-events: none;
  }
}
@media (min-width: 1400px) {
  .pb-search-panel { left: -35px; right: auto; width: 804px; }
}
@media (min-width: 1151px) and (max-width: 1399px) {
  .pb-search-panel { left: -45px; right: -155px; }
  .pb-suggest__layout { grid-template-columns: 210px minmax(0, 1fr); }
}
@media (min-width: 769px) and (max-width: 1150px) {
  .pb-search-panel { left: -140px; right: -160px; }
  .pb-suggest__layout { grid-template-columns: 170px minmax(0, 1fr); }
  .pb-suggest__keys { display: none; }
}
@media (max-width: 768px) {
  .pb-search-layout { display: contents; }
  body[data-pb-search-lock] { overflow: hidden; }
  .pb-search-layout[data-pb-mobile-search] {
    position: fixed; inset: 0; z-index: 15; display: grid; grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 60px minmax(0, 1fr); gap: 0 6px; padding: 0 8px; background: var(--pb-card);
    top: var(--pb-search-offset, 0px); height: var(--pb-search-height, 100dvh);
  }
  [data-pb-mobile-search] .pb-search {
    display: flex; grid-column: 2; grid-row: 1; align-self: center; height: 48px; margin: 0;
    border: 2px solid var(--pb-ink); padding-left: 12px; outline: 0;
  }
  .pb-header [data-pb-mobile-search] .pb-search .pb-search__submit { display: none; }
  [data-pb-mobile-search] .pb-search__close {
    height: 44px; width: 44px; grid-row: 1; grid-column: 1; align-self: center;
    display: grid; place-items: center; padding: 0; border: 0; background: transparent;
  }
  [data-pb-mobile-search] .pb-search__close svg { transform: rotate(90deg); }
  .pb-search-panel { position: static; grid-column: 1 / -1; margin: 0 -8px; border-radius: 0; box-shadow: none; border-top: 1px solid var(--pb-line); }
  .pb-suggest__scroll { flex: 1; max-height: none; }
  .pb-suggest__layout { display: block; }
  .pb-suggest__aside { padding: 12px 12px 0; background: transparent; border: 0; gap: 12px; }
  .pb-suggest__categories { display: flex; overflow-x: auto; }
  .pb-suggest__categories a { flex: none; gap: 4px; padding: 0 12px; border: 1.5px solid var(--pb-line-control); border-radius: 17px; font-size: 13px; }
  .pb-suggest__items { padding: 12px; }
  .pb-suggest__mobile-label { display: block; }
  .pb-suggest__item { padding: 8px 4px; grid-template-columns: 44px minmax(0, 1fr); row-gap: 4px; }
  .pb-suggest__item .pb-suggest__photo { width: 44px; height: 44px; }
  .pb-suggest__item .pb-suggest__info a { font-size: 13px; }
  .pb-suggest__item .pb-card__actions, .pb-suggest__item .pb-card__unavailable, .pb-suggest__item > .pb-card__buy { grid-column: 1 / -1; }
  .pb-suggest__foot { display: block; padding: 10px 12px max(14px, env(safe-area-inset-bottom)); }
  .pb-suggest__foot .pb-action { display: flex; min-height: 50px; }
  .pb-suggest__keys { display: none; }
  .pb-suggest__empty, .pb-suggest__single { padding: 16px; }
  .pb-suggest__single a { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; }
  .pb-suggest__single .pb-suggest__photo { width: 50px; height: 50px; }
  .pb-suggest__open { padding: 0 8px; }
}
.pb-filter__more > summary::-webkit-details-marker { display: none; }
.pb-filter__more:not([open]) > summary span:last-child,
.pb-filter__more[open] > summary span:first-child { display: none; }
.pb-filter__search { display: grid; gap: 4px; margin: 6px 0; font-size: 13px; font-weight: 700; }
.pb-filter__search input { min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid var(--pb-line-control); border-radius: 8px; font: inherit; }
.pb-filter__brand-more { min-height: 44px; margin-top: 4px; }
[data-pb-brand-status] { margin: 6px 0; font-size: 13px; }
[data-pb-brand-status]:empty { margin: 0; }
.pb-filter__check small, .pb-filter__facets small { margin-left: auto; color: var(--pb-ink-muted); font-size: 12px; white-space: nowrap; }
.pb-filter__facets { display: flex; flex-direction: column; gap: 2px; }
.pb-filter__facets a { min-height: 44px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--pb-ink); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 8px; }
.pb-filter__facets a[aria-current] { background: var(--pb-yellow-tint); font-weight: 800; }
.pb-filter__category-overflow { max-height: min(264px, 40vh); overflow-y: auto; }
.pb-filter__category-status { margin: 6px 0; font-size: 13px; }
.pb-filter__actions { display: flex; gap: 8px; }
.pb-filter__actions button, .pb-filter__reset { min-height: 44px; padding: 0 12px; display: flex; justify-content: center; align-items: center; flex: 1; border: 0; border-radius: 10px; color: var(--pb-ink); font-weight: 800; }
.pb-filter__actions button { background: var(--pb-yellow); }
.pb-filter__reset { display: none; text-decoration: none; }
.pb-listing__empty, .pb-listing__no-matches { padding: 32px; border-radius: var(--pb-r-banner); background: var(--pb-card); }
.pb-listing__empty { display: grid; gap: 24px; }
.pb-listing__empty > div { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.pb-listing__empty h2, .pb-listing__bestsellers h2, .pb-listing__no-matches h2 { margin: 0; font-size: 22px; font-weight: 900; }
.pb-listing__empty h3 { font-size: 15px; margin: 0; font-weight: 900; }
.pb-listing__empty p, .pb-listing__empty ul { margin: 0; color: var(--pb-ink-body); }
.pb-listing__empty p a { font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.pb-listing__empty ul { padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.pb-listing__manager, .pb-listing__suggestions a { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; text-decoration: none; color: var(--pb-ink); background: var(--pb-yellow); border-radius: 10px; font-weight: 800; }
.pb-listing__suggestions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.pb-listing__suggestions a { justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--pb-bg); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.pb-listing__suggestions small { color: var(--pb-ink-muted); }
.pb-listing__bestsellers { margin-top: 32px; display: grid; gap: 16px; }
.pb-listing__no-matches a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }

@media (max-width: 768px) {
  .pb-header[data-pb-listing-search] .pb-header__inner { grid-template-columns: 44px minmax(44px, 1fr) 0 auto 44px; }
  .pb-header[data-pb-listing-search] .pb-header__search-toggle { display: none; }
  .pb-header[data-pb-listing-search] .pb-search { display: flex; height: 49px; }
  .pb-header[data-pb-listing-search] .pb-search input { font-weight: 700; }

  .pb-header[data-pb-listing-search] .pb-search__submit { display: flex; width: 44px; margin-left: -12px; }
  .pb-header[data-pb-listing-search] .pb-search__submit svg { width: 18px; height: 18px; }
  .pb-listing { padding: 0 0 24px; }
  .pb-listing__crumbs, .pb-listing__toolbar, .pb-listing__sidebar { display: none; }
  .pb-filter .pb-filter__promotion { display: inline-flex; align-self: start; }
  .pb-listing__heading { padding: 14px 12px 8px; }
  .pb-listing__location { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .pb-listing__heading > div { display: flex; flex-wrap: nowrap; justify-content: space-between; padding: 0; gap: 8px; }
  .pb-listing__heading h1 { font-size: 22px; letter-spacing: normal; }
  .pb-listing__heading > div span { flex: none; font-size: 13px; }
  .pb-listing__mobile-toolbar { display: flex; gap: 8px; position: sticky; top: 0; z-index: 2; padding: 6px 12px 8px; background: var(--pb-bg); }
  .pb-listing__mobile-toolbar button, .pb-listing__mobile-toolbar select { display: flex; align-items: center; justify-content: center; min-width: 0; flex: 1; height: 44px; border-radius: 10px; }
  .pb-listing__mobile-toolbar button { gap: 8px; border: 1.5px solid var(--pb-ink); background: var(--pb-card); font-size: 14px; font-weight: 800; }
  .pb-listing__mobile-toolbar button b { min-width: 20px; height: 20px; border-radius: 10px; background: var(--pb-yellow); font-size: 12px; display: grid; place-items: center; }
  .pb-listing__mobile-facets { display: flex; overflow-x: auto; gap: 6px; padding: 0 12px 10px; scrollbar-width: none; }
  .pb-listing__mobile-facets a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; flex: none; border-radius: 18px; background: var(--pb-card); padding: 0 12px; color: var(--pb-ink); text-decoration: none; font-size: 13px; font-weight: 800; }
  .pb-listing__mobile-facets a[aria-current] { background: var(--pb-yellow-tint); }
  .pb-listing__mobile-facets span { color: var(--pb-ink-muted); }
  .pb-listing__layout { display: block; }
  .pb-listing__results { gap: 0; }
  .pb-listing__grid { padding: 0 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pb-listing__grid .pb-card__photo { height: 130px; }
  .pb-listing__grid .pb-card__name { min-height: 51px; }
  .pb-listing__pagination { padding: 16px 12px 0; gap: 8px; font-size: 12px; }
  .pb-listing__pagination [data-pb-listing-more] { width: 100%; }
  .pb-listing__filter-dialog[open] { display: flex; flex-direction: column; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; padding: 0; background: var(--pb-card); color: var(--pb-ink); }
  .pb-listing__filter-dialog::backdrop { background: var(--pb-card); }
  .pb-listing__filter-head { flex: none; min-height: 60px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--pb-line); display: flex; justify-content: space-between; align-items: center; }
  .pb-listing__filter-head h2 { margin: 0; font-size: 18px; font-weight: 900; }
  .pb-listing__filter-head button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; }
  .pb-listing__filter-dialog [data-pb-filter-body] { display: flex; flex: 1; min-height: 0; overflow: auto; }
  .pb-filter { min-width: 0; width: 100%; padding: 4px 16px 0; }
  .pb-filter fieldset { padding-top: 10px; }
  .pb-filter__check input { width: 20px; height: 20px; }
  .pb-filter__prices label > span { display: none; }
  .pb-filter__prices > span { padding: 0; }
  .pb-filter__check { font-size: 15px; }
  .pb-filter__actions { position: sticky; bottom: 0; margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--pb-card); border-top: 1px solid var(--pb-line); }
  .pb-filter__actions button, .pb-filter__reset { min-height: 50px; border-radius: 12px; }
  .pb-filter__actions button { flex: 2; font-weight: 900; }
  .pb-filter__reset { display: flex; border: 1.5px solid var(--pb-line-control); }
  .pb-listing__empty, .pb-listing__no-matches { margin-inline: 12px; padding: 18px; border-radius: var(--pb-r-panel); }
  .pb-listing__empty { display: flex; flex-direction: column; gap: 12px; }
  .pb-listing__empty > div { gap: 12px; }
  .pb-listing__empty h2, .pb-listing__bestsellers h2, .pb-listing__no-matches h2 { font-size: 18px; }
  .pb-listing__empty p { font-size: 14px; }
  .pb-listing__empty ul { font-size: 13px; padding-left: 18px; }
  .pb-listing__manager { width: 100%; justify-content: center; min-height: 46px; font-size: 14px; }
  .pb-listing__manager span, .pb-listing__empty h3 { display: none; }
  .pb-listing__suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pb-listing__suggestions a { padding-inline: 10px; font-size: 13px; }
  .pb-listing__suggestions a:nth-child(n+7) { display: none; }
  .pb-listing__bestsellers { padding-inline: 12px; }
}
.pb-listing__description-retry { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; font-weight: 800; }

/* CatalogMenu.html / CatalogMobile.html */
.pb-header { position: sticky; top: 0; z-index: 10; pointer-events: none; }
.pb-header__inner { height: var(--pb-header-current); pointer-events: auto; }
.pb-header::before {
  content: ""; position: absolute; inset: 0 0 auto; height: var(--pb-header-current);
  background: var(--pb-card); border-bottom: 1px solid var(--pb-line); z-index: -1;
}
.pb-header[data-pb-header-scrolled]::before { box-shadow: 0 4px 16px rgb(0 0 0 / 10%); }
.pb-header__cart-area { position: relative; flex: none; }
.pb-header__cart { position: relative; }
.pb-header__cart-meter {
  appearance: none; position: absolute; inset: auto 6px 3px; width: calc(100% - 12px);
  height: 3px; border: 0; border-radius: 2px; overflow: hidden; background: #5F666D;
}
.pb-header__cart-meter::-webkit-progress-bar { background: #5F666D; }
.pb-header__cart-meter::-webkit-progress-value { background: var(--pb-yellow); }
.pb-header__cart-meter::-moz-progress-bar { background: var(--pb-yellow); }
.pb-header__cart-meter[data-complete]::-webkit-progress-value { background: #62C778; }
.pb-header__cart-meter[data-complete]::-moz-progress-bar { background: #62C778; }
.pb-header__cart-caption { display: block; position: absolute; top: 100%; right: 0; white-space: nowrap; font-size: 11px; }
.pb-header__cart-caption:empty { display: none; }
.pb-header .pb-catalog { pointer-events: auto; }
@media (min-width: 769px) {
  .pb-header[data-pb-header-compact] { --pb-header-current: 64px; }
  .pb-header[data-pb-header-compact] .pb-header__inner { padding-block: 0; }
  .pb-header[data-pb-header-compact] .pb-header__brand img { height: 22px; }
  .pb-header[data-pb-header-compact] :is(.pb-header__catalog, .pb-header__cart, .pb-search) { height: 44px; }
  .pb-header[data-pb-header-compact] :is(.pb-header__account, .pb-header__compare, .pb-header__wishlist) > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  .pb-header[data-pb-header-compact]:has(.pb-header__cart-caption:not([hidden]):not(:empty)) .pb-header__inner {
    padding-bottom: 14px;
  }
  .pb-header[data-pb-header-compact] .pb-header__cart-caption { line-height: 14px; }
}
.pb-header__catalog { border: 0; }
.pb-header__catalog[aria-expanded="true"] { background: var(--pb-ink); color: white; }
.pb-catalog {
  position: absolute; inset: var(--pb-header-current) 0 auto; width: min(1320px, calc(100vw - 48px));
  max-width: none; height: min(720px, calc(100dvh - var(--pb-header-current))); max-height: none; padding: 0;
  overflow: hidden; border: 0; border-radius: 0 0 20px 20px;
  background: white; color: var(--pb-ink);
  box-shadow: 0 24px 48px #0003, 0 calc(50vh + 100px) 0 calc(50vh + 100px) #21252973;
}
.pb-catalog[open] { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.pb-catalog__mobile, .pb-catalog__mobile-head, .pb-catalog__search { display: none; }
.pb-catalog__roots { list-style: none; margin: 0; padding: 12px; background: var(--pb-muted); overflow-y: auto; }
.pb-catalog__roots li + li { margin-top: 2px; }
.pb-catalog__roots button, .pb-catalog__roots a {
  width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--pb-ink);
  padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; text-decoration: none; font-weight: 700;
}
.pb-catalog__roots button > span, .pb-catalog__roots a > span { display: flex; align-items: center; gap: 12px; }
.pb-catalog__roots button[aria-expanded="true"] { background: white; box-shadow: 0 1px 3px #00000014; font-weight: 800; }
.pb-catalog__chip { display: grid; place-items: center; flex: none; width: 30px; height: 30px; background: var(--pb-yellow-tint); border-radius: 8px; }
.pb-catalog__roots button[aria-expanded="true"] .pb-catalog__chip { background: var(--pb-yellow); }
.pb-catalog__roots button > svg, .pb-catalog__roots a > svg { width: 16px; flex: none; transform: rotate(-90deg); }
.pb-catalog__level { padding: 24px 32px; overflow-y: auto; }
.pb-catalog__level-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pb-catalog__level-head h2 { margin: 0; font-size: 24px; font-weight: 900; }
.pb-catalog__level-head a { font-weight: 800; }
.pb-catalog__groups { column-count: 3; column-gap: 32px; }
.pb-catalog__group { break-inside: avoid; margin-bottom: 20px; }
.pb-catalog__group > a { display: block; color: var(--pb-ink); font-weight: 900; text-decoration: none; }
.pb-catalog__leaves { display: grid; margin-top: 6px; gap: 4px; }
.pb-catalog__leaves a { text-decoration: none; color: var(--pb-ink-body); font-size: 14px; line-height: 1.45; }

/* Shared form and panel primitives */
.pb-action {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px;
  padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--pb-line-control); background: white;
  color: var(--pb-ink); text-align: center; text-decoration: none; font-weight: 800;
}
.pb-action:hover { color: var(--pb-ink); }
.pb-action--yellow { background: var(--pb-yellow); border-color: var(--pb-yellow); color: var(--pb-ink); font-weight: 900; }
.pb-action--buy, .pb-action--buy:hover { color: white; background: var(--pb-buy); border-color: var(--pb-buy); }
.pb-action--dark, .pb-action--dark:hover { color: white; background: var(--pb-ink); border-color: var(--pb-ink); }
.pb-action--text { border: 0; color: var(--pb-link); background: transparent; }
.pb-action:disabled { color: var(--pb-ink-body); background: var(--pb-disabled); border-color: var(--pb-disabled); }
.pb-panel { padding: 22px 24px; border-radius: 16px; background: white; min-width: 0; }
.pb-form { display: grid; gap: 12px; min-width: 0; }
.pb-form p { margin: 0; }
.pb-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; min-width: 0; }
.pb-form input:not([type=checkbox], [type=radio], [type=hidden], [data-pb-checkout-quantity]), .pb-form select, .pb-form textarea {
  width: 100%; min-height: 46px; min-width: 0; padding: 8px 12px;
  border: 1.5px solid var(--pb-line-control); border-radius: 10px; background: white;
  font: 600 16px/1.3 var(--pb-font);
}
.pb-form input:is([type=checkbox], [type=radio]) { accent-color: var(--pb-ink); inline-size: 18px; block-size: 18px; flex: none; }
.pb-form .pb-form__check { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 44px; gap: 10px; font-weight: 600; }
.pb-form [data-pb-nova] select[name="shipping_address[zone_id]"] {
  appearance: none; height: 46px; padding-inline-end: 32px;
  background: linear-gradient(45deg, transparent 50%, var(--pb-ink) 50%) right 16px center / 5px 5px no-repeat,
    linear-gradient(135deg, var(--pb-ink) 50%, transparent 50%) right 11px center / 5px 5px no-repeat, white;
}
.pb-np-field { position: relative; min-width: 0; }
.pb-np-options {
  position: absolute; z-index: 7; inset: 100% 0 auto; max-height: 230px; overflow: auto;
  padding: 4px; margin: 4px 0 0; list-style: none; border: 1px solid var(--pb-line-control);
  border-radius: 10px; background: white; box-shadow: 0 6px 20px rgb(0 0 0 / 12%);
}
.pb-np-options[data-pb-nova-above] { inset: auto 0 100%; margin: 0 0 4px; }
.pb-np-options li {
  display: grid; align-content: center; gap: 2px; min-height: 44px;
  padding: 8px 12px; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere;
}
.pb-np-options li[aria-selected="true"] { background: var(--pb-yellow-tint); }
.pb-np-options small, .pb-np-status { color: var(--pb-ink-body); font-size: 13px; }
.pb-np-status:not([hidden]) { display: block; margin-top: 6px; }
.pb-form-error { color: var(--pb-error); font-size: 14px; }
.pb-alert { color: var(--pb-error); background: var(--pb-error-tint); border-radius: 10px; padding: 10px 14px; }
.pb-alert p { margin: 0; }

/* CartFlow.html / CartFlowMobile.html */
.pb-header__cart--flash, .pb-header__cart--flash:hover { background: var(--pb-buy); }
.pb-card__stock-row { display: flex; flex-wrap: wrap; align-items: start; gap: 2px 8px; min-height: 18px; line-height: 1.25; }
.pb-card__stock-row .pb-stock-message { margin: 0; font-size: 12px; }
.pb-card__stock-row .pb-stock-message:empty { display: none; }
.pb-card__in-cart { color: var(--pb-success); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pb-suggest__item .pb-card__stock-row { grid-column: 2 / -1; }
.pb-cart-line[data-pb-out-of-stock] { background: var(--pb-muted); }
.pb-cart-line[data-pb-out-of-stock] a, .pb-cart-line[data-pb-out-of-stock] > b { color: var(--pb-ink-muted); }
.pb-cart-toast {
  position: fixed; z-index: 12; top: 90px; right: max(24px, calc((100vw - 1320px) / 2)); width: 400px;
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px;
  background: white; box-shadow: 0 16px 40px #0003;
}
.pb-cart-toast__heading { display: flex; align-items: center; justify-content: space-between; color: var(--pb-success); }
.pb-cart-toast__heading button, .pb-cart-drawer__head button, .pb-auth__heading a {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pb-bg); color: var(--pb-ink);
  font-size: 22px; text-align: center; text-decoration: none; line-height: 44px;
}
.pb-cart-toast__item { display: flex; gap: 12px; align-items: center; }
.pb-cart-toast__item img { width: 52px; height: 52px; padding: 4px; background: var(--pb-muted); border-radius: 8px; object-fit: contain; }
.pb-cart-toast__item span { display: block; font-size: 13px; color: var(--pb-ink-muted); }
.pb-cart-toast__summary { padding: 10px 12px; border-radius: 10px; background: var(--pb-muted); font-size: 13px; }
.pb-cart-toast__summary > div, .pb-cart-drawer__foot small, .pb-cart-line__error { color: var(--pb-error); font-weight: 700; }
.pb-cart-toast__actions { display: flex; gap: 8px; }
.pb-cart-toast__actions > * { flex: 1; }
.pb-cart-toast__actions button, .pb-cart-toast__actions a {
  display: grid; place-items: center; min-height: 46px; border: 1.5px solid var(--pb-ink); border-radius: 10px; background: white;
  text-decoration: none; font-weight: 800;
}
.pb-cart-toast__actions a { background: var(--pb-buy); border-color: var(--pb-buy); color: white; }
.pb-cart-toast progress, .pb-cart-drawer progress, .pb-checkout__delivery-meter progress { width: 100%; height: 6px; border: 0; border-radius: 99px; overflow: hidden; display: block; margin-top: 6px; accent-color: var(--pb-buy); }
.pb-cart-drawer {
  padding: 0; border: 0; width: min(460px, 100vw); max-width: none; height: 100dvh; max-height: none;
  margin: 0 0 0 auto; inset: 0 0 0 auto; color: var(--pb-ink); box-shadow: -16px 0 40px #0003;
}
.pb-cart-drawer[open] { display: flex; flex-direction: column; }
.pb-cart-drawer::backdrop, .pb-catalog::backdrop { background: #21252973; }
body:has(.pb-cart-drawer[open]), body:has(.pb-catalog[open]) { overflow: hidden; }
.pb-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--pb-line); }
.pb-cart-drawer h2 { margin: 0; font-size: 20px; font-weight: 900; }
.pb-cart-drawer h2 span { font-size: 14px; color: var(--pb-ink-muted); }
.pb-cart-drawer__body { min-height: 0; flex-grow: 1; overflow: auto; padding: 4px 20px; }
.pb-cart-drawer__body > p:only-child { text-align: center; margin: 32px 0; color: var(--pb-ink-muted); }
.pb-cart-drawer__seller { padding: 8px 12px; background: var(--pb-muted); border-radius: 10px; font-size: 13px; margin: 10px 0 0; }
.pb-cart-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pb-line); }
.pb-cart-line__image { display: grid; place-items: center; width: 52px; height: 52px; background: var(--pb-muted); border-radius: 8px; overflow: hidden; }
.pb-cart-line__image img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; padding: 4px; }
.pb-cart-line__detail { display: grid; gap: 4px; align-items: start; }
.pb-cart-line__detail a { color: var(--pb-ink); font-weight: 700; text-decoration: none; line-height: 1.3; }
.pb-cart-line__detail small { color: var(--pb-ink-muted); }
.pb-cart-line__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pb-cart-line__controls > button { border: 0; background: none; text-decoration: underline; min-height: 44px; color: var(--pb-ink-muted); font-size: 13px; font-weight: 700; }
.pb-cart-line__controls .pb-stepper { width: auto; grid-template-columns: repeat(3, 44px); }
.pb-cart-line__controls .pb-stepper button { min-width: 44px; }
.pb-cart-line > b { white-space: nowrap; }
.pb-cart-drawer__foot { padding: 14px 20px 18px; border-top: 1px solid var(--pb-line); display: grid; gap: 10px; }
.pb-cart-drawer__foot > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.pb-cart-drawer__foot > div:first-child b { font-size: 22px; }
.pb-cart-drawer__foot [data-pb-drawer-actions] { display: grid; gap: 8px; }
.pb-cart-drawer__foot > button { background: none; border: 0; min-height: 44px; color: var(--pb-link); font-weight: 800; }
.pb-cart-drawer__status { padding: 0 20px; color: var(--pb-error); }

/* Home.html / HomeMobile.html */
.pb-home { max-width: 1368px; margin: 0 auto; padding: 24px 24px 64px; display: flex; flex-direction: column; gap: 40px; }
.pb-home h1, .pb-home h2 { margin: 0; font-weight: 900; }
.pb-home h2 { font-size: 26px; letter-spacing: -.01em; }
.pb-home__banner { position: relative; overflow: hidden; border-radius: 20px; }
.pb-home__slides { display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.pb-home__slides > * { flex: 0 0 100%; aspect-ratio: 1320 / 400; scroll-snap-align: start; }
.pb-home__slides img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-home__dots { position: absolute; inset: auto 0 5px; display: flex; justify-content: center; }
.pb-home__dots button { width: 44px; height: 44px; border: 0; background: transparent; color: white; display: grid; place-items: center; filter: drop-shadow(0 1px 3px #000); }
.pb-home__dots [data-pb-slide]::after { content: ""; border-radius: 99px; width: 8px; height: 8px; background: white; }
.pb-home__dots [aria-current="true"]::after { width: 22px; background: var(--pb-yellow); }
.pb-home__shelf { display: grid; gap: 16px; min-width: 0; }
.pb-home__shelf-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pb-home__shelf-head a { font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; }
.pb-home__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }

/* Auth.html / Account.html / Info.html */
.pb-auth { position: relative; min-height: calc(100dvh - 77px); padding: 42px 12px 64px; display: grid; place-items: start center; }
.pb-auth__veil { position: absolute; inset: 0; background: #21252973; }
.pb-auth__panel { position: relative; width: min(520px, 100%); padding: 22px 24px; display: grid; gap: 18px; background: white; border-radius: 20px; box-shadow: 0 24px 48px #0003; }
.pb-auth__heading { display: flex; justify-content: space-between; align-items: center; }
.pb-auth__heading h1 { margin: 0; font-size: 24px; font-weight: 900; }
.pb-login-dialog { width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 22px; border: 0; border-radius: 20px; background: var(--pb-card); color: var(--pb-ink); }
.pb-login-dialog::backdrop { background: #21252970; }
.pb-login-dialog h2 { margin: 0; font-size: 22px; font-weight: 900; }
.pb-login-dialog .pb-auth__heading button { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: var(--pb-bg); font-size: 20px; }
.pb-login-dialog [data-pb-auth] { margin-block: 16px; }
.pb-sms-status { margin: 0 0 12px; }
@media (max-width: 768px) {
  .pb-login-dialog { width: 100%; max-width: none; margin: auto 0 0; padding: 16px 16px max(20px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .pb-login-dialog .pb-auth__heading { margin: 0; padding: 0; min-height: 0; border: 0; }
}
.pb-auth__tabs, .pb-auth__type { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--pb-bg); border-radius: 12px; }
.pb-auth__tabs a { min-height: 44px; display: grid; place-items: center; text-decoration: none; color: var(--pb-ink); font-weight: 800; border-radius: 9px; }
.pb-auth__tabs a[aria-current] { background: white; box-shadow: 0 1px 3px #00000014; }
.pb-auth .pb-action--yellow { min-height: 52px; font-size: 16px; }
.pb-auth__or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--pb-ink-muted); }
.pb-auth__or::before, .pb-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--pb-line); }
.pb-auth__email { border: 1.5px solid var(--pb-line); border-radius: 12px; padding: 0 14px; }
.pb-auth__email summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 800; }
.pb-auth__email form { padding-bottom: 14px; }
.pb-auth__email form > div { display: flex; align-items: center; justify-content: space-between; }
.pb-auth__type { padding: 0; margin: 0; border: 0; gap: 8px; background: white; min-width: 0; }
.pb-auth__type label { display: flex; flex-direction: row; align-items: center; padding: 8px 10px; min-height: 56px; border: 1.5px solid var(--pb-line-control); border-radius: 12px; }
.pb-auth__type label:has(:checked) { background: var(--pb-yellow-tint); border-color: var(--pb-yellow); }
.pb-auth__type small { display: block; color: var(--pb-ink-muted); }
.pb-account, .pb-info, .pb-checkout { max-width: 1368px; margin: 0 auto; padding: 24px 24px 64px; }
.pb-account { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 24px; }
.pb-account__nav { display: grid; gap: 2px; padding: 16px 10px; background: white; border-radius: 16px; }
.pb-account__nav > div { padding: 4px 14px 14px; border-bottom: 1px solid var(--pb-line); margin-bottom: 8px; font-size: 17px; }
.pb-account__nav small, .pb-account__tiles small { display: block; color: var(--pb-ink-muted); font-size: 13px; }
.pb-account__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--pb-ink); text-decoration: none; border-radius: 10px; font-weight: 700; }
.pb-account__nav a[aria-current] { background: var(--pb-yellow-tint); font-weight: 900; }
.pb-account__content, .pb-info { display: grid; min-width: 0; gap: 16px; }
.pb-account h1, .pb-info h1, .pb-checkout h1 { margin: 0; font-size: 32px; font-weight: 900; }
.pb-account__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pb-account__tiles > div { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: white; align-content: start; }
.pb-account__tiles b { font-size: 17px; line-height: 1.3; }
.pb-account__tiles a { display: flex; min-height: 44px; align-items: center; font-weight: 800; }
.pb-account__tiles .pb-account__repeat { color: white; background: var(--pb-ink); gap: 10px; }
.pb-account__repeat small { color: #C9C9CF; }
.pb-account__orders { background: white; border-radius: 16px; overflow: hidden; }
.pb-account__columns { display: grid; grid-template-columns: 1fr .8fr 1fr minmax(0, 1fr) .75fr auto; align-items: center; gap: 12px; padding: 16px 20px; font-size: 14px; border-bottom: 1px solid var(--pb-line); }
.pb-account__columns:first-child { background: var(--pb-muted); text-transform: uppercase; color: var(--pb-ink-muted); font-weight: 800; font-size: 12px; }
.pb-account__columns time { color: var(--pb-ink-muted); }
.pb-account__status { display: inline-block; background: var(--pb-muted); padding: 2px 8px; border-radius: 6px; font-weight: 800; }
.pb-account__status--success { background: var(--pb-success-tint); color: var(--pb-success); }
.pb-account__line-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-account__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-order-detail { display: grid; gap: 14px; }
.pb-order-detail__line { display: flex; gap: 16px; justify-content: space-between; }
.pb-info > nav { color: var(--pb-ink-muted); font-size: 13px; }
.pb-info__layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pb-info__column { display: grid; gap: 12px; }
.pb-info__column h2 { margin: 4px 0 0; font-size: 20px; font-weight: 900; }
.pb-info__column h3 { margin: 0; font-size: 18px; font-weight: 900; }
.pb-info__column p { margin: 5px 0 0; color: var(--pb-ink-body); font-size: 14px; }
.pb-info__column .pb-panel > div + div { margin-top: 12px; }
.pb-info__card-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.pb-info__card-head > b { color: var(--pb-success); }
.pb-info__important { background: var(--pb-yellow-tint); }
.pb-info__important h2 { font-size: 17px; margin: 0; }
.pb-info__important p + p { margin-top: 10px; }
.pb-info__phone { background: var(--pb-ink); color: white; }
.pb-info__phone small { display: block; color: #C9C9CF; }
.pb-info__phone a { display: inline-flex; min-height: 44px; align-items: center; color: white; font-size: 20px; font-weight: 900; text-decoration: none; }

@media (max-width: 1024px) {
  .pb-home__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-account { grid-template-columns: 210px minmax(0, 1fr); }
  .pb-account__columns { grid-template-columns: .8fr .85fr 1fr .8fr auto; }
  .pb-account__columns > :nth-child(4) { display: none; }
}

@media (max-width: 768px) {
  .pb-catalog { position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .pb-catalog[open] { display: flex; flex-direction: column; }
  .pb-catalog__desktop, .pb-catalog__leaves { display: none !important; }
  .pb-catalog__mobile { display: inline; }
  .pb-catalog__mobile-head { display: flex; flex: none; align-items: center; gap: 4px; height: 60px; padding: 0 8px 0 12px; border-bottom: 1px solid var(--pb-line); }
  .pb-catalog__mobile-head h2 { margin: 0; flex: 1; font-size: 18px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pb-catalog__mobile-head a { white-space: nowrap; color: var(--pb-ink); text-decoration: none; padding: 0 6px; font-weight: 800; font-size: 13px; min-height: 44px; display: flex; align-items: center; }
  .pb-catalog__mobile-head button, .pb-catalog__search button { min-width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; display: grid; place-items: center; }
  .pb-catalog__mobile-head button:first-child svg { transform: rotate(90deg); }
  .pb-catalog__search { display: flex; min-height: 46px; margin: 12px; border: 1.5px solid var(--pb-line-control); border-radius: 10px; }
  .pb-catalog__search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; }
  .pb-catalog__roots, .pb-catalog__level { padding: 0 12px 16px; flex: 1; overflow: auto; background: white; }
  .pb-catalog__chip { width: 34px; height: 34px; border-radius: 9px; }
  .pb-catalog__roots li, .pb-catalog__group { border-bottom: 1px solid #EEEEF2; margin: 0; }
  .pb-catalog__roots button, .pb-catalog__roots a, .pb-catalog__group a, .pb-catalog__group button { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; min-height: 56px; border: 0; width: 100%; background: transparent; font-weight: 700; font-size: 16px; text-align: left; }
  .pb-catalog__group button span { display: flex; align-items: center; gap: 6px; color: var(--pb-ink-muted); }
  .pb-catalog__group button svg { width: 16px; transform: rotate(-90deg); }
  .pb-catalog__level-head { margin: 0 0 6px; }
  .pb-catalog__level-head h2 { display: none; }
  .pb-catalog__level-head a { width: 100%; display: flex; align-items: center; min-height: 52px; padding: 0 14px; background: var(--pb-yellow-tint); border-radius: 12px; color: var(--pb-ink); text-decoration: none; }
  .pb-catalog__groups { column-count: 1; }
  .pb-catalog__group a { min-height: 52px; font-weight: 600; font-size: 15px; }
  .pb-catalog__level[data-pb-menu-level^="group-"] .pb-catalog__group a { border-bottom: 1px solid #EEEEF2; }

  .pb-cart-drawer { inset: auto 0 0; margin: 0; width: 100%; height: 78dvh; border-radius: 18px 18px 0 0; }
  .pb-cart-drawer__head, .pb-cart-drawer__body, .pb-cart-drawer__foot { padding-left: 14px; padding-right: 14px; }
  .pb-cart-line { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .pb-cart-line__image { width: 44px; height: 44px; }
  .pb-cart-toast {
    width: auto; top: auto; bottom: max(12px, env(safe-area-inset-bottom)); inset-inline: 12px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0 8px;
    align-items: center; background: var(--pb-ink); color: white; padding: 8px 10px 8px 12px; font-size: 13px; min-height: 58px;
  }
  .pb-cart-toast__heading, .pb-cart-toast__summary > :not(b, [data-pb-toast-remaining]), .pb-cart-toast__item img, .pb-cart-toast__actions a { display: none; }
  .pb-cart-toast__item { grid-column: 1; min-width: 0; line-height: 1.2; }
  .pb-cart-toast__item > div { min-width: 0; }
  .pb-cart-toast__item b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .pb-cart-toast__item b::before { content: "✓ Додано: "; color: #C3E6CD; }
  .pb-cart-toast__item span { color: white; }
  .pb-cart-toast__summary { grid-column: 1; padding: 0; color: white; background: transparent; }
  .pb-cart-toast__summary > [data-pb-toast-remaining]:not(:empty) { margin-top: 4px; color: var(--pb-yellow-tint); }
  .pb-cart-toast__actions { grid-column: 2; grid-row: 1 / span 2; }
  .pb-cart-toast__actions button { padding: 0 10px; border: 0; background: var(--pb-yellow); }
  .pb-cart-toast__actions button span { font-size: 0; }
  .pb-cart-toast__actions button span::after { content: "Кошик"; font-size: 14px; }

  .pb-home { padding: 12px 12px 32px; gap: 24px; }
  .pb-home__banner { border-radius: 14px; padding-bottom: 30px; }

  .pb-home__slides { border-radius: 14px; }
  .pb-home__dots { bottom: -7px; }
  .pb-home__dots button { filter: none; color: var(--pb-ink); }
  .pb-home__dots [data-pb-slide]::after { background: #9A9AA3; }
  .pb-home__dots [aria-current="true"]::after { background: var(--pb-ink); }
  .pb-home__shelf--promo { order: 1; }
  .pb-home__shelf--best { order: 3; }
  .pb-home h2 { font-size: 18px; }
  .pb-home__shelf { gap: 4px; }
  .pb-home__shelf-head a { font-size: 13px; }
  .pb-home__grid { grid-auto-flow: column; grid-auto-columns: minmax(178px, 49%); grid-template-columns: none; gap: 8px; overflow-x: auto; scrollbar-width: none; }

  .pb-auth { min-height: calc(100dvh - 65px); padding: 0; background: white; }
  .pb-auth__veil { display: none; }
  .pb-auth__panel { width: min(520px, 100%); box-shadow: none; padding: 14px 16px 24px; border-radius: 0; }
  .pb-auth__heading h1 { font-size: 20px; }
  .pb-account, .pb-info, .pb-checkout { padding: 16px 12px 40px; }
  .pb-account { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pb-account__nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
  .pb-account__nav > div { display: none; }
  .pb-account__nav a { flex: none; }
  .pb-account h1, .pb-info h1, .pb-checkout h1 { font-size: 22px; }
  .pb-account__tiles { grid-template-columns: 1fr; gap: 8px; }
  .pb-account__tiles > div { padding: 12px 14px; }
  .pb-account__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .pb-account__columns > :nth-child(4) { display: block; grid-column: 1 / span 2; }
  .pb-account__columns > :nth-child(5) { text-align: right; }
  .pb-account__columns .pb-account__actions { grid-column: 1 / -1; }
  .pb-account__columns:first-child { display: none; }
  .pb-info__layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pb-panel { padding: 14px; }
}

/* Checkout.html / CheckoutMobile.html */
.pb-checkout > nav { color: var(--pb-ink-muted); font-size: 13px; margin-bottom: 8px; }
.pb-checkout h1 { margin-bottom: 16px; }
.pb-checkout__layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pb-checkout__sections { display: grid; gap: 16px; min-width: 0; }
.pb-checkout .pb-panel { display: grid; gap: 16px; }
.pb-checkout .pb-panel h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; font-weight: 900; }
.pb-checkout h2 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pb-yellow); font-size: 15px; }
.pb-checkout__summary { position: sticky; top: 16px; }
.pb-checkout__summary .pb-cart-drawer__seller { margin: 0; }
.pb-checkout__summary small { color: var(--pb-ink-muted); }
.pb-checkout__buyer, .pb-checkout__sellers { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.pb-checkout__buyer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.pb-checkout__sellers { margin-bottom: 12px; }
.pb-checkout__sellers [aria-current] { background: var(--pb-yellow-tint); border-color: var(--pb-yellow); }
.pb-checkout__choices, .pb-form__options { min-width: 0; margin: 0; padding: 0; border: 0; }
.pb-checkout__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-checkout__choices label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 8px; padding: 12px; border: 1.5px solid var(--pb-line-control); border-radius: 12px; cursor: pointer; }
.pb-checkout__choices label > span { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.pb-checkout__choices label > small { grid-column: 2; color: var(--pb-ink-muted); }
.pb-checkout__choices label:has(:checked) { border-color: var(--pb-yellow); background: var(--pb-yellow-tint); }
.pb-checkout__choices label:has(:disabled) { background: var(--pb-muted); color: var(--pb-ink-muted); cursor: default; }
.pb-checkout__pickup { padding: 14px 16px; border-radius: 12px; background: var(--pb-muted); }
.pb-checkout__sections summary { min-height: 44px; color: var(--pb-link); font-weight: 800; cursor: pointer; align-content: center; }
.pb-checkout__coupon { display: flex; align-items: center; gap: 8px; }
.pb-checkout__totals { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; font-size: 15px; }
.pb-checkout__totals dt { color: var(--pb-ink-muted); }
.pb-checkout__totals dd { margin: 0; font-weight: 700; text-align: right; }
.pb-checkout__total { border-top: 1px solid var(--pb-line); padding-top: 8px; font-weight: 900; }
.pb-checkout__totals dd.pb-checkout__total { font-size: 22px; }
.pb-checkout__submit button { width: 100%; min-height: 52px; text-transform: uppercase; }
.pb-checkout__submit > :is(div, small) { display: none; }
.pb-checkout__payment, .pb-checkout__empty { max-width: 540px; }
.pb-checkout__layout[aria-busy="true"] { opacity: .75; }

@media (max-width: 768px) {
  .pb-checkout { padding-bottom: 104px; }
  .pb-checkout__layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pb-checkout__summary { position: static; }
  .pb-checkout .pb-panel { gap: 12px; }
  .pb-checkout .pb-panel h2 { font-size: 18px; }
  .pb-checkout__choices { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pb-checkout .pb-form__grid { grid-template-columns: minmax(0, 1fr); }
  .pb-checkout__action-slot { min-height: 52px; }
  .pb-checkout__submit[data-pb-bottom-action] {
    position: fixed; inset: auto 0 0; z-index: 8; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 4px 10px;
    background: var(--pb-card); border-top: 1px solid var(--pb-line);
  }
  .pb-checkout__submit[data-pb-bottom-action] > div { display: grid; font-size: 12px; color: var(--pb-ink-muted); }
  .pb-checkout__submit[data-pb-bottom-action] > small { display: block; grid-column: 1 / -1; color: var(--pb-error); }
  .pb-checkout__submit b { font-size: 18px; color: var(--pb-ink); }
  .pb-checkout__submit button { text-transform: none; }
}

/* Main.html / Mobile.html: Купують разом */
.pb-bundle { margin-top: 32px; display: grid; gap: 16px; }
.pb-bundle h2 { margin: 0; font-size: 22px; font-weight: 900; }
.pb-bundle h2 span { margin-left: 12px; padding: 2px 8px; border-radius: 6px; background: var(--pb-error); color: white; font-size: 13px; font-weight: 800; }
.pb-bundle form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; padding: 20px; background: white; border-radius: 16px; }
.pb-bundle__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 12px; }
.pb-bundle__items label { display: grid; grid-template-rows: minmax(28px, auto) 96px 1fr auto; gap: 8px; min-width: 0; padding: 12px; border: 1.5px solid var(--pb-line); border-radius: 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.pb-bundle__items label > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--pb-ink-muted); }
.pb-bundle__items input[type=checkbox] { accent-color: var(--pb-ink); width: 20px; height: 20px; flex: none; margin: 0; }
.pb-bundle__image { background: var(--pb-muted); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.pb-bundle__image img { max-width: 100%; max-height: 96px; object-fit: contain; }
.pb-bundle__summary { display: grid; align-content: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--pb-line); }
.pb-bundle__summary > b { font-size: 28px; font-weight: 900; }
.pb-bundle__summary > span, .pb-bundle__summary > small { color: var(--pb-ink-muted); }
.pb-bundle__summary .pb-bundle__saving { color: var(--pb-success); font-weight: 800; }
.pb-bundle__summary button { min-height: 52px; }
@media (max-width: 768px) {
  .pb-bundle { margin-top: 14px; gap: 8px; }
  .pb-bundle h2 { font-size: 17px; }
  .pb-bundle form, .pb-bundle__items { display: block; }
  .pb-bundle form { padding: 4px 12px 12px; border-radius: 12px; }
  .pb-bundle__items label { grid-template: auto / 24px 44px minmax(0, 1fr) auto; align-items: center; padding: 8px 0; min-height: 64px; border: 0; border-radius: 0; border-bottom: 1px solid var(--pb-line); }
  .pb-bundle__item-caption { display: none; }
  .pb-bundle__image { width: 44px; height: 44px; }
  .pb-bundle__image img { max-height: 44px; }
  .pb-bundle__summary { grid-template-columns: 1fr auto; align-items: baseline; border: 0; padding: 10px 0 0; }
  .pb-bundle__summary > b { font-size: 20px; }
  .pb-bundle__summary > :nth-child(n+3) { grid-column: 1 / -1; }
}

.pb-checkout-header { background: white; border-bottom: 1px solid var(--pb-line); }
.pb-checkout-header__inner { max-width: 1368px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.pb-checkout-header__back, .pb-checkout-header__logo, .pb-checkout-header__phone { min-height: 48px; display: flex; align-items: center; gap: 8px; }
.pb-checkout-header__back { font-size: 14px; font-weight: 800; text-decoration: none; }
.pb-checkout-header__back svg { width: 16px; transform: rotate(90deg); }
.pb-checkout-header__logo { order: -1; }
.pb-checkout-header__logo img { display: block; width: auto; height: 28px; }
.pb-checkout-header__phone { margin-left: auto; color: var(--pb-ink); text-decoration: none; line-height: 1.2; }
.pb-checkout-header__phone small { display: block; color: var(--pb-ink-muted); }
.pb-checkout-header__phone-mobile, .pb-checkout__remove svg { display: none; }
.pb-checkout__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: 0 24px; }
.pb-checkout__sections { grid-area: 1 / 1 / span 2 / 2; }
.pb-checkout__summary, .pb-checkout__totals-panel { grid-column: 2; position: static; }
.pb-checkout .pb-checkout__summary { padding: 24px 24px 0; border-radius: 16px 16px 0 0; }
.pb-checkout__totals-panel { border-radius: 0 0 16px 16px; }
.pb-checkout__items-toggle { display: none; }
.pb-checkout__summary h2 { justify-content: space-between; }
.pb-checkout__summary h2 small { font-size: 13px; font-weight: 600; }
.pb-checkout__summary details > .pb-cart-drawer__seller { margin-bottom: 8px; }
.pb-checkout__buyer-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pb-checkout__buyer { display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); }
.pb-checkout__buyer > span { display: grid; min-height: 44px; align-items: center; text-align: center; padding: 0 8px; border-radius: 8px; background: white; font-size: 14px; font-weight: 900; }
.pb-checkout__buyer > a { padding: 0 8px; font-size: 14px; }
.pb-checkout__coupon { margin-top: 12px; }
.pb-checkout .pb-form__options:has([name="customer[register]"]) { grid-column: 1 / -1; }
.pb-checkout .pb-form__options:has([name="customer[register]"]) legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pb-order-inline { grid-column: 1 / -1; background: var(--pb-muted); margin: 0; padding: 14px 16px; border-radius: 12px; }
.pb-order-detail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-order-detail__line { grid-column: 1 / -1; }
.pb-order-detail small { font-size: 13px; color: var(--pb-ink-muted); }

@media (max-width: 768px) {
  body:has(.pb-auth) .pb-header, body:has(.pb-auth) .pb-footer { display: none; }
  .pb-auth { min-height: 100dvh; }
  .pb-auth__panel { gap: 14px; }
  .pb-auth__heading { margin: -14px -16px 0; padding: 0 8px 0 16px; min-height: 60px; border-bottom: 1px solid var(--pb-line); }
  .pb-auth__heading h1 { font-size: 18px; }
  .pb-auth__heading a { background: transparent; font-size: 26px; }
  .pb-auth__panel .pb-form__grid { grid-template-columns: 1fr; }
  .pb-home__slides > * { flex-basis: 90%; min-height: 106px; margin-right: 8px; border-radius: 14px; overflow: hidden; }
  .pb-home__slides > *:last-child { margin-right: 0; }
  .pb-account__nav { background: transparent; padding: 5px 0; }
  .pb-account__nav a { background: white; border: 1px solid var(--pb-line); }
  .pb-account__content { display: flex; flex-direction: column; gap: 8px; }
  .pb-account__content > h1 { order: 1; margin: 6px 0 0; }
  .pb-account__orders { order: 2; display: grid; gap: 8px; background: transparent; }
  .pb-account__columns { background: white; border: 0; border-radius: 14px; }
  .pb-account__columns > :nth-child(1) { grid-column: 1 / span 2; }
  .pb-account__columns > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .pb-account__columns > :nth-child(4) { grid-column: 1 / -1; white-space: normal; }
  .pb-account__columns > :nth-child(5) { text-align: left; align-self: center; }
  .pb-account__columns .pb-account__actions { grid-column: 2 / -1; justify-content: end; }
  .pb-account__tiles .pb-account__repeat { display: flex; justify-content: space-between; align-items: center; }
  .pb-account__repeat > small, .pb-account__tiles > :not(.pb-account__repeat) { display: none; }
  .pb-account__repeat b { font-size: 15px; }
  .pb-account__repeat .pb-action { white-space: nowrap; }
  .pb-order-detail { grid-template-columns: 1fr; }
  .pb-checkout-header__inner { min-height: 60px; padding: 0 12px; gap: 8px; }
  .pb-checkout-header__back { justify-content: center; width: 44px; min-height: 44px; }
  .pb-checkout-header__back svg { width: 22px; color: var(--pb-ink); }
  .pb-checkout-header__back span, .pb-checkout-header__phone small { display: none; }
  .pb-checkout-header__logo { order: 0; }
  .pb-checkout-header__logo img { height: 15px; }
  .pb-checkout-header__phone { font-size: 13px; white-space: nowrap; }
  .pb-checkout-header__phone svg { width: 16px; }
  .pb-checkout__layout { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .pb-checkout .pb-checkout__summary, .pb-checkout .pb-checkout__totals-panel { padding: 4px 14px 14px; border-radius: 14px; }
  .pb-checkout .pb-checkout__totals-panel { padding-top: 14px; }
  .pb-checkout .pb-checkout__summary h2, .pb-checkout__summary details > .pb-cart-drawer__seller { display: none; }
  .pb-checkout__items-toggle { min-height: 52px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 10px; }
  .pb-checkout__items-toggle > span { display: grid; }
  .pb-checkout__items-toggle > span + span { display: flex; gap: 6px; align-items: center; }
  details[open] .pb-checkout__items-toggle svg { transform: rotate(180deg); }
  .pb-checkout-header__phone-full { display: none; }
  .pb-checkout-header__phone-mobile { display: inline; }
  .pb-checkout__lines .pb-cart-line { font-size: 13px; grid-template-columns: 44px minmax(0, 1fr) auto; }
  .pb-checkout__lines .pb-cart-line__detail > small, .pb-checkout__remove span { display: none; }
  .pb-checkout__remove svg { display: block; }
  .pb-checkout__remove { min-width: 44px; }
  .pb-checkout__lines .pb-cart-line > b { align-self: end; padding-bottom: 10px; font-size: 15px; }
  .pb-checkout__lines { border-top: 1px solid var(--pb-line); }
  .pb-checkout__buyer-heading { display: grid; }
  .pb-checkout__coupon button span { font-size: 0; }
  .pb-checkout__coupon button span::after { content: "OK"; font-size: 14px; }
}

.pb-home__trust { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 28px; padding: 28px; border-radius: 20px; background: white; }
.pb-home__trust > div + div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pb-home__trust p { color: var(--pb-ink-muted); font-size: 14px; }
.pb-home__trust a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.pb-home__trust figure { margin: 0; border-radius: 14px; background: var(--pb-muted); padding: 18px; display: grid; gap: 14px; }
.pb-home__trust blockquote { margin: 0; font-size: 14px; color: var(--pb-ink-body); }
.pb-home__trust figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.pb-home__trust figcaption span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--pb-yellow); }
@media (max-width: 768px) {
  .pb-home__trust { order: 4; grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .pb-home__trust > div + div { grid-auto-flow: column; grid-auto-columns: minmax(230px, 80%); grid-template-columns: none; overflow: auto; }
}

/* Secondary storefront screens from the approved v2 reference. */
.pb-surface {
  max-width: 1320px;
  margin-inline: auto;
  padding: 32px 24px 64px;
  display: grid;
  gap: 16px;
}
.pb-surface--result { max-width: 860px; }
.pb-surface--service { max-width: 760px; }
.pb-surface--recovery { max-width: 560px; }
.pb-surface h1, .pb-sections h1 { margin: 0; font-size: 32px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.pb-surface h2, .pb-sections h2 { margin: 0; font-size: 20px; font-weight: 900; }
.pb-surface p, .pb-sections p { margin: 0; overflow-wrap: anywhere; }
.pb-surface__panel { min-width: 0; padding: 24px; border-radius: var(--pb-r-card); background: var(--pb-card); }
.pb-surface__stack, .pb-surface__recovery { display: grid; align-content: start; gap: 14px; }
.pb-surface__stack img { max-width: 100%; height: auto; }
.pb-surface__recovery { padding: 32px; }
.pb-surface__result { display: flex; align-items: center; flex-direction: column; gap: 14px; padding: 40px; text-align: center; }
.pb-surface__missing { padding: 48px; }
.pb-surface__message, .pb-surface__result p, .pb-surface__recovery p, .pb-surface__stack p { color: var(--pb-ink-body); line-height: 1.55; }
.pb-surface__message a { display: inline-flex; align-items: center; min-block-size: 44px; }
.pb-surface__status {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-size: 34px; font-weight: 900; line-height: 1;
}
.pb-surface__status--success { color: var(--pb-success); background: var(--pb-success-tint); }
.pb-surface__status--error { color: var(--pb-error); background: var(--pb-error-tint); }
.pb-surface__status--waiting { color: var(--pb-link); background: var(--pb-yellow-tint); }
.pb-surface__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.pb-surface__result .pb-surface__actions { justify-content: center; }
.pb-surface .pb-action, .pb-sections .pb-action { min-height: 48px; padding-inline: 18px; border-radius: var(--pb-r-btn); }
.pb-surface__summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin: 14px 0 0; }
.pb-surface__summary dt, .pb-surface small { color: var(--pb-ink-muted); }
.pb-surface__summary dd { margin: 4px 0 0; font-weight: 800; }
.pb-surface__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(100%, 520px); }
.pb-surface__columns { display: grid; align-items: start; gap: 16px; }
.pb-surface__columns--contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pb-surface__columns--reviews { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.pb-surface__columns--contact .pb-surface__stack > div > p { margin: 4px 0 0; }
.pb-surface__columns--contact a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; font-weight: 900; }
.pb-surface__columns--contact .pb-surface__stack > a { justify-self: start; }
.pb-surface__review-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.pb-surface__stars { color: var(--pb-link); letter-spacing: 2px; }
.pb-surface__brand { display: flex; align-items: center; gap: 18px; }
.pb-surface__brand img { border-radius: var(--pb-r-field); object-fit: contain; background: var(--pb-muted); }
.pb-surface__brand > div { flex: 1; min-width: 0; }
.pb-surface__brand p { margin-block-start: 4px; color: var(--pb-ink-muted); }
.pb-surface__brand-tools { justify-self: end; }
.pb-surface__brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-surface__brands a { display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--pb-ink); overflow-wrap: anywhere; }
.pb-surface__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pb-surface__text { max-width: 920px; padding: 28px; line-height: 1.65; color: var(--pb-ink-body); overflow-wrap: anywhere; }
.pb-surface__text img { max-width: 100%; height: auto; }
.pb-surface__text table { display: block; max-width: 100%; overflow-x: auto; }
.pb-sections__content { display: grid; min-width: 0; gap: 16px; }
.pb-sections__heading, .pb-sections__address { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.pb-sections__address p { white-space: pre-line; }
.pb-sections__form { width: min(100%, 760px); display: grid; gap: 14px; justify-items: start; }
.pb-sections__form > form { width: 100%; }
.pb-sections__form legend { font-size: 14px; font-weight: 800; }
.pb-sections__saved { min-width: 0; display: grid; grid-template-rows: 1fr auto; border-radius: var(--pb-r-card); background: var(--pb-card); }
.pb-sections__saved > form { display: grid; justify-items: center; }

@media (max-width: 1060px) {
  .pb-surface__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pb-surface { padding: 16px 12px 40px; gap: 12px; }
  .pb-surface__panel { padding: 16px; }
  .pb-surface h1, .pb-sections h1 { font-size: 22px; }
  .pb-surface h2, .pb-sections h2 { font-size: 18px; }
  .pb-surface__result { padding: 24px 18px; align-items: flex-start; text-align: left; }
  .pb-surface__status { width: 54px; height: 54px; font-size: 28px; }
  .pb-surface__columns, .pb-surface__summary dl, .pb-surface .pb-form__grid, .pb-sections .pb-form__grid { grid-template-columns: minmax(0, 1fr); }
  .pb-surface__summary dl div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
  .pb-surface__actions { gap: 8px; }
  .pb-surface__result .pb-surface__actions, .pb-surface__recovery .pb-surface__actions { width: 100%; }
  .pb-surface__recovery .pb-action { flex: 1 1 100%; }
  .pb-surface__brand { flex-wrap: wrap; gap: 8px; }
  .pb-surface__brands, .pb-surface__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pb-sections__content { gap: 10px; }
}
.pb-surface__missing h1 { font-size: 30px; }
.pb-surface__missing p { max-width: 52ch; }
.pb-surface__code { font-size: 120px; line-height: 1; font-weight: 900; color: var(--pb-ink); -webkit-text-stroke: 2px var(--pb-yellow); }
.pb-surface__chips .pb-action { border: 0; border-radius: 999px; background: var(--pb-bg); }
.pb-surface__reading { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 16px; }
.pb-surface__reading:not(:has(.pb-surface__toc:not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
.pb-surface__reading:has(.pb-surface__toc:not([hidden])) .pb-surface__text { max-width: none; }
.pb-surface__toc { display: flex; flex-direction: column; padding: 18px; font-size: 14px; }
.pb-surface__toc[hidden] { display: none; }
.pb-surface__toc a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .pb-surface__missing h1 { font-size: 22px; }
  .pb-surface__code { font-size: 76px; }
  .pb-surface__reading { grid-template-columns: minmax(0, 1fr); }
  .pb-surface__toc { grid-row: 1; }
  .pb-surface__chips .pb-action { flex: 0 1 auto; }
}
.pb-surface__missing .pb-surface__search input { min-height: 50px; border-color: var(--pb-ink); border-radius: var(--pb-r-btn); }
.pb-surface__missing .pb-surface__search .pb-action { min-width: 50px; }
.pb-surface__columns--contact a[href^="tel:"] { font-size: 22px; color: var(--pb-ink); }
.pb-surface__map { width: 100%; min-height: 180px; border: 0; border-radius: var(--pb-r-field); background: var(--pb-muted); }
.pb-surface__review-meta { align-items: center; justify-content: flex-start; }
.pb-surface__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pb-yellow); font-weight: 900; }

@media (max-width: 767px) {
  .pb-surface__result .pb-surface__actions { justify-content: flex-start; }
  .pb-surface__missing > .pb-action { width: 100%; }
}
.pb-surface__chips a[aria-current="page"] { background: var(--pb-ink); color: var(--pb-card); }

@media (max-width: 768px) {
  .pb-home__banner--fallback .pb-home__slides > a { aspect-ratio: 11 / 5; }
  .pb-home__banner--fallback img[srcset] { object-position: left center; }
}

.pb-filter__volume { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-filter__volume label { position: relative; cursor: pointer; }
.pb-filter__volume span { display: grid; place-items: center; min-height: 44px; min-width: 48px; padding: 0 10px; border: 1px solid var(--pb-line-control); border-radius: 22px; font-weight: 700; }
.pb-filter__volume input:checked + span { background: var(--pb-yellow); border-color: var(--pb-yellow); }
.pb-filter__volume input:focus-visible + span { outline: 2px solid var(--pb-link); outline-offset: 2px; }

.pb-header__account, .pb-header__compare, .pb-header__wishlist, .pb-listing__compare a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--pb-ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.pb-header__account, .pb-header__compare, .pb-header__wishlist { flex: none; min-width: 44px; justify-content: center; }
.pb-header__account span { overflow: hidden; text-overflow: ellipsis; max-width: 90px; white-space: nowrap; }
@media (max-width: 1100px) {
  :is(.pb-header__account, .pb-header__wishlist, .pb-header__compare) span { display: none; }
}
.pb-compare-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; background: var(--pb-yellow); border-radius: 12px; color: var(--pb-ink); font-size: 12px; }
.pb-listing__compare { display: flex; justify-content: flex-end; padding: 0 12px 6px; }
.pb-card { position: relative; }
.pb-card__compare, .pb-card__wishlist, .pb-product__compare {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; border: 1px solid var(--pb-line-control); border-radius: 12px; background: var(--pb-card);
  font-weight: 800;
}
:is(.pb-card__compare, .pb-card__wishlist) { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 0; border-radius: 50%; }
.pb-card__wishlist { right: 62px; }
.pb-card__wishlist[aria-pressed="true"], .pb-card__compare[aria-pressed="true"], .pb-product__compare[aria-pressed="true"] { border-color: var(--pb-yellow); background: var(--pb-yellow); }
.pb-product__compare { flex: none; padding: 0; }
.pb-compare-bar {
  position: fixed; z-index: 8; bottom: max(10px, env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); width: min(720px, calc(100% - 24px)); display: flex; align-items: center;
  gap: 12px; padding: 8px 12px; color: white; background: var(--pb-ink); border-radius: 14px;
  box-shadow: 0 4px 18px #0003;
}
.pb-compare-bar span { display: flex; flex: 1; align-items: center; gap: 5px; font-weight: 700; }
.pb-compare-bar span svg { color: var(--pb-yellow); }
.pb-compare-bar button, .pb-compare__heading button {
  min-height: 44px; padding: 0 8px; background: transparent; border: 0; font-weight: 800;
}
body:has(.pb-compare-bar:not([hidden])) { padding-bottom: 72px; }
.pb-search-panel__message { margin: 0; padding: 14px 16px; color: var(--pb-ink-muted); }
.pb-compare { max-width: 1368px; margin: auto; padding: 24px; }
.pb-compare__heading { display: flex; justify-content: space-between; align-items: center; }
.pb-compare h1 { margin: 0 0 12px; font-size: 32px; }
.pb-compare h1 small { color: var(--pb-ink-muted); font-size: 16px; }
.pb-compare__groups { display: flex; gap: 8px; overflow: auto; }
.pb-compare__groups a { display: inline-flex; flex: none; gap: 6px; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 24px; background: white; color: var(--pb-ink); text-decoration: none; }
.pb-compare__groups a[aria-current] { background: var(--pb-ink); color: white; }
.pb-compare__differences { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.pb-compare__scroll { overflow-x: auto; margin-top: 10px; border-radius: 16px; background: white; }
.pb-compare__table { width: 100%; border-collapse: collapse; }
.pb-compare__table th, .pb-compare__table td { min-width: 168px; padding: 10px; border-bottom: 1px solid var(--pb-line); text-align: left; vertical-align: top; }
.pb-compare__table .pb-compare__row-title { width: 175px; }
.pb-compare__table .pb-compare__different { background: #FFFBE6; }
.pb-compare__product { display: grid; position: relative; gap: 8px; }
.pb-compare__product > a { display: grid; gap: 8px; color: var(--pb-ink); text-decoration: none; }
.pb-compare__product img { display: block; margin: auto; object-fit: contain; }
.pb-compare__product .pb-card__actions { width: 100%; display: grid; grid-template-columns: 1fr; }
.pb-compare__product .pb-card__buy span { display: inline; }
.pb-compare__product .pb-stepper { grid-template-columns: 44px minmax(28px, 1fr) 44px; }
.pb-compare__product .pb-stepper button { min-height: 44px; }
.pb-compare__remove { position: absolute; top: 0; right: 0; display: grid; place-items: center; min-width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pb-muted); font-size: 22px; }
.pb-compare__empty { padding: 24px; background: white; border-radius: 16px; }
.pb-compare__mobile-label { display: none; }
@media (max-width: 768px) {
  .pb-header__account, .pb-header__compare, .pb-header__wishlist { display: none; }
  .pb-compare { padding: 12px; }
  .pb-compare h1 { font-size: 24px; }
  .pb-compare__table .pb-compare__row-title { position: absolute; width: 1px; min-width: 0; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
  .pb-compare__mobile-label { display: block; font-size: 12px; font-weight: 700; }
  .pb-card__wishlist { right: 66px; }
  .pb-compare-bar { gap: 4px; padding: 6px 7px; font-size: 13px; }
  .pb-compare-bar .pb-action { padding-inline: 9px; }
  .pb-card__compare { top: 5px; right: 5px; }
}

/* StickyHeader v8. The header reserves its full space while its controls reflow. */
@media (min-width: 769px) {
  body:has(.pb-header[data-pb-header-compact]) .pb-cart-toast { top: 72px; }
}
@media (max-width: 768px) {
  .pb-header { --pb-header-height: 116px; }
  .pb-header[data-pb-product-header], .pb-header[data-pb-header-compact] { --pb-header-current: 60px; }
  .pb-header[data-pb-product-header] { --pb-header-height: 60px; }
  .pb-header__inner, .pb-header[data-pb-listing-search] .pb-header__inner {
    grid-template-columns: 44px minmax(38px, 1fr) 44px max-content;
    grid-template-rows: 60px 44px; column-gap: 6px; padding: 0 12px;
  }
  .pb-header:not([data-pb-product-header]):not([data-pb-header-compact]) .pb-search:not([data-pb-mobile-search] .pb-search) {
    display: flex; grid-column: 1 / -1; grid-row: 2; height: 44px; margin: 0; padding-left: 4px;
  }
  .pb-header:not([data-pb-product-header]) .pb-header__search-toggle { display: none; }
  .pb-header__phone {
    grid-column: 3; display: grid; place-items: center; min-width: 44px; height: 44px;
    padding: 0; border-radius: 10px; background: var(--pb-bg);
  }
  .pb-header__phone-text { display: none; }
  .pb-header__cart-area { grid-column: 4; grid-row: 1; }
  .pb-header__cart, .pb-header__cart:hover { height: 44px; padding: 0 8px; gap: 5px; font-size: 13px; }
  .pb-header__cart-total { position: static; clip-path: none; width: auto; height: auto; }
  .pb-header__cart-count { position: static; }
  .pb-header__cart-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pb-header[data-pb-product-header]:not([data-pb-header-compact]) .pb-header__inner {
    grid-template-columns: 44px minmax(28px, 1fr) 44px 44px max-content; grid-template-rows: 60px;
  }
  .pb-header[data-pb-product-header] .pb-header__phone { grid-column: 4; }
  .pb-header[data-pb-product-header] .pb-header__cart-area { grid-column: 5; }
  .pb-header[data-pb-header-compact] .pb-header__inner {
    grid-template-columns: 44px minmax(0, 1fr) max-content; grid-template-rows: 60px;
  }
  .pb-header[data-pb-header-compact] :is(.pb-header__brand, .pb-header__phone, .pb-header__search-toggle) { display: none; }
  .pb-header[data-pb-header-compact] .pb-header__cart-area { grid-column: 3; }
  .pb-header[data-pb-header-compact] .pb-search:not([data-pb-mobile-search] .pb-search) {
    display: flex; grid-column: 2; grid-row: 1; height: 44px; margin: 0; padding-left: 4px; gap: 4px;
  }
  .pb-header:not([data-pb-product-header]) .pb-search__submit,
  .pb-header[data-pb-header-compact] .pb-search__submit { display: flex; margin: 0; }
  .pb-header [data-pb-mobile-search] .pb-search { display: flex; grid-column: 2; grid-row: 1; }
  .pb-header [data-pb-mobile-search] .pb-search__submit { display: none; }
  body:has([data-pb-bottom-action]:not([hidden])) .pb-cart-toast {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body:has(.pb-purchase__sticky:not([hidden]) .pb-stock-warning:not(:empty)) .pb-cart-toast {
    bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

.pb-listing__bottom { display: none; }
@media (max-width: 768px) {
  .pb-compare-bar:not([hidden]) { display: none; }
  body:has(.pb-compare-bar:not([hidden])) { padding-bottom: 0; }
  .pb-listing__mobile-toolbar { position: relative; }
  .pb-listing__bottom:not([hidden]) {
    position: fixed; inset: auto 0 0; z-index: 8; display: flex; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--pb-card);
    border-top: 1px solid var(--pb-line); box-shadow: 0 -4px 16px rgb(0 0 0 / 8%);
  }
  .pb-listing__bottom select { flex: 1; min-width: 0; max-width: 50%; background-color: var(--pb-card); font-weight: 800; }
  .pb-listing__bottom [data-pb-open-filters] { flex: 1; }
  .pb-listing__bottom .pb-listing__bottom-compare { position: relative; min-width: 48px; padding: 0; color: var(--pb-yellow); }
  .pb-listing__bottom-compare .pb-compare-count { position: absolute; inset: 1px 1px auto auto; }
  body:has(.pb-listing__bottom:not([hidden])) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}


/* CartFlow v9: the order threshold belongs to the whole cart. */
.pb-cart-toast__summary > div { color: var(--pb-warn-ink); }
.pb-cart-toast progress, .pb-cart-drawer progress, .pb-checkout__delivery-meter progress { accent-color: var(--pb-yellow); }
.pb-cart-toast progress::-webkit-progress-value, .pb-cart-drawer progress::-webkit-progress-value,
.pb-checkout__delivery-meter progress::-webkit-progress-value { background: var(--pb-yellow); }
.pb-cart-toast progress[data-complete], .pb-cart-drawer progress[data-complete],
.pb-checkout__delivery-meter progress[data-complete] { accent-color: var(--pb-buy); }
.pb-cart-toast progress[data-complete]::-webkit-progress-value, .pb-cart-drawer progress[data-complete]::-webkit-progress-value,
.pb-checkout__delivery-meter progress[data-complete]::-webkit-progress-value { background: var(--pb-buy); }
.pb-drawer-topup {
  display: grid; gap: 8px; padding: 12px; margin-top: 12px;
  border-radius: var(--pb-r-btn); background: var(--pb-yellow-tint);
}
.pb-drawer-topup:focus { outline: none; }
.pb-drawer-topup:focus-visible h3 { outline: 2px solid var(--pb-link); outline-offset: 3px; }
.pb-drawer-topup__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pb-drawer-topup__heading h3 { margin: 0; font-size: 16px; }
.pb-drawer-topup__heading strong { flex: none; font-size: 13px; }
.pb-drawer-topup__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px;
  gap: 8px; align-items: center; padding: 8px;
  border-radius: var(--pb-r-field); background: var(--pb-card);
}
.pb-drawer-topup__item .pb-cart-line__image { width: 44px; height: 44px; }
.pb-drawer-topup__item a { color: var(--pb-ink); font-size: 14px; font-weight: 800; }
.pb-drawer-topup__item small { display: block; color: var(--pb-ink-muted); font-size: 12px; }
.pb-drawer-topup__item .pb-action { padding: 0; font-size: 21px; }
.pb-drawer-topup__item [data-pb-buy-status]:not(.pb-sr-only) { grid-column: 2 / -1; margin: 0; color: var(--pb-error); }
.pb-checkout__delivery-offer h3, .pb-checkout__delivery-offer p { margin: 0; }
.pb-checkout__delivery-offer h3 { font-size: 16px; }
.pb-checkout__delivery-offer p { color: var(--pb-ink-body); font-size: 14px; }
.pb-checkout__delivery-product { grid-template-columns: minmax(0, 1fr) auto 44px; padding: 6px 8px; }
.pb-checkout__delivery-product a { overflow-wrap: anywhere; }
.pb-checkout__delivery-product > b { white-space: nowrap; font-size: 14px; }
.pb-checkout__delivery-product .pb-action { min-height: 44px; }
.pb-checkout__delivery-progress { display: grid; gap: 4px; margin: 12px 0; font-size: 13px; }
.pb-checkout__delivery-meter { position: relative; padding: 3px 0; }
.pb-checkout__delivery-meter progress { margin: 0; }
.pb-checkout__delivery-marker {
  position: absolute; left: var(--pb-delivery-marker); top: 0;
  width: 2px; height: 100%; transform: translateX(-50%);
  border-radius: 2px; background: var(--pb-ink-muted);
}
.pb-checkout__delivery-progress small { color: var(--pb-ink-muted); }
.pb-checkout__minimum-progress { margin-bottom: 0; }
.pb-checkout__minimum-progress + .pb-checkout__delivery-progress { margin-top: 0; }
.pb-checkout__minimum-progress label { color: var(--pb-warn-ink); }
.pb-checkout__minimum-progress:has(progress[data-complete]) label { color: var(--pb-buy); }
.pb-checkout__delivery-complete { color: var(--pb-buy); }
.pb-checkout__delivery-progress + .pb-checkout__delivery-offer { margin-top: 0; }
.pb-checkout__submit > :is(button, a) { width: 100%; min-height: 52px; }
.pb-checkout__submit > button[aria-disabled=true] { color: var(--pb-ink-body); background: var(--pb-disabled); border-color: var(--pb-disabled); }
.pb-checkout__submit > small, .pb-checkout__submit[data-pb-bottom-action] > small {
  display: block; margin-top: 2px; color: var(--pb-warn-ink);
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .pb-header[data-pb-header-scrolled]:not(:has([data-pb-mobile-search], .pb-catalog[open])) .pb-header__inner {
    animation: pb-header-expand 160ms ease-out;
  }
  .pb-header[data-pb-header-compact]:not(:has([data-pb-mobile-search], .pb-catalog[open])) .pb-header__inner {
    animation-name: pb-header-collapse;
  }
}
@keyframes pb-header-expand { from { transform: translateY(-6px); } to { transform: translateY(0); } }
@keyframes pb-header-collapse { from { transform: translateY(6px); } to { transform: translateY(0); } }

@media (max-width: 768px) {
  .pb-purchase__favorite, .pb-product__compare { flex: none; width: 44px; min-height: 44px; padding: 0; }
  .pb-purchase__controls .pb-product__compare { order: 1; }
  .pb-purchase__sold-out > button:is(.pb-purchase__favorite, .pb-product__compare) { flex-basis: 44px; background: var(--pb-card); }
}

/* HeaderResponsive.html and MyProducts*.html */
.pb-header-top { display: none; }
@media (min-width: 769px) {
  .pb-header-top { display: block; background: #F7F7F9; border-bottom: 1px solid var(--pb-line); }
  .pb-header-top__inner {
    max-width: 1368px; margin-inline: auto; height: 31px; padding-inline: 24px;
    display: flex; align-items: center; gap: 20px; color: var(--pb-ink-muted); font-size: 13px;
  }
  .pb-header-top__inner a { color: var(--pb-ink-body); text-decoration: none; }
  .pb-header-top__space { flex: 1; }
  a.pb-header-top__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
  .pb-header-top__phone svg { width: 14px; height: 14px; }
  .pb-header[data-pb-header-v10] .pb-header__inner {
    display: grid; grid-template-columns: auto auto minmax(360px, 1fr) auto auto auto;
    grid-template-areas: "logo catalog search saved account cart"; gap: 0 16px;
  }
  [data-pb-header-v10] .pb-header__brand { grid-area: logo; }
  [data-pb-header-v10] .pb-header__catalog { grid-area: catalog; }
  [data-pb-header-v10] :is(.pb-search-layout, .pb-header__inner > .pb-search) { grid-area: search; }
  [data-pb-header-v10] .pb-header__wishlist { grid-area: saved; }
  [data-pb-header-v10] .pb-header__account { grid-area: account; }
  [data-pb-header-v10] .pb-header__cart-area { grid-area: cart; }
  [data-pb-header-v10] .pb-header__phone { display: none; }
  [data-pb-header-v10] :is(.pb-header__wishlist, .pb-header__account) {
    position: relative; flex-direction: column; gap: 2px; padding-inline: 2px; font-size: 12px;
  }
  [data-pb-header-v10] :is(.pb-header__wishlist, .pb-header__account) svg { width: 22px; height: 22px; }
  [data-pb-header-v10] .pb-header__wishlist [data-pb-wishlist-count] { position: absolute; top: 0; right: 0; }
  [data-pb-header-v10] .pb-header__wishlist { min-width: 68px; }
}
@media (min-width: 769px) and (max-width: 1439px) {
  [data-pb-header-v10] :is(.pb-header__wishlist, .pb-header__account) > span { display: none; }
  [data-pb-header-v10] .pb-header__wishlist { min-width: 44px; }
}
@media (min-width: 769px) and (max-width: 1279px) {
  [data-pb-header-v10] .pb-header__catalog-long { display: none; }
  [data-pb-header-v10]:not([data-pb-header-compact]) .pb-header__cart-caption {
    width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .pb-header[data-pb-header-v10] { --pb-header-height: 126px; }
  .pb-header[data-pb-header-v10] .pb-header__inner {
    grid-template-columns: auto 1fr auto auto auto;
    grid-template-areas: "logo . saved account cart" "catalog search search search search"; gap: 6px 12px;
    padding-block: 10px;
  }
  .pb-header[data-pb-header-v10][data-pb-header-compact] .pb-header__inner {
    grid-template-columns: auto auto minmax(360px, 1fr) auto auto auto;
    grid-template-areas: "logo catalog search saved account cart"; gap: 0 8px; padding-block: 0;
  }
  [data-pb-header-v10][data-pb-header-compact] .pb-header__catalog { min-width: 44px; padding-inline: 8px; }
  [data-pb-header-v10][data-pb-header-compact] .pb-header__catalog > span { display: none; }
  [data-pb-header-v10][data-pb-header-compact] .pb-header__cart { padding-inline: 8px; gap: 5px; }
  [data-pb-header-v10][data-pb-header-compact] .pb-header__brand img { max-width: 104px; object-fit: contain; }
  [data-pb-header-v10] .pb-search-panel { right: 0; }
}

.pb-card__wishlist { right: 10px; }
@media (max-width: 768px) {
  .pb-card__wishlist { top: 5px; right: 5px; }
  .pb-listing__bottom select { max-width: 50%; }
}

.pb-my-products { max-width: 1368px; margin: auto; padding: 16px 24px 32px; display: grid; gap: 14px; }
.pb-my-products h1 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -.01em; }
.pb-account--products .pb-my-products { margin: 0; padding: 0; min-width: 0; }
.pb-my__guest {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 14px 18px; border-radius: 16px; background: var(--pb-yellow-tint);
}
.pb-my__guest p { flex: 1 1 320px; margin: 0; }
.pb-my__guest .pb-action { min-height: 44px; }
.pb-my__tools, .pb-my__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-my__tabs button {
  padding: 0 14px; min-height: 44px; border: 1px solid var(--pb-line-control);
  border-radius: 22px; background: var(--pb-card); color: var(--pb-ink); font-weight: 800;
}
.pb-my__tabs button[aria-pressed="true"] { background: var(--pb-ink); color: var(--pb-card); border-color: var(--pb-ink); }
.pb-my__tabs small { opacity: .81; }
.pb-my__filters { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.pb-my__filters :is(select,input) {
  min-height: 44px; min-width: 0; padding: 0 12px; border: 1px solid var(--pb-line-control);
  border-radius: 10px; background: var(--pb-card); color: var(--pb-ink); font: inherit;
}
.pb-my__rows { border-radius: 16px; background: var(--pb-card); padding-inline: 18px; }
.pb-my__row {
  display: grid; grid-template-columns: 44px 64px minmax(200px, 1fr) 145px minmax(180px, auto) 44px;
  grid-template-areas: "pick photo name price buy saved"; align-items: center; gap: 12px;
  padding-block: 10px; border-bottom: 1px solid var(--pb-line);
}
.pb-my__row:last-child { border-bottom: 0; }
.pb-my__pick, .pb-my__heart { display: grid; place-items: center; width: 44px; min-height: 44px; }
.pb-my__pick { grid-area: pick; }
.pb-my__row input[type="checkbox"], .pb-my__actions input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--pb-ink); }
.pb-my__heart { grid-area: saved; border: 0; border-radius: 50%; background: transparent; color: var(--pb-ink); }
.pb-my__heart[aria-pressed="true"] { color: var(--pb-sale); }
.pb-my__heart[aria-pressed="true"] svg { fill: currentColor; }
.pb-my__photo {
  grid-area: photo; position: relative; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 10px; background: var(--pb-card);
}
.pb-my__photo img { width: 100%; height: 100%; object-fit: contain; }
.pb-my__discount { position: absolute; inset: 0 auto auto 0; color: white; background: var(--pb-sale); border-radius: 4px; padding: 1px 4px; font-size: 11px; font-weight: 900; }
.pb-my__name { grid-area: name; display: grid; gap: 3px; min-width: 0; }
.pb-my__name a { color: var(--pb-ink); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.pb-my__name small, .pb-my__price small { font-size: 13px; color: var(--pb-ink-muted); }
.pb-my__name [data-pb-my-saved] { color: var(--pb-sale); font-weight: 800; }
.pb-my__name .pb-stock-warning { color: var(--pb-warn-ink); font-weight: 800; }
.pb-my__price { grid-area: price; display: grid; justify-items: end; line-height: 1.3; }
.pb-my__price b { font-size: 17px; font-weight: 900; }
.pb-my__price [data-direction="down"] { color: var(--pb-buy); }
.pb-my__price [data-direction="up"] { color: var(--pb-error); }
.pb-my__buy { grid-area: buy; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.pb-my__buy .pb-stepper { grid-template-columns: 44px minmax(35px, auto) 44px; }
.pb-my__buy .pb-stepper button { min-height: 44px; }
.pb-my__buy .pb-action--buy { width: 44px; padding: 0; }
.pb-my__row[data-pb-my-unavailable] :is(.pb-my__name a, .pb-my__price) { color: var(--pb-ink-muted); }
.pb-my__row[data-pb-my-unavailable] .pb-my__photo { opacity: .6; }
.pb-my__actions {
  position: sticky; bottom: 16px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--pb-ink); color: var(--pb-card);
}
.pb-my__actions label { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }
.pb-my__actions input[type="checkbox"] { accent-color: var(--pb-yellow); }
.pb-my__actions > span { flex: 1; }
.pb-my__actions button:disabled { background: #5F666D; color: white; }
.pb-my__status { padding: 10px 14px; border-radius: 10px; background: #E6F4EA; color: #146C2E; font-weight: 800; }
.pb-my__status[data-error] { background: var(--pb-error-tint); color: var(--pb-error); }
.pb-my__status button { min-height: 44px; border: 0; background: transparent; color: inherit; text-decoration: underline; font-weight: 800; }
.pb-my__empty { padding: 40px 20px; text-align: center; border-radius: 16px; background: var(--pb-card); }
.pb-my__empty > svg { display: block; width: 64px; height: 64px; margin: auto auto 12px; padding: 16px; border-radius: 50%; background: var(--pb-yellow-tint); }
.pb-my__empty h2 { margin-block: 0 8px; font-size: 20px; }
.pb-my__empty p { max-width: 480px; margin: 0 auto 16px; color: var(--pb-ink-muted); }
@media (max-width: 768px) {
  .pb-my-products { padding: 12px 12px 24px; gap: 12px; }
  .pb-my-products h1 { font-size: 26px; }
  .pb-my__tools { display: grid; min-width: 0; }
  .pb-my__tabs { flex-wrap: nowrap; overflow: auto; }
  .pb-my__tabs button { flex: none; }
  .pb-my__filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, 43%); margin: 0; }
  .pb-my__filters input { width: 100%; }
  .pb-my__rows { padding-inline: 10px; }
  .pb-my__row {
    grid-template-columns: 44px 52px minmax(0, 1fr) 44px; gap: 4px 6px;
    grid-template-areas: "pick photo name saved" ". . price price" ". . buy buy";
  }
  .pb-my__photo { width: 52px; height: 56px; }
  .pb-my__price { justify-items: start; }
  .pb-my__buy { justify-content: flex-start; flex-wrap: wrap; }
  .pb-my__actions { bottom: 0; padding: 6px 10px calc(10px + env(safe-area-inset-bottom)); gap: 4px 10px; }
  .pb-my__actions button { flex-basis: 100%; }
}

/* Search suggestion rows keep the three columns independent of card styles. */
.pb-suggest__item .pb-suggest__info { min-width: 0; }
.pb-suggest__item .pb-suggest__info a { min-height: 0; font-weight: 700; }
.pb-suggest__item .pb-suggest__info .pb-card__name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-weight: 700; line-height: 1.3; overflow-wrap: anywhere;
}
.pb-suggest__info a small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-suggest__item .pb-suggest__photo { background: #F7F7F9; overflow: hidden; }
.pb-suggest__price { display: flex; gap: 4px; align-items: baseline; min-width: 0; line-height: 1.28; font-size: 14px; }
.pb-suggest__price > b { flex: none; }
.pb-suggest__price .pb-card__stock-row {
  display: flex; gap: 4px; flex-wrap: nowrap; align-items: baseline;
  min-height: 0; min-width: 0; white-space: nowrap; overflow: hidden;
}
.pb-suggest__price .pb-stock-message:not(:empty) {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  margin: 0; padding: 0; color: #B45309; background: transparent; font-size: 12px;
}
.pb-suggest__price .pb-stock-message:not(:empty)::before {
  content: "·"; width: auto; height: auto; margin-right: 3px; background: transparent; vertical-align: baseline;
}
.pb-suggest__price .pb-stock-message[data-pb-limit-hit] {
  position: absolute; z-index: 1; right: 8px; top: calc(100% - 2px); padding: 4px 8px;
  color: var(--pb-warn-ink); background: var(--pb-warn-tint); border-radius: 6px; white-space: normal;
}
.pb-suggest__item:has([data-pb-search-active]) { background: #F7F7F9; }
@media (min-width: 769px) {
  .pb-search-panel { left: -35px; right: auto; width: min(804px, calc(100vw - 32px)); max-height: min(70vh, 560px); }
  .pb-suggest__scroll { max-height: none; overflow: hidden; }
  .pb-suggest__layout { grid-template-columns: 260px minmax(0, 1fr); }
  .pb-suggest__items { max-height: min(calc(70vh - 65px), 495px); overflow-y: auto; }
  .pb-suggest__aside { overflow-y: auto; max-height: min(calc(70vh - 65px), 495px); }
  .pb-suggest__foot { flex: none; }
  .pb-suggest__item { position: relative; grid-template-columns: 52px minmax(0, 1fr) auto; min-height: 68px; }
  .pb-suggest__controls .pb-card__actions { display: flex; flex: none; flex-wrap: nowrap; align-items: center; gap: 6px; white-space: nowrap; }
  .pb-suggest__controls .pb-stepper { --pb-stepper-row-height: 37px; grid-template-columns: 36px 24px 36px; height: 40px; }
  .pb-suggest__controls .pb-stepper button { padding: 0; }
  .pb-suggest__controls .pb-card__buy { min-height: 40px; height: 40px; width: 44px; background: #198038; }
  .pb-suggest__controls .pb-card__actions [role="status"]:not(.pb-sr-only) {
    position: absolute; right: 0; top: 100%; z-index: 2; max-width: 230px; padding: 4px 8px;
    border-radius: 6px; background: var(--pb-warn-tint); white-space: normal;
  }
}
@media (min-width: 769px) and (max-width: 1150px) {
  .pb-search-panel { left: max(-260px, calc(100vw - 1115px)); }
}
@media (max-width: 768px) {
  .pb-suggest__controls { grid-column: 2; }
  .pb-suggest__price { flex-wrap: wrap; }
}

/* Delivery city */

.pb-city-link { color: inherit; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.pb-city-dialog { background: var(--pb-card); color: var(--pb-ink); border: 1px solid var(--pb-line); border-radius: 16px; box-shadow: 0 12px 36px #0002; }



.pb-city-dialog { position: fixed; z-index: 80; inset: 0; inline-size: min(520px, calc(100vw - 32px)); max-block-size: min(700px, calc(100dvh - 32px)); padding: 0; overflow: auto; }
.pb-city-dialog::backdrop { background: #20252a80; }
.pb-city-dialog form { display: flex; flex-direction: column; padding: 22px; gap: 12px; }
.pb-city-dialog h2, .pb-city-dialog p { margin: 0; }
.pb-city-dialog h2 { padding-inline-end: 48px; }
.pb-city-dialog input[type="search"] { min-block-size: 46px; padding: 8px 12px; border: 1px solid var(--pb-line-control); border-radius: 10px; color: inherit; font: inherit; }
.pb-city-dialog button, .pb-city-close, .pb-city-primary { min-block-size: 44px; }
.pb-city-close { position: absolute; inset: 6px 8px auto auto; min-inline-size: 44px; border: 0; border-radius: 50%; background: transparent; font: inherit; font-size: 22px; cursor: pointer; }
.pb-city-primary { padding: 0 14px; border: 0; border-radius: 10px; background: var(--pb-yellow); color: var(--pb-ink); font: inherit; font-weight: 900; cursor: pointer; }
.pb-city-primary:disabled { opacity: .55; cursor: default; }
.pb-city-options { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
.pb-city-options legend { padding: 0 0 6px; color: var(--pb-ink-muted); font-size: 13px; font-weight: 800; }
.pb-city-options > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-block-size: 260px; overflow: auto; }
.pb-city-options label { position: relative; display: grid; align-content: center; min-block-size: 44px; padding: 6px 10px; border: 1px solid var(--pb-line-control); border-radius: 10px; cursor: pointer; }
.pb-city-options label:has(:checked) { border-color: var(--pb-link); background: var(--pb-yellow-tint); }
.pb-city-options label:focus-within { outline: 2px solid var(--pb-link); outline-offset: -2px; }
.pb-city-options small, .pb-city-status { color: var(--pb-ink-muted); }
.pb-city-save { align-self: flex-end; }
.pb-product__city { margin-block: 12px; }
.pb-product__city > button { margin-bottom: 8px; }
.pb-product__city--mobile { display: none; }
.pb-product__delivery-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding-block: 5px; }
.pb-product__delivery-row svg { width: 18px; height: 18px; }
.pb-product__delivery-row span span { color: var(--pb-ink-muted); }
.pb-cart-drawer__city { padding: 8px 16px; }
.pb-cart-drawer__city p { margin: 4px 0 0; font-size: 13px; }
.pb-checkout [data-pb-city-open] { margin: 4px 0 12px; }
@media (max-width: 768px) {

  .pb-city-dialog { inset: auto 0 0; margin: 0; inline-size: 100%; max-inline-size: none; max-block-size: 92dvh; border-radius: 20px 20px 0 0; }
  .pb-city-dialog form { padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
  .pb-city-save { align-self: stretch; }
  .pb-product__city--desktop { display: none; }
  .pb-product__city--mobile { display: block; }

}

@media (min-width: 769px) {
  .pb-account--products .pb-my__row { grid-template-columns: 22px 52px minmax(0, 1fr) minmax(70px, .33fr) minmax(110px, auto) 44px; column-gap: 8px; }
  .pb-account--products .pb-my__photo { width: 52px; height: 52px; }
}
.pb-address-city-caption { font-weight: 800; margin: 0 0 4px; }
.pb-address-city { min-height: 46px; width: 100%; justify-content: space-between; text-align: start; }

.pb-cart-drawer__delivery { margin: 0 14px 12px; color: var(--pb-ink); }
.pb-cart-drawer__delivery summary { padding: 8px 0; cursor: pointer; font-weight: 800; }
.pb-delivery-methods strong { text-align: right; }
@media (max-width: 520px) {
  .pb-delivery-methods .pb-product__delivery-row { grid-template-columns: 24px minmax(0, 1fr); }
  .pb-delivery-methods .pb-product__delivery-row > :nth-child(3) { grid-column: 2; text-align: left; }
}

.pb-acting-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 6px max(16px, calc((100% - 1320px) / 2)); background: #eaf5e9; color: #155735; }
.pb-acting-banner p { flex: 1 1 230px; margin: 0; }
.pb-acting-banner a, .pb-acting-banner button { min-height: 44px; display: inline-flex; align-items: center; color: inherit; font: inherit; font-weight: 800; }
.pb-acting-banner button, .pb-role__link { border: 0; padding: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.pb-role { max-width: 1368px; margin: 0 auto; padding: 24px 24px 56px; }
.pb-role h1 { margin: 0 0 12px; }
.pb-role h2 { margin: 0; }
.pb-role h3 { margin: 8px 0 4px; }
.pb-role .pb-panel { margin-bottom: 12px; }
.pb-role__nav, .pb-role__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.pb-role__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--pb-card); color: var(--pb-ink); text-decoration: none; font-weight: 800; }
.pb-role__nav a[aria-current="page"] { background: var(--pb-yellow); }
.pb-role__filter, .pb-role__filters label, .pb-agent__line label { display: grid; gap: 4px; font-weight: 700; }
.pb-role__filter { margin-bottom: 16px; max-width: 500px; }
.pb-role input:not([type=hidden]), .pb-role select { min-height: 44px; max-width: 100%; border: 1px solid var(--pb-line-control); border-radius: 10px; background: var(--pb-card); color: inherit; font: inherit; padding: 4px 10px; }
.pb-role__filters { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 16px; }
.pb-role__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-role__positive { color: #155735; }
.pb-agent__line, .pb-agent__order { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 12px; border-top: 1px solid var(--pb-line); }
.pb-agent__order { grid-template-columns: minmax(0, 2fr) auto auto auto; }
.pb-agent__line small, .pb-agent__order small { display: block; color: var(--pb-ink-muted); }
.pb-agent__line input[type=number] { width: 84px; }
.pb-agent__line button { min-height: 44px; }
.pb-agent__total { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 12px; }
.pb-agent__total button:disabled { opacity: .5; }
.pb-role__dialog, .pb-role__drawer { border: 0; border-radius: 14px; color: var(--pb-ink); max-width: calc(100% - 24px); }
.pb-role__dialog::backdrop, .pb-role__drawer::backdrop { background: #21252970; }
.pb-role__drawer { inset: 0 0 0 auto; margin: 0; height: 100%; max-height: 100%; width: min(580px, 100vw); }
.pb-role__drawer > form { text-align: right; padding-bottom: 12px; }
@media (max-width: 768px) {
  .pb-role { padding: 16px 12px 36px; }
  .pb-role__grid { grid-template-columns: minmax(0, 1fr); }
  .pb-agent__line, .pb-agent__order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-agent__line > :first-child, .pb-agent__order > :first-child { grid-column: 1 / -1; }
  .pb-role__drawer { inset: auto 0 0; margin: 0; max-width: none; height: auto; max-height: 92dvh; }
}

.pb-booking__panel { max-width: 960px; }
.pb-booking .pb-booking__steps { list-style: none; padding: 0; }
.pb-booking__steps li { padding: 10px 12px; border-radius: 10px; background: var(--pb-card); }
.pb-booking__steps li[aria-current="step"] { background: var(--pb-yellow); font-weight: 800; }
.pb-booking__calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pb-booking__calendar-head button { min-width: 44px; }
.pb-booking__calendar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pb-booking__calendar section { display: grid; align-content: start; gap: 6px; }
.pb-booking__calendar button { min-height: 44px; padding: 4px; border: 1px solid var(--pb-line-control); border-radius: 8px; background: var(--pb-card); color: var(--pb-ink); font: inherit; cursor: pointer; }
.pb-booking__calendar button[data-state="busy"] { background: repeating-linear-gradient(45deg, #f0f0f4, #f0f0f4 5px, #fff 5px, #fff 10px); color: var(--pb-ink-muted); cursor: default; }
.pb-booking__calendar button[data-state="selected"], .pb-booking__days button[aria-pressed="true"] { background: var(--pb-yellow); font-weight: 800; }
.pb-booking__calendar button[data-state="own"] { background: #eaf5e9; color: #155735; }
.pb-booking__legend { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--pb-ink-muted); }
.pb-booking__days { display: none; }
.pb-booking form button:disabled { opacity: .5; }
@media (max-width: 768px) {
  .pb-booking__days { display: flex; }
  .pb-booking__calendar { grid-template-columns: minmax(0, 1fr); }
  .pb-booking__calendar section { display: none; }
  .pb-booking__calendar section[data-active] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-booking__calendar section h3 { grid-column: 1 / -1; }
}

.pb-role__warn { color: #a14309; }
.pb-booking__legend span { display: inline-flex; align-items: center; gap: 4px; }
.pb-booking__legend span::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--pb-line-control); border-radius: 3px; background: var(--pb-card); }
.pb-booking__legend span:nth-child(2)::before { background: repeating-linear-gradient(45deg, #ddd, #ddd 3px, #fff 3px, #fff 6px); }
.pb-booking__legend span:nth-child(3)::before { background: var(--pb-yellow); }
.pb-booking__legend span:nth-child(4)::before { background: #eaf5e9; }

/* Instant catalogue filters */
.pb-listing__items { min-width: 0; }
.pb-listing__items[aria-busy="true"] { opacity: .45; }
.pb-filter__check:has(input:disabled), .pb-filter__volume:has(input:disabled) span,
.pb-filter__facets [aria-disabled="true"], .pb-listing__mobile-facets [aria-disabled="true"] {
  color: var(--pb-ink-muted); cursor: not-allowed;
}
.pb-filter__check:has(input:disabled) small { color: inherit; }
.pb-filter__volume small { font-size: 12px; font-weight: 600; }
@media (min-width: 769px) {
  .pb-filter[data-pb-instant] .pb-filter__actions { display: none; }
}
@media (max-width: 768px) {
  .pb-listing__heading > div { flex-wrap: wrap; }
  .pb-listing__toolbar:has(.pb-listing__chip) { display: block; padding: 0 12px 8px; }
  .pb-listing__toolbar .pb-listing__sort { display: none; }
  .pb-listing__chips { flex-wrap: nowrap; overflow-x: auto; padding: 5px; margin: -5px; }
  .pb-listing__chips a { flex: none; }
  .pb-listing__mobile-facets [aria-disabled="true"] { display: inline-flex; }
  .pb-listing__filter-dialog [data-pb-filter-body] { display: block; }
  .pb-listing__filter-dialog .pb-filter { min-height: 100%; }
  body:has(.pb-listing__filter-dialog[open]) { overflow: hidden; }
}

/* Shared interactive states */
:where(button, a, input, select, summary, .pb-card, .pb-filter__check) {
  transition: background-color .12s, box-shadow .12s, border-color .12s;
}
:where(button, a, input, select)[aria-disabled="true"], :where(button, input, select):disabled {
  cursor: not-allowed;
}
:is(.pb-header__catalog, .pb-action--yellow, .pb-filter__actions button, .pb-scanner button):focus-visible {
  outline-color: var(--pb-ink);
}

@media (hover: hover) {
  :where(a[href]):hover { color: #5E4100; text-decoration: underline; }
  .pb-card:hover {
    box-shadow: 0 0 0 1px var(--pb-line-control), 0 6px 20px rgb(33 37 41 / 10%);
  }
  .pb-card:hover .pb-card__name { text-decoration: underline; }
  :is(.pb-action--buy, .pb-card__buy, .pb-purchase__buy, .pb-suggest__controls .pb-card__buy, .pb-cart-toast__actions a):hover:not(:disabled, [aria-disabled="true"]) {
    color: white; background: #146C2E; border-color: #146C2E; text-decoration: none;
  }
  :is(.pb-action--yellow, .pb-header__catalog, .pb-filter__actions button, .pb-scanner button):hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--pb-ink); background: #F0BE00; border-color: #F0BE00; text-decoration: none;
  }
  :is(.pb-action--dark, .pb-header__cart:not(.pb-header__cart--flash)):hover:not(:disabled, [aria-disabled="true"]) {
    color: white; background: #343A40; border-color: #343A40; text-decoration: none;
  }
  :is(.pb-action:not(.pb-action--buy, .pb-action--dark, .pb-action--yellow), .pb-filter__reset):hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--pb-ink); background: #F2F2F5; border-color: var(--pb-ink); text-decoration: none;
  }
  :is(.pb-header__account, .pb-header__wishlist, .pb-search__scan, .pb-search__close, .pb-card__wishlist, .pb-purchase__favorite,
      .pb-cart-drawer__head button, .pb-listing__filter-head button, .pb-stepper button, .pb-purchase__quantity button,
      .pb-catalog__roots button, .pb-catalog__group button):hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--pb-ink); background: #F2F2F5; text-decoration: none;
  }
  .pb-filter__check:hover:not(:has(:disabled)), .pb-filter__facets a[href]:hover:not([aria-current]),
  .pb-filter__volume input:not(:checked, :disabled) + span:hover { background: #F7F7F9; }
  .pb-suggest__item:hover, .pb-suggest__categories a:hover { background: #F7F7F9; }
  .pb-np-options li:hover { background: var(--pb-yellow-tint); }
  .pb-listing__pages a:hover { background: var(--pb-yellow); }
}

:is(.pb-action, .pb-header__cart, .pb-header__catalog, .pb-card__buy, .pb-purchase__buy, .pb-filter__actions button,
    .pb-card__wishlist, .pb-stepper button, .pb-purchase__quantity button, .pb-scanner button):active:not(:disabled, [aria-disabled="true"]) {
  translate: 0 1px;
}
:is(.pb-action--buy, .pb-card__buy, .pb-purchase__buy, .pb-suggest__controls .pb-card__buy):active:not(:disabled, [aria-disabled="true"]) {
  background: #0F5223; border-color: #0F5223;
}
:is(.pb-action--yellow, .pb-header__catalog, .pb-filter__actions button, .pb-scanner button):active:not(:disabled, [aria-disabled="true"]) {
  background: #DDAF00; border-color: #DDAF00;
}
:is(.pb-action--dark, .pb-header__cart:not(.pb-header__cart--flash)):active:not(:disabled, [aria-disabled="true"]) {
  background: #000; border-color: #000;
}
:is(.pb-action:not(.pb-action--buy, .pb-action--dark, .pb-action--yellow), .pb-filter__reset):active:not(:disabled, [aria-disabled="true"]) {
  background: #E4E4EA;
}
@media (prefers-reduced-motion: reduce) {
  :where(button, a, input, select, summary, .pb-card, .pb-filter__check) { transition: none; }
}
