/* SPINEXA V22 FINAL – Apollo safe production */
:root{
  --spx8-navy:#061d34;
  --spx8-navy2:#092842;
  --spx8-teal:#22b8c7;
  --spx8-gold:#c9a45c;
  --spx8-gold2:#d8b66d;
  --spx8-bg:#f3f7fa;
  --spx8-white:#fff;
  --spx8-text:#102033;
  --spx8-muted:#5e6b7d;
  --spx8-border:#dfeaf1;
  --spx8-green:#17833f;
  --spx8-shadow:0 18px 48px rgba(8,34,58,.09);
}

body{background:var(--spx8-bg)!important;color:var(--spx8-text)!important}
body,input,button,textarea,select{font-family:"Inter","Segoe UI",Arial,sans-serif}
a{color:var(--spx8-teal)}
a:hover{color:#138d99}

/* Header / menu – cleaner Apollo styling */
.top-navigation-bar,.header-top{
  background:#f6f9fb!important;
  border-bottom:1px solid #edf2f6!important;
  color:#667486!important;
}
.top-navigation-bar a,.header-top a{color:#667486!important;font-weight:750!important}
.overall-wrapper .header,header.header,.header{
  background:#fff!important;
  border-bottom:1px solid #edf2f6!important;
  box-shadow:0 8px 26px rgba(8,34,58,.035)!important;
}
.header-middle,.header-bottom,.navigation-wrapper,.navigation-in{background:#fff!important}
.top-navigation-bar .container,.header-top .container,.header-middle .container,.header-bottom .container,.navigation-wrapper .container,.navigation-in{
  width:min(1180px,calc(100vw - 56px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.header-middle .container,.header-middle-in{
  min-height:88px!important;
  display:grid!important;
  grid-template-columns:190px minmax(300px,1fr) 300px!important;
  gap:32px!important;
  align-items:center!important;
}
.site-name,.header .site-name{display:flex!important;align-items:center!important;margin:0!important}
.site-name img,.header .site-name img{max-height:48px!important;width:auto!important}
.search,.search-form{width:100%!important;max-width:440px!important;justify-self:center!important;margin:0!important}
.search input[type="text"],.search-form input[type="text"],input.query-input{
  min-height:46px!important;
  border:1px solid #dfe8ef!important;
  border-radius:16px!important;
  background:#f8fbfd!important;
  color:var(--spx8-navy)!important;
  box-shadow:0 8px 20px rgba(8,34,58,.035)!important;
}
.user-action,.header-cart,.navigation-buttons{justify-self:end!important}
.navigation-in{min-height:56px!important}
.navigation-in>ul,.menu-level-1{display:flex!important;align-items:center!important;gap:26px!important}
.navigation-in>ul>li>a,.menu-level-1>li>a,nav.navigation a{
  color:var(--spx8-navy)!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  text-transform:uppercase!important;
}
.navigation-in>ul>li>a:hover,.menu-level-1>li>a:hover,nav.navigation a:hover{color:var(--spx8-teal)!important}

/* Buttons */
.btn,.button,input[type="submit"],.add-to-cart-button,.btn-cart,.btn-conversion,button[type="submit"]{
  border-radius:999px!important;
  font-weight:950!important;
}
.btn.btn-primary,.button.btn-primary,.add-to-cart-button,.btn-cart,.btn-conversion{
  background:var(--spx8-gold)!important;
  color:var(--spx8-navy)!important;
  border:0!important;
  box-shadow:0 12px 26px rgba(201,164,92,.23)!important;
}
.btn.btn-primary:hover,.button.btn-primary:hover,.add-to-cart-button:hover,.btn-cart:hover,.btn-conversion:hover{
  background:var(--spx8-gold2)!important;
  color:var(--spx8-navy)!important;
}

/* Homepage full width */
body.spx8-home-active .content-inner,
body.spx8-home-active #content,
body.spx8-home-active .content,
body.spx8-home-active .homepage-box,
body.spx8-home-active .homepage-texts-wrapper,
body.spx8-home-active .user-content{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
  float:none!important;
}
.spx8-home{
  position:relative!important;
  left:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff;
  color:var(--spx8-text);
  text-align:left!important;
}
.spx8-home *{box-sizing:border-box}
.spx8-home a{text-decoration:none}
.spx8-wrap{
  width:min(1180px,calc(100vw - 56px));
  max-width:1180px;
  margin:0 auto;
}

/* Hero */
.spx8-hero{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(90deg,rgba(6,29,52,.98) 0%,rgba(6,29,52,.92) 34%,rgba(6,29,52,.54) 64%,rgba(6,29,52,.16) 100%),
    url("https://www.spinexa.cz/user/documents/upload/spinexa-home-hero-desktop-1920x600.jpg") center center/cover no-repeat;
}
.spx8-hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 12% 55%,rgba(34,184,199,.22),transparent 27%),
    radial-gradient(circle at 76% 22%,rgba(201,164,92,.20),transparent 26%);
}
.spx8-hero-inner{padding:82px 0 76px}
.spx8-hero-content{width:min(610px,100%);color:#fff}
.spx8-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  margin:0 0 16px;
  padding:8px 13px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.spx8-kicker:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--spx8-teal);
  box-shadow:0 0 0 5px rgba(34,184,199,.16);
}
.spx8-kicker-dark{color:rgba(255,255,255,.94);background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.20)}
.spx8-kicker-light{color:var(--spx8-navy);background:#eef8fa;border:1px solid #d7eef2}
.spx8-hero h1{
  margin:0 0 18px!important;
  color:#fff!important;
  font-size:clamp(42px,4.9vw,74px)!important;
  line-height:.97!important;
  letter-spacing:-.068em!important;
  font-weight:950!important;
}
.spx8-hero h1 span{color:var(--spx8-teal)}
.spx8-hero-lead{
  max-width:560px;
  margin:0 0 26px!important;
  color:rgba(255,255,255,.88)!important;
  font-size:17px!important;
  line-height:1.72!important;
}
.spx8-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}
.spx8-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:14px 24px;
  border-radius:14px;
  font-size:14px;
  line-height:1;
  font-weight:950;
  transition:transform .18s ease,background .18s ease;
}
.spx8-btn:hover{transform:translateY(-1px);text-decoration:none}
.spx8-btn-primary{background:var(--spx8-gold);color:var(--spx8-navy);box-shadow:0 14px 28px rgba(201,164,92,.20)}
.spx8-btn-primary:hover{background:var(--spx8-gold2);color:var(--spx8-navy)}
.spx8-btn-secondary{color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.26)}
.spx8-btn-secondary:hover{color:#fff;background:rgba(255,255,255,.14)}
.spx8-hero-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:650px}
.spx8-proof-card{
  min-height:108px;
  padding:16px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  backdrop-filter:blur(8px);
}
.spx8-proof-card strong{display:block;margin:0 0 7px;color:#fff;font-size:13px;line-height:1.2;font-weight:950;text-transform:uppercase}
.spx8-proof-card span{display:block;color:rgba(255,255,255,.78);font-size:12px;line-height:1.45}
.spx8-legal-note{display:flex;gap:10px;max-width:660px;margin:18px 0 0;color:rgba(255,255,255,.78);font-size:12.5px;line-height:1.5}
.spx8-legal-note:before{content:"";flex:0 0 14px;width:14px;height:14px;margin-top:2px;border-radius:999px;border:3px solid var(--spx8-gold)}

/* Sections */
.spx8-benefits,.spx8-products,.spx8-expert,.spx8-care,.spx8-magazine,.spx8-newsletter{padding:56px 0}
.spx8-benefits{background:radial-gradient(circle at 8% 0%,rgba(34,184,199,.08),transparent 24%),linear-gradient(180deg,var(--spx8-bg) 0%,#fff 100%)}
.spx8-products{background:linear-gradient(180deg,#fff 0%,var(--spx8-bg) 100%)}
.spx8-expert{background:#fff}
.spx8-care{background:var(--spx8-bg)}
.spx8-magazine{background:#fff}
.spx8-newsletter{background:linear-gradient(180deg,#fff 0%,var(--spx8-bg) 100%)}
.spx8-section-head{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:26px;
  align-items:end;
  margin:0 0 28px;
}
.spx8-section-head h2{
  margin:0!important;
  color:var(--spx8-navy)!important;
  font-size:clamp(30px,3vw,48px)!important;
  line-height:1.07!important;
  letter-spacing:-.055em!important;
  font-weight:950!important;
}
.spx8-section-head h2 span{color:var(--spx8-teal)}
.spx8-section-head p{
  margin:0!important;
  color:var(--spx8-muted)!important;
  font-size:15px!important;
  line-height:1.72!important;
  max-width:640px;
}

/* Benefits immediately after hero */
.spx8-benefits-shell{
  position:relative;
  overflow:hidden;
  padding:32px;
  border-radius:30px;
  background:radial-gradient(circle at 0% 0%,rgba(34,184,199,.08),transparent 30%),radial-gradient(circle at 100% 100%,rgba(201,164,92,.07),transparent 34%),#fff;
  border:1px solid var(--spx8-border);
  box-shadow:var(--spx8-shadow);
}
.spx8-benefit-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.spx8-benefit-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:70px 1fr;
  gap:17px;
  align-items:start;
  min-height:152px;
  padding:22px 20px;
  border-radius:22px;
  background:radial-gradient(circle at 100% 0%,rgba(34,184,199,.08),transparent 36%),#fff;
  border:1px solid var(--spx8-border);
  box-shadow:0 12px 30px rgba(8,34,58,.06);
}
.spx8-icon{width:70px;height:70px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf8fb 0%,#fff 100%);border:1px solid #cfeaf0;color:var(--spx8-teal);font-size:21px;font-weight:950;letter-spacing:-.04em}
.spx8-benefit-card h3{margin:0 0 10px!important;color:var(--spx8-navy)!important;font-size:18px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.035em!important}
.spx8-benefit-card h3:after{content:"";display:block;width:38px;height:3px;margin:10px 0 12px;border-radius:999px;background:linear-gradient(90deg,var(--spx8-gold),rgba(201,164,92,0))}
.spx8-benefit-card p{margin:0!important;color:#38485b!important;font-size:13.5px!important;line-height:1.6!important}

/* Products */
.spx8-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.spx8-product-card{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:430px;
  padding:18px;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--spx8-border);
  box-shadow:var(--spx8-shadow);
  color:var(--spx8-text);
  overflow:hidden;
}
.spx8-product-badge{position:absolute;top:15px;left:15px;z-index:3;padding:6px 9px;border-radius:999px;background:#fff5df;color:#8b6422;font-size:11px;line-height:1;font-weight:950;text-transform:uppercase}
.spx8-product-discount{position:absolute;top:15px;right:15px;z-index:3;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;background:#f00635;color:#fff;font-size:13px;font-weight:950}
.spx8-product-image{height:190px;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px 10px 8px;background:linear-gradient(180deg,#fff 0%,#f8fbfd 100%);border-radius:20px;margin-bottom:16px}
.spx8-product-image img{max-width:100%!important;max-height:166px!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important}
.spx8-product-card h3{margin:0 0 8px!important;color:var(--spx8-navy)!important;font-size:17px!important;line-height:1.24!important;font-weight:950!important;letter-spacing:-.03em!important}
.spx8-product-card p{margin:0 0 14px!important;color:var(--spx8-muted)!important;font-size:13.5px!important;line-height:1.55!important}
.spx8-price-row{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.spx8-price{display:block;color:var(--spx8-navy);font-size:20px;font-weight:950;line-height:1}
.spx8-old-price{display:block;margin-bottom:4px;color:#8a97a8;font-size:13px;text-decoration:line-through;font-weight:850}
.spx8-stock{color:var(--spx8-green);font-size:11px;font-weight:950;text-transform:uppercase}
.spx8-card-btn{margin-top:16px;width:100%;min-height:42px;border-radius:999px;background:var(--spx8-gold);color:var(--spx8-navy)!important;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:13px;text-decoration:none!important}

/* Hide native homepage blocks */
body.spx8-home-active .homepage-products,
body.spx8-home-active .products-block,
body.spx8-home-active .product-slider-holder,
body.spx8-home-active .homepage-group,
body.spx8-home-active .products-block-wrapper,
body.spx8-home-active .products-wrapper:not(.spx8-product-grid),
body.spx8-home-active .spx8-hide-native{display:none!important}

/* Expert */
.spx8-expert-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:22px;align-items:stretch}
.spx8-expert-photo{position:relative;min-height:520px;border-radius:32px;overflow:hidden;background:#eef3f7;box-shadow:var(--spx8-shadow)}
.spx8-expert-photo img{width:100%;height:100%;object-fit:cover;display:block}
.spx8-expert-panel{padding:36px;border-radius:32px;background:radial-gradient(circle at 100% 0%,rgba(34,184,199,.11),transparent 32%),linear-gradient(135deg,var(--spx8-navy) 0%,var(--spx8-navy2) 100%);color:#fff;box-shadow:var(--spx8-shadow)}
.spx8-expert-panel h2{margin:0 0 16px!important;color:#fff!important;font-size:clamp(32px,3.2vw,52px)!important;line-height:1.05!important;letter-spacing:-.058em!important;font-weight:950!important}
.spx8-expert-panel h2 span{color:var(--spx8-teal)}
.spx8-expert-panel p{margin:0 0 18px!important;color:rgba(255,255,255,.82)!important;font-size:15px!important;line-height:1.72!important}
.spx8-expert-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.spx8-expert-point{padding:17px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.spx8-expert-point strong{display:block;margin-bottom:6px;color:#fff;font-size:14px;font-weight:950}
.spx8-expert-point span{display:block;color:rgba(255,255,255,.76);font-size:12.5px;line-height:1.5}

/* Care */
.spx8-care-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:26px}
.spx8-care-card{min-height:215px;padding:27px 23px;border-radius:26px;background:#fff;border:1px solid var(--spx8-border);box-shadow:0 14px 34px rgba(8,34,58,.065)}
.spx8-care-card small{display:block;margin-bottom:24px;color:var(--spx8-gold);font-size:12px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.spx8-care-card strong{display:block;margin-bottom:10px;color:var(--spx8-navy);font-size:25px;line-height:1.05;font-weight:950;letter-spacing:-.045em}
.spx8-care-card span{display:block;color:var(--spx8-muted);font-size:14px;line-height:1.58}

/* Magazine */
.spx8-magazine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.spx8-article-card{display:flex;flex-direction:column;min-height:245px;padding:26px;border-radius:26px;background:#fff;border:1px solid var(--spx8-border);box-shadow:var(--spx8-shadow);color:var(--spx8-text)}
.spx8-article-card small{display:block;margin-bottom:28px;color:var(--spx8-gold);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.spx8-article-card h3{margin:0 0 12px!important;color:var(--spx8-navy)!important;font-size:23px!important;line-height:1.1!important;font-weight:950!important;letter-spacing:-.045em!important}
.spx8-article-card p{margin:0!important;color:var(--spx8-muted)!important;font-size:14px!important;line-height:1.6!important}
.spx8-article-link{margin-top:auto;color:var(--spx8-navy)!important;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.spx8-article-link:after{content:"→";margin-left:8px;color:var(--spx8-teal)}
.spx8-center-action{display:flex;justify-content:center;margin-top:24px}

/* Newsletter */
.spx8-newsletter-box{display:grid;grid-template-columns:1fr .92fr;gap:28px;align-items:center;padding:38px;border-radius:32px;background:radial-gradient(circle at 100% 0%,rgba(34,184,199,.16),transparent 35%),linear-gradient(135deg,var(--spx8-navy) 0%,var(--spx8-navy2) 100%);box-shadow:0 22px 58px rgba(8,34,58,.13);color:#fff}
.spx8-newsletter-box h2{margin:0 0 12px!important;color:#fff!important;font-size:clamp(30px,3vw,46px)!important;line-height:1.08!important;letter-spacing:-.055em!important;font-weight:950!important}
.spx8-newsletter-box h2 span{color:var(--spx8-teal)}
.spx8-newsletter-box p{margin:0!important;color:rgba(255,255,255,.80)!important;font-size:15px!important;line-height:1.72!important}
.spx8-newsletter-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px;border-radius:24px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.spx8-newsletter-form input{min-height:50px;border-radius:15px;border:0;padding:0 16px;background:#fff;color:var(--spx8-navy)}
.spx8-newsletter-form button{min-height:50px;border:0;padding:0 22px;border-radius:15px;background:var(--spx8-gold);color:var(--spx8-navy);font-weight:950}

/* Footer */
body.spx8-footer-active #footer,
body.spx8-footer-active footer#footer,
body.spx8-footer-active .footer:not(.spx8-footer),
body.spx8-footer-active .footer-rows,
body.spx8-footer-active .site-footer{display:none!important}

.spx8-footer{position:relative!important;left:50%!important;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important;background:radial-gradient(circle at 92% 0%,rgba(34,184,199,.13),transparent 28%),linear-gradient(135deg,var(--spx8-navy) 0%,#031426 100%);color:#fff;overflow:hidden}
.spx8-footer-main{padding:48px 0 34px}
.spx8-footer-grid{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:28px}
.spx8-footer-logo{margin:0 0 12px;color:var(--spx8-gold);font-size:25px;font-weight:950;letter-spacing:-.035em}
.spx8-footer p{margin:0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.68}
.spx8-footer h3{margin:0 0 13px;color:#fff!important;font-size:13px;line-height:1.2;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.spx8-footer ul{margin:0;padding:0;list-style:none}
.spx8-footer li{margin:0 0 9px}
.spx8-footer a{color:rgba(255,255,255,.76);font-size:13px;font-weight:700}
.spx8-footer a:hover{color:var(--spx8-teal);text-decoration:none}
.spx8-footer-trust{display:grid;gap:10px}
.spx8-footer-trust-item{padding:12px 13px;border-radius:15px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13)}
.spx8-footer-trust-item strong{display:block;margin-bottom:4px;color:#fff;font-size:13.5px;font-weight:950}
.spx8-footer-trust-item span{display:block;color:rgba(255,255,255,.76);font-size:12.5px;line-height:1.5}
.spx8-footer-bottom{padding:14px 0;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.58);font-size:12px}

/* Category */
body.type-category .content,body.type-category #content,body.type-product .content,body.type-product #content{background:var(--spx8-bg)!important}
body.type-category .products-block,body.type-category .products,body.type-category .products-wrapper{width:min(1180px,calc(100vw - 56px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
body.type-category .product .p,body.type-category .product-inner{border-radius:22px!important;border:1px solid var(--spx8-border)!important;box-shadow:0 10px 28px rgba(8,34,58,.06)!important;background:#fff!important;overflow:hidden!important}
body.type-category .product .image,body.type-category .product .p-image{height:220px!important;padding:22px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.type-category .product img{max-height:190px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}

/* Product detail – Apollo safe: no forced grid/float */
body.type-product .content-inner{width:min(1180px,calc(100vw - 56px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.type-product .p-detail{width:100%!important;max-width:1180px!important;margin:0 auto 28px!important}
body.type-product .p-detail-inner{width:100%!important;max-width:1180px!important;margin:0 auto 28px!important;padding:34px!important;border-radius:30px!important;background:#fff!important;border:1px solid var(--spx8-border)!important;box-shadow:var(--spx8-shadow)!important;overflow:visible!important}
body.type-product .p-detail-inner:after{content:"";display:block;clear:both}
body.type-product .p-detail-info h1,body.type-product .p-detail h1{color:var(--spx8-navy)!important;font-size:clamp(31px,3vw,48px)!important;line-height:1.07!important;letter-spacing:-.05em!important;font-weight:950!important}
body.type-product .p-detail .p-image,body.type-product .p-detail .p-image-wrapper,body.type-product .p-detail .image360{border-radius:26px!important;background:linear-gradient(180deg,#fff 0%,#f8fbfc 100%)!important;overflow:visible!important}
body.type-product .p-detail .p-image img,body.type-product .p-detail .p-image-wrapper img,body.type-product .image360 img{max-height:480px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}
body.type-product .shp-tabs,body.type-product .p-detail-tabs,body.type-product .detail-tabs-wrapper,body.type-product .tab-content,body.type-product .variant-list{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;border-radius:24px!important}
body.type-product .basic-description,body.type-product .description-inner,body.type-product #description,body.type-product .tab-content{font-size:15px!important;line-height:1.75!important;color:var(--spx8-text)!important}
body.type-product .spx8-home{display:none!important}

body.spx8-home-active #sidebar,body.spx8-home-active .sidebar,body.spx8-home-active .sidebar-inner,body.spx8-home-active .left-sidebar,body.spx8-home-active .right-sidebar,body.spx8-home-active .custom-panel{display:none!important}
body.type-product .neurexa-popup-overlay,body.type-product .spinexa-reviews,body.type-category .neurexa-popup-overlay,body.type-category .spinexa-reviews{display:none!important}

/* Responsive */
@media(max-width:1100px){
  .header-middle .container,.header-middle-in{grid-template-columns:160px 1fr 230px!important;gap:18px!important}
  .spx8-section-head,.spx8-expert-grid,.spx8-newsletter-box{grid-template-columns:1fr;gap:18px}
  .spx8-product-grid,.spx8-care-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .spx8-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spx8-magazine-grid{grid-template-columns:1fr}
  .spx8-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spx8-expert-photo{min-height:420px}
}
@media(max-width:760px){
  .top-navigation-bar .container,.header-top .container,.header-middle .container,.header-bottom .container,.navigation-wrapper .container,.navigation-in{width:calc(100vw - 32px)!important}
  .header-middle .container,.header-middle-in{display:flex!important;flex-wrap:wrap!important;min-height:auto!important;padding:18px 0!important;gap:14px!important}
  .site-name{width:120px!important}
  .search,.search-form{order:3;flex:1 1 100%!important;max-width:none!important}
  .user-action,.header-cart,.navigation-buttons{margin-left:auto!important}
  .navigation-in>ul,.menu-level-1{gap:18px!important;overflow-x:auto!important;padding-bottom:8px!important}
  .spx8-wrap{width:calc(100vw - 32px)}
  .spx8-hero{min-height:auto;background:linear-gradient(180deg,rgba(6,29,52,.98) 0%,rgba(6,29,52,.88) 44%,rgba(6,29,52,.58) 100%),url("https://www.spinexa.cz/user/documents/upload/spinexa-home-hero-mobile-1080x1350.jpg") center center/cover no-repeat}
  .spx8-hero-inner{padding:48px 0 44px}
  .spx8-hero h1{font-size:40px!important}
  .spx8-hero-lead{font-size:15px!important}
  .spx8-actions{flex-direction:column}
  .spx8-btn{width:100%}
  .spx8-hero-proof,.spx8-product-grid,.spx8-benefit-grid,.spx8-care-grid,.spx8-footer-grid,.spx8-expert-points{grid-template-columns:1fr!important}
  .spx8-products,.spx8-benefits,.spx8-expert,.spx8-care,.spx8-magazine,.spx8-newsletter{padding:36px 0}
  .spx8-benefits-shell,.spx8-expert-panel,.spx8-newsletter-box{padding:22px 17px;border-radius:24px}
  .spx8-newsletter-form{grid-template-columns:1fr}
  .spx8-benefit-card{grid-template-columns:62px 1fr;gap:15px;min-height:auto;padding:18px 16px}
  .spx8-icon{width:62px;height:62px;border-radius:20px;font-size:18px}
  .spx8-product-card{min-height:auto}
  .spx8-product-image{height:205px}
  .spx8-expert-photo{min-height:360px}
  body.type-category .products-block,body.type-category .products,body.type-category .products-wrapper,body.type-product .content-inner{width:calc(100vw - 32px)!important}
  body.type-product .p-detail-inner{padding:20px!important;border-radius:22px!important}
}


/* =========================================================
   SPINEXA V9 PATCH – premium product detail + dynamic magazine cards
   ========================================================= */

/* Product detail – visually stronger, Apollo-safe */
body.type-product .p-detail-inner {
  position: relative !important;
  isolation: isolate !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(34,184,199,.07), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(201,164,92,.07), transparent 30%),
    #fff !important;
  border: 1px solid rgba(223,234,241,.95) !important;
  box-shadow: 0 24px 70px rgba(8,34,58,.105) !important;
}

body.type-product .p-detail-inner::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,29,52,.025), transparent 38%, rgba(34,184,199,.035));
  z-index: -1;
}

body.type-product .p-detail .p-image,
body.type-product .p-detail .p-image-wrapper,
body.type-product .p-detail .image360,
body.type-product .p-detail .image360-holder,
body.type-product .p-detail .p-gallery {
  background:
    radial-gradient(circle at 50% 35%, #fff 0%, #fff 36%, #f5fafc 100%) !important;
  border: 1px solid #e6eef4 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 16px 38px rgba(8,34,58,.055) !important;
}

body.type-product .p-detail .p-detail-info,
body.type-product .p-detail .p-info-wrapper {
  padding: 10px 0 0 !important;
}

body.type-product .p-detail-info h1,
body.type-product .p-detail h1 {
  color: var(--spx8-navy) !important;
  font-size: clamp(34px, 3.15vw, 52px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.06em !important;
  font-weight: 950 !important;
  margin-bottom: 22px !important;
}

body.type-product .p-detail .stars-wrapper,
body.type-product .p-detail .p-rating,
body.type-product .p-detail .rate-wrapper,
body.type-product .p-detail .stars {
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 10px 26px rgba(8,34,58,.055) !important;
}

body.type-product .p-detail .price-final,
body.type-product .p-detail .price,
body.type-product .p-detail .prices {
  color: var(--spx8-navy) !important;
}

body.type-product .p-detail .price-final strong,
body.type-product .p-detail .price strong {
  font-size: clamp(26px, 2.2vw, 36px) !important;
  letter-spacing: -.04em !important;
}

body.type-product .p-detail .add-to-cart-button,
body.type-product .p-detail .btn-conversion,
body.type-product .p-detail .btn-cart {
  min-height: 52px !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  background: var(--spx8-gold) !important;
  color: var(--spx8-navy) !important;
  box-shadow: 0 14px 30px rgba(201,164,92,.25) !important;
}

body.type-product .p-detail .availability,
body.type-product .p-detail .availability-value,
body.type-product .p-detail .availability span {
  color: var(--spx8-green) !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

body.type-product .variant-list,
body.type-product .shp-tabs,
body.type-product .detail-tabs-wrapper,
body.type-product .p-detail-tabs {
  box-shadow: 0 16px 44px rgba(8,34,58,.07) !important;
  border: 1px solid #e3edf4 !important;
  background: #fff !important;
}

body.type-product .shp-tabs-holder,
body.type-product .p-detail-tabs {
  overflow: hidden !important;
}

/* Product detail trust strip inserted by JS */
.spx8-product-trust-strip {
  clear: both;
  width: min(1180px, calc(100vw - 56px));
  max-width: 1180px;
  margin: -8px auto 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spx8-product-trust-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--spx8-border);
  box-shadow: 0 12px 30px rgba(8,34,58,.055);
}

.spx8-product-trust-item strong {
  display: block;
  color: var(--spx8-navy);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.025em;
  margin-bottom: 7px;
}

.spx8-product-trust-item span {
  display: block;
  color: var(--spx8-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Dynamic magazine cards */
.spx8-magazine-grid.spx8-magazine-loading {
  opacity: .55;
}

.spx8-article-card-dynamic {
  padding: 0 !important;
  overflow: hidden;
  min-height: 360px;
}

.spx8-article-image {
  display: block;
  width: 100%;
  height: 178px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef8fa, #f8fbfd);
}

.spx8-article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spx8-article-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.spx8-article-date {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 15px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8fa;
  color: var(--spx8-navy);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.spx8-article-card-dynamic .spx8-article-link {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .spx8-product-trust-strip {
    width: calc(100vw - 32px);
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   SPINEXA V21 FINAL – APOLLO NATIVE MENU SAFE RESET
   Menu necháváme plně podle šablony Apollo a administrace Shoptetu.
   Žádné vlastní dropdowny, žádné nahrazování menu, žádné klonování položek.
   ========================================================= */

/* Zbytky předchozích custom menu verzí se nikdy nemají zobrazit */
.spx13-products-popover,
.spx14-nav-shell,
.spx14-products-menu,
.spx20-products-menu {
  display: none !important;
}

/* Pokud by v HTML zůstala stará body class, nesmí schovat Apollo menu */
body.spx14-nav-active .header-bottom,
body.spx14-nav-active .navigation-wrapper,
body.spx14-nav-active .navigation-in,
body.spx14-nav-active #navigation,
body.spx14-nav-active nav.navigation {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Apollo menu pouze vrátit do viditelného stavu, bez vlastního layoutu */
.header-bottom,
.navigation-wrapper,
.navigation-in,
#navigation,
nav.navigation {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hero a homepage obsah nesmí překrývat hlavičku */
.spx8-home,
.spx8-hero {
  position: relative !important;
  z-index: 1 !important;
}

/* Header necháme podle Apolla, pouze bezpečně nad obsahem */
.overall-wrapper .header,
header.header,
.header {
  position: relative !important;
  z-index: 50 !important;
}

/* Žádný vlastní design dropdownu. Tohle je jen bezpečnostní reset proti starým pokusům. */
.navigation-in ul ul,
.menu-level-2,
.menu-level-3 {
  max-width: none;
}

/* Na mobilu necháváme Apollo chování, jen zabráníme přetečení přes viewport */
@media (max-width: 767px) {
  .header,
  .header-bottom,
  .navigation-wrapper,
  .navigation-in {
    max-width: 100vw;
  }
}



/* =========================================================
   SPINEXA V22 FINAL – HOMEPAGE TEXT UPDATE + NEWSLETTER GDPR
   Menu necháváme podle Apollo šablony. Tohle řeší pouze obsahové bloky homepage,
   patičku a drobné nové prvky v homepage HTML.
   ========================================================= */

.spx8-expert-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 0;
}

.spx8-expert-actions .spx8-btn{
  min-height:46px;
}

.spx8-newsletter-form-wrap{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.spx8-newsletter-consent{
  margin:0!important;
  color:rgba(255,255,255,.66)!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  max-width:620px;
}

.spx8-newsletter-consent a{
  color:#ffffff!important;
  font-weight:850;
  text-decoration:underline!important;
  text-underline-offset:3px;
}

.spx8-newsletter-consent a:hover{
  color:var(--spx8-gold)!important;
}

.spx8-product-card p,
.spx8-benefit-card p,
.spx8-care-card span,
.spx8-article-card p{
  text-wrap:pretty;
}

.spx8-expert-panel p{
  text-wrap:pretty;
}

@media (max-width: 680px){
  .spx8-expert-actions{
    flex-direction:column;
  }

  .spx8-expert-actions .spx8-btn{
    width:100%;
  }
}
