/* product-page.css: components for the Holiday Let Changeover Control System product page.
   Uses only the site's existing variables: --forest, --terracotta, --line, --sagewash, --ink. */

/* Price box, directly under the dek */
.pp-box{max-width:760px;margin:6px auto 30px;border:2px solid var(--forest,#2f4a3c);border-radius:12px;background:#fff;padding:24px 26px;box-shadow:0 6px 18px rgba(47,74,60,.12)}
.pp-box .pp-name{font-family:'Sora',Arial,sans-serif;font-weight:700;font-size:20px;line-height:1.3;margin:0 0 6px;color:var(--ink,#1c1a17)}
.pp-box .pp-price{font-size:17px;line-height:1.5;margin:0 0 8px}
.pp-box .pp-price strong{font-family:'Sora',Arial,sans-serif;font-size:30px;line-height:1.1;color:var(--forest,#2f4a3c)}
.pp-box .pp-contents{margin:0 0 18px;color:#4a453d;font-size:16px;line-height:1.55}
.pp-box .pp-note{margin:14px 0 0;color:#4a453d;font-size:14.5px;line-height:1.55}
.pp-box .pp-note a{color:var(--forest,#2f4a3c);font-weight:600}

/* Buy button (preview: inactive, href points to #before-you-buy) */
a.pp-buy{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:24px;background:var(--forest,#2f4a3c);color:#fff!important;font-family:'Sora',Arial,sans-serif;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none!important}
a.pp-buy:hover,a.pp-buy:focus-visible{background:#243a2f}
.pp-cta-end{max-width:760px;margin:22px 0 0}

/* Hero placeholder until the original hero image is generated */
.article-page .article-hero.pp-hero-pending{aspect-ratio:1672/941;background:var(--sagewash,#eef2ea);border-radius:5px}
.article-page .article-hero.pp-hero-pending img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}

/* Screenshots from the worked example */
.article-page article figure.pp-shot{margin:22px 0 26px}
.article-page article figure.pp-shot img{display:block;width:100%;height:auto;border:1px solid #d8d2c6;border-radius:6px;background:#fff}
.article-page article figure.pp-shot figcaption{margin-top:8px;font-size:14px;line-height:1.5;color:#5c6558}
.article-page article figure.pp-shot-tall{max-width:520px;margin-left:auto;margin-right:auto}
.pp-scroll-hint{display:none;margin:0 0 8px;font-size:14px;line-height:1.4;color:#5c6558;font-weight:600}
.pp-shot-scroll{display:block}

@media(max-width:599px){
  .pp-scroll-hint{display:block}
  .pp-shot-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d8d2c6;border-radius:6px;background:#fff}
  .article-page article figure.pp-shot-wide .pp-shot-scroll img{width:900px;max-width:none;border:0;border-radius:0}
  .article-page article figure.pp-shot-mid .pp-shot-scroll img{width:640px;max-width:none;border:0;border-radius:0}
  .article-page article .pp-cta-mid{padding:18px}
  .pp-box{padding:20px 18px}
  a.pp-buy{display:flex;width:100%}
}

/* Full-size link under each screenshot */
.article-page article figure.pp-shot figcaption a{color:var(--forest,#2f4a3c);font-weight:600}

/* Mid-page buy panels */
.pp-cta-mid{max-width:760px;margin:30px 0 34px;border:1px solid #d8d2c6;border-radius:10px;background:#fff;padding:20px 24px}
.article-page article .pp-cta-mid p{margin:0 0 14px}
.article-page article .pp-cta-mid p.pp-note{margin:12px 0 0;font-size:14.5px;color:#4a453d}
.article-page article .pp-cta-mid p.pp-note a{color:var(--forest,#2f4a3c);font-weight:600}

/* Before you buy panel */
.pp-before{max-width:760px;margin:44px 0 0;border:1px solid var(--forest,#2f4a3c);border-left-width:6px;border-radius:8px;background:var(--sagewash,#eef2ea);padding:6px 24px 22px}
.article-page article .pp-before h2{margin-top:22px}
.article-page article .pp-before ul{margin:0;padding-left:20px}
.article-page article .pp-before li{margin:0 0 10px}
.article-page article .pp-before p{margin:14px 0 0}

/* Preview only: unresolved placeholders stay visible */
mark.pp-ph{background:#fff3a3;color:#1c1a17;padding:1px 4px;border-radius:3px;font-weight:600}

/* Tables on this page reuse section.check-table; add the desktop skin the other pages get from .table-wrap */
.article-page article section.check-table{margin:22px 0 26px}
.article-page article section.check-table .table-wrap{overflow-x:auto}
@media(min-width:600px){
  .article-page article section.check-table table{width:100%;border-collapse:collapse}
  .article-page article section.check-table th,.article-page article section.check-table td{padding:11px 12px;border-bottom:1px solid #d8d2c6;text-align:left;vertical-align:top;font-size:15.5px;line-height:1.5}
  .article-page article section.check-table th{font-family:'Sora',Arial,sans-serif;font-size:14px;background:var(--sagewash,#eef2ea)}
}
