/* Collection (product) page */
.cl-onpage { background: var(--mist); box-shadow: 0 8px 16px -14px rgba(20,36,64,0.35); }
.cl-onpage-row { gap: 8px; padding-block: 10px; }
.cl-onpage .chip { border-color: transparent; background: transparent; }
.cl-onpage .chip.is-on { background: var(--deep); border-color: var(--deep); }
@media (min-width: 900px) { .cl-onpage-row { justify-content: center; overflow: visible; margin: 0; } }
.breadcrumb .icon { width: 12px; height: 12px; }
#shop, #inside, #compare, #reviews { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Layout: mobile = main image, info, gallery. Desktop = gallery column + info column. */
.cl-shop { padding-bottom: 48px; }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; grid-template-areas: "main" "info" "gallery"; }
.cl-main { grid-area: main; display: flex; flex-direction: column; gap: 12px; }
.cl-gallery { grid-area: gallery; }
.cl-info { grid-area: info; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (min-width: 1000px) {
  .cl-shop { padding-bottom: 72px; }
  .cl-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: 56px; row-gap: 12px; grid-template-rows: auto 1fr; grid-template-areas: "main info" "gallery info"; align-items: start; }
}

.cl-main-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.cl-main-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-warranty-bar { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); font-size: 13px; text-align: center; }
.cl-warranty-bar .icon { color: var(--navy); flex-shrink: 0; }

.cl-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cl-gallery > img, .cl-badges { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.cl-gallery > .cl-poster { object-position: 50% 32%; }
.cl-gallery > img:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.cl-gallery > .cl-badges { grid-column: 1 / -1; aspect-ratio: auto; min-height: 120px; }
@media (min-width: 1000px) { .cl-gallery > img { aspect-ratio: auto; height: 200px; } .cl-gallery > img:nth-last-child(2):nth-child(odd) { aspect-ratio: auto; } .cl-gallery > .cl-badges { min-height: 128px; gap: 24px; } }
.cl-badges { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: #fff; border: 1px solid var(--haze); }
.cl-badge { width: 76px; height: 76px; flex-shrink: 0; border-radius: 999px; border: 2px solid var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--navy); }
.cl-badge b { font-size: 22px; line-height: 1.1; }
.cl-badge b.cl-badge-md { font-size: 17px; }
.cl-badge small { max-width: 60px; font-size: 8px; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
[dir="rtl"] .cl-badge small { font-size: 10px; letter-spacing: 0; }
@media (min-width: 1200px) { .cl-badge { width: 88px; height: 88px; } .cl-badge b { font-size: 24px; } .cl-badge b.cl-badge-md { font-size: 20px; } .cl-badge small { font-size: 9px; } }

/* Info column */
.cl-head { display: flex; flex-direction: column; gap: 6px; }
.cl-new { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12px; color: var(--deep); text-decoration: none; }
.cl-new .pill { padding: 2px 8px; font-size: 10px; }
.cl-new:hover span:last-child { text-decoration: underline; }
.cl-head .eyebrow { margin-top: 6px; }
.cl-title { font-size: clamp(30px, 3.2vw, 40px); }
.cl-subtitle { font-size: 14px; font-weight: 700; }
.cl-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; }
.cl-price { font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--navy); white-space: nowrap; }
.cl-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--haze); display: flex; gap: 14px; }
.cl-trust li { width: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.3; font-weight: 700; }
.cl-trust-ic { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--haze); display: grid; place-items: center; color: var(--navy); }
.cl-copy { display: flex; flex-direction: column; gap: 8px; }
.cl-tagline { font-size: 15px; font-weight: 700; }

.cl-form { display: flex; flex-direction: column; gap: 20px; }
.cl-field { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.cl-legend-note { font-weight: 400; color: var(--deep); font-size: 12px; margin-inline-start: 6px; }
.cl-field { position: relative; }
.cl-sizeguide { align-self: flex-start; }
.cl-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cl-model { min-height: 64px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--sky); background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-decoration: none; }
.cl-model:hover { border-color: var(--navy); }
.cl-model.is-on { border-color: var(--navy); background: var(--haze); box-shadow: inset 0 0 0 1px var(--navy); }
.cl-model-name { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.cl-model-meta { font-size: 12px; line-height: 1.35; color: var(--deep); }
.cl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-opt { position: relative; }
.cl-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cl-opt span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 76px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--sky); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; }
.cl-opt input:checked + span { border-color: var(--navy); background: var(--haze); box-shadow: inset 0 0 0 1px var(--navy); }
.cl-opt input:hover + span { border-color: var(--navy); }
.cl-opt input:focus-visible + span { outline: 3px solid var(--steel); outline-offset: 2px; }

.cl-addon { border: 1.5px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.cl-addon-head { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 14px; background: var(--mist); cursor: pointer; font-size: 13px; font-weight: 700; }
.cl-addon-label { flex: 1; }
.cl-addon-price { color: var(--navy); white-space: nowrap; }
.cl-switch { appearance: none; -webkit-appearance: none; position: relative; flex-shrink: 0; width: 40px; height: 22px; margin: 11px 0; border-radius: 999px; background: var(--sky); cursor: pointer; transition: background .2s; }
.cl-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: #fff; transition: transform .2s; }
.cl-switch:checked { background: var(--navy); }
.cl-switch:checked::after { transform: translateX(18px); }
[dir="rtl"] .cl-switch::after { left: auto; right: 3px; }
[dir="rtl"] .cl-switch:checked::after { transform: translateX(-18px); }
.cl-addon-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-addon-item { padding: 12px; display: flex; gap: 10px; align-items: center; min-width: 0; }
.cl-addon-item + .cl-addon-item { border-inline-start: 1px solid var(--haze); }
.cl-addon-item img { width: 56px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: var(--radius-sm); }
.cl-addon-name { font-size: 13px; line-height: 1.3; font-weight: 700; color: var(--navy); }
@media (max-width: 420px) { .cl-addon-items { grid-template-columns: 1fr; } .cl-addon-item + .cl-addon-item { border-inline-start: 0; border-top: 1px solid var(--haze); } }

.cl-delivery { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--mist); font-size: 13px; line-height: 1.45; }
.cl-delivery .icon { flex-shrink: 0; color: var(--navy); }
.cl-buy { padding: 20px; border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; gap: 12px; }
.cl-subtotal { text-align: center; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--navy); }

.cl-inside { background: transparent; padding: 0; border-block: 1px solid var(--haze); border-radius: 0; }
.cl-inside summary { font-size: 15px; }
.cl-placeholder { color: var(--deep); font-style: italic; }

.cl-advisor { padding: 22px; border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cl-advisor-title { font-size: 17px; line-height: 1.35; }
.cl-advisor-sub { font-size: 15px; color: var(--ink); }
.cl-advisor hr { align-self: stretch; margin: 6px 0; border: 0; border-top: 1px solid var(--haze); }
.cl-advisor-links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; font-weight: 700; }
.cl-advisor-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.cl-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cl-tiles li { min-height: 104px; padding: 12px 6px; border-radius: 10px; background: var(--mist); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--navy); }
.cl-tiles span { font-size: 12px; line-height: 1.3; font-weight: 700; color: var(--ink); }

/* Compare */
.cl-sec-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 24px; }
.cl-swipe-note { display: block; }
@media (min-width: 900px) { .cl-swipe-note { display: none; } }
.cl-table-wrap { max-width: 1000px; margin-inline: auto; }
.cl-table th, .cl-table td { white-space: normal; min-width: 120px; vertical-align: middle; }
.cl-table thead th:first-child { min-width: 110px; }
.cl-table thead th a { color: #fff; text-decoration: none; }
.cl-table thead th a:hover { text-decoration: underline; }
.cl-table tbody th { text-align: start; font-weight: 700; color: var(--navy); background: var(--haze); position: sticky; inset-inline-start: 0; }
.cl-table td { color: var(--navy); }
.cl-table td.cl-big { font-size: 17px; }

/* Specs, reviews, payment */
.cl-specs-list { margin-top: 24px; }
.cl-specs-list a { font-weight: 700; }
.cl-reviews-card { margin-top: 24px; padding: 28px 24px; border-radius: 16px; background: var(--mist); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cl-reviews-title { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.cl-pay .container { display: flex; flex-direction: column; align-items: center; }
.cl-pay-title { margin-top: 14px; }
.cl-pay-text { margin-top: 10px; font-size: 15px; }
.cl-pay-banks { width: 100%; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cl-pay-bank { min-height: 48px; padding: 6px 16px; border: 1px solid var(--sky); border-radius: 10px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 700; color: var(--navy); }
@media (min-width: 900px) { .cl-pay-banks { width: auto; display: flex; gap: 14px; } .cl-pay-bank { min-height: 52px; padding: 0 24px; font-size: 16px; } }

/* Other collections */
.cl-others-row { margin-top: 24px; gap: 14px; }
.cl-other { width: 260px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.cl-other img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 4px; }
.cl-other-name { font-size: 19px; font-weight: 700; color: var(--navy); }
.cl-other:hover .cl-other-name { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .cl-others-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin-inline: 0; padding: 0; } .cl-other { width: auto; } }
.cl-table thead th:first-child { background: var(--navy); }
@media (min-width: 1000px) { .cl-gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
