/* Details page (shared by all brands): light theme, as in the client's PDF. */
.page-details { background: #fff; color: #1b1f26; }
.page-details main { background: #fff; }
.d-kicker { color: #2d9bd6; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.d-h2 { font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--head); color: #1b1f26; margin-top: 4px; }
.d-p { color: #4c5561; font-size: 14px; line-height: 1.65; margin-top: 14px; }
.d-p b { color: #1b1f26; }

/* hero slider */
.d-hero { position: relative; height: clamp(480px, 42vw, calc(100vh - var(--hh) - 72px)); overflow: hidden; background: #111; display: flex; align-items: flex-end; }
.d-slides, .d-slide { position: absolute; inset: 0; }
.d-slide { opacity: 0; transition: opacity 1.1s var(--ease); }
.d-slide.on { opacity: 1; }
.d-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.d-slide.on img { transform: scale(1); }
.d-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,16,.6), rgba(10,12,16,0) 55%); }
.d-hero-inner { position: relative; z-index: 1; padding-bottom: clamp(48px, 6vw, 96px); color: #fff; }
.d-hero-inner > * { max-width: 460px; }
.d-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.d-arrow:hover { background: rgba(255,255,255,.35); }
.d-arrow svg { width: 22px; height: 22px; }
.d-arrow.prev { left: clamp(10px, 2vw, 28px); }
.d-arrow.next { right: clamp(10px, 2vw, 28px); }

/* workflow intro */
.d-workflow { padding: clamp(56px, 7vw, 96px) 0; }
.d-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.d-feature-list { list-style: none; margin: 0; padding: 18px 30px; background: #f2f3f5; border-radius: 6px; } /* client 30 Oct: "reduce the space slightly" (26px / 12px) */
.d-feature-list li { display: flex; align-items: center; gap: 16px; padding: 8px 0; font: 600 15px/1.3 var(--body); color: #3b424c; }
.d-feature-list svg { width: 30px; height: 30px; color: #8a929c; flex: none; transition: color .3s, transform .3s var(--ease); }
.d-feature-list li:hover svg { color: #2d9bd6; transform: scale(1.1); }

/* why icons */
/* client 22 Oct: a little more space above, and the line under the icons runs from edge to edge of the page */
.d-why { padding: clamp(18px, 2.4vw, 40px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid #e3e5e9; margin-bottom: clamp(56px, 7vw, 96px); }
.d-why-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.d-why-item { display: flex; gap: 16px; align-items: flex-start; }
.d-why-item svg { width: 55px; height: 55px; color: #9aa1aa; flex: none; transition: color .3s; } /* client 30 Oct: icons 15% bigger (48px) */
.d-why-item:hover svg { color: #2d9bd6; }
.d-why-item h3 { font: 600 15px/1.3 var(--body); color: #1b1f26; }
.d-why-item p { font-size: 13px; color: #5d6670; margin-top: 4px; }

/* product box */
.d-product { padding: 0 0 clamp(56px, 7vw, 96px); }
.d-pgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.d-gallery { display: grid; grid-template-columns: 70px 1fr; gap: 16px; }
.g-thumbs { display: flex; flex-direction: column; gap: 10px; }
.g-thumb { border: 2px solid transparent; padding: 0; background: none; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on, .g-thumb:hover { opacity: 1; border-color: #1b1f26; }
.g-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f2f3f5; }
/* client 22 Oct: small zoom icon to enlarge the picture */
.g-zoom { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #1b1f26; cursor: zoom-in; box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .2s var(--ease), background .2s; }
.g-zoom:hover { transform: scale(1.08); background: #fff; }
.g-zoom:focus-visible { outline: 2px solid #2d9bd6; outline-offset: 2px; }
.g-zoom svg { width: 20px; height: 20px; }
.g-main img { cursor: zoom-in; }
.d-lightbox { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 56px 72px; background: rgba(8,10,14,.92); }
.d-lightbox[hidden] { display: none; }
.d-lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.d-lb-x { position: absolute; top: 10px; right: 14px; width: 46px; height: 46px; border: 0; background: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.d-lb-arrow { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.d-lb-arrow:hover { background: rgba(255,255,255,.25); }
.d-lb-arrow svg { width: 24px; height: 24px; }
.d-lb-arrow.prev { left: 12px; } .d-lb-arrow.next { right: 12px; }
.g-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
/* client 25 Oct: the gallery can hold videos; a video plays in the big area (the picture is its cover) */
.g-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: none; }
.g-main.g-playing video { display: block; }
.g-main.g-playing img { visibility: hidden; }
.g-thumb { position: relative; }
.g-thumb.g-vid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0,0,0,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat; pointer-events: none; }
.g-thumbs-wrap { min-width: 0; }
.g-tarrow { display: none; }
/* client 25 Oct: more than 5 = one row of small pictures under the big one, 5 at a time, arrows to move along */
.d-gallery.g-row { grid-template-columns: 1fr; }
.d-support { order: 3; } /* the small pictures (row or phone) sit right under the big picture, the fold-out box after them */
.g-row .g-thumbs-wrap { order: 2; display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 6px; }
.g-row .g-thumbs { flex-direction: row; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.g-row .g-thumbs::-webkit-scrollbar { display: none; }
.g-row .g-thumb { flex: 0 0 calc((100% - 40px) / 5); width: auto; scroll-snap-align: start; }
.g-row .g-tarrow { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; color: #8a9099; cursor: pointer; transition: color .2s; }
.g-row .g-tarrow:hover { color: #1b1f26; }
.g-row .g-tarrow:disabled { opacity: .3; cursor: default; }
.g-row .g-tarrow:focus-visible { outline: 2px solid #2d9bd6; outline-offset: 2px; }
.g-row .g-tarrow svg { width: 22px; height: 22px; }
.d-lightbox video { max-width: 100%; max-height: calc(100vh - 112px); background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.d-lightbox video[hidden], .d-lightbox img[hidden] { display: none; }
.d-support { grid-column: 1 / -1; margin-top: 18px; border: 1px solid #e3e5e9; padding: 14px 16px; }
.d-support summary { cursor: pointer; color: #6a727c; font-size: 14px; }
.d-support details p { font-size: 13px; color: #5d6670; margin-top: 8px; }
.d-btn-outline { display: inline-block; margin-top: 14px; border: 1px solid #1b1f26; padding: 9px 18px; font-size: 13px; text-decoration: none; color: #1b1f26; transition: background .2s, color .2s; }
.d-btn-outline:hover { background: #1b1f26; color: #fff; }
/* client 29 Oct: "Choose color" under the pictures, after the fold-out box; the white square keeps a grey edge */
.d-colors { grid-column: 1 / -1; order: 4; margin-top: 18px; }
.d-colors-l { font-size: 12px; color: #6a727c; margin-bottom: 8px; }
.d-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.d-swatch { width: 28px; height: 28px; padding: 0; border: 1px solid #b9bec5; background: var(--sw, #fff); cursor: pointer; transition: box-shadow .2s; }
.d-swatch:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #b9bec5; }
.d-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #1b1f26; }
.d-swatch:focus-visible { outline: 2px solid #2d9bd6; outline-offset: 4px; }
.d-ptitle { font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--head); letter-spacing: -.01em; }
.d-price { font-size: 17px; color: #3b424c; margin-top: 14px; }
/* client 25 Oct: optional old price, crossed out before the price */
.d-old { color: #8a9099; text-decoration: line-through; margin-right: 6px; font-size: .88em; }
.d-old[hidden] { display: none; }
.d-psub { font: 600 clamp(17px, 1.4vw, 21px)/1.3 var(--head); margin-top: 22px; }
.d-incl { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: #4c5561; line-height: 1.7; }
.d-config { margin-top: 22px; }
.d-config-l { font-size: 12px; color: #6a727c; margin-bottom: 8px; }
.d-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid #b9bec5; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; cursor: pointer; color: #3b424c; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.pill.on { background: #1b1f26; color: #fff; border-color: #1b1f26; }
.d-buy { display: flex; gap: 14px; margin-top: 22px; align-items: stretch; }
.qty { display: flex; border: 1px solid #b9bec5; }
.qty button { width: 38px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 40px; text-align: center; border: 0; font: inherit; }
.d-btn-dark { flex: 1; max-width: 300px; display: grid; place-items: center; background: #1b1f26; color: #fff; text-decoration: none; font-size: 14px; padding: 12px; transition: background .2s; }
.d-btn-dark:hover { background: #2d9bd6; }
[data-toggle-block].is-hidden { display: none !important; }

/* information at a glance */
.d-glance { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid #e3e5e9; }
.wf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.wf-card { border: 1px solid #dfe2e6; padding: 10px 10px 16px; background: #fff; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.wf-card:hover { box-shadow: 0 16px 36px rgba(20,30,45,.12); transform: translateY(-4px); }
.wf-img { aspect-ratio: 4 / 3; overflow: hidden; }
.wf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wf-card:hover .wf-img img { transform: scale(1.06); }
.wf-card h3 { font: 600 14.5px/1.3 var(--body); margin: 12px 4px 4px; }
.wf-card p { font-size: 13px; color: #5d6670; margin: 0 4px; }

/* accessories */
/* client 22 Oct: a thin line between the workflow cards and the accessories */
.d-acc { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid #e3e5e9; }
.acc-card { cursor: pointer; }
/* accessory pop-up, laid out like the product box */
/* client 21 Oct (accessoris.pdf): picture with arrows on the left; name, price, text, buy row and small pictures on the right */
.acc-pop-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4.2vw, 64px); align-items: stretch; width: min(1000px, 100%); max-width: none; max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: #1b1f26; border: 0; padding: clamp(28px, 3.8vw, 52px) clamp(24px, 3.4vw, 48px) clamp(28px, 3.8vw, 52px) clamp(10px, 1.6vw, 22px); }
.acc-pop-media { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: clamp(6px, 1vw, 14px); }
.acc-pop-img { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; border: 1px solid #e3e5e9; padding: 18px; overflow: hidden; }
.acc-pop-img img { max-width: 100%; max-height: 100%; object-fit: contain; height: auto; }
.acc-pop-arrow { width: 34px; height: 52px; padding: 0; border: 0; background: none; color: #a3a8af; cursor: pointer; display: grid; place-items: center; transition: color .2s; }
.acc-pop-arrow:hover { color: #1b1f26; }
.acc-pop-arrow:focus-visible { outline: 2px solid #2d9bd6; outline-offset: 2px; }
.acc-pop-arrow svg { width: 28px; height: 28px; }
.acc-pop-copy { display: flex; flex-direction: column; min-width: 0; }
.acc-pop-copy .d-ptitle { margin-top: 2px; }
.acc-pop-copy .d-price { margin-top: 10px; }
.acc-pop-copy .d-p { margin-top: 12px; }
.acc-pop-copy .d-buy { margin-top: 18px; }
.acc-pop-thumbs { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.acc-pop-thumbs button { aspect-ratio: 1 / 1; padding: 6px; border: 1px solid #d5d8dd; background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.acc-pop-thumbs button:hover, .acc-pop-thumbs button.on { border-color: #1b1f26; }
.acc-pop-thumbs button:focus-visible { outline: 2px solid #2d9bd6; outline-offset: 2px; }
.acc-pop-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.acc-pop-single .acc-pop-arrow { visibility: hidden; }
.acc-pop-single .acc-pop-thumbs { display: none; }
.acc-pop .popup-x { color: #1b1f26; }
.acc-pop .d-btn-dark { max-width: 260px; }
.acc-slider { position: relative; margin-top: 30px; }
.acc-view { overflow: hidden; }
.acc-track { --per: 4; display: flex; gap: 24px; transition: transform .9s var(--ease); }
.acc-card { flex: 0 0 calc((100% - (var(--per) - 1) * 24px) / var(--per)); border: 1px solid #dfe2e6; text-decoration: none; color: #1b1f26; background: #fff; transition: background .3s; }
.acc-img { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 16px; background: #fff; overflow: hidden; }
.acc-img img { max-height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.acc-card h3 { font: 500 14px/1.3 var(--body); text-align: center; padding: 12px 8px 2px; background: #f2f3f5; }
.acc-card p { font-size: 12.5px; color: #6a727c; text-align: center; padding: 0 8px 14px; background: #f2f3f5; }
.acc-card:hover h3, .acc-card:hover p { background: #5f656d; color: #fff; }
.acc-card:hover .acc-img img { transform: scale(1.06); }
.acc-arrow { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border: 0; background: none; color: #8a929c; cursor: pointer; }
.acc-arrow svg { width: 26px; height: 26px; }
.acc-arrow.prev { left: -48px; }
.acc-arrow.next { right: -48px; }
.acc-arrow:disabled { opacity: .25; cursor: default; }

/* big picture + compare */
.d-big { height: min(90vh, 760px); overflow: hidden; }
.d-big img { width: 100%; height: 100%; object-fit: cover; }
.d-compare { background: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 28px; }
.d-compare[data-cmp="left"] .cmp-col:nth-child(2), .d-compare[data-cmp="right"] .cmp-col:nth-child(1), .d-compare[data-cmp="pic"] .cmp-col:nth-child(2) { display: none; }
/* client 29 Oct (no fixed number of products): 3 or more side by side, at most 3 per row (4 = 2 + 2); "One section"
   and "+ picture" still show only the first */
.d-compare[data-cmp="both"] .cmp-grid.cmp-many { grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); }
.d-compare[data-cmp="left"] .cmp-col:nth-child(n+3), .d-compare[data-cmp="pic"] .cmp-col:nth-child(n+3), .d-compare[data-cmp="right"] .cmp-col:nth-child(n+3) { display: none; }
/* client 25 Oct: first section + a picture on the right; small icon next to the product name */
.cmp-pic { align-self: center; display: grid; place-items: center; }
.cmp-pic img { width: 100%; max-width: 560px; height: auto; object-fit: contain; }
.cmp-head { display: flex; align-items: center; gap: 16px; }
.cmp-icon { width: auto; height: 58px; max-width: 120px; object-fit: contain; }
.d-compare[data-cmp="left"] .cmp-grid, .d-compare[data-cmp="right"] .cmp-grid { grid-template-columns: minmax(0, 640px); }
.cmp-logo { height: 92px; width: auto; }
.cmp-col h3 { font: 600 14px/1.3 var(--body); margin-top: 16px; }
.cmp-col > p { font-size: 12.5px; color: #5d6670; margin-top: 4px; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12.5px; }
.cmp-table th { text-align: left; font-weight: 400; color: #7a828c; padding: 7px 10px; width: 34%; }
.cmp-table td { text-align: right; color: #3b424c; padding: 7px 10px; }
.cmp-table tr:nth-child(odd) { background: #f2f3f5; }
.cmp-table tr { transition: background .2s; }
.cmp-table tr:hover { background: #e4f1f9; }

/* FAQ sits on light grey as in the PDF (styles from product.css) */
.page-details .s-faq { background: #e9e9e6; }

/* responsive */
@media (max-width: 1100px) { .acc-arrow.prev { left: -6px; } .acc-arrow.next { right: -6px; } .acc-track { --per: 3; } }
@media (max-width: 900px) {
  .d-two, .d-pgrid, .cmp-grid, .d-compare[data-cmp="both"] .cmp-grid.cmp-many { grid-template-columns: 1fr; }
  .d-why-row { grid-template-columns: 1fr; }
  .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .acc-track { --per: 2; }
  .d-gallery { grid-template-columns: 1fr; }
  .g-thumbs { flex-direction: row; order: 2; }
  .g-thumbs-wrap { order: 2; }
  .g-thumb { width: 56px; }
  .d-big { height: 50vh; }
}
@media (max-width: 520px) { .wf-grid { grid-template-columns: 1fr; } .d-buy { flex-wrap: wrap; } .d-btn-dark { max-width: none; } }
@media (max-width: 700px) { .acc-pop-card { grid-template-columns: 1fr; padding: 52px 16px 24px; } .acc-pop-media { grid-template-columns: 28px minmax(0, 1fr) 28px; } .acc-pop-img { max-height: 42vh; } .acc-pop-thumbs { padding-top: 20px; } .d-lightbox { padding: 56px 12px; } .d-lb-arrow { top: auto; bottom: 14px; margin-top: 0; } }

/* dark bands keep light text on this light page */
.page-details .s-stats b, .page-details .s-cta h2, .page-details .s-cta p { color: #fff; }
.page-details .s-cta p { color: #e2e5ea; }
/* compare wordmarks (text, editable) */
.cmp-mark { display: flex; flex-direction: column; line-height: .9; font-family: var(--head); color: #111; }
.cmp-mark span { font-weight: 700; font-size: 26px; letter-spacing: .02em; }
.cmp-mark strong { font-weight: 800; font-size: 46px; letter-spacing: -.02em; }

/* own icon pictures chosen in the panel */
.d-feature-list .d-own-icon { width: 30px; height: 30px; object-fit: contain; flex: none; }
.d-why-item .d-own-icon { width: 55px; height: 55px; object-fit: contain; flex: none; }
