/* Aktident V3.2.5 — consolidated product styles. Legacy cascade retained in original order. */

/* ===== product-v3.css ===== */
.av3-thumbnails{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.av3-thumb{background:#fff;border:2px solid #e0e9ee;border-radius:12px;width:86px;height:86px;padding:6px;cursor:pointer}.av3-thumb.active,.av3-thumb:focus-visible{border-color:#00a3cf;outline-offset:2px}.av3-thumb img{width:100%;height:100%;object-fit:contain}.av3-related{margin-top:70px}.av3-related>h2{color:#293e4b;font-size:27px;margin-bottom:22px}.av3-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.av3-related-card{display:block;border:1px solid #e1eaf0;border-radius:15px;overflow:hidden;padding-bottom:18px;background:white;text-decoration:none}.av3-related-image{height:190px;background:#f7fafb;display:flex;align-items:center;justify-content:center}.av3-related-image img{max-width:100%;max-height:100%;object-fit:contain;padding:12px}.av3-related-card h3{font-size:16px;line-height:1.4;color:#293e4b;margin:15px 15px 10px}.av3-related-card span{color:#009fd3;font-weight:700;font-size:13px;margin:0 15px}@media(max-width:850px){.av3-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.av3-related-grid{grid-template-columns:1fr 1fr;gap:10px}.av3-related-image{height:140px}.av3-related-card h3{font-size:14px}.av3-thumb{width:70px;height:70px}}

/* ===== product-v3.2.css ===== */
/* Aktident V3.2 – public product gallery enhancement */
.av3-gallery{min-width:0}
.av3-gallery .product-detail-media{position:relative;overflow:hidden;border:1px solid #e1edf5;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;min-height:320px}
.av3-gallery .product-detail-media>img{display:block;max-width:100%;width:100%;height:auto;max-height:530px;object-fit:contain}
.av3-gallery .av3-thumbnails{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.av3-gallery .av3-thumb{display:flex;align-items:center;justify-content:center;width:86px;height:86px;padding:7px;border:2px solid #dbe8f2;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.av3-gallery .av3-thumb img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.av3-gallery .av3-thumb.active,.av3-gallery .av3-thumb[aria-pressed="true"]{border-color:#009fd2;box-shadow:0 0 0 2px rgba(0,159,210,.12)}
.av3-gallery .av3-thumb:focus-visible,.av3-gallery .av32-arrow:focus-visible{outline:3px solid #006fa7;outline-offset:3px}
.av3-gallery .av32-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border:1px solid #d6e5ee;border-radius:50%;background:rgba(255,255,255,.94);color:#16425c;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 3px 12px rgba(20,65,95,.12)}
.av3-gallery .av32-prev{left:12px}.av3-gallery .av32-next{right:12px}
.av3-gallery .av32-counter{position:absolute;bottom:12px;right:12px;padding:5px 10px;border-radius:20px;background:rgba(255,255,255,.94);color:#24465d;font-size:12px;font-weight:600}
@media(max-width:640px){.av3-gallery .product-detail-media{min-height:240px}.av3-gallery .av3-thumb{width:68px;height:68px}.av3-gallery .av32-arrow{width:36px;height:36px;font-size:26px}}


/* ===== product-v3.2.1.css ===== */
/* V3.2.1 – product content flows below the image gallery */
.product-detail-layout{align-items:start!important}
.av321-intro{align-self:start!important;min-height:0!important}
.av321-intro-note{margin:18px 0 0;color:#647d8d;font-size:16px;line-height:1.65}
.av321-details{clear:both;margin:46px auto 0;max-width:1050px;display:grid;gap:30px}
.av321-detail-block{padding:30px 34px;border:1px solid #e1edf5;border-radius:16px;background:#fff;min-width:0}
.av321-detail-block h2{font-size:22px;color:#233d4c;margin:0 0 18px;line-height:1.3}
.av321-detail-text{font-size:16px;line-height:1.9;color:#607b8d;overflow-wrap:anywhere;white-space:normal}
.av321-back{margin:34px 0 45px}
@media(max-width:767px){.av321-details{margin-top:30px;gap:18px}.av321-detail-block{padding:22px 20px}.av321-detail-block h2{font-size:20px}}


/* ===== product-v3.2.2.css ===== */
/* Aktident V3.2.2 — product detail layout only. Loaded after V3.2.1. */
.product-detail-section .wrap{max-width:1150px}
.product-detail-section .product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,60px);align-items:start}
.product-detail-section .av3-gallery,.product-detail-section .av322-intro{min-width:0}
.product-detail-section .av322-intro{padding-top:clamp(8px,2vw,24px);align-self:start}
.product-detail-section .av322-intro h1{font-size:clamp(30px,3.1vw,45px);line-height:1.15;overflow-wrap:anywhere;margin:18px 0 22px}
.product-detail-section .av322-summary{color:#516979;font-size:17px;line-height:1.85;margin:0 0 24px;max-width:55ch;overflow-wrap:anywhere}
.product-detail-section .av322-detail-link{display:inline-flex;align-items:center;gap:10px;color:#008ebc;font-weight:700;font-size:15px;border-bottom:1px solid #b5e4f2;padding-bottom:7px}
.product-detail-section .av322-detail-link:hover{color:#006e98}
.product-detail-section .av322-details{display:block;max-width:100%;margin:clamp(44px,6vw,80px) 0 0;padding:clamp(24px,4vw,48px);background:#f8fbfd;border:1px solid #e3edf4;border-radius:20px;scroll-margin-top:115px}
.product-detail-section .av322-details .av321-detail-block{display:block;max-width:860px;margin:0 auto;padding:0 0 30px;border:0;border-bottom:1px solid #dce8ee;background:transparent;box-shadow:none}
.product-detail-section .av322-details .av321-detail-block + .av321-detail-block{padding-top:32px}
.product-detail-section .av322-details .av321-detail-block:last-child{padding-bottom:0;border-bottom:0}
.product-detail-section .av322-details h2{font-size:clamp(22px,2.3vw,29px);line-height:1.3;color:#263f4d;margin:0 0 19px;font-weight:750}
.product-detail-section .av322-details .av321-detail-text{font-size:16px;line-height:1.9;color:#4d6575;overflow-wrap:anywhere;white-space:normal}
.product-detail-section .av321-back{margin-top:28px}
@media(max-width:800px){
 .product-detail-section .product-detail-layout{grid-template-columns:minmax(0,1fr);gap:28px}
 .product-detail-section .av322-intro{padding-top:0}
 .product-detail-section .av322-intro h1{margin:12px 0 16px}
 .product-detail-section .av322-details{margin-top:36px;padding:25px 20px;scroll-margin-top:105px}
 .product-detail-section .av322-details .av321-detail-block + .av321-detail-block{padding-top:25px}
 .product-detail-section .av322-details .av321-detail-text{font-size:15px;line-height:1.85}
}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}


/* ===== product-v3.2.3.css ===== */
/* Aktident V3.2.3 - Safe product text formatting */
.product-detail-section .av322-details .av321-detail-text p{margin:0 0 10px;line-height:1.85}
.product-detail-section .av322-details .av321-detail-text h3{font-size:21px;font-weight:750;color:#263f4d;margin:27px 0 10px;line-height:1.4}
.product-detail-section .av322-details .av321-detail-text h4{font-size:18px;font-weight:700;color:#304f60;margin:21px 0 8px;line-height:1.4}
.product-detail-section .av322-details .av321-detail-text ul{margin:10px 0 18px;padding-left:25px;list-style:disc}
.product-detail-section .av322-details .av321-detail-text li{margin:5px 0;line-height:1.75}
.product-detail-section .av322-details .av321-detail-text strong{font-weight:750;color:#304f60}
.product-detail-section .av322-details .av321-detail-text .av323-break{height:14px}
@media(max-width:600px){.product-detail-section .av322-details .av321-detail-text h3{font-size:19px}.product-detail-section .av322-details .av321-detail-text h4{font-size:17px}}


/* ===== product-v3.2.4.css ===== */
/* Aktident V3.2.4 – compact, readable product descriptions; visual-only */
.product-detail-section .av322-details .av321-detail-text .av323-break{height:0;display:none}
.product-detail-section .av322-details .av321-detail-text p{margin:0 0 14px;line-height:1.8}
.product-detail-section .av322-details .av321-detail-text p:last-child{margin-bottom:0}
.product-detail-section .av322-details .av321-detail-text h3{font-size:clamp(19px,2vw,22px);font-weight:750;line-height:1.4;margin:27px 0 12px;color:#263f4d}
.product-detail-section .av322-details .av321-detail-text h4{font-size:clamp(17px,1.7vw,19px);font-weight:700;line-height:1.45;margin:23px 0 10px;color:#304f60}
.product-detail-section .av322-details .av321-detail-text h3:first-child,.product-detail-section .av322-details .av321-detail-text h4:first-child{margin-top:0}
.product-detail-section .av322-details .av321-detail-text h3 + p,.product-detail-section .av322-details .av321-detail-text h4 + p{margin-top:0}
.product-detail-section .av322-details .av321-detail-text ul{margin:8px 0 16px;padding-left:24px}
.product-detail-section .av322-details .av321-detail-text li{margin:4px 0;line-height:1.75}
.product-detail-section .av322-details .av321-detail-text strong{font-weight:750}
@media(max-width:600px){.product-detail-section .av322-details .av321-detail-text p{margin-bottom:12px;line-height:1.75}.product-detail-section .av322-details .av321-detail-text h3{margin-top:22px}.product-detail-section .av322-details .av321-detail-text h4{margin-top:19px}}


/* V3.2.5: improved product-description hierarchy; scoped to product detail content. */
.product-detail-section .av322-details .av321-detail-text h3 {
  font-size:clamp(20px,2vw,23px);font-weight:750;line-height:1.4;
  color:#263f4d;margin:28px 0 12px;
}
.product-detail-section .av322-details .av321-detail-text h4 {
  font-size:clamp(18px,1.7vw,20px);font-weight:700;line-height:1.45;
  color:#304f60;margin:23px 0 10px;
}
.product-detail-section .av322-details .av321-detail-text p {line-height:1.8;margin:0 0 14px}
.product-detail-section .av322-details .av321-detail-text h3:first-child,
.product-detail-section .av322-details .av321-detail-text h4:first-child {margin-top:0}
@media(max-width:600px){
 .product-detail-section .av322-details .av321-detail-text h3{font-size:20px;margin-top:23px}
 .product-detail-section .av322-details .av321-detail-text h4{font-size:18px;margin-top:20px}
 .product-detail-section .av322-details .av321-detail-text p{line-height:1.75;margin-bottom:12px}
}


/* V3.2.6 — gallery safety and layout recovery (scoped). */
.product-detail-section .product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,58px);align-items:start}
.product-detail-section .av3-gallery{min-width:0;width:100%;max-width:100%}
.product-detail-section .av3-gallery .product-detail-media{position:relative;box-sizing:border-box;width:100%;min-width:0;min-height:320px;overflow:hidden;border:1px solid #e1edf5;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center}
.product-detail-section .av3-gallery .product-detail-media>img{display:block;width:100%;max-width:100%;height:auto;max-height:530px;object-fit:contain}
.product-detail-section .av3-gallery .av3-thumbnails{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;max-width:100%}
.product-detail-section .av3-gallery .av3-thumb{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 86px;width:86px;height:86px;padding:7px;border:2px solid #dbe8f2;border-radius:12px;background:#fff;cursor:pointer}
.product-detail-section .av3-gallery .av3-thumb img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.product-detail-section .av3-gallery .av3-thumb.active,.product-detail-section .av3-gallery .av3-thumb[aria-pressed="true"]{border-color:#009fd2;box-shadow:0 0 0 2px rgba(0,159,210,.12)}
.product-detail-section .av3-gallery .av32-arrow{box-sizing:border-box;position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid #d6e5ee;border-radius:50%;background:rgba(255,255,255,.96);color:#16425c;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 3px 12px rgba(20,65,95,.12)}
.product-detail-section .av3-gallery .av32-prev{left:12px;right:auto}
.product-detail-section .av3-gallery .av32-next{right:12px;left:auto}
.product-detail-section .av3-gallery .av32-counter{box-sizing:border-box;position:absolute;bottom:12px;right:12px;top:auto;left:auto;display:block;width:auto;min-width:0;white-space:nowrap;padding:5px 10px;border-radius:20px;background:rgba(255,255,255,.96);color:#24465d;font-size:12px;font-weight:600;line-height:1.3}
.product-detail-section .av3-gallery .av3-thumb:focus-visible,.product-detail-section .av3-gallery .av32-arrow:focus-visible{outline:3px solid #006fa7;outline-offset:3px}
@media(max-width:800px){.product-detail-section .product-detail-layout{grid-template-columns:minmax(0,1fr);gap:28px}}
@media(max-width:640px){.product-detail-section .av3-gallery .product-detail-media{min-height:240px}.product-detail-section .av3-gallery .av3-thumb{flex-basis:68px;width:68px;height:68px}.product-detail-section .av3-gallery .av32-arrow{width:36px;height:36px;font-size:26px}}
