/* ПродПит — тема для OpenCart 4 (вариант A «Светлая витрина») */

:root {
  --pp-ink: #15171A;
  --pp-ink-2: #3A3F46;
  --pp-muted: #5E636B;
  --pp-line: #E6E8EB;
  --pp-line-2: #D5D9DE;
  --pp-soft: #F4F5F7;
  --pp-hero: #F7F3F5;
  --pp-accent: #C2255C;
  --pp-accent-hover: #A61E4D;
  --pp-radius: 20px;
  --pp-radius-sm: 12px;
  --bs-body-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--pp-ink);
  --bs-link-color: var(--pp-ink);
  --bs-link-color-rgb: 21, 23, 26;
  --bs-link-hover-color: var(--pp-accent);
  --bs-link-hover-color-rgb: 194, 37, 92;
  --bs-primary: var(--pp-accent);
  --bs-primary-rgb: 194, 37, 92;
}

body.pp {
  font-family: var(--bs-body-font-family);
  color: var(--pp-ink);
  background: #FFFFFF;
  font-size: 15px;
}
body.pp a { text-decoration: none; }
body.pp h1, body.pp h2, body.pp h3, body.pp h4, body.pp h5 { font-family: inherit; color: var(--pp-ink); }
body.pp h1 { font-weight: 800; letter-spacing: -0.02em; }
body.pp h2 { font-weight: 800; letter-spacing: -0.01em; }

/* Bootstrap: акцентный цвет вместо стандартного синего */
body.pp .btn-primary {
  --bs-btn-bg: var(--pp-accent); --bs-btn-border-color: var(--pp-accent);
  --bs-btn-hover-bg: var(--pp-accent-hover); --bs-btn-hover-border-color: var(--pp-accent-hover);
  --bs-btn-active-bg: var(--pp-accent-hover); --bs-btn-active-border-color: var(--pp-accent-hover);
  border-radius: var(--pp-radius-sm); font-weight: 700;
}
body.pp .btn-light, body.pp .btn-secondary { border-radius: var(--pp-radius-sm); }
body.pp .form-control, body.pp .form-select { border-radius: var(--pp-radius-sm); border-color: var(--pp-line-2); }
body.pp .breadcrumb { background: none; padding: 16px 0 0; font-size: 13px; border: 0; }
body.pp .breadcrumb a { color: var(--pp-muted); }
body.pp .container, body.pp .pp-wrap { max-width: 1280px; }

/* В базовом stylesheet.css подвал прижат position: absolute и наезжает на длинные страницы */
body.pp #container { position: relative; min-height: 100vh; margin-bottom: 0; display: flex; flex-direction: column; }
body.pp #container > main { flex: 1 0 auto; }
body.pp footer.pp-footer { position: static; border: 0; padding-top: 0; background-color: var(--pp-soft); }

.pp-wrap { margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pp-accent { color: var(--pp-accent) !important; }
.pp-link { color: var(--pp-accent) !important; font-weight: 700; }

/* Кнопки */
.pp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
  text-decoration: none; white-space: nowrap;
}
.pp-btn--primary { background: var(--pp-accent); color: #FFFFFF !important; }
.pp-btn--primary:hover { background: var(--pp-accent-hover); }
.pp-btn--outline { background: #FFFFFF; border-color: var(--pp-ink); color: var(--pp-ink) !important; }
.pp-btn--outline:hover { background: var(--pp-ink); color: #FFFFFF !important; }
.pp-btn--light { background: #FFFFFF; color: var(--pp-ink) !important; }
.pp-btn--ghost { border-color: #FFFFFF; color: #FFFFFF !important; }
.pp-btn--ghost:hover { background: #FFFFFF; color: var(--pp-ink) !important; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Верхняя строка */
.pp-topbar { background: var(--pp-soft); font-size: 13px; color: #4A4F57; }
.pp-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.pp-topbar__group { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.pp-topbar a { color: #4A4F57; }
.pp-topbar a:hover { color: var(--pp-accent); }

/* Шапка */
.pp-header { background: #FFFFFF; border-bottom: 1px solid var(--pp-line); }
.pp-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 16px; padding-bottom: 16px; }
.pp-logo img { height: 44px; width: auto; display: block; }
.pp-logo span { font-weight: 800; font-size: 24px; }
.pp-search { flex: 1 1 320px; min-width: 0; }
.pp-search__form {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 5px 0 16px;
  border: 1.5px solid var(--pp-line-2); border-radius: var(--pp-radius-sm); background: #FFFFFF; margin: 0;
}
.pp-search__form:focus-within { border-color: var(--pp-ink); }
.pp-search__form i { color: #6B7079; }
.pp-search__form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: transparent; color: var(--pp-ink); }
.pp-search__form button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--pp-ink); color: #FFFFFF; font-weight: 600; font-size: 14px; }
.pp-phones { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pp-phone { display: flex; flex-direction: column; line-height: 1.25; }
.pp-phone a { font-weight: 800; font-size: 17px; white-space: nowrap; }
.pp-phone span { font-size: 12px; color: var(--pp-muted); }
.pp-user { display: flex; align-items: center; gap: 4px; }
.pp-user__item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 64px; min-height: 48px; padding: 4px 8px; border: 0; background: none;
  font-size: 12px; color: var(--pp-ink-2) !important; cursor: pointer;
}
.pp-user__item i { font-size: 20px; }
.pp-user__item:hover { color: var(--pp-accent) !important; }
.pp-badge {
  position: absolute; top: 0; right: 10px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--pp-accent); color: #FFFFFF; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* stylesheet.css даёт #cart отступ снизу 10px, из-за него «Заявка» стояла выше «Войти» */
body.pp #cart { margin: 0; }
.pp-cart-drop { width: min(420px, 92vw); border-radius: 16px; border-color: var(--pp-line); }

/* Меню каталога */
.pp-menu-bar { border-bottom: 1px solid var(--pp-line); background: #FFFFFF; }
.pp-menu-bar__inner { display: flex; flex-wrap: wrap; gap: 2px 22px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; font-weight: 600; }
.pp-menu-bar__inner a { color: var(--pp-ink-2); padding: 4px 0; }
.pp-menu-bar__inner a:hover { color: var(--pp-accent); }
.pp-mega { background: #FFFFFF; border-bottom: 1px solid var(--pp-line); box-shadow: 0 16px 32px rgba(21, 23, 26, .06); }
.pp-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; padding-top: 24px; padding-bottom: 28px; }
.pp-mega__title { display: block; font-weight: 800; margin-bottom: 8px; }
.pp-mega ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pp-mega ul a { color: var(--pp-ink-2); }
.pp-mega ul a:hover { color: var(--pp-accent); }

/* Главная: первый экран */
.pp-home { max-width: 1280px; margin: 0 auto; padding: 32px 24px 0; }
.pp-hero { display: flex; flex-wrap: wrap; gap: 32px; background: var(--pp-hero); border-radius: 28px; padding: 48px; }
.pp-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.pp-pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 600; color: var(--pp-ink-2); }
.pp-hero__title { margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; }
.pp-hero__lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--pp-ink-2); max-width: 560px; }
.pp-hero__facts {
  align-self: flex-start; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center;
  padding: 16px 24px; border-radius: 18px; background: #FFFFFF; border: 2px solid var(--pp-accent);
}
.pp-hero__facts > div { display: flex; flex-direction: column; gap: 2px; }
.pp-hero__label { font-size: 13px; font-weight: 600; color: #4A4F57; text-transform: uppercase; letter-spacing: .04em; }
.pp-hero__value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--pp-ink); white-space: nowrap; }
.pp-hero__tiles { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: center; }
.pp-hero__tile { aspect-ratio: 1 / 1; background: #FFFFFF; border-radius: var(--pp-radius); display: flex; align-items: center; justify-content: center; padding: 14px; transition: transform .15s; }
.pp-hero__tile:hover { transform: translateY(-3px); }
.pp-hero__tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Преимущества */
.pp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.pp-benefit { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--pp-line); border-radius: 18px; }
.pp-benefit > div { display: flex; flex-direction: column; gap: 4px; }
.pp-benefit strong { font-size: 16px; }
.pp-benefit span:not(.pp-benefit__n) { font-size: 14px; color: var(--pp-muted); line-height: 1.45; }
.pp-benefit__n { flex: none; width: 44px; height: 44px; border-radius: var(--pp-radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* Секции */
.pp-section { margin-top: 56px; }
.pp-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pp-section__head h2 { margin: 0; font-size: 32px; }

/* Плитки разделов */
.pp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pp-cat { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 140px; padding: 20px; border-radius: var(--pp-radius); color: var(--pp-ink) !important; transition: transform .15s, box-shadow .15s; }
.pp-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21, 23, 26, .08); }
.pp-cat strong { font-size: 17px; line-height: 1.3; }
.pp-cat span { font-size: 13px; color: var(--pp-ink-2); line-height: 1.4; }

/* Карточки товаров */
.pp-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pp-card.product-thumb {
  display: flex; flex-direction: column; height: 100%; margin: 0;
  border: 1px solid var(--pp-line); border-radius: var(--pp-radius); overflow: hidden; background: #FFFFFF;
  transition: box-shadow .15s;
}
.pp-card.product-thumb:hover { box-shadow: 0 10px 28px rgba(21, 23, 26, .08); }
.pp-card__image { display: flex; align-items: center; justify-content: center; height: 210px; padding: 16px; background: #F7F8F9; }
.pp-card__image img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pp-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.pp-card__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.pp-card__name a { color: var(--pp-ink); }
.pp-card__name a:hover { color: var(--pp-accent); }
.pp-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-card__foot form { margin: 0; }
.pp-card__price { display: flex; flex-direction: column; line-height: 1.2; }
.pp-card__price strong { font-size: 19px; }
.pp-card__price s { font-size: 13px; color: var(--pp-muted); }
.pp-card__price span { font-size: 12px; color: var(--pp-muted); }
.pp-card__price .pp-card__ask { font-size: 15px; }
.pp-card__add {
  flex: none; width: 44px; height: 44px; border-radius: var(--pp-radius-sm); border: 0;
  background: var(--pp-accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center;
}
.pp-card__add:hover { background: var(--pp-accent-hover); }

/* Сетка товаров в категориях и поиске (стандартная разметка OpenCart) */
body.pp #product-list > div, body.pp .product-layout { margin-bottom: 20px; }
body.pp #product-list .product-thumb { height: 100%; }

/* Как сделать заказ */
.pp-steps { background: var(--pp-ink); color: #FFFFFF; border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.pp-steps h2 { color: #FFFFFF; margin: 0; font-size: 32px; }
.pp-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pp-steps__grid > div { display: flex; flex-direction: column; gap: 10px; }
.pp-steps__grid strong { font-size: 18px; }
.pp-steps__grid span:not(.pp-steps__n) { font-size: 15px; line-height: 1.5; color: #C9CCD1; }
.pp-steps__n { font-size: 40px; font-weight: 800; line-height: 1; }

/* Бренды */
.pp-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-brand { padding: 11px 18px; border-radius: var(--pp-radius-sm); border: 1px solid var(--pp-line); font-weight: 600; color: var(--pp-ink) !important; }
.pp-brand:hover { border-color: var(--pp-ink); }

/* Подвал */
.pp-footer { margin-top: 40px; background: var(--pp-soft); color: #4A4F57; font-size: 14px; }
.pp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.pp-footer h5 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.pp-footer ul li { margin-bottom: 8px; }
.pp-footer a { color: var(--pp-ink-2); }
.pp-footer a:hover { color: var(--pp-accent); }
.pp-footer__about { display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.pp-footer__brand { font-size: 20px; font-weight: 800; color: var(--pp-ink); }
.pp-footer__phone { font-size: 18px; font-weight: 800; color: var(--pp-ink) !important; }
.pp-footer__bottom { border-top: 1px solid #E0E3E7; padding: 16px 0; font-size: 13px; color: var(--pp-muted); }

/* Телефон */
@media (max-width: 767.98px) {
  .pp-wrap, .pp-home { padding-left: 16px; padding-right: 16px; }
  .pp-topbar { display: none; }
  .pp-header__inner { gap: 12px; }
  .pp-logo img { height: 36px; }
  .pp-search { order: 10; flex-basis: 100%; }
  .pp-phones { order: 11; }
  .pp-user { margin-left: auto; }
  .pp-catalog-btn { min-height: 44px; padding: 0 16px; }
  .pp-menu-bar { display: none; }
  .pp-hero, .pp-steps { padding: 28px 20px; border-radius: 22px; }
  .pp-hero__tiles { gap: 10px; }
  .pp-section { margin-top: 40px; }
  .pp-section__head h2, .pp-steps h2 { font-size: 26px; }
  .pp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pp-card__image { height: 150px; }
  .pp-card__price strong { font-size: 16px; }
}

/* Страницы: заголовки, панели */
.pp-page-title { margin: 12px 0 8px; font-size: clamp(28px, 3.2vw, 40px); }
.pp-page-lead { margin: 0 0 24px; font-size: 16px; color: var(--pp-ink-2); max-width: 720px; line-height: 1.55; }
.pp-panel { background: #FFFFFF; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 24px; }

/* Оформление заявки */
.pp-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px; align-items: start; }
.pp-request .form-label { font-weight: 600; font-size: 14px; }
.pp-request .form-control { min-height: 46px; }
.pp-request__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.pp-request__submit span { flex: 1 1 240px; font-size: 13px; color: var(--pp-muted); line-height: 1.45; }
.pp-request__summary { position: sticky; top: 16px; background: var(--pp-soft); border-color: var(--pp-soft); }
.pp-request__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.pp-request__head h2 { margin: 0; font-size: 20px; }
.pp-request__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; }
.pp-request__items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.pp-request__items img { width: 48px; height: 48px; object-fit: contain; background: #FFFFFF; border-radius: 10px; mix-blend-mode: multiply; }
.pp-request__name { line-height: 1.35; }
.pp-request__name small { display: block; color: var(--pp-muted); }
.pp-request__totals { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--pp-line-2); }
.pp-request__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pp-request__totals > div:last-child { font-size: 18px; font-weight: 800; }
.pp-request__totals dt { font-weight: inherit; }
.pp-request__totals dd { margin: 0; }
.pp-request__note { margin: 16px 0 0; font-size: 13px; color: var(--pp-muted); line-height: 1.5; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 991.98px) {
  .pp-request { grid-template-columns: minmax(0, 1fr); }
  .pp-request__summary { position: static; order: -1; }
  .pp-panel { padding: 18px; }
}

/* Категория */
.pp-cat-head { display: flex; flex-direction: column; gap: 4px; }
.pp-cat-head__up { align-self: flex-start; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--pp-muted) !important; }
.pp-cat-head__up:hover { color: var(--pp-accent) !important; }
.pp-chips { display: flex; gap: 8px; margin: 8px 0 20px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.pp-chip { flex: none; white-space: nowrap; }
.pp-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pp-line-2); background: #FFFFFF; font-size: 14px; color: var(--pp-ink-2) !important; line-height: 1.3; }
.pp-chip:hover { border-color: var(--pp-ink); color: var(--pp-ink) !important; }
.pp-chip.is-active { background: var(--pp-ink); border-color: var(--pp-ink); color: #FFFFFF !important; }
.pp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 12px 0; margin-bottom: 16px; border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); }
.pp-toolbar__note { font-size: 14px; color: var(--pp-muted); }
.pp-toolbar__note a { font-weight: 700; color: var(--pp-ink); white-space: nowrap; }
.pp-toolbar__controls { display: flex; gap: 8px; }
.pp-toolbar__controls .form-select { width: auto; min-height: 42px; font-size: 14px; }
.pp-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--pp-muted); }
.pp-pager .pagination { margin: 0; gap: 6px; flex-wrap: wrap; }
.pp-pager .page-link { border-radius: 10px !important; border-color: var(--pp-line-2); color: var(--pp-ink); min-width: 40px; text-align: center; }
.pp-pager .page-item.active .page-link { background: var(--pp-ink); border-color: var(--pp-ink); color: #FFFFFF; }
.pp-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pp-empty p { margin: 0; }
.pp-about { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; padding: 32px; border-radius: var(--pp-radius); background: var(--pp-soft); }
.pp-about__image { flex: none; width: 160px; height: 160px; object-fit: contain; mix-blend-mode: multiply; }
.pp-about__text { flex: 1 1 420px; min-width: 0; }
.pp-text { font-size: 15px; line-height: 1.65; color: var(--pp-ink-2); }
.pp-text h1, .pp-text h2, .pp-text h3 { font-size: 20px; margin: 20px 0 8px; }
.pp-text > :first-child { margin-top: 0; }
.pp-text img { max-width: 100%; height: auto; }
.pp-text table { max-width: 100%; }

/* Товар */
.pp-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 12px; }
.pp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pp-gallery__main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; max-height: 560px; padding: 32px; border-radius: 24px; background: var(--pp-soft); }
.pp-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-gallery__main i { font-size: 64px; color: var(--pp-line-2); }
.pp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-gallery__thumbs a { width: 76px; height: 76px; padding: 6px; border-radius: 14px; background: var(--pp-soft); display: flex; align-items: center; justify-content: center; }
.pp-gallery__thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pp-buy__brand { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--pp-hero); font-size: 13px; font-weight: 700; color: var(--pp-accent) !important; }
.pp-buy__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.pp-buy__meta { margin: 0; font-size: 14px; color: var(--pp-muted); }
.pp-buy__box { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); }
.pp-buy__price { display: flex; flex-direction: column; gap: 4px; }
.pp-buy__price strong { font-size: 34px; font-weight: 800; line-height: 1.1; }
.pp-buy__price s { font-size: 16px; color: var(--pp-muted); }
.pp-buy__price span { font-size: 13px; color: var(--pp-muted); }
.pp-buy__discounts { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.pp-buy__row { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-buy__add { flex: 1 1 200px; justify-content: center; }
.pp-buy__minimum { margin: 8px 0 0; font-size: 13px; color: var(--pp-muted); }
.pp-qty { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--pp-line-2); border-radius: 14px; overflow: hidden; }
.pp-qty input { width: 56px; height: 100%; border: 0; outline: 0; text-align: center; font: inherit; font-weight: 700; }
.pp-qty__btn { width: 44px; height: 100%; border: 0; background: none; color: var(--pp-ink-2); }
.pp-qty__btn:hover { background: var(--pp-soft); }
.pp-terms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pp-terms li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--pp-soft); }
.pp-terms i { flex: none; width: 20px; margin-top: 3px; color: var(--pp-accent); text-align: center; }
.pp-terms span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--pp-muted); line-height: 1.4; }
.pp-terms strong { font-size: 14px; color: var(--pp-ink); }
.pp-terms strong a { color: var(--pp-ink); }
.pp-product-info { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; max-width: 880px; }
.pp-product-info h2 { font-size: 24px; margin-bottom: 12px; }
.pp-specs { margin: 0; }
.pp-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--pp-line); font-size: 14px; }
.pp-specs dt { font-weight: 400; color: var(--pp-muted); }
.pp-specs dd { margin: 0; text-align: right; }
.pp-related h3 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.pp-related > .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; }
.pp-related > .row > .col { width: auto; max-width: none; padding: 0; margin: 0 !important; }
.pp-related .product-thumb { height: 100%; }
@media (max-width: 991.98px) {
  .pp-product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp-gallery__main { max-height: 380px; }
}
@media (max-width: 767.98px) {
  .pp-terms { grid-template-columns: minmax(0, 1fr); }
  .pp-buy__box { padding: 18px; }
  .pp-buy__price strong { font-size: 28px; }
  .pp-about { padding: 20px; }
  .pp-about__image { width: 96px; height: 96px; }
  .pp-toolbar__controls { width: 100%; }
  .pp-toolbar__controls .form-select { flex: 1; }
  .pp-related > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
.pp-cats--sub { margin: 8px 0 8px; }
.pp-cats--sub .pp-cat { min-height: 112px; background: var(--pp-soft); }
.pp-cats--sub .pp-cat span { color: var(--pp-accent); font-weight: 700; }
.pp-cats--sub .pp-cat { justify-content: flex-start; gap: 10px; padding: 12px 12px 16px; }
.pp-cat__media { display: flex; align-items: center; justify-content: center; height: 132px; padding: 10px; border-radius: 12px; background: #fff; overflow: hidden; }
.pp-cat__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pp-cat__media--collage img { flex: 1 1 0; min-width: 0; height: 100%; }
.pp-cat__media--collage img + img { margin-left: -14px; }
.pp-cat__media em { font-size: 44px; font-weight: 800; font-style: normal; color: var(--pp-accent); opacity: .35; }
/* В описаниях со старого сайта зашиты мелкие шрифты и Arial - приводим к шрифту темы */
.pp-text :is(p, span, div, li, td, strong, b, em, font) { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }

/* Контакты */
.pp-contact { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.pp-contact__info { display: flex; flex-direction: column; gap: 12px; }
.pp-contact__item { display: flex; gap: 14px; padding: 18px; border-radius: var(--pp-radius); background: var(--pp-soft); }
.pp-contact__item > i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #FFFFFF; color: var(--pp-accent); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.pp-contact__item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.pp-contact__item span { font-size: 13px; font-weight: 600; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .04em; }
.pp-contact__item strong { font-size: 16px; font-weight: 700; }
.pp-contact__item small { font-size: 13px; color: var(--pp-muted); margin-bottom: 6px; }
.pp-contact__phone { font-size: 20px; font-weight: 800; color: var(--pp-ink) !important; white-space: nowrap; }
.pp-contact__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 14px; }
.pp-contact__links a { color: var(--pp-accent) !important; font-weight: 700; }
.pp-contact__comment { margin: 0; font-size: 14px; color: var(--pp-muted); }
.pp-contact__map { min-height: 420px; border-radius: var(--pp-radius); overflow: hidden; background: var(--pp-soft); }
.pp-contact__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.pp-contact__form { margin-top: 32px; max-width: 880px; }
.pp-contact__form h2 { font-size: 24px; margin-bottom: 16px; }
@media (max-width: 991.98px) {
  .pp-contact { grid-template-columns: minmax(0, 1fr); }
  .pp-contact__map, .pp-contact__map iframe { min-height: 320px; }
}

/* Страницы «О нас», «Доставка и оплата» */
body.pp #content { min-height: 0; padding-bottom: 0; }
.pp-info { max-width: 980px; color: var(--pp-ink-2); font-size: 15px; line-height: 1.6; }
.pp-info h2 { margin: 36px 0 16px; font-size: 22px; font-weight: 800; color: var(--pp-ink); }
.pp-info__lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--pp-ink); }
.pp-info__note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--pp-soft); font-weight: 600; color: var(--pp-ink); }
.pp-info__note i { margin-top: 4px; color: var(--pp-accent); }
.pp-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pp-info-card { padding: 20px; border-radius: var(--pp-radius); background: var(--pp-soft); }
.pp-info-card i { display: block; margin-bottom: 12px; font-size: 22px; color: var(--pp-accent); }
.pp-info-card h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--pp-ink); }
.pp-info-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.pp-info-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; padding: 24px; border: 1px solid #E0E3E7; border-radius: var(--pp-radius); }
.pp-info-cta h2 { margin: 0 0 4px; font-size: 20px; }
.pp-info-cta p { margin: 0; }
.pp-info-cta__phones { display: flex; flex-direction: column; gap: 4px; }
.pp-info-cta__phones a { font-size: 20px; font-weight: 800; color: var(--pp-ink) !important; white-space: nowrap; }
.pp-info-cta__phones a:hover { color: var(--pp-accent) !important; }
.pp-info-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pp-info-logos li { display: flex; align-items: center; justify-content: center; height: 72px; padding: 10px; border: 1px solid #E9EBEE; border-radius: 10px; background: #fff; }
.pp-info-logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pp-info-logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pp-info-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 24px; padding: 24px; border-radius: var(--pp-radius); background: var(--pp-soft); }
.pp-info-price > i { font-size: 36px; color: var(--pp-accent); }
.pp-info-price > div:first-of-type { flex: 1 1 280px; }
.pp-info-price h2 { margin: 0 0 4px; font-size: 20px; }
.pp-info-price p { margin: 0; }
.pp-info-price__links { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-info-list { columns: 2; column-gap: 32px; margin: 16px 0 0; padding: 0; list-style: none; }
.pp-info-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid #E9EBEE; font-size: 14px; line-height: 1.4; color: var(--pp-ink); }
@media (max-width: 575px) {
  .pp-footer { margin-top: 28px; }
  .pp-info-list { columns: 1; }
  .pp-info h2 { margin-top: 28px; font-size: 20px; }
  .pp-info__lead { font-size: 16px; }
}
