/* Страницы каталога и товаров (/catalog/…) */
.pp { padding-top: 96px; }
.pp section { padding: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--mut); margin: 6px 0 22px; }
.crumbs a { text-decoration: none; color: var(--mut); }
.crumbs a:hover { color: var(--teal); }
.crumbs > * + *::before { content: "/"; margin: 0 8px; color: rgba(14, 23, 25, .25); }
.crumbs span { color: var(--ink2); font-weight: 600; }

.pp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 40px; }
.gal { position: sticky; top: 96px; }
.gal-main { aspect-ratio: 1; border-radius: 24px; background: radial-gradient(70% 70% at 50% 45%, #fff 0%, #f4f7f7 60%, #e4ecec 100%); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.gal-main img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s; }
.gal-main img.fade { opacity: 0; }
.gal-th { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gal-th button { flex: 0 0 76px; height: 76px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s; }
.gal-th button.on, .gal-th button:hover { border-color: var(--teal); }
.gal-th img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pp-info .ln { font-size: 13px; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pp-info h1 { font-size: clamp(30px, 4vw, 52px); margin: 8px 0 16px; overflow-wrap: anywhere; }
.pp-info .lead { margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts div { background: rgba(255, 255, 255, .72); padding: 14px 16px; }
.facts dt { font-size: 12.5px; color: var(--mut); }
.facts dd { margin: 2px 0 0; font: 500 17px/1.25 var(--f-d); }
.fitsline { font-size: 14.5px; color: var(--ink2); }
.fitsline a { color: var(--teal); font-weight: 700; }
.pp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 18px 0 6px; border-top: 1px solid var(--line); margin-top: 18px; }
.pp-buy .price { flex-basis: 100%; font: 500 20px/1.2 var(--f-d); }
.pp-buy .btn.in-cart { background: var(--teal); border-color: var(--teal); }
.pp-note { font-size: 13.5px; color: var(--mut); }
.pp-note a { color: var(--ink2); font-weight: 700; }

.subnav { position: sticky; top: 74px; z-index: 30; margin: 10px 0 0; background: rgba(237, 241, 241, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .4s var(--ease); }
.hdr.hide ~ main .subnav { top: 0; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink2); transition: background .2s, color .2s; }
.subnav a:hover { background: rgba(255, 255, 255, .7); }
.subnav a.on { background: var(--ink); color: #fff; }
.subnav a.chip { color: var(--mut); font-weight: 500; }

.pp-body { padding: 10px 0 80px; }
.pp-sec { padding: clamp(40px, 6vw, 72px) 0 0 !important; scroll-margin-top: 140px; }
.pp-sec h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.pp-sec .sub { color: var(--ink2); margin: -6px 0 22px; max-width: 680px; }
.pp-sec h3 { font: 600 17px/1.3 var(--f-d); margin: 22px 0 10px; }
.ov { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.ov .big { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink2); margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(15, 110, 115, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6e73' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ov .tipbox { margin-top: 20px; }

.spec { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, .55); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; font-weight: 600; color: var(--mut); }
.spec td { color: var(--ink); overflow-wrap: anywhere; }
.spec tr:nth-child(even) { background: rgba(255, 255, 255, .45); }
.src { font-size: 13px; color: var(--mut); margin-top: 12px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(14, 40, 44, .35); border-color: rgba(15, 110, 115, .35); }
.pcard .ph { height: 160px; border-radius: 12px; background: radial-gradient(70% 70% at 50% 45%, #fff 0%, #f1f5f5 60%, #e2eaea 100%); display: grid; place-items: center; margin-bottom: 14px; overflow: hidden; }
.pcard .ph img { height: 136px; width: auto; max-width: 90%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .k { font-size: 12px; color: var(--teal); font-weight: 700; }
.pcard b { font: 500 16px/1.25 var(--f-d); margin: 4px 0 6px; overflow-wrap: anywhere; }
.pcard .d { font-size: 13.5px; color: var(--ink2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--teal); }
.pcard .go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pcard:hover .go svg { transform: translateX(4px); }

.grp + .grp { margin-top: 34px; }
.grp h3 { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 20px; }
.grp h3 small { font: 500 14px var(--f-b); color: var(--mut); letter-spacing: 0; }
.grp { scroll-margin-top: 140px; }
.cat-hero { padding: 10px 0 30px; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 14px; }

.pp-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 70px; padding: clamp(28px, 4vw, 48px) !important; border-radius: 26px; background: var(--dark); color: #fff; }
.pp-cta h2 { color: #fff; margin-bottom: 8px; }
.pp-cta p { margin: 0; color: rgba(255, 255, 255, .72); max-width: 520px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.pp-cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.pp-cta .btn:hover { background: var(--air); border-color: var(--air); color: var(--ink); }

.sub footer { padding: 34px 0 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mut); }
.sub footer p + p { margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }
.toast a { color: var(--ink); background: var(--air); padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.toast[hidden] { display: none; }

@media (max-width: 860px) {
  .pp-hero, .ov { grid-template-columns: 1fr; }
  .gal { position: static; }
  .gal-main { aspect-ratio: 4 / 3; }
  .spec th { width: 44%; }
  .spec th, .spec td { padding: 11px 12px; font-size: 14px; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { padding: 10px; }
  .pcard .ph { height: 120px; }
  .pcard .ph img { height: 100px; }
  .pcard b { font-size: 14px; }
  .pcard .d { display: none; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { padding-bottom: 0; border: 0; font-size: 12.5px; }
  .spec td { padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .pcard, .pcard .ph img, .gal-main img { transition: none; } }
