/* Product/Release reference layout; other record types retain their existing styles. */
.oc-product-detail-layout{position:relative;isolation:isolate;background:#fbfcff}
.oc-product-detail-layout:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:520px;background:linear-gradient(90deg,#fbfcffb3 0%,#fbfcff33 35%,#fbfcff00 65%),linear-gradient(0deg,#fbfcff 0%,#fbfcff30 25%,transparent 65%),url('../images/product-ocean-background.webp') right top/auto 135% no-repeat;opacity:.95;pointer-events:none}
.oc-product-detail-layout .detail-utilities{margin-block:0 8px;min-height:20px}
.oc-product-detail-layout .oc-product-overview{gap:24px;margin:8px 0 26px}
.oc-product-detail-layout .oc-product-overview .oc-card-data{padding-top:0}
.oc-product-detail-layout .oc-product-identity-line{display:flex;align-items:center;gap:14px;margin-bottom:12px;min-height:24px}
.oc-product-detail-layout .oc-product-type{display:inline-flex;padding:4px 9px;border-radius:5px;background:#df3047;color:#fff;font-size:12px;font-weight:650}
.oc-data-block .oc-product-detail-layout .oc-card-identity h1{font-size:clamp(28px,2.7vw,40px);font-weight:760;line-height:1.16;margin-bottom:6px;text-wrap:balance}
.oc-product-detail-layout .oc-card-japanese{color:#193b8e;font-size:19px;margin:0 0 10px;line-height:1.45}
.oc-product-detail-layout .oc-card-identity{margin-bottom:10px}
.oc-product-detail-layout .oc-card-language-tabs{margin-bottom:16px;gap:12px}
.oc-product-detail-layout .oc-card-language-tabs a{min-width:64px;background:transparent;border-radius:6px}
.oc-product-detail-layout .oc-card-language-tabs a[aria-current=page]{background:#082b9f;color:#fff}
.oc-product-detail-layout .oc-product-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px}
.oc-product-detail-layout .oc-product-metrics>div{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;column-gap:10px;min-width:0;padding:13px 11px;background:#fffffff2;border:1px solid #e0e8fb;border-radius:8px}
.oc-product-detail-layout .oc-product-metric-icon{grid-row:1/3;display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:34px;background:#f2f6ff;border-radius:5px;color:#062d9f}
.oc-product-detail-layout .oc-product-metric-icon svg{width:23px;height:23px}
.oc-product-detail-layout .oc-product-metrics dt{display:contents}.oc-product-detail-layout .oc-product-metrics dt>span:last-child{color:#25418c;font-size:11px;line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}
.oc-product-detail-layout .oc-product-metrics dd{grid-column:2;color:#071b56;font-weight:700;font-size:13px;margin:0;line-height:1.45;overflow-wrap:anywhere}
.oc-data-block .oc-product-detail-layout .oc-product-about{background:#fffffff2;border:1px solid #e0e8fb;border-radius:8px;padding:22px 24px}
.oc-data-block .oc-product-detail-layout .oc-product-about h2{font-size:21px;line-height:1.3;letter-spacing:-.02em;margin:0 0 8px;color:#071b56}
.oc-product-detail-layout .oc-product-description{font-size:14px;line-height:1.7;color:#273861;white-space:pre-line;margin:0;overflow-wrap:anywhere}
.oc-product-detail-layout .oc-product-release-notes{font-size:13px;color:#52627a;line-height:1.6;white-space:pre-line;margin:12px 0 0}
.oc-product-detail-layout .oc-product-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.oc-product-detail-layout .oc-product-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 20px;background:#082b9f;border:1px solid #082b9f;border-radius:6px;font-size:13px;font-weight:650;color:#fff;text-decoration:none}
.oc-product-detail-layout .oc-product-actions .button.outline{background:#fff;color:#082b9f;border-color:#d3dff9}
.oc-product-detail-layout .oc-product-actions a:hover{background:#154aca;color:#fff}
.oc-product-detail-layout .oc-card-artwork .gallery{position:relative;grid-template-columns:56px minmax(0,1fr);gap:12px}
.oc-product-detail-layout .oc-card-artwork .image-stage{aspect-ratio:1/1.06;padding:14px;background:#fffffff2;border-color:#e0e8fb}
.oc-product-detail-layout .oc-card-artwork .thumbnails{max-height:510px}
.oc-product-detail-layout .oc-card-artwork .gallery-thumb{padding:4px;background:#fff}
.oc-product-detail-layout .oc-card-artwork .thumbnails img{height:64px}
.oc-product-detail-layout .gallery-actions{justify-content:flex-end}
.oc-product-detail-layout .gallery-actions .button{flex:0 1 auto;min-height:40px;padding:8px 12px}
.oc-product-detail-layout .oc-gallery-arrows{position:absolute;inset:0 0 48px 68px;display:flex;align-items:center;justify-content:space-between;padding:12px;pointer-events:none}
.oc-product-detail-layout .oc-gallery-arrows button{pointer-events:auto;display:grid;place-items:center;width:40px;height:40px;min-height:40px;border:1px solid #e3eafb;border-radius:50%;color:#082b9f;background:#fff;cursor:pointer}
.oc-product-detail-layout .oc-gallery-arrows button:hover{background:#edf3ff}
.oc-product-detail-layout>.detail>.tabs,.oc-product-detail-layout #detail-content{max-width:none}
.oc-product-detail-layout .tabs{margin-top:16px;border-bottom-color:#dfe8fb;gap:8px}
.oc-product-detail-layout .tabs a{padding:14px 22px;font-size:13px;font-weight:500;text-decoration:none}
.oc-product-detail-layout .tabs a[aria-current=page]{color:#0866ff;font-weight:650;border-bottom:3px solid #0866ff}
.oc-product-overview-panels{display:grid;grid-template-columns:1fr .85fr 1.1fr;gap:12px;align-items:stretch;margin-top:14px}
.oc-product-panel{min-width:0;background:#fff;border:1px solid #e0e8fb;border-radius:8px;padding:16px}
.oc-data-block .oc-product-panel h2{display:flex;align-items:center;gap:10px;color:#071b56;font-size:16px;line-height:1.4;margin:0 0 12px;letter-spacing:-.015em}
.oc-product-panel h2 svg{color:#082b9f}
.oc-product-panel .oc-card-facts{font-size:12px}
.oc-product-detail-layout .oc-product-panel .oc-card-facts>div{grid-template-columns:minmax(0,45%) minmax(0,55%)}
.oc-product-detail-layout .oc-product-panel .oc-card-facts :is(dt,dd){padding-block:4px}
.oc-product-inline-link{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:12px;color:#0755ce;text-underline-offset:3px}
.oc-product-localized-copy+.oc-product-localized-copy{margin-top:22px}
.oc-product-panel .oc-product-localized-copy h3{display:inline-flex;padding:3px 10px;background:#edf2ff;border-radius:4px;font-size:12px;margin:0 0 10px;color:#082b9f}
.oc-product-panel .oc-product-description{font-size:13px;line-height:1.75}
.oc-product-panel-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}
.oc-product-panel-heading>a{font-size:11px;white-space:nowrap;color:#0755ce;margin-top:2px;text-decoration:none}
.oc-product-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.oc-product-gallery-grid a{display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:4/5;border:1px solid #e0e8fb;border-radius:5px;padding:6px;background:#f8faff}
.oc-product-gallery-grid img{width:100%;height:100%;object-fit:contain}
.oc-product-panel .entry-content{font-size:13px;line-height:1.75;margin-top:18px;overflow-wrap:anywhere}
@media(max-width:1199px){.oc-product-detail-layout .oc-product-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.oc-product-overview-panels{grid-template-columns:1fr 1fr}.oc-product-overview-panels>.oc-product-panel:last-child{grid-column:1/-1}.oc-product-gallery-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:899px){.oc-product-detail-layout:before{opacity:.5;height:400px}.oc-product-detail-layout .oc-product-overview{grid-template-columns:1fr}.oc-product-detail-layout .oc-product-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.oc-product-detail-layout .oc-card-artwork{max-width:480px}.oc-product-detail-layout .oc-card-artwork .image-stage{aspect-ratio:1/1}.oc-product-detail-layout .oc-product-metrics>div{gap:7px;padding:12px 8px}}
@media(max-width:639px){.oc-product-detail-layout .oc-product-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.oc-product-detail-layout .oc-product-metrics>div:last-child{grid-column:1/-1}.oc-product-detail-layout .oc-product-overview{gap:20px}.oc-product-detail-layout .oc-card-artwork .gallery{grid-template-columns:1fr}.oc-product-detail-layout .oc-card-artwork .thumbnails{max-height:none}.oc-product-detail-layout .oc-card-artwork .image-stage{padding:12px}.oc-product-detail-layout .oc-gallery-arrows{inset:0 0 auto;height:calc(100% - 130px);padding:12px}.oc-product-detail-layout .gallery-actions .button{flex:1}.oc-product-detail-layout .oc-card-japanese{font-size:17px}.oc-product-detail-layout .oc-card-language-tabs{gap:8px}.oc-data-block .oc-product-detail-layout .oc-product-about{padding:18px}.oc-product-detail-layout .oc-product-actions{display:grid;grid-template-columns:1fr}.oc-product-detail-layout .oc-product-actions .button{width:100%;padding-inline:12px}.oc-product-overview-panels{grid-template-columns:1fr}.oc-product-overview-panels>.oc-product-panel:last-child{grid-column:auto}.oc-product-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.oc-product-detail-layout .tabs a{padding:12px 16px;min-height:44px}}

.oc-product-detail-layout .oc-product-about .oc-product-description{font-size:15px;line-height:1.65}

/* Shared Card/Product magnification: click/keyboard/touch still open the existing lightbox. */
.oc-product-detail-layout .oc-magnify-hint{display:none}
@media(hover:hover) and (pointer:fine){
 .js .oc-product-detail-layout .oc-magnify-hint{display:block;order:-1;flex:1;color:#52627a;font-size:12px;line-height:1.5;align-self:center}
 :is(.oc-product-detail-layout,.oc-card-detail-layout) .oc-card-artwork .image-stage img{transform-origin:var(--oc-zoom-x,50%) var(--oc-zoom-y,50%);transition:transform 140ms ease-out;will-change:auto}
 :is(.oc-product-detail-layout,.oc-card-detail-layout) .oc-card-artwork .image-stage.is-magnified img{transform:scale(2.5);will-change:transform}
 :is(.oc-product-detail-layout,.oc-card-detail-layout) .oc-card-artwork .image-stage{cursor:zoom-in}
}
@media(prefers-reduced-motion:reduce){:is(.oc-product-detail-layout,.oc-card-detail-layout) .oc-card-artwork .image-stage img{transition:none}}
