/* CONTROZ V3 product pages. Loaded after v3.css; reuses its tokens, buttons, wipe, cards and footer. */
body.pp { padding-top: 66px; }
.pp section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
.pp main > section:last-of-type { padding-bottom: clamp(56px, 7vw, 96px); }
.pp h2 { font-size: clamp(30px, 4vw, 52px); }
.pp section > p { font-size: clamp(17px, 1.45vw, 19px); color: var(--ink-2); margin-top: 14px; }
.pp section > p + p { margin-top: 8px; }

/* hero: name, two short lines, pack, buttons | big product photo */
.pp-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pp-hero h1 { font-size: clamp(42px, 6.4vw, 88px); color: var(--ink); padding-bottom: .08em; }
.pp-lead { font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); margin-top: 14px; }
.pp-lead + .pp-lead { margin-top: 6px; }
.pp-pack { margin-top: 18px; font-weight: 700; font-size: 16px; color: var(--ink); }
.pp-hero .cta-row { margin-top: 22px; }
.pp-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.pp-photo { background: #fff; border-radius: var(--r); box-shadow: 8px 8px 0 var(--red), var(--shadow); padding: clamp(24px, 4vw, 56px); display: grid; place-items: center; }
.pp-photo img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
@media (max-width: 860px) { .pp-hero { grid-template-columns: 1fr; } .pp-photo { order: -1; } .pp-photo img { max-height: 300px; } }

/* how it works */
.pp-how .wipe, .pp-flat { margin-top: clamp(22px, 3vw, 36px); }
.pp-flat { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.pp-flat img { width: 100%; height: auto; }

/* what's inside (kit) */
.in-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 3vw, 36px); }
.in-row { display: flex; align-items: center; gap: 16px; background: var(--paper-2); border-radius: var(--r); padding: 14px 18px 14px 14px; text-decoration: none; color: var(--ink); }
a.in-row:hover { box-shadow: var(--shadow); }
.in-ph { flex: 0 0 auto; width: 92px; height: 72px; background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 6px; }
.in-ph img { max-width: 100%; max-height: 60px; object-fit: contain; }
.in-none { background: transparent; border: 2px dashed var(--line); }
.in-txt { display: grid; gap: 2px; }
.in-txt b { font-size: 17px; }
.in-txt span { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .in-list { grid-template-columns: 1fr; } }

/* key features: two columns of bold lead + one line */
.ft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin-top: clamp(22px, 3vw, 36px); border-top: 2px solid var(--ink); }
.ft { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ft b { display: block; font-size: 18px; font-weight: 800; }
.ft p { font-size: 16px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr; } }

/* how to use: numbered sequence */
.st-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(22px, 3vw, 36px); }
.st-list li { background: var(--paper-2); border-radius: var(--r); padding: 20px 20px 24px; }
.st-n { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-style: italic; font-size: 15px; margin-bottom: 12px; }
.st-list b { display: block; font-size: 17px; font-weight: 800; }
.st-list p { font-size: 15.5px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 960px) { .st-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .st-list { grid-template-columns: 1fr; } }

/* where to put it */
.pw-fig { margin-top: clamp(22px, 3vw, 36px); border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.pw-fig img { width: 100%; aspect-ratio: 1344 / 768; object-fit: cover; }
.pw-fig figcaption { padding: 14px 18px 16px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* gallery strip */
.pp-gal { max-width: none; padding-left: 0; padding-right: 0; }
.pp-gal h2 { padding: 0 var(--pad); max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }
.pp-gal .strip figure { flex-basis: min(70vw, 380px); background: #fff; box-shadow: none; outline: 1px solid var(--line); }
.pp-gal .strip img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 12px; }

/* reviews */
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(22px, 3vw, 36px); align-items: start; }
.pr-grid .r-card, .pr-grid .r-stat { margin: 0; }
@media (max-width: 1023px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pr-grid { grid-template-columns: 1fr; } }

/* specs: grouped, no hairline under every row */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(22px, 3vw, 36px); }
.sp-grp { background: var(--paper-2); border-radius: var(--r); padding: 20px 22px 22px; }
.sp-grp h3 { color: var(--ink); font-size: 16px; margin-bottom: 12px; }
.sp-grp dl { display: grid; gap: 10px; }
.sp-grp dt { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.sp-grp dd { font-size: 16px; color: var(--ink); margin-top: -6px; }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: clamp(22px, 3vw, 36px); display: grid; gap: 10px; }
.faq details { background: var(--paper-2); border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { font-size: 16px; color: var(--ink-2); padding-bottom: 18px; }

/* when to call a professional */
.pp-pro a { font-weight: 700; color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* range on product pages: white section */
.pp .range { background: none; max-width: var(--wrap); }
.pp .range .p-card { background: var(--paper-2); }

/* sticky buy bar on phones, once the hero buttons scroll away */
.pp-bar { display: none; }
@media (max-width: 767px) {
  .pp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .35s var(--ease); }
  .pp-bar.show { transform: none; }
  .pp-bar span { font-size: 14px; font-weight: 700; }
  .pp-bar .btn { padding: 11px 18px; font-size: 12.5px; }
}

/* review fixes, 28 Oct */
.pp-gal .strip { padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); }
@media (max-width: 767px) {
  .pp-photo { padding: 18px; }
  .pp-photo img { max-height: 200px; }
  .pp .range .p-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; }
  .pp .range .p-grid::-webkit-scrollbar { display: none; }
  .pp .range .p-card { flex: 0 0 72%; scroll-snap-align: start; }
}
