/* Product page tabs v3 (v24): light dock, stacked icon + name + caption, coloured sliding highlight.
   The highlight is added by js/product-tabs.js; without it the active tab is still coloured. */
.detail-tabs{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:8px 28px 22px;padding:8px;
  border:1px solid #dbe6ef;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f2f7fb 100%);
  box-shadow:0 18px 40px rgba(14,42,61,.10),0 2px 6px rgba(14,42,61,.05);overflow:visible;white-space:normal;scrollbar-width:none}
.detail-tabs::-webkit-scrollbar{display:none}
.tab-glider{position:absolute;z-index:0;top:8px;left:0;height:calc(100% - 16px);width:0;border-radius:16px;pointer-events:none;
  background:linear-gradient(135deg,var(--g1,#16507a),var(--g2,#0e2a3d));box-shadow:0 12px 26px var(--gs,rgba(14,42,61,.35));
  transition:transform .45s cubic-bezier(.22,1.2,.36,1),width .45s cubic-bezier(.22,1.2,.36,1),background .35s ease,box-shadow .35s ease}
.tab-glider::after{content:'';position:absolute;left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;border-radius:3px;transform:rotate(45deg);background:var(--g2,#0e2a3d)}
.detail-tabs .detail-tab{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;
  padding:12px 6px 11px;border:0;border-radius:16px;background:transparent;color:#0e2a3d;text-align:center;cursor:pointer;
  font:700 14px/1.15 Archivo,Inter,Arial,sans-serif;letter-spacing:.1px;white-space:nowrap;transition:color .25s ease,background-color .2s ease}
.detail-tabs .detail-tab::before{content:'';width:42px;height:42px;border-radius:13px;margin-bottom:2px;
  background:var(--ic) center/20px 20px no-repeat,linear-gradient(135deg,var(--c1),var(--c2));box-shadow:0 8px 16px var(--glow);
  transition:transform .3s cubic-bezier(.3,1.6,.5,1),background .3s ease,box-shadow .3s ease}
.detail-tabs .detail-tab::after{content:var(--sub);font:500 11.5px/1.2 Inter,Arial,sans-serif;color:#6b7a86;letter-spacing:.1px;transition:color .25s ease}
.detail-tabs .detail-tab:hover{background-color:rgba(20,120,184,.06)}
.detail-tabs .detail-tab:hover::before{transform:translateY(-3px) scale(1.06)}
.detail-tabs .detail-tab.active{color:#fff;background-color:transparent}
.detail-tabs .detail-tab.active::before{background:var(--ic) center/20px 20px no-repeat,rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);transform:scale(1.04)}
.detail-tabs .detail-tab.active::after{color:rgba(255,255,255,.88)}
.detail-tabs:not(.has-glider) .detail-tab.active{background:linear-gradient(135deg,var(--g1),var(--g2))}
.detail-tabs .detail-tab:focus-visible{outline:3px solid #ffd000;outline-offset:-3px}
.detail-tab[data-target="panel-overview"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.4 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E");--c1:#fbbf24;--c2:#f97316;--g1:#f59e0b;--g2:#c2410c;--gs:rgba(194,65,12,.35);--glow:rgba(249,115,22,.28);--sub:"Key highlights"}
.detail-tab[data-target="panel-technical"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");--c1:#38bdf8;--c2:#2563eb;--g1:#1d6fe0;--g2:#0b3f9c;--gs:rgba(11,63,156,.35);--glow:rgba(37,99,235,.28);--sub:"Specs & ratings"}
.detail-tab[data-target="panel-3d"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 20 7.4v9.2l-8 4.6-8-4.6V7.4z'/%3E%3Cpath d='M4 7.4l8 4.6 8-4.6M12 12v9.2'/%3E%3C/svg%3E");--c1:#a78bfa;--c2:#7c3aed;--g1:#7c3aed;--g2:#4c1d95;--gs:rgba(76,29,149,.35);--glow:rgba(124,58,237,.28);--sub:"Rotate · CAD file"}
.detail-tab[data-target="panel-downloads"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 11v6M9.5 14.5 12 17l2.5-2.5'/%3E%3C/svg%3E");--c1:#4ade80;--c2:#16a34a;--g1:#16a34a;--g2:#065f46;--gs:rgba(6,95,70,.35);--glow:rgba(22,163,74,.28);--sub:"Catalogs & PDFs"}
.detail-tab[data-target="panel-videos"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M10 9.2v5.6l4.8-2.8z' fill='white'/%3E%3C/svg%3E");--c1:#fb7185;--c2:#e11d48;--g1:#e11d48;--g2:#9f1239;--gs:rgba(159,18,57,.35);--glow:rgba(225,29,72,.28);--sub:"Watch it work"}
.detail-tab[data-target="panel-faq"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 0 1 4.8.9c0 1.7-2.4 2.2-2.4 3.6M12 17h.01'/%3E%3C/svg%3E");--c1:#2dd4bf;--c2:#0d9488;--g1:#0d9488;--g2:#115e59;--gs:rgba(17,94,89,.35);--glow:rgba(13,148,136,.28);--sub:"Quick answers"}
@media (max-width:1100px){.detail-tabs .detail-tab{font-size:13px}.detail-tabs .detail-tab::after{font-size:10.5px}}
@media (max-width:900px){
  .detail-tabs{display:flex;gap:6px;margin:8px 12px 20px;padding:6px;border-radius:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding-bottom:12px}
  .detail-tabs .detail-tab{flex:0 0 auto;min-width:112px;padding:10px 14px;scroll-snap-align:center;font-size:12.5px}
  .detail-tabs .detail-tab::before{width:36px;height:36px;border-radius:11px;background-size:18px 18px,auto}
  .tab-glider{top:6px;height:calc(100% - 18px)}
}
@media (prefers-reduced-motion:reduce){.tab-glider,.detail-tabs .detail-tab,.detail-tabs .detail-tab::before{transition:none}}

/* ---------------------------------------------------------------
   v24: product hero - series chip and call-to-action buttons
   --------------------------------------------------------------- */
.product-copy .product-family{display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;padding:5px 14px 5px 5px;border:1px solid #cfe0ee;border-radius:999px;background:linear-gradient(90deg,#eaf4fc 0%,#f7fbff 100%);color:#16507a;font:700 11.5px/1.2 Inter,Arial,sans-serif;letter-spacing:.9px;text-transform:uppercase;box-shadow:0 4px 12px rgba(20,120,184,.10)}
.product-copy .product-family::before{content:'';flex:none;width:28px;height:28px;border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Cpath d='M17 13.5v7M13.5 17h7'/%3E%3C/svg%3E") center/17px 17px no-repeat,linear-gradient(135deg,#1aa0ff,#16507a);box-shadow:0 3px 8px rgba(20,120,184,.35)}
.product-copy .product-family::after{content:'';flex:none;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}

.product-copy .cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.product-copy .cta .btn{position:relative;display:inline-flex;align-items:center;gap:10px;padding:8px 18px 8px 8px;border-radius:12px;border:1px solid transparent;font:700 14px/1.2 Inter,Arial,sans-serif;letter-spacing:.1px;cursor:pointer;text-decoration:none;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-copy .cta .btn::before{content:'';flex:none;width:32px;height:32px;border-radius:9px;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.product-copy .cta .btn:hover{transform:translateY(-2px)}
.product-copy .cta .btn:hover::before{transform:scale(1.1) rotate(-6deg)}
.product-copy .cta .btn:focus-visible{outline:3px solid #ffd000;outline-offset:2px}

/* Get best price: the main action */
.product-copy .cta .btn.lc-price-btn{order:-2;background:linear-gradient(135deg,#ffc22b 0%,#ff8a00 100%)!important;color:#3b1d00!important;border-color:#ffb000!important;box-shadow:0 10px 22px rgba(255,138,0,.35)}
.product-copy .cta .btn.lc-price-btn::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b1d00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.3'/%3E%3C/svg%3E") center/17px 17px no-repeat,rgba(255,255,255,.4)}
.product-copy .cta .btn.lc-price-btn::after{content:'';position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);animation:ctaShine 3.8s ease-in-out infinite;pointer-events:none}
@keyframes ctaShine{0%,65%{left:-60%}100%{left:130%}}
.product-copy .cta .btn.lc-price-btn:hover{background:linear-gradient(135deg,#ffcf4d 0%,#ff9a1f 100%)!important;border-color:#ff9a1f!important;box-shadow:0 14px 28px rgba(255,138,0,.45)}

/* Request a quotation */
.product-copy .cta .btn#inquiry-product{order:-1;background:linear-gradient(135deg,#0e2a3d 0%,#16507a 60%,#1478b8 100%);color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(14,42,61,.28)}
.product-copy .cta .btn#inquiry-product::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center/17px 17px no-repeat,rgba(255,255,255,.14)}
.product-copy .cta .btn#inquiry-product:hover{box-shadow:0 14px 28px rgba(20,120,184,.38)}

/* Download catalog / specification */
.product-copy .cta .btn#download-spec{background:#fff;color:#0e2a3d;border-color:#cfe0ee;box-shadow:0 6px 16px rgba(14,42,61,.08)}
.product-copy .cta .btn#download-spec::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center/17px 17px no-repeat,linear-gradient(135deg,#22c55e,#0f8a4b);box-shadow:0 3px 8px rgba(34,197,94,.35)}
.product-copy .cta .btn#download-spec:hover{border-color:#22c55e;box-shadow:0 10px 22px rgba(34,197,94,.18)}

/* Back to the category */
.product-copy .cta a.btn[data-cms]{background:transparent;color:#31506b;border-color:transparent;box-shadow:none;padding:8px 14px 8px 6px;font-weight:600}
.product-copy .cta a.btn[data-cms]::before{width:30px;height:30px;border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316507a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/16px 16px no-repeat,#eef4f9}
.product-copy .cta a.btn[data-cms]:hover{color:#1478b8;transform:none}
.product-copy .cta a.btn[data-cms]:hover::before{transform:translateX(-3px)}

@media (max-width:600px){
  .product-copy .cta .btn{flex:1 1 calc(50% - 10px);font-size:13px;padding-right:12px}
  .product-copy .cta a.btn[data-cms]{flex-basis:100%;justify-content:center}
  .product-copy .product-family{font-size:10.5px;letter-spacing:.6px}
}
@media (prefers-reduced-motion:reduce){.product-copy .cta .btn,.product-copy .cta .btn::before{transition:none}.product-copy .cta .btn.lc-price-btn::after{animation:none}.product-copy .cta .btn:hover{transform:none}}

/* ---------------------------------------------------------------
   v24: Document Downloads - stroke drop-down + always-open drawing card
   --------------------------------------------------------------- */
#panel-downloads .doc-select{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 20px;padding:14px 16px;border:1px solid #d5e0e9;border-radius:16px;
  background:linear-gradient(135deg,#f7fbff,#eaf3fa);box-shadow:0 8px 22px rgba(14,42,61,.07)}
#panel-downloads .doc-select .doc-picker-label{margin:0;font:700 12px/1.2 Inter,Arial,sans-serif;letter-spacing:.9px;text-transform:uppercase;color:#16507a}
.dsel{position:relative;flex:1 1 340px;max-width:520px}
.dsel-btn{width:100%;display:flex;align-items:center;gap:12px;padding:8px 14px 8px 8px;border:1px solid #cfe0ee;border-radius:12px;background:#fff;cursor:pointer;text-align:left;
  box-shadow:0 4px 12px rgba(14,42,61,.06);transition:border-color .18s ease,box-shadow .18s ease}
.dsel-btn:hover,.doc-select.open .dsel-btn{border-color:#1478b8;box-shadow:0 0 0 4px rgba(20,120,184,.12)}
.dsel-btn:focus-visible{outline:3px solid #ffd000;outline-offset:2px}
.dsel-ic{flex:none;width:40px;height:40px;border-radius:10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15.5 15.5 3 21 8.5 8.5 21z'/%3E%3Cpath d='M7 12l2 2M10 9l2 2M13 6l2 2'/%3E%3C/svg%3E") center/20px 20px no-repeat,linear-gradient(135deg,#1aa0ff,#16507a);box-shadow:0 4px 10px rgba(20,120,184,.3)}
.dsel-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.dsel-txt small{font:500 11.5px/1.2 Inter,Arial,sans-serif;color:#5b6b78}
.dsel-txt b{font:700 19px/1.15 Archivo,Inter,Arial,sans-serif;color:#0e2a3d;font-variant-numeric:tabular-nums}
.dsel-meta{margin-left:auto;padding:4px 10px;border-radius:999px;background:#eaf3fa;color:#16507a;font:600 11.5px/1.2 Inter,Arial,sans-serif;white-space:nowrap}
.dsel-chev{flex:none;width:28px;height:28px;border-radius:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316507a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px 16px no-repeat,#f1f6fa;transition:transform .2s ease}
.doc-select.open .dsel-chev{transform:rotate(180deg)}
.dsel-panel{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 8px);min-width:300px;padding:12px;border:1px solid #d5e0e9;border-radius:14px;background:#fff;
  box-shadow:0 22px 50px rgba(14,42,61,.22);animation:dselIn .18s ease-out}
.dsel-panel[hidden]{display:none}
@keyframes dselIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.dsel-head{display:flex;justify-content:space-between;margin:0 2px 10px;font:700 11.5px/1.2 Inter,Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase;color:#5b6b78}
.dsel-head span{color:#1478b8}
.dsel-list{list-style:none;margin:0;padding:2px;display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:6px;max-height:360px;overflow-y:auto;outline:none}
.dsel-list .doc-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:9px 4px;border:1px solid #e1e9f0;border-radius:10px;background:#f8fbfd;
  color:#0e2a3d;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.dsel-list .doc-chip b{font:700 16px/1 Archivo,Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
.dsel-list .doc-chip small{font:500 10.5px/1 Inter,Arial,sans-serif;color:#5b6b78}
.dsel-list .doc-chip:hover,.dsel-list .doc-chip:focus{border-color:#1478b8;background:#eaf3fa;transform:translateY(-1px);outline:none}
.dsel-list .doc-chip:focus-visible{box-shadow:0 0 0 3px rgba(20,120,184,.35)}
.dsel-list .doc-chip.active{background:linear-gradient(135deg,#0e2a3d,#1478b8);border-color:transparent;color:#fff}
.dsel-list .doc-chip.active small{color:#ffd000}

/* the drawing card takes the place of the four info cards */
#panel-downloads .feature-grid.docs-only{display:block;min-height:0!important}
#panel-downloads .feature-grid.docs-only > .feature-card{display:none}
#panel-downloads .feature-grid.docs-only .doc-popup{position:relative;border-radius:16px;border-color:#d5e0e9;box-shadow:0 14px 34px rgba(14,42,61,.12)}
#panel-downloads .feature-grid.docs-only .doc-popup-close{display:none}
@media (max-width:600px){.dsel{flex-basis:100%}.dsel-meta{display:none}.dsel-list{grid-template-columns:repeat(4,1fr)}}

/* ---------------------------------------------------------------
   v24: Technical Specifications - table + reference/3D card side by side
   --------------------------------------------------------------- */
#panel-technical .tech-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:24px;align-items:stretch}
#panel-technical .tech-table{margin:0;height:max-content}
#panel-technical .dimension-box{display:flex;flex-direction:column;margin:0;padding:0;overflow:hidden;text-align:left;border:1px solid #d5e0e9;border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(14,42,61,.06)}
#panel-technical .dimension-box > h3{display:flex;align-items:center;gap:8px;margin:0;padding:13px 18px;background:#0e2a3d;color:#fff;font:600 13px/1.2 Inter,Arial,sans-serif;text-align:left}
#panel-technical .dimension-box:has(.cad-viewer) > h3::after{content:'3D';margin-left:auto;padding:3px 8px;border-radius:999px;background:#ffd000;color:#0e2a3d;font:800 10px/1 Inter,Arial,sans-serif;letter-spacing:.6px}
#panel-technical .dimension-box > img{display:block;width:100%;height:auto;flex:1;object-fit:contain;padding:16px}
#panel-technical .dimension-box > p{margin:0!important;padding:10px 16px 14px;font-size:11px!important;color:#6b7a86!important;text-align:center;border-top:1px solid #e4ecf2}
#panel-technical .dimension-box > .cad-viewer{flex:1;display:flex;flex-direction:column;padding:12px 12px 10px}
@media (max-width:900px){#panel-technical .tech-layout{grid-template-columns:1fr}}
