/* Product detail redesign — scoped to .product-detail-page */
.product-detail-page{background:#fff;color:var(--ink)}
.product-detail-main{padding-top:78px}
.product-detail-page .site-header{color:var(--ink);background:rgba(255,255,255,.98);border-color:var(--line);box-shadow:0 8px 30px rgba(0,0,0,.035)}
.product-hero{position:relative;min-height:690px;display:flex;align-items:center;overflow:hidden;background:#f8f7f3}
.product-hero-media{position:absolute;inset:0;background:#f8f7f3}
.product-hero-media img{width:100%;height:100%;object-fit:contain;object-position:right center}
.product-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 36%,rgba(255,255,255,.64) 49%,rgba(255,255,255,0) 66%)}
.product-hero .container{position:relative;z-index:2}
.product-hero-copy{max-width:650px;padding:58px 0 54px}
.product-breadcrumbs{margin-bottom:24px;color:var(--muted);font-size:12px}
.product-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.product-kicker{margin-bottom:16px;color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}
.product-hero h1{max-width:620px;margin:0;color:var(--blue);font-family:Artegra,Manrope,sans-serif;font-size:clamp(48px,5.2vw,74px);line-height:.98;letter-spacing:-.052em}
.product-lead{max-width:610px;margin:24px 0 0;color:#6f7488;font-size:18px;line-height:1.55}
.product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:620px;margin:28px 0 20px}
.product-fact{display:flex;min-height:77px;align-items:center;padding:14px 16px;border:1px solid #dde1ee;background:rgba(255,255,255,.88);backdrop-filter:blur(3px);color:var(--blue);font-size:13px;font-weight:800;line-height:1.2}
.product-warning{display:inline-flex;align-items:center;margin:0 0 20px;padding:12px 15px;border:2px solid var(--blue);background:rgba(255,255,255,.88);color:var(--blue);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.015em}
.product-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.product-actions small{max-width:300px;color:#85899a;font-size:11px;line-height:1.45}
.product-gallery-section{padding:58px 0 64px;background:#fff}
.product-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:24px}
.product-section-head h2{margin:0;color:var(--blue);font-size:42px;line-height:1;letter-spacing:-.045em}
.product-section-head p{max-width:330px;margin:0;color:var(--muted);font-size:12px}
.product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.product-gallery-button{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;text-align:left}
.product-gallery-button img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border:1px solid var(--line);background:#f8f7f3;box-shadow:0 12px 36px rgba(15,24,66,.06);transition:transform .22s ease,box-shadow .22s ease}
.product-gallery-button:nth-child(4):last-child{grid-column:2}
.product-gallery-button:hover img{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,24,66,.1)}
.product-zoom-badge{position:absolute;right:12px;top:12px;display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(17,27,103,.16);border-radius:50%;background:rgba(255,255,255,.92);color:var(--blue);font-size:18px;font-weight:700}
.product-info-section{padding:0 0 68px}
.product-info-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:0;border:1px solid var(--line);background:#fff}
.product-info-block{padding:30px 32px}
.product-info-block+.product-info-block{border-left:1px solid var(--line)}
.product-info-block h3{margin:0 0 14px;color:var(--blue);font-size:22px;line-height:1.1}
.product-info-block p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.product-info-grid-two{grid-template-columns:1.15fr .85fr}
.product-info-grid-two .product-info-block+.product-info-block{border-left:1px solid var(--line)}
.product-component-list{margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;list-style:none}
.product-component-list li{position:relative;padding-left:16px;color:var(--ink);font-size:12px;font-weight:700;line-height:1.35}
.product-component-list li::before{content:"";position:absolute;left:0;top:.48em;width:6px;height:6px;border-radius:50%;background:var(--blue)}
.product-info-gap{margin-top:18px!important}
.product-info-gap-small{margin-top:14px!important}
.product-course-note{margin-top:14px!important;padding:12px 14px;border-left:3px solid var(--blue);background:#f6f7fb;color:#5e6477!important}
.product-fluid-note{margin-top:14px!important;padding:14px 16px;border:1px solid #dce4db;background:#f7faf6;color:#59645d!important}
.product-mini-specs{margin:0}
.product-mini-specs div{display:grid;grid-template-columns:1fr 1.1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.product-mini-specs div:last-child{border-bottom:0}
.product-mini-specs dt{color:var(--muted);font-size:11px}
.product-mini-specs dd{margin:0;font-size:12px;font-weight:700}
.product-document-card{display:block;padding:14px;border:1px solid var(--line);background:#fbfbfd}
.product-document-card span{display:block;color:var(--blue);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.product-document-card strong{display:block;margin-top:6px;font-size:12px;line-height:1.35;word-break:break-word}
.product-document-card small{display:block;margin-top:5px;color:var(--muted);font-size:10px}
.product-cta{padding:42px 0;background:#0d1028;color:#fff}
.product-cta-grid{display:flex;align-items:center;justify-content:space-between;gap:30px}
.product-cta h2{margin:0 0 8px;font-size:34px}
.product-cta p{margin:0;color:rgba(255,255,255,.64)}
.product-b2b{padding:56px 0;background:var(--off)}
.product-b2b-grid{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center}
.product-b2b h2{margin:0;color:var(--blue);font-size:34px;line-height:1.06;letter-spacing:-.035em}
.product-b2b p{margin:12px 0 0;color:var(--muted)}
.product-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:26px;background:rgba(6,10,30,.92)}
.product-lightbox[aria-hidden="false"]{display:flex}
.product-lightbox img{display:block;max-width:min(94vw,1500px);max-height:90vh;width:auto;height:auto;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.product-lightbox-close{position:fixed;right:22px;top:18px;width:46px;height:46px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(0,0,0,.3);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.product-lightbox-nav{position:fixed;top:50%;z-index:10000;display:grid;width:52px;height:52px;place-items:center;transform:translateY(-50%);border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(0,0,0,.34);color:#fff;font-size:34px;line-height:1;cursor:pointer}
.product-lightbox-prev{left:22px}
.product-lightbox-next{right:22px}
.product-lightbox-counter{position:fixed;left:50%;top:22px;transform:translateX(-50%);padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.38);color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em}
.product-lightbox-hint{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);color:rgba(255,255,255,.72);font-size:11px}
.product-lightbox-close:focus-visible,.product-lightbox-nav:focus-visible{outline:3px solid rgba(255,255,255,.75);outline-offset:3px}
@media(max-width:1179px){
  .product-hero{min-height:auto;display:flex;flex-direction:column;background:#fff}
  .product-hero-media{position:relative;inset:auto;width:100%;aspect-ratio:1586/992;order:-1}
  .product-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
  .product-hero-overlay{display:none}
  .product-hero .container{width:100%;padding-top:0}
  .product-hero-copy{max-width:none;padding:38px 0 48px}
  .product-lead{max-width:760px}
}
@media(max-width:1050px){
  .product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-gallery-button:nth-child(3):last-child{grid-column:1/-1;width:calc(50% - 8px);justify-self:center}
  .product-gallery-button:nth-child(4):last-child{grid-column:auto}
  .product-info-grid{grid-template-columns:1fr 1fr}
  .product-info-block:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:760px){
  .product-detail-main{padding-top:70px}
  .product-hero-media{height:auto;aspect-ratio:1586/992}
  .product-hero-media img{object-position:center}
  .product-hero .container{padding-top:0}
  .product-hero-copy{max-width:none;padding:34px 0 46px}
  .product-hero h1{font-size:48px}
  .product-lead{font-size:16px}
  .product-facts{grid-template-columns:1fr;gap:8px}
  .product-fact{min-height:58px}
  .product-actions{align-items:flex-start;flex-direction:column}
  .product-section-head{align-items:flex-start;flex-direction:column;gap:10px}
  .product-section-head h2{font-size:34px}
  .product-gallery{grid-template-columns:1fr;gap:14px}
  .product-gallery-button:nth-child(3):last-child,.product-gallery-button:nth-child(4):last-child{grid-column:auto;width:100%}
  .product-info-grid{grid-template-columns:1fr}
  .product-info-block+.product-info-block{border-left:0;border-top:1px solid var(--line)}
  .product-info-grid-two .product-info-block+.product-info-block{border-left:0;border-top:1px solid var(--line)}
  .product-info-block:nth-child(3){grid-column:auto}
  .product-cta-grid,.product-b2b-grid{align-items:flex-start;flex-direction:column;display:flex}
  .product-b2b h2{font-size:30px}
  .product-component-list{grid-template-columns:1fr}
  .product-lightbox{padding:12px}
  .product-lightbox img{max-width:96vw;max-height:86vh}
  .product-lightbox-nav{width:44px;height:44px;top:auto;bottom:max(18px,env(safe-area-inset-bottom));transform:none;background:rgba(6,10,30,.82);font-size:30px}
  .product-lightbox-prev{left:calc(50% - 58px)}
  .product-lightbox-next{right:calc(50% - 58px)}
  .product-lightbox-counter{top:max(12px,env(safe-area-inset-top))}
}

@media(max-width:430px){
  .product-hero h1{font-size:40px;line-height:1.02;letter-spacing:-.04em}
}

/* ===== Mobile-only product fixes ===== */
@media (max-width:760px){
  /* Keep the original mobile hero behavior from the base stylesheet.
     Only make the opened infographic use the phone screen properly. */
  .product-lightbox{
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:auto !important;
    background:rgba(6,10,30,.97) !important;
  }

  .product-lightbox[aria-hidden="false"]{
    display:flex !important;
  }

  .product-lightbox img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:100vw !important;
    max-height:100dvh !important;
    margin:auto !important;
    box-shadow:none !important;
  }

  .product-lightbox-close{
    position:fixed !important;
    z-index:10001 !important;
    top:max(10px,env(safe-area-inset-top)) !important;
    right:max(10px,env(safe-area-inset-right)) !important;
    width:44px !important;
    height:44px !important;
    background:rgba(6,10,30,.78) !important;
  }

  .product-lightbox-hint{
    display:none !important;
  }
}
