/*
 * ATV Centrum — detail.css — Produktový detail
 * Závisí na: base.css, components.css
 */


/* ============================================
   PRODUCT HERO — v1 style dvousloupcový
   ============================================ */
.product-hero{background:var(--gray-50);padding:40px 0 120px;position:relative;overflow:hidden}
.product-hero-watermark{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%) scale(1.5);font-family:var(--font-primary);font-size:clamp(100px,14vw,220px);font-weight:800;color:var(--navy);opacity:0;letter-spacing:.05em;white-space:nowrap;line-height:1;text-transform:uppercase;pointer-events:none;user-select:none;z-index:0;will-change:transform,opacity;filter:blur(20px);animation:watermarkReveal 1.2s cubic-bezier(.25,.46,.45,.94) .3s forwards}
@keyframes watermarkReveal{0%{opacity:0;transform:translate(-50%,-50%) scale(1.5);filter:blur(20px)}60%{filter:blur(4px)}100%{opacity:.04;transform:translate(-50%,-50%) scale(1);filter:blur(0)}}
.product-hero .container{position:relative;z-index:1}
.product-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
/* Levá strana — obrázek + color switcher */
.product-hero-gallery{position:relative}
.product-hero-main-image{aspect-ratio:4/3;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.product-hero-main-image img:not(.product-hero-brand-logo){width:100%;height:100%;object-fit:contain;transition:opacity .4s ease,transform .4s ease;animation:heroImgReveal .9s cubic-bezier(.25,.46,.45,.94) .15s both}
@keyframes heroImgReveal{0%{opacity:0;transform:translateY(40px) scale(.96)}100%{opacity:1;transform:translateY(0) scale(1)}}
.product-hero-main-image img.crossfade-clone{animation:none !important}
.product-hero-brand-logo{position:absolute;top:16px;left:16px;width:auto;height:36px;object-fit:contain;opacity:.04;z-index:2;pointer-events:none;filter:brightness(0)}
.product-hero-main-image .placeholder-img{color:var(--gray-200);font-size:14px;display:flex;flex-direction:column;align-items:center;gap:12px}

.product-hero-thumbs{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.product-hero-thumb{width:clamp(72px,20%,216px);aspect-ratio:4/3;height:auto;border-radius:10px;border:2px solid var(--gray-100);background:var(--white);cursor:pointer;overflow:hidden;transition:all var(--transition-base);display:flex;align-items:center;justify-content:center}
.product-hero-thumb:hover,.product-hero-thumb.active{border-color:var(--teal);box-shadow:0 2px 12px rgba(30,154,171,.15)}
.product-hero-thumb img{width:100%;height:100%;object-fit:cover}
.product-hero-thumb .thumb-placeholder{font-size:9px;color:var(--gray-300);text-align:center}

/* Color switcher pod obrázkem */
.color-switcher-inline{display:flex;gap:14px;margin-top:16px;justify-content:center}
.color-option{display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;padding:8px 14px;border-radius:10px;border:2px solid transparent;transition:all var(--transition-base);background:none;font-family:var(--font-primary)}
.color-option:hover{border-color:var(--gray-200)}.color-option.active{border-color:var(--teal);background:var(--teal-light)}
.color-swatch{width:40px;height:40px;border-radius:50%;border:3px solid var(--white);box-shadow:0 2px 8px rgba(0,0,0,.12);transition:transform var(--transition-base)}
.color-option:hover .color-swatch,.color-option.active .color-swatch{transform:scale(1.1)}
.color-name{font-size:11px;font-weight:600;color:var(--navy);text-transform:uppercase;letter-spacing:.5px}

/* Pravá strana — info */
.product-hero-info{display:flex;flex-direction:column;gap:20px}
.product-hero-brand{font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--teal)}
.product-hero-brand--goes{color:#ff671f}
.product-hero-title{font-family:var(--font-primary);font-size:clamp(44px,5vw,68px);font-weight:700;text-transform:uppercase;line-height:1.0;letter-spacing:.5px;color:var(--navy)}
.product-hero-claim{font-size:18px;color:var(--gray-500);line-height:1.6;max-width:460px}
.product-hero-tags{display:flex;gap:10px;flex-wrap:wrap}

.product-hero-price-block{display:flex;flex-direction:column;gap:4px;padding:24px 0;border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200)}
.product-hero-price-label{font-size:13px;color:var(--gray-400);text-transform:uppercase;letter-spacing:1px;font-weight:600}
.product-hero-price{font-family:var(--font-primary);font-size:52px;font-weight:900;color:var(--navy);line-height:1.1}
.product-hero-price small{font-size:26px;font-weight:700}
.product-hero-price.sale{color:var(--teal);font-weight:800}
.product-hero-price.sale-red{color:var(--red);font-weight:900}
.product-hero-price-old-line{display:flex;align-items:center;gap:12px}
.product-hero-price-old-inline{font-size:18px;color:var(--gray-400);font-weight:500;text-decoration:line-through}
.product-hero-price-save{font-size:12px;font-weight:700;color:var(--red);background:rgba(229,62,62,.1);padding:3px 10px;border-radius:20px;letter-spacing:.3px}
.product-hero-price-old{font-size:18px;color:var(--gray-400);font-weight:500;margin-bottom:2px;display:flex;align-items:center;gap:8px}
.product-hero-price-old s{text-decoration:none;position:relative}
.product-hero-price-old s::after{content:'';position:absolute;left:0;right:0;top:50%;height:2px;background:var(--gray-400)}
.product-hero-price-note{font-size:13px;color:var(--gray-400);margin-top:2px}
.product-hero-price-note a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.product-hero-price-note a:hover{color:var(--teal-dark)}
.product-hero-pricelist-link{display:inline-block;margin-top:8px;font-size:13px;font-weight:600;color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.product-hero-pricelist-link:hover{color:var(--teal-dark)}

/* ============================================
   SPECS STRIP — tmavý blok pod hero
   ============================================ */
.specs-strip{padding:0;position:relative;z-index:2;margin-top:-60px}
.specs-strip .container{background:var(--navy);border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.18);overflow:hidden}
.specs-strip-inner{display:grid;grid-template-columns:3fr 1fr;min-height:0}
.specs-strip-inner.specs-strip-single{grid-template-columns:1fr}
.specs-strip-text{padding:40px 48px;text-align:left;display:flex;flex-direction:column;justify-content:center}
.specs-strip-title{font-family:var(--font-primary);font-size:clamp(24px,3vw,32px);font-weight:700;color:var(--white);text-transform:uppercase;letter-spacing:.5px;margin-bottom:16px}
.specs-strip-desc{font-size:16px;line-height:1.7;color:rgba(255,255,255,.65)}

/* Mini kalkulačka v specs-strip */
.specs-strip-calc{display:flex;align-items:center;justify-content:center;padding:32px 36px;background:rgba(255,255,255,.05);border-left:1px solid rgba(255,255,255,.1)}
.mini-calc-compact{text-align:center}
.mini-calc-label{display:block;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.45)}
.mini-calc-value{display:block;font-family:var(--font-primary);font-size:clamp(32px,4vw,42px);font-weight:800;color:var(--white);line-height:1.2;margin:8px 0 6px}
.mini-calc-value small{font-size:.4em;color:var(--teal);font-weight:600}
.mini-calc-note{display:block;font-size:11px;color:rgba(255,255,255,.35);margin-bottom:16px}
.mini-calc-btn{display:inline-block;padding:10px 24px;background:var(--teal);color:var(--white);font-size:13px;font-weight:700;border-radius:8px;text-decoration:none;transition:background .2s}
.mini-calc-btn:hover{background:var(--teal-dark);color:var(--white)}

/* ============================================
   AKČNÍ NABÍDKA
   ============================================ */
.promo-section{padding:0 0 20px;margin-top:24px;position:relative;z-index:2}
.promo-strip{position:relative;z-index:1;margin-top:-60px;padding:0;margin-bottom:0}
.promo-strip .container{display:flex;justify-content:flex-end}
.promo-strip + .specs-strip{margin-top:0}
.promo-box{background:linear-gradient(135deg,#e8f7f9 0%,#f0fafb 100%);border:1px solid rgba(30,154,171,.15);border-radius:16px 16px 0 0;padding:24px 28px;display:flex;align-items:center;gap:24px;position:relative;overflow:hidden;width:50%;box-shadow:0 -4px 16px rgba(0,0,0,.08)}
@media(max-width:768px){.promo-box{width:100%}}
.promo-box::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent,transparent 10px,rgba(30,154,171,.03) 10px,rgba(30,154,171,.03) 20px);pointer-events:none}
.promo-badge{position:absolute;top:-1px;right:16px;background:var(--red);color:var(--white);padding:6px 14px;border-radius:0 0 8px 8px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;font-family:var(--font-primary);display:inline-flex;align-items:center;gap:5px;box-shadow:0 4px 12px rgba(229,62,62,.3);z-index:1}
.promo-badge svg{stroke-width:2.5}
.promo-content{flex:1}
.promo-title{font-family:var(--font-primary);font-size:24px;font-weight:700;color:var(--navy);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.promo-text{font-size:16px;color:rgba(15,30,46,.7);line-height:1.6}
.promo-box--with-image{padding:0;flex-direction:row}
.promo-box--with-image .promo-image{flex:0 0 260px;align-self:stretch}
.promo-box--with-image .promo-image img{width:100%;height:100%;object-fit:cover;display:block}
.promo-box--with-image .promo-content{padding:40px 48px;flex:1}
@media(max-width:768px){.promo-box--with-image{flex-direction:column}.promo-box--with-image .promo-image{flex:none;width:100%;max-height:220px}.promo-box--with-image .promo-content{padding:28px 24px}}

/* ============================================
   KLÍČOVÉ VLASTNOSTI — v containeru, střídavý layout
   ============================================ */
.features-section{background:var(--white);padding:40px 0 0}

.feature-block{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:420px;background:var(--white)}
.feature-block:nth-child(even){background:var(--gray-50)}
.feature-block:nth-child(even) .feature-block-image{order:-1}

.feature-block-content{display:flex;flex-direction:column;justify-content:center;padding:48px 56px}
.feature-block-title{font-family:var(--font-primary);font-size:clamp(24px,2.5vw,36px);font-weight:700;text-transform:uppercase;line-height:1.08;letter-spacing:.3px;color:var(--navy);margin-bottom:18px}
.feature-block-text{font-size:15px;color:var(--gray-500);line-height:1.7}
.feature-block-text p{margin-bottom:12px}.feature-block-text p:last-child{margin-bottom:0}
.feature-block-text strong{color:var(--navy);font-weight:600}

.feature-block-image{background:var(--gray-100);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;border-radius:0}
.feature-block-image img{width:100%;height:100%;object-fit:cover}
.feature-block-image .feature-img-placeholder{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--gray-300);font-size:13px;padding:40px}

/* Plná šířka (kratší obsah) */
.feature-block-full{text-align:center;padding:64px 40px;background:var(--gray-50)}
.feature-block-full:nth-child(odd){background:var(--white)}
.feature-block-full .feature-block-title{max-width:700px;margin:0 auto 16px}
.feature-block-full .feature-block-text{max-width:640px;margin:0 auto}

/* ============================================
   BAREVNÁ PROVEDENÍ — samostatná sekce před parametry
   ============================================ */
.color-section{background:var(--white);padding:60px 0 80px;text-align:center}
.color-section-inner{max-width:820px;margin:0 auto}
.color-section-image{position:relative;min-height:280px;display:flex;align-items:center;justify-content:center;margin-bottom:32px}
.color-section-image img{max-width:700px;width:100%;height:auto;filter:drop-shadow(0 20px 50px rgba(0,0,0,.12));transition:opacity .35s ease,transform .35s ease}
.color-section-image .placeholder-color-img{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--gray-300);font-size:14px;padding:40px 0}

/* ============================================
   INTERAKTIVNÍ INFOGRAFIKA — Technické parametry
   ============================================ */
.ig-section{background:var(--teal);width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;padding:80px 0 60px;overflow:hidden}
.ig-section::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-45deg,transparent,transparent 50px,rgba(255,255,255,0.04) 50px,rgba(255,255,255,0.04) 100px);pointer-events:none}
.ig-section::after{content:'';position:absolute;top:-150px;right:-150px;width:550px;height:550px;background:radial-gradient(circle,rgba(255,255,255,0.08) 0%,transparent 65%);pointer-events:none}

.ig-header{text-align:center;margin-bottom:60px;padding:0 40px;position:relative;z-index:2}
.ig-label{display:inline-block;font-size:12px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:rgba(255,255,255,0.65);margin-bottom:12px}
.ig-title{font-size:clamp(24px,3vw,42px);font-weight:700;text-transform:uppercase;letter-spacing:0.5px;line-height:1.05;color:var(--navy);margin-bottom:8px}
.ig-subtitle{font-size:15px;color:var(--navy-muted)}

.ig-stage{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:relative;width:100%;gap:0;padding:20px 0}
.ig-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}

.ig-vehicle{width:clamp(320px,36vw,580px);display:flex;flex-direction:column;align-items:center;position:relative;z-index:5;grid-column:2}
.ig-vehicle-img{width:100%;height:auto;display:block;filter:none!important;-webkit-filter:none!important;box-shadow:none!important;position:relative;z-index:2}

.ig-terrain{width:85%;margin-top:-16px;position:relative;z-index:1}
.terrain-base{height:52px;border-radius:50%;position:relative;overflow:visible}
.terrain-mud .terrain-base{background:none;box-shadow:none}
.terrain-mud .terrain-base::before{display:none}
.mud-drop{display:none}

.ig-col-left{grid-column:1;display:flex;flex-direction:column;justify-content:space-around;align-items:flex-end;gap:16px;padding:20px 20px 20px 0;min-height:480px}
.ig-col-right{grid-column:3;display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;gap:16px;padding:20px 0 20px 20px;min-height:480px}

.callout{position:relative;width:280px;z-index:10;cursor:default;border-radius:14px;padding:14px 18px;transition:transform 0.3s var(--ease-out),background 0.35s,opacity 0.4s,border 0.35s}
.ig-col-left .callout:nth-child(2){align-self:flex-start;margin-right:0;margin-left:40px}
.ig-col-right .callout:nth-child(2){align-self:flex-end;margin-left:0;margin-right:40px}
.callout:hover{transform:translateY(-4px)}
.callout.side-left{text-align:right}
.callout.side-left .callout-icon{margin-left:auto}
.callout.side-right{text-align:left}
.callout.side-right .callout-icon{margin-right:auto}

.callout-icon{width:44px;height:44px;border-radius:10px;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.25);display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px;transition:background 0.3s,border-color 0.3s,box-shadow 0.3s}
.callout{overflow:hidden;word-break:break-word}
.callout-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.callout-icon svg{width:21px;height:21px;stroke:rgba(255,255,255,0.85);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke 0.3s}
.callout-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2.5px;color:rgba(255,255,255,0.75);margin-bottom:8px;transition:color 0.25s,letter-spacing 0.25s}
.callout-params{list-style:none}
.callout-params li{font-size:13px;color:rgba(255,255,255,0.55);line-height:1.5;transition:color 0.25s,font-size 0.25s var(--ease-out),font-weight 0.25s}
.callout-params li strong{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:rgba(255,255,255,0.4);margin-top:7px;margin-bottom:1px;transition:color 0.25s,font-size 0.25s}
.callout-params li strong::after{content:':'}

.callout:hover .callout-icon,.callout.is-active .callout-icon{background:rgba(255,255,255,0.22);border-color:rgba(255,255,255,0.6);box-shadow:0 0 20px rgba(255,255,255,0.2)}
.callout:hover .callout-icon svg,.callout.is-active .callout-icon svg{stroke:#fff}
.callout:hover .callout-title,.callout.is-active .callout-title{color:#fff;letter-spacing:3px}
.callout:hover .callout-params li,.callout.is-active .callout-params li{color:rgba(255,255,255,0.95);font-weight:600}
.callout:hover .callout-params li strong,.callout.is-active .callout-params li strong{color:rgba(255,255,255,0.7)}
.callout-params.compact li{line-height:1.35;margin-bottom:1px}
.callout-params.compact li strong{display:inline;font-size:inherit;text-transform:none;letter-spacing:0;margin:0}
.callout-params.compact li strong::after{content:':\00a0'}
.callout-expand{cursor:pointer;font-size:11px;font-weight:700;color:rgba(255,255,255,.5);margin-top:6px;letter-spacing:.5px;transition:color .2s}
.callout-expand:hover{color:#fff}
.callout.is-active{border:1px solid rgba(255,255,255,0.3);background:var(--teal);transform:scale(1.05);transform-origin:center center;z-index:20}
.ig-stage.has-active .callout:not(.is-active):not(:hover){opacity:0.4}
.ig-stage.has-active .callout.is-active{opacity:1}

@keyframes whitePulse{0%{stroke:rgba(255,255,255,1);stroke-width:2;opacity:1}50%{stroke:rgba(255,255,255,0.5);stroke-width:3;opacity:0.5}100%{stroke:rgba(255,255,255,1);stroke-width:2;opacity:1}}
.connect-line.is-active{stroke:rgba(255,255,255,1);stroke-width:2.5;stroke-dasharray:none;animation:whitePulse 1.2s ease-in-out infinite;filter:drop-shadow(0 0 6px rgba(255,255,255,0.6))}
.connect-line{stroke:rgba(255,255,255,0.25);stroke-width:1.5;fill:none;stroke-dasharray:6 5;animation:dashScroll 2s linear infinite;transition:stroke 0.3s,stroke-width 0.3s}
@keyframes dashScroll{to{stroke-dashoffset:-22}}
.dot-v{fill:rgba(255,255,255,0.7);stroke:var(--teal);stroke-width:2;transition:fill 0.3s,r 0.3s}
.dot-v.is-active{fill:#fff;filter:drop-shadow(0 0 6px rgba(255,255,255,0.8))}
.dot-c{fill:rgba(255,255,255,0.7);stroke:var(--teal);stroke-width:2;transition:fill 0.3s}
.dot-c.is-active{fill:#fff}

.ig-footer{display:flex;justify-content:space-around;align-items:center;gap:0;margin-top:80px;padding:28px 60px;border-top:1px solid rgba(15,30,46,0.15);position:relative;z-index:2;flex-wrap:wrap;max-width:var(--container-max);margin-left:auto;margin-right:auto;padding-left:var(--container-padding);padding-right:var(--container-padding)}
.ig-stat{display:flex;flex-direction:column;align-items:center;gap:5px;padding:0 40px;border-right:1px solid rgba(15,30,46,0.15);transition:transform 0.25s var(--ease-out)}
.ig-stat:last-child{border-right:none}
.ig-stat:hover{transform:translateY(-3px)}
.ig-stat-label{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--navy-muted)}
.ig-stat-value{font-size:42px;font-weight:800;color:var(--white);line-height:1;letter-spacing:-1px}
.ig-stat-unit{font-size:16px;font-weight:600;color:var(--navy);margin-top:4px}

@media(max-width:1000px){
  .ig-dots{display:none!important}
  .ig-stage{display:none}
  .ig-mobile{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 20px}
  .ig-mobile-vehicle{grid-column:1/-1;display:flex;justify-content:center;margin-bottom:10px}
  .ig-mobile-vehicle img{width:260px;filter:none!important}
  .ig-mobile-card{background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.25);border-radius:12px;padding:16px}
  .ig-mobile-card .callout-title{color:rgba(255,255,255,.9)!important;font-size:12px;margin-bottom:6px}
  .ig-mobile-card .callout-params li{color:rgba(255,255,255,.8)!important}
  .ig-mobile-card .callout-params li strong{color:rgba(255,255,255,.55)!important}
  .ig-footer{padding:20px;gap:12px}
  .ig-stat{padding:12px 20px;border-right:none;border-bottom:1px solid rgba(255,255,255,0.15);width:100%;align-items:flex-start}
  .ig-stat-value{font-size:22px}
}
@media(max-width:560px){.ig-mobile{grid-template-columns:1fr}}
@media(min-width:1001px){.ig-mobile{display:none}}

.ig-dots{display:flex;justify-content:center;gap:10px;margin-top:40px;position:relative;z-index:2}
.ig-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,0.28);cursor:pointer;transition:background 0.35s,transform 0.35s,box-shadow 0.35s}
.ig-dot.is-active{background:#fff;transform:scale(1.6);box-shadow:0 0 8px rgba(255,255,255,0.7)}

/* ============================================
   FOTOGALERIE
   ============================================ */
.gallery-section{background:var(--white);padding:80px 0 100px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery-item{aspect-ratio:4/3;background:var(--gray-50);border-radius:12px;overflow:hidden;cursor:pointer;position:relative;border:1px solid var(--gray-100);transition:all var(--transition-base);display:flex;align-items:center;justify-content:center}
.gallery-item:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:var(--teal)}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.gallery-item::after{content:'';position:absolute;inset:0;background:rgba(15,30,46,0);transition:background .3s ease}
.gallery-item:hover::after{background:rgba(15,30,46,.15)}
.gallery-item .zoom-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:44px;height:44px;background:rgba(255,255,255,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:2;color:var(--navy);transition:transform .3s var(--ease-out)}
.gallery-item:hover .zoom-icon{transform:translate(-50%,-50%) scale(1)}
.gallery-placeholder{color:var(--gray-300);font-size:11px;display:flex;flex-direction:column;align-items:center;gap:6px}

/* Lightbox */
.lightbox{display:none;position:fixed;inset:0;background:rgba(15,30,46,.95);z-index:9999;align-items:center;justify-content:center;padding:40px}
.lightbox.active{display:flex}
.lightbox-close{position:absolute;top:20px;right:24px;background:none;border:none;color:var(--white);cursor:pointer;font-size:32px;line-height:1;transition:transform var(--transition-base)}
.lightbox-close:hover{transform:scale(1.2)}
.lightbox-img-wrap{position:relative;display:inline-block;max-width:90%;max-height:85vh}
.lightbox-img-wrap .lightbox-img{max-width:100%;max-height:85vh;border-radius:12px;box-shadow:0 20px 80px rgba(0,0,0,.4)}
.lightbox-watermark{position:absolute;bottom:clamp(8px,2vw,16px);right:clamp(8px,2vw,16px);height:clamp(32px,6vw,72px);width:auto;opacity:.9;pointer-events:none;user-select:none;filter:brightness(0) invert(1);z-index:1}
.lightbox-img{max-width:90%;max-height:85vh;border-radius:12px;box-shadow:0 20px 80px rgba(0,0,0,.4)}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.1);border:none;color:var(--white);cursor:pointer;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background var(--transition-base)}
.lightbox-nav:hover{background:rgba(255,255,255,.2)}.lightbox-prev{left:20px}.lightbox-next{right:20px}

/* ============================================
   VIDEOGALERIE
   ============================================ */
.video-section{background:var(--gray-50);padding:80px 0 100px}
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.video-grid--single{grid-template-columns:1fr;max-width:900px;margin:0 auto}
.video-item{aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--navy);position:relative}
.video-item iframe{width:100%;height:100%;border:none}
.video-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--gray-400);font-size:13px}
.video-play-btn{width:64px;height:64px;background:var(--teal);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--white);box-shadow:0 4px 20px rgba(30,154,171,.3)}

/* ============================================
   CENÍK KE STAŽENÍ
   ============================================ */
/* download-strip přesunut do components.css */

/* ============================================
   DOPORUČENÉ PŘÍSLUŠENSTVÍ
   ============================================ */
.accessories-section{background:var(--white);padding:80px 0 100px}
.accessories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.acc-carousel-wrap{display:flex;align-items:center;gap:12px;position:relative}
.acc-carousel{overflow:hidden;flex:1;padding:8px 0}
.acc-carousel-track{display:flex;gap:20px;transition:transform .4s ease}
.acc-carousel-track .acc-card{width:calc(25% - 15px);min-width:calc(25% - 15px);max-width:calc(25% - 15px);flex-shrink:0}
.acc-carousel-arrow{width:40px;height:40px;border-radius:50%;border:1px solid var(--gray-200);background:var(--white);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s;color:var(--navy)}
.acc-carousel-arrow:hover{border-color:var(--teal);color:var(--teal);box-shadow:0 2px 8px rgba(30,154,171,.15)}
.accessory-card{background:var(--white);border-radius:16px;border:1px solid var(--gray-100);overflow:hidden;transition:all var(--transition-base)}
.accessory-card:hover{border-color:var(--teal);box-shadow:0 8px 32px rgba(30,154,171,.1)}
.accessory-card-image{aspect-ratio:4/3;background:var(--gray-50);display:flex;align-items:center;justify-content:center;overflow:hidden}
.accessory-card-image img{width:100%;height:100%;object-fit:cover}
.accessory-card-body{padding:20px}
.accessory-card-name{font-weight:700;font-size:15px;text-transform:uppercase;color:var(--navy);margin-bottom:6px}
.accessory-card-price{font-weight:700;font-size:20px;color:var(--navy)}
.accessory-card-price small{font-size:13px;font-weight:600}

/* ============================================
   ACCESSORY DETAIL
   ============================================ */
.product-detail { padding: 48px 0 80px; background: var(--gray-50); }
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}

/* Gallery */
.gallery {}
.gallery-main {
  position: relative; aspect-ratio: 4/3;
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--gray-100);
  overflow: hidden; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--gray-200);
}
.gallery-placeholder svg { width: 64px; height: 64px; }
.gallery-zoom-hint {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--white);
  background: rgba(15,30,46,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 8px;
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-main:hover .gallery-zoom-hint { opacity: 1; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all var(--transition-base); z-index: 2;
}
.gallery-nav:hover { background: var(--teal); color: var(--white); }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }
.gallery-thumbs {
  display: flex; gap: 10px; margin-top: 12px;
}
.gallery-thumb {
  width: 216px; height: 162px; border-radius: 10px;
  border: 2px solid var(--gray-100); background: var(--white);
  overflow: hidden; cursor: pointer;
  transition: all var(--transition-base);
}
.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(30,154,171,0.15);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info panel */
.product-info { display: flex; flex-direction: column; gap: 0; }
.product-info-brand {
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.product-info-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  color: var(--navy); line-height: 1.15;
  margin-bottom: 20px;
}
.product-info-price {
  font-family: var(--font-primary);
  font-size: 36px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.product-info-price-note {
  font-size: 13px; color: var(--gray-400);
  margin-top: 4px; margin-bottom: 4px;
}
.product-info-price-old {
  text-decoration: line-through; color: var(--gray-300);
  margin-left: 12px; font-size: 14px;
}
.product-info-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-top: 12px; width: fit-content;
}
.product-info-stock--available {
  background: #ecfdf5; color: #059669;
}
.product-info-stock--order {
  background: #fffbeb; color: #d97706;
}
.product-info-divider {
  border: none; border-top: 1px solid var(--gray-100);
  margin: 20px 0;
}
.product-info-description {
  font-size: 15px; line-height: 1.7;
  color: var(--gray-500); margin-bottom: 20px;
}

/* Product features */
.product-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 24px;
}
.product-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.product-feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--teal-light, #e6f7f9);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-feature-icon svg {
  width: 16px; height: 16px; color: var(--teal);
}

/* Product specs table */
.product-specs { margin-bottom: 24px; }
.product-specs-title {
  font-family: var(--font-primary);
  font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.product-specs-table {
  width: 100%; border-collapse: collapse;
}
.product-specs-table tr {
  border-bottom: 1px solid var(--gray-100);
}
.product-specs-table td {
  padding: 10px 0; font-size: 14px;
}
.product-specs-table td:first-child {
  color: var(--gray-400); font-weight: 500;
  width: 45%;
}
.product-specs-table td:last-child {
  color: var(--navy); font-weight: 600;
  text-align: right;
}

/* CTA group */
.product-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}
.product-cta-note {
  font-size: 13px; color: var(--gray-400);
  margin-top: 12px; font-style: italic;
}

/* Accessory description */
.acc-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
}
.acc-description p {
  margin: 0 0 20px;
}
.acc-description p:last-child {
  margin-bottom: 0;
}
.acc-description ul, .acc-description ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.acc-description li {
  margin-bottom: 8px;
}
.acc-description strong {
  color: var(--navy);
}
.acc-description a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.acc-description a:hover {
  color: var(--teal-dark);
}

/* Compatible machines */
.compatible-section { background: var(--gray-50); }
.compatible-grid {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center;
}
.compatible-grid .machine-card {
  width: calc(25% - 18px); min-width: 220px; max-width: 300px;
}
.machine-card {
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--gray-100);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: all var(--transition-base);
}
.machine-card:hover {
  border-color: var(--teal); transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.machine-card-image {
  aspect-ratio: 4/3; background: var(--gray-50);
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.machine-card-image img { width: 100%; height: 100%; object-fit: cover; }
.machine-card-placeholder {
  font-size: 13px; color: var(--gray-300);
  text-align: center; padding: 20px;
}
.machine-card-body { padding: 16px 20px; }
.machine-card-type {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--teal); margin-bottom: 4px;
}
.machine-card-name {
  font-family: var(--font-primary);
  font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.machine-card-link {
  font-size: 13px; font-weight: 600;
  color: var(--teal); display: flex;
  align-items: center; gap: 6px;
}


/* Btn preorder (na detailu stroje pod cenou) */
.btn-preorder {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  padding: 12px 22px;
  background: linear-gradient(135deg, #FF6B00 0%, #E55D00 100%);
  color: var(--white);
  border: none; border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.3);
  animation: preorderPulse 2.5s ease-in-out infinite;
}
.btn-preorder svg { width: 16px; height: 16px; }
.btn-preorder:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.45);
  animation: none;
}
.btn-preorder::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: preorderShine 3s ease-in-out infinite;
}
@keyframes preorderPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(255, 107, 0, 0.3); }
  50% { box-shadow: 0 2px 20px rgba(255, 107, 0, 0.5); }
}
@keyframes preorderShine {
  0% { left: -100%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

/* Sekční odkazy (specifikace, galerie, videa, barvy) */
.hero-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.btn-spec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-spec-link:hover {
  background: var(--gray-100);
  color: var(--teal);
  border-color: var(--teal);
}
.btn-spec-link svg { transition: transform 0.2s; flex-shrink: 0; }
.btn-spec-link:hover svg { transform: translateY(3px); }
@media (max-width: 480px) {
  .hero-section-links { gap: 6px; }
  .btn-spec-link { padding: 8px 12px; font-size: 11px; }
}

/* Zkušební jízda — box na detailu stroje */
.test-ride-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(56, 161, 105, 0.07) 0%, rgba(56, 161, 105, 0.02) 100%);
  border: 1px solid rgba(56, 161, 105, 0.25);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.test-ride-box:hover {
  border-color: rgba(56, 161, 105, 0.5);
  box-shadow: 0 2px 12px rgba(56, 161, 105, 0.1);
}
.test-ride-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--green);
  border-radius: 3px 0 0 3px;
}
.test-ride-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  animation: trIconPulse 2.5s ease-in-out infinite;
}
.test-ride-box-icon svg {
  width: 20px; height: 20px;
  stroke: var(--white);
}
.test-ride-box-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.test-ride-box-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.test-ride-box-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.test-ride-box-btn:hover {
  gap: 10px;
  text-decoration: none;
}
.test-ride-box-btn span {
  transition: transform 0.2s;
}
.test-ride-box-btn:hover span {
  transform: translateX(3px);
}
@keyframes trIconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(56, 161, 105, 0); }
}
@media (max-width: 480px) {
  .test-ride-box {
    padding: 14px 16px;
    gap: 12px;
  }
  .test-ride-box-icon {
    width: 36px; height: 36px; min-width: 36px;
  }
  .test-ride-box-icon svg { width: 18px; height: 18px; }
  .test-ride-box-hint { font-size: 12px; }
  .test-ride-box-btn { font-size: 13px; }
}

/* Btn outline teal */
.btn-outline-teal {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  border: 2px solid var(--teal); color: var(--teal);
  font-family: var(--font-primary);
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-base);
}
.btn-outline-teal:hover {
  background: var(--teal); color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media(max-width:1024px){
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .compatible-grid .machine-card { width: calc(50% - 12px); }
  .product-hero-grid{grid-template-columns:1fr;gap:40px}
  .feature-block{grid-template-columns:1fr;min-height:auto}
  .feature-block:nth-child(even) .feature-block-image{order:0}
  .feature-block-image{min-height:280px}
  .feature-block-content{padding:40px 32px}
  .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .accessories-grid{grid-template-columns:repeat(2,1fr)}
  .acc-carousel-track .acc-card{width:calc(50% - 10px);min-width:calc(50% - 10px);max-width:calc(50% - 10px)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .product-detail { padding: 32px 0 60px; }
  .product-detail-grid { gap: 24px; }
  .product-info-title { font-size: 26px; }
  .product-info-price { font-size: 28px; }
  .product-features { grid-template-columns: 1fr; }
  .compatible-grid .machine-card { width: 100%; max-width: 100%; }
  .header-inner{height:70px}.logo img{height:48px}
  .breadcrumbs-bar{padding-top:86px}
  .product-hero{padding:24px 0 100px}
  .specs-strip{margin-top:-50px}
  .specs-strip-inner{grid-template-columns:1fr}
  .specs-strip-text{padding:28px 24px 20px}
  .specs-strip-desc{font-size:14px}
  .specs-strip-calc{border-left:none;border-top:1px solid rgba(255,255,255,.1);padding:24px}
  .product-hero-title{font-size:clamp(32px,8vw,48px)}
  .product-hero-price{font-size:42px}
  .product-hero-price-row{flex-wrap:wrap;gap:8px}
  .product-hero-price-old-inline{font-size:16px}
  .feature-block-content{padding:32px 24px}
  .feature-block-title{font-size:clamp(22px,5vw,28px)}
  .section{padding:64px 0}
  .gallery-grid{grid-template-columns:1fr}
  .video-grid{grid-template-columns:1fr}
  .accessories-grid{grid-template-columns:1fr}
  .acc-carousel-track .acc-card{width:100%;min-width:100%;max-width:100%}
  .acc-carousel-arrow{width:44px;height:44px}
  .contact-strip-inner{flex-direction:column;text-align:center}
  .contact-strip h3{font-size:26px}
  .footer-grid{grid-template-columns:1fr;gap:36px}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
}
@media(max-width:480px){
  .color-switcher-inline{gap:8px}.color-swatch{width:34px;height:34px}.color-name{font-size:10px}
  .gallery-grid{grid-template-columns:1fr;gap:8px}
  .social-section{padding:36px 0}.social-link{width:48px;height:48px}.social-link svg{width:20px;height:20px}
  .specs-strip-text{padding:24px 20px}
}
