/* Product public pages only; approved Homepage/Header/Footer remain shared. */
.product-public { color: #103e58; overflow-wrap: anywhere; }
.product-public .container { width: calc(100% - 112px); max-width: 1480px; }
.product-intro { background: #f1f7f9; padding: 24px 0 0; border-bottom: 1px solid #d8e7ed; }
.product-breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 13px; line-height: 1.8; margin-bottom: 32px; color: #557383; }
.product-breadcrumb a:hover, .catalogue-detail-link:hover { color: #087f9c; text-decoration: underline; }
.product-kicker { color: #087f9c; font-size: 11px; font-weight: 700; line-height: 1.8; letter-spacing: 1.5px; text-transform: uppercase; }
.product-public h1 { font-size: clamp(32px, 3.5vw, 58px); line-height: 1.25; letter-spacing: -1px; margin: 12px 0 20px; }
.product-public .button-ocean { background: #087f9c; border: 1px solid #087f9c; color: white; }
.product-public :is(a,button,select):focus-visible { outline: 3px solid #ea895c; outline-offset: 3px; }
.product-intro-copy { max-width: 650px; color: #557383; line-height: 1.9; }
.product-markets { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.product-markets a { padding: 16px 0; min-height: 48px; font-weight: 600; border-bottom: 3px solid transparent; }
.product-markets a[aria-current] { border-color: #087f9c; color: #087f9c; }
.catalogue-content { padding-block: 36px 64px; }
.catalogue-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
.catalogue-filter label { font-size: 14px; font-weight: 600; }
.catalogue-filter select, .catalogue-filter button { font: inherit; font-size: 14px; min-height: 46px; padding: 10px 16px; border: 1px solid #bdd2dd; border-radius: 4px; background: white; color: #103e58; max-width: 100%; }
.catalogue-filter select { min-width: 220px; }
.catalogue-filter button { background: #087f9c; color: white; border-color: #087f9c; cursor: pointer; }
.catalogue-filter p { margin-left: auto; color: #557383; font-size: 13px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.catalogue-card { min-width: 0; border: 1px solid #d8e7ed; border-radius: 6px; overflow: hidden; background: white; display: flex; flex-direction: column; }
/* Let the 4:3 frame shrink below the image's intrinsic flex-item minimum. */
.catalogue-card-image { display: grid; place-items: center; aspect-ratio: 4/3; min-height: 0; background: #f3f7f8; padding: 18px; }
.catalogue-card-image img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.catalogue-image-empty { color: #557383; font-size: 14px; text-align: center; }
.catalogue-card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: start; }
.catalogue-card h2 { font-size: clamp(20px,1.6vw,25px); line-height: 1.5; margin: 6px 0 12px; }
.catalogue-card h2 a:hover { color: #087f9c; }
.catalogue-excerpt { color: #557383; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.catalogue-detail-link { display: inline-flex; gap: 16px; align-items: center; font-size: 13px; font-weight: 600; min-height: 44px; color: #087f9c; }
.catalogue-card .catalogue-detail-link { margin-top: auto; }
.product-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 36px; }
.product-pagination a, .product-pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #bdd2dd; border-radius: 4px; }
.product-pagination [aria-current], .product-pagination a:hover { color: white; background: #087f9c; border-color: #087f9c; }
.catalogue-empty { text-align: center; padding: 64px 20px; background: #f5f9fa; border: 1px solid #d8e7ed; border-radius: 6px; }
.catalogue-empty h2 { font-size: clamp(24px,2.4vw,36px); line-height: 1.4; margin: 12px auto 20px; max-width: 700px; }
.catalogue-empty p { color: #557383; line-height: 1.8; margin-bottom: 26px; }
.catalogue-empty > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
/* Shared Product Public / protected Preview presentation. */
.product-detail { padding-block:32px 64px; }
.product-detail > .container > .product-breadcrumb { margin-top:0; }
.product-detail-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); grid-template-rows:auto 1fr; grid-template-areas:"gallery title" "gallery summary"; gap:24px clamp(28px,4vw,56px); align-items:start; }
.product-detail-title { grid-area:title; min-width:0; padding-top:24px; }
.product-detail-title h1 { margin:0; font-size:clamp(30px,3vw,48px); line-height:1.25; letter-spacing:-.7px; }
.product-detail-summary { grid-area:summary; min-width:0; }
.product-detail-excerpt { margin:0; color:#557383; font-size:17px; line-height:1.95; white-space:pre-line; }
.product-detail-gallery { grid-area:gallery; min-width:0; }
.product-detail-stage { position:relative; display:grid; place-items:center; aspect-ratio:1; max-height:600px; margin:0; overflow:hidden; border:1px solid #d8e7ed; border-radius:8px; background:#fff; }
.product-detail-stage > a { display:block; width:100%; height:100%; min-height:0; }
.product-detail-stage img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:18px; transition:opacity .16s ease; }
.product-detail-stage img.is-changing { opacity:.65; }
.product-gallery-empty { padding:28px; color:#557383; line-height:1.8; text-align:center; background:#f5f9fa; }
.product-detail-caption { margin:10px 0 0; color:#557383; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.product-gallery-controls { display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-top:12px; font-size:12px; color:#557383; }
.product-gallery-controls button { width:44px; height:44px; padding:0; border:1px solid #bdd2dd; border-radius:4px; background:white; color:#103e58; font-size:22px; cursor:pointer; }
.product-gallery-controls button:hover { border-color:#087f9c; color:#087f9c; background:#edf7f9; }
.product-detail-gallery .product-gallery { display:flex; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; padding:6px 3px 10px; margin:12px -3px 0; scrollbar-width:thin; }
.product-gallery [data-product-thumb] { display:block; flex:0 0 88px; width:88px; height:88px; padding:5px; border:2px solid #d8e7ed; border-radius:5px; background:#fff; cursor:pointer; }
.product-gallery [data-product-thumb][aria-pressed=true] { border-color:#087f9c; box-shadow:0 0 0 1px #087f9c; }
.product-gallery [data-product-thumb] img { display:block; width:100%; height:100%; object-fit:contain; }
.product-detail-gallery [hidden] { display:none!important; }
.product-detail-body { max-width:1100px; margin-top:44px; padding-top:32px; border-top:1px solid #d8e7ed; font-size:16px; line-height:1.9; }
.product-detail-body .rich-document { overflow-wrap:anywhere; min-width:0; }
.product-detail-body .rich-document img { max-width:100%; height:auto; }
.product-preview-notice { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; margin-bottom:28px; border:1px solid #bdd2dd; border-left:4px solid #087f9c; border-radius:5px; background:#edf7f9; color:#103e58; font-size:14px; line-height:1.7; }
.product-preview-notice p { margin:3px 0 0; color:#557383; font-size:13px; }
.product-preview-notice a { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; border:1px solid #bdd2dd; border-radius:4px; background:white; font-weight:600; }
.product-snapshot-detail { padding:24px; border:1px solid #d8e7ed; background:white; border-radius:6px; }
.product-snapshot-detail .product-detail-title h1 { font-size:clamp(26px,2.5vw,40px); }
.product-image-dialog { width:min(1100px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:48px 20px 20px; border:0; border-radius:6px; margin:auto; color:#103e58; }
.product-image-dialog::backdrop { background:rgb(8 31 45 / .8); }
.product-image-dialog figure { margin:0; }
.product-image-dialog img { display:block; max-width:100%; max-height:72dvh; width:auto; height:auto; margin:auto; object-fit:contain; }
.product-image-dialog figcaption { text-align:center; margin-top:14px; line-height:1.7; }
.product-image-dialog button { position:absolute; right:8px; top:4px; width:44px; height:44px; background:white; border:0; color:#103e58; font-size:30px; cursor:pointer; }
@media(min-width:1920px) { .catalogue-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1170px) { .product-public .container { width:calc(100% - 70px); } }
@media(max-width:900px) { .product-detail-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; grid-template-areas:"title" "gallery" "summary"; gap:24px; } .product-detail-title { padding-top:0; } .product-detail-stage { max-height:520px; } }
@media(max-width:1020px) { .catalogue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } }
@media(max-width:730px) { .product-detail { padding-top:24px; } .product-public .container { width:calc(100% - 38px); } .product-breadcrumb { margin-bottom:22px; font-size:12px; } .catalogue-grid { grid-template-columns:1fr; } .catalogue-card-copy { padding:20px; } .catalogue-filter select { width:100%; } .catalogue-filter p { width:100%; margin:0; } .catalogue-content { padding-block:24px 44px; } .catalogue-empty { padding:40px 16px; } .product-detail-title h1 { font-size:clamp(28px,7vw,36px); } .product-detail-excerpt { font-size:15px; line-height:1.9; } .product-detail-stage { max-height:420px; } .product-gallery [data-product-thumb] { flex-basis:76px; width:76px; height:76px; } .product-gallery-controls { justify-content:flex-start; } .product-detail-body { margin-top:32px; padding-top:24px; } .product-snapshot-detail { padding:16px; } }
@media(prefers-reduced-motion:reduce) { .product-detail-stage img { transition:none!important; } }

/* Public product detail keeps its two-column reading order on desktop. */
.product-detail:not(.product-preview) .product-detail-title h1 { line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.product-detail:not(.product-preview) .product-detail-excerpt { line-height: 1.8; max-width: 760px; }
.product-listing .product-intro { padding-top: 16px; }
.product-listing .product-breadcrumb { margin-bottom: 16px; }
.product-listing .product-intro > .container > .product-kicker { color: #FF4B00; }
.product-listing .product-intro h1 { color: #EA895C; font-size: clamp(29px, 3.15vw, 52px); margin-block: 8px 12px; }
.product-listing .product-markets { margin-top: 16px; }
.product-listing .catalogue-content { padding-top: 24px; }
.product-detail .public-brand-accent { color: var(--coral); font-weight: 800; }
@media (max-width: 900px) {
  .product-detail:not(.product-preview) :is(.product-detail-title, .product-detail-summary) { text-align: center; }
  .product-detail:not(.product-preview) .product-detail-excerpt { margin-inline: auto; }
}
