/* ==========================================================================
   CAPILLAN v2 — brand home, NEO line, shared blocks
   Loaded after style.css. Line accents are switched with [data-line].
   ========================================================================== */

/* ---------- Line colour tokens ------------------------------------------ */
[data-line="neo-lupy"]{--color-primary:#5a4b8c;--color-primary-dark:#453a6d;--color-primary-light:#8b7fb5;--color-primary-soft:#e8e4f2;--color-primary-pale:#f5f3f9;--line-rgb:90,75,140}
[data-line="neo-hustota"]{--color-primary:#567f41;--color-primary-dark:#44662f;--color-primary-light:#7da562;--color-primary-soft:#e2ecdb;--color-primary-pale:#f2f7ee;--line-rgb:86,127,65}
[data-line="neo"]{--color-primary:#4a5568;--color-primary-dark:#2d3748;--color-primary-light:#718096;--color-primary-soft:#e6e9ef;--color-primary-pale:#f3f5f8;--line-rgb:74,85,104}
[data-line="capissan"]{--color-primary:#e88c3a;--color-primary-dark:#d07020;--color-primary-light:#f0a866;--color-primary-soft:#fce8d4;--color-primary-pale:#fdf3e8;--line-rgb:232,140,58}
[data-line="original"],[data-line="brand"]{--line-rgb:115,158,32}
.tm{font-size:.55em;vertical-align:super;line-height:0}
html{scroll-padding-top:96px}
body.has-subnav{--subnav-h:48px}

/* ---------- Global nav additions ---------------------------------------- */
.nav-badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#c53161;color:#fff;font-size:.62rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase;vertical-align:middle;line-height:1.4}
.nav-link.is-current{background:var(--color-primary-pale);color:var(--color-primary-dark);font-weight:600}
.nav-menu-group-label,.nav-menu-sub{display:none}
@media (max-width:820px){
  .nav-menu-group-label{display:block;font-family:var(--font-display);font-size:.66rem;letter-spacing:1.8px;text-transform:uppercase;color:var(--color-text-muted);padding:14px 18px 4px;font-weight:700}
  .nav-menu-group-label-sub{margin-top:8px}
  .nav-menu-sub{display:block}
  .nav-link-sub{font-size:.9rem!important;min-height:44px!important;padding:11px 18px 11px 30px!important;color:var(--color-text-light)}
  .nav-link-sub.active{color:var(--color-primary-dark);font-weight:600}
  .nav-menu{overflow-y:auto}
}

/* ---------- Secondary sticky bar (line pages) --------------------------- */
.subnav{position:fixed;top:0;left:0;right:0;z-index:990;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--color-border);transform:translateY(-100%);opacity:0;transition:transform .32s ease,opacity .32s ease;padding:8px 0}
.subnav.is-visible{transform:translateY(0);opacity:1}
.subnav-container{display:flex;align-items:center;gap:18px}
.subnav-list{display:flex;align-items:center;gap:2px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-13px} /* first link's text lines up with the logo (links have 13px inner padding) */
.subnav-list::-webkit-scrollbar{display:none}
.subnav-link{display:inline-block;padding:7px 13px;border-radius:999px;font-size:.84rem;font-weight:500;color:var(--color-text-light);white-space:nowrap;transition:var(--transition)}
.subnav-link:hover{color:var(--color-text);background:var(--color-bg-soft)}
.subnav-link.active{background:var(--color-primary-pale);color:var(--color-primary-dark);font-weight:600}
@media (max-width:820px){.subnav{display:none}}

/* ---------- Generic bits ----------------------------------------------- */
.section-head{max-width:720px;margin:0 auto 44px;text-align:center}
.section-head h2{font-size:clamp(1.9rem,3.2vw,2.7rem);margin-bottom:14px}
.section-head h2 em,.line-block h3 em,.hero-brand h1 em,.lines-header h2 em,.dev-text h2 em{color:var(--color-primary-dark);font-style:normal}
.section-head p{font-size:1.02rem;max-width:560px;margin:0 auto}
.hero-badges{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 26px;padding:0;list-style:none}
.hero-badges li{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-display);font-size:.76rem;letter-spacing:1.2px;text-transform:uppercase;color:var(--color-text-light);font-weight:600}
.hero-badges li i{color:var(--color-primary)}
.hero-badges .hero-origin-flag{display:inline-block;width:22px;height:14px;margin:0}
.hero-badges .hero-origin-flag svg{display:block;width:100%;height:100%}
.badge-canneff{text-transform:none!important;letter-spacing:.2px!important}
.badge-canneff-pre{font-size:.76rem;letter-spacing:1.2px;text-transform:uppercase}
.canneff-logo-inline{display:inline-block;height:15px;width:auto;vertical-align:middle;opacity:.9}
.text-link-btn{display:inline-flex;align-items:center;gap:6px;color:var(--color-primary);font-weight:600;font-size:inherit;font-family:inherit;padding:0;border:0;background:none;cursor:pointer}
.text-link-btn span{transition:transform .3s cubic-bezier(.34,1.56,.64,1);display:inline-block}
.text-link-btn:hover span{transform:translateX(4px)}
.btn svg{margin-left:4px;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.btn:hover svg{transform:translateX(3px)}
.product-hero-sub{font-family:var(--font-display);font-size:.98rem;font-weight:500;color:var(--color-text-light);margin:-8px 0 14px}

/* ---------- Brand hero (root) ------------------------------------------ */
.hero.hero-brand{height:auto;min-height:0;padding:126px 0 0;background:linear-gradient(to bottom,#f3f7ec 0%,#f7f8f3 60%,#fff 100%);overflow:hidden}
.hero.hero-brand::before{display:none}
.hero-brand-text{position:relative;z-index:2;text-align:center;max-width:820px;margin:0 auto 12px}
.hero-brand-text .hero-eyebrow{padding-left:0;margin-bottom:16px}
.hero-brand-text h1{font-size:clamp(2.3rem,4.6vw,3.9rem);line-height:1.06;letter-spacing:-.02em;margin-bottom:18px}
.hero-brand-text .hero-tagline{max-width:640px;margin:0 auto 20px;font-size:1.08rem}
.hero-brand-text .hero-badges{justify-content:center}
.hero-brand-text .hero-cta-row{justify-content:center}
.hero-brand-image{position:relative;inset:auto;z-index:1;width:100%;height:clamp(340px,56vh,620px);margin-top:-8px}
.hero-brand-image img{width:100%;height:100%;object-fit:cover;object-position:center 78%}
.hero-brand-image::before{content:'';position:absolute;left:0;right:0;top:0;height:120px;background:linear-gradient(to bottom,#f7f8f3 0%,rgba(247,248,243,0) 100%);z-index:2;pointer-events:none}
.hero-brand-image::after{content:'';position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(to top,#fff 0%,rgba(255,255,255,0) 100%);z-index:2;pointer-events:none}
@media (max-width:820px){
  .hero.hero-brand{padding-top:96px!important;background:linear-gradient(to bottom,#f3f7ec 0%,#fff 100%)!important}
  .hero-brand-image{height:auto!important;aspect-ratio:4/3!important}
  .hero-brand-image img{object-fit:cover!important;object-position:center 80%!important;transform:none!important}
  .hero-brand-text .hero-cta-row{flex-direction:column;align-items:stretch}
  .hero-badges{gap:6px 14px}
  .hero-badges li{font-size:.68rem}
}

/* ---------- NEO hero ---------------------------------------------------- */
.hero-neo{background:linear-gradient(to bottom,#f3f2f6 0%,#f5f4f7 55%,#f8f8f5 80%,#fff 100%)}
.hero-neo::before{background:linear-gradient(to right,rgba(243,242,246,.94) 0%,rgba(243,242,246,.75) 25%,rgba(243,242,246,.28) 50%,rgba(243,242,246,0) 70%)}
.hero-neo .hero-image img{object-position:center 60%}
.hero-neo .hero-text{max-width:600px}
.hero-neo .hero-text h1{font-size:clamp(2.1rem,3.8vw,3.3rem)}
.hero-neo .hero-text h1 em{color:var(--color-primary-dark);font-style:normal}
.hero-neo .hero-eyebrow{padding-left:0}
.hero-neo .hero-tagline{max-width:520px}
@media (max-width:820px){
  .hero-neo{background:#f3f2f6!important}
  .hero-neo .hero-image{aspect-ratio:5/4!important}
  .hero-neo .hero-image::before{background:linear-gradient(to bottom,#f3f2f6 0%,rgba(243,242,246,0) 100%)!important}
  .hero-neo .hero-image img{object-position:70% 55%!important;transform:scale(1.05)!important;transform-origin:70% 100%!important}
  .hero-neo .hero-badges{justify-content:center}
}

/* ---------- Choose by problem (root) ----------------------------------- */
.choose-section{padding:90px 0 80px;background:#fff}
.choose-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.choose-tile{display:flex;flex-direction:column;padding:28px 24px 24px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;transition:var(--transition);position:relative;overflow:hidden}
.choose-tile::before{content:'';position:absolute;left:0;top:0;right:0;height:4px;background:var(--color-primary)}
.choose-tile:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(var(--line-rgb),.14);border-color:rgba(var(--line-rgb),.35)}
.choose-icon{width:52px;height:52px;border-radius:14px;background:var(--color-primary-pale);color:var(--color-primary-dark);display:inline-flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:18px}
.choose-problem{font-family:var(--font-display);font-size:1.08rem;font-weight:600;color:var(--color-text);line-height:1.3;margin-bottom:10px}
.choose-tile h3{font-size:.74rem;letter-spacing:1.8px;text-transform:uppercase;color:var(--color-primary-dark);font-weight:700;margin-bottom:12px}
.choose-tile p{font-size:.88rem;line-height:1.55;flex-grow:1;margin-bottom:16px}
.choose-link{display:inline-flex;align-items:center;gap:6px;color:var(--color-primary-dark);font-weight:600;font-size:.88rem}
.choose-link svg,.choose-link i{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.choose-tile:hover .choose-link svg{transform:translateX(4px)}
.choose-help{text-align:center;margin-top:30px;font-size:.98rem}
@media (max-width:1100px){.choose-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.choose-grid{grid-template-columns:1fr}}

/* ---------- Line blocks (root) ----------------------------------------- */
.lines-intro{padding:70px 0 0;background:linear-gradient(to bottom,#fff 0%,#f7f7f5 100%)}
.lines-intro .section-head{margin-bottom:20px}
.line-block{padding:56px 0;background:transparent;border-top:1px solid var(--color-border)}
.line-block:nth-child(odd){background:#fff}
.line-block-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.line-block-reverse .line-block-grid{grid-template-columns:.95fr 1.05fr}
.line-block-reverse .line-block-text{order:2}
.line-block-reverse .line-block-image{order:1}
.line-block-text h3{font-size:clamp(1.6rem,2.6vw,2.2rem);line-height:1.12;margin-bottom:16px}
.line-block-text>p{font-size:1rem;margin-bottom:16px;max-width:560px}
.line-block-text .leaf-list{margin-bottom:14px}
.line-block-price{font-family:var(--font-display);font-weight:600;color:var(--color-text);font-size:1.02rem;margin:0 0 22px}
.line-block-image img{width:100%;height:auto;border-radius:var(--radius-lg);object-fit:cover;aspect-ratio:4/3;box-shadow:var(--shadow-md)}
.line-block[data-line="original"] .line-block-image img{aspect-ratio:auto;box-shadow:none;border-radius:0}
.line-mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:6px 0 16px;max-width:560px}
.line-mini-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:var(--radius-sm);border:1px solid rgba(var(--line-rgb),.3);background:var(--color-primary-pale);transition:var(--transition)}
.line-mini-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(var(--line-rgb),.16)}
.line-mini-card strong{font-family:var(--font-display);color:var(--color-primary-dark);font-size:.98rem}
.line-mini-card span{font-size:.82rem;color:var(--color-text-light);line-height:1.4}
.line-block-dev{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.86rem;color:var(--color-text-light);margin:0 0 14px}
.line-block-dev .dev-with{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-display);font-size:.72rem;letter-spacing:1.2px;text-transform:uppercase;font-weight:600}
.line-block-dev .text-link{margin:0;font-size:.86rem}
@media (max-width:820px){
  .line-block-grid,.line-block-reverse .line-block-grid{grid-template-columns:1fr;gap:26px}
  .line-block-reverse .line-block-text{order:1}
  .line-block-reverse .line-block-image{order:2}
  .line-block{padding:40px 0}
  .line-mini-cards{grid-template-columns:1fr}
}

/* ---------- Brand about / trust strip ---------------------------------- */
.trust-strip{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 26px;padding:12px 18px;border-radius:var(--radius-full);background:rgba(255,255,255,.78);border:1px solid rgba(90,141,58,.22);font-size:.86rem;font-weight:600;color:var(--color-text);backdrop-filter:blur(6px);transition:var(--transition)}
.trust-strip:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.trust-stars{color:#f5a623;letter-spacing:1px;font-size:.78rem}
.trust-link{color:var(--color-primary-dark);display:inline-flex;align-items:center;gap:6px}

/* ---------- Other lines cards (line pages) ----------------------------- */
.lines-section{padding:80px 0 90px;background:var(--color-bg-soft)}
.lines-header{text-align:center;max-width:680px;margin:0 auto 40px}
.lines-header h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.lines-cards{display:grid;gap:22px;grid-template-columns:repeat(3,1fr)}
.lines-cards-2{grid-template-columns:repeat(2,1fr);max-width:900px;margin:0 auto}
.line-card{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;padding:22px;border-radius:var(--radius-md);background:#fff;border:1px solid var(--color-border);transition:var(--transition)}
.line-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(var(--line-rgb),.14);border-color:rgba(var(--line-rgb),.35)}
.line-card-img{height:150px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);background:radial-gradient(circle at 50% 60%,var(--color-primary-pale) 0%,transparent 72%)}
.line-card-img img{max-height:140px;width:auto;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(var(--line-rgb),.22))}
.line-card-eyebrow{display:block;font-family:var(--font-display);font-size:.66rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-primary-dark);font-weight:700;margin-bottom:6px}
.line-card h3{font-size:1.12rem;line-height:1.25;margin-bottom:8px}
.line-card p{font-size:.86rem;line-height:1.5;margin-bottom:10px}
.line-card-link{display:inline-flex;align-items:center;gap:6px;color:var(--color-primary-dark);font-weight:600;font-size:.86rem}
@media (max-width:1100px){.lines-cards{grid-template-columns:1fr;max-width:640px;margin:0 auto}}
@media (max-width:480px){.line-card{grid-template-columns:1fr;text-align:center}.line-card-img{height:130px}}

/* ---------- Compact buy + teasers -------------------------------------- */
.buy-section-compact{padding:80px 0 70px}
.buy-compact-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 16px;margin-top:8px}
.buy-compact-link{display:inline-flex;align-items:center;gap:8px;color:var(--color-primary-dark);font-weight:600;font-size:.92rem;background:none;border:0;padding:6px 2px;cursor:pointer;font-family:inherit;transition:var(--transition)}
.buy-compact-link:hover{color:var(--color-primary)}
.buy-compact-sep{color:var(--color-text-muted)}
.b2b-teaser{background:linear-gradient(to bottom,#f6f4ee 0%,#ece8de 100%);border-top:1px solid rgba(40,60,30,.08);padding:28px 0}
.b2b-teaser-inner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:center;text-align:center}
.b2b-teaser-icon{font-size:1.4rem;color:var(--color-text-light)}
.b2b-teaser-text{font-size:.95rem;max-width:560px;margin:0}
.b2b-teaser-cta{background:#fff}

/* ---------- Footer 5 columns ------------------------------------------- */
.footer-grid-v2{grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr}
@media (max-width:1100px){.footer-grid-v2{grid-template-columns:1fr 1fr 1fr}}
@media (max-width:560px){.footer-grid-v2{grid-template-columns:1fr}}

/* ---------- NEO products overview -------------------------------------- */
.neo-products .neo-products-intro{text-align:center;max-width:760px;margin:0 auto 44px}
.neo-products .neo-products-intro p{max-width:640px;margin:0 auto 14px}
.neo-product-groups{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.neo-product-group{padding:24px;border-radius:var(--radius-lg);background:var(--color-primary-pale);border:1px solid rgba(var(--line-rgb),.18)}
.neo-group-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:18px;padding:0 6px}
.neo-group-head h3{font-size:1.35rem;color:var(--color-primary-dark);margin:0}
.neo-group-sub{font-family:var(--font-display);font-size:.8rem;letter-spacing:.6px;color:var(--color-text-light);font-weight:500}
.neo-product-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.neo-product-cards .product-card{padding:20px 18px 18px}
.neo-product-cards .product-card-img{height:190px;background:radial-gradient(circle at 50% 60%,#fff 0%,transparent 72%)}
.neo-product-cards .product-card-img img{height:176px;filter:drop-shadow(0 10px 20px rgba(var(--line-rgb),.22))}
.neo-product-cards .product-card-body h3{color:var(--color-primary-dark);font-size:1.05rem}
.product-num-line{background:var(--color-primary)}
.product-volume{font-size:.82rem;font-weight:500;color:var(--color-text-light)}
.neo-guide{margin-top:40px;padding:26px 30px;border-radius:var(--radius-md);background:var(--color-bg-soft);border:1px solid var(--color-border)}
.neo-guide h3{font-size:1.05rem;margin-bottom:14px;display:flex;align-items:center;gap:10px}
.neo-guide h3 i{color:var(--color-text-muted)}
.neo-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.neo-guide-item{display:block;padding:16px 18px;border-radius:var(--radius-sm);background:#fff;border-left:4px solid var(--color-primary);font-size:.92rem;line-height:1.5;color:var(--color-text-light);transition:var(--transition)}
.neo-guide-item strong{color:var(--color-primary-dark);display:block;margin-top:6px}
.neo-guide-item:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
@media (max-width:1100px){.neo-product-groups{grid-template-columns:1fr}}
@media (max-width:560px){.neo-product-cards{grid-template-columns:1fr}.neo-guide-grid{grid-template-columns:1fr}}

/* ---------- NEO line heroes & product heroes --------------------------- */
.product-hero[data-line="neo-lupy"]{background:linear-gradient(160deg,#f6f4fa 0%,#ebe7f3 55%,#f6f4fa 100%)}
.product-hero[data-line="neo-lupy"] .product-hero-banner{background:#f6f4fa}
.product-hero[data-line="neo-lupy"] .product-hero-banner::before{background:linear-gradient(to right,rgba(246,244,250,.95) 0%,rgba(246,244,250,.78) 28%,rgba(246,244,250,.32) 50%,rgba(246,244,250,0) 70%)}
.product-hero.product-hero-reverse[data-line="neo-lupy"] .product-hero-banner::before{background:linear-gradient(to left,rgba(246,244,250,.95) 0%,rgba(246,244,250,.78) 28%,rgba(246,244,250,.32) 50%,rgba(246,244,250,0) 70%)}
.product-hero[data-line="neo-hustota"]{background:linear-gradient(160deg,#f2f7ee 0%,#e4eedc 55%,#f2f7ee 100%)}
.product-hero[data-line="neo-hustota"] .product-hero-banner{background:#f2f7ee}
.product-hero[data-line="neo"]{background:linear-gradient(160deg,#f4f5f7 0%,#e9ebef 55%,#f4f5f7 100%)}
.product-hero[data-line="neo"] .product-hero-banner{background:#f4f5f7}
.product-hero[data-line="neo"] .product-hero-banner::before{background:linear-gradient(to right,rgba(244,245,247,.95) 0%,rgba(244,245,247,.78) 28%,rgba(244,245,247,.32) 50%,rgba(244,245,247,0) 70%)}
.product-hero[data-line] .product-hero-h1 em{color:var(--color-primary-dark)}
.product-hero[data-line] .eyebrow{color:var(--color-primary-dark)}
.product-hero[data-line] .leaf-list li::before{color:var(--color-primary)}
.product-hero[data-line] .product-hero-photo-note{border-top-color:rgba(var(--line-rgb),.3)}
.neo-line-hero .product-hero-text{max-width:600px}
.neo-icons{list-style:none;padding:0;margin:4px 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}
.neo-icons li{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;line-height:1.4;color:var(--color-text)}
.neo-icons li i{width:30px;height:30px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.8);color:var(--color-primary-dark);font-size:.8rem;border:1px solid rgba(var(--line-rgb),.25)}
.neo-footnote{font-size:.74rem;color:var(--color-text-muted);margin:-4px 0 14px}
.neo-ritual{margin:10px 0 22px;padding:16px 18px;border-radius:var(--radius-sm);background:rgba(255,255,255,.72);border:1px solid rgba(var(--line-rgb),.22);backdrop-filter:blur(6px)}
.neo-ritual h4{font-family:var(--font-display);font-size:.72rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-primary-dark);margin-bottom:10px}
.neo-ritual-steps{list-style:none;padding:0;margin:0;display:grid;gap:8px;counter-reset:step}
.neo-ritual-steps li{display:flex;gap:12px;align-items:flex-start;font-size:.88rem;line-height:1.45;color:var(--color-text-light);counter-increment:step}
.neo-ritual-steps li::before{content:counter(step);flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--color-primary);color:#fff;font-family:var(--font-display);font-weight:600;font-size:.74rem;display:inline-flex;align-items:center;justify-content:center;margin-top:1px}
.neo-ritual-steps li strong{color:var(--color-text);margin-right:4px}
.neo-line-cta{display:flex;flex-wrap:wrap;gap:10px}
.neo-line-cta .btn-outline-dark{background:rgba(255,255,255,.7)}
.neo-usage{margin:18px 0 6px;padding:16px 18px;border-radius:var(--radius-sm);background:rgba(255,255,255,.72);border:1px solid rgba(var(--line-rgb),.22);backdrop-filter:blur(6px)}
.neo-usage h4{font-family:var(--font-display);font-size:.72rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-primary-dark);margin-bottom:8px}
.neo-usage-meta{border-top:0;padding-top:0;gap:6px}
.neo-usage-p{font-size:.86rem;line-height:1.5;margin:12px 0 6px}
.neo-usage-small{font-size:.72rem;color:var(--color-text-muted);margin:0}
.neo-product-hero .product-hero-text{max-width:600px}
.neo-product-hero .product-hero-features h3{font-size:.98rem;margin-bottom:4px}
.neo-product-hero .leaf-list li{padding:3px 0 3px 26px;font-size:.9rem}
.neo-product-hero .product-hero-overlay{padding:110px 0}
@media (max-width:820px){
  .neo-icons{grid-template-columns:1fr}
  .neo-product-hero .product-hero-overlay,.neo-line-hero .product-hero-overlay{padding:60px 0 50px}
}

/* ---------- NEO ingredients -------------------------------------------- */
.neo-ingredients .ingredients-header .eyebrow{display:block;margin-bottom:10px}
.neo-ingredients .featured-ingredient{background:var(--color-primary-soft)}
.neo-ingredients .fi-text .eyebrow{color:var(--color-primary-dark)}
.neo-ingredients .fi-tag{background:rgba(255,255,255,.7);color:var(--color-primary-dark)}
.fi-image-safran{background-image:url('../img/neo/safran.jpg?v=1789977852');background-image:-webkit-image-set(url('../img/webp/neo/safran.webp?v=1789977862') type('image/webp'),url('../img/neo/safran.jpg?v=1789977852') type('image/jpeg'));background-image:image-set(url('../img/webp/neo/safran.webp?v=1789977862') type('image/webp'),url('../img/neo/safran.jpg?v=1789977852') type('image/jpeg'))}
.fi-image-jetel{background-image:url('../img/neo/jetel.jpg?v=1789977850');background-image:-webkit-image-set(url('../img/webp/neo/jetel.webp?v=1789977859') type('image/webp'),url('../img/neo/jetel.jpg?v=1789977850') type('image/jpeg'));background-image:image-set(url('../img/webp/neo/jetel.webp?v=1789977859') type('image/webp'),url('../img/neo/jetel.jpg?v=1789977850') type('image/jpeg'))}
.fi-image-cedr{background-image:url('../img/neo/cedr.jpg?v=1789977850');background-image:-webkit-image-set(url('../img/webp/neo/cedr.webp?v=1789977859') type('image/webp'),url('../img/neo/cedr.jpg?v=1789977850') type('image/jpeg'));background-image:image-set(url('../img/webp/neo/cedr.webp?v=1789977859') type('image/webp'),url('../img/neo/cedr.jpg?v=1789977850') type('image/jpeg'))}
.neo-ing-grid .ing-card{grid-column:span 8}
.neo-ing-grid .ing-card:nth-child(n+4){grid-column:span 8}
.neo-ing-grid.neo-ing-grid-5 .ing-card{grid-column:span 8}
.ing-card-icon-box{background:var(--color-primary-pale);color:var(--color-primary-dark);font-size:1.6rem;width:72px;height:72px}
.neo-ingredients .ing-postscript-badge{background:var(--color-primary);color:#fff}
@media (max-width:820px){.neo-ing-grid .ing-card{grid-column:span 12}}
@media (max-width:480px){.neo-ing-grid .ing-card{grid-column:span 24}}

/* ---------- Development section ---------------------------------------- */
.dev-section{padding:90px 0;background:#fff}
.dev-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.dev-text h2{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:18px}
.dev-text>p{font-size:1rem;margin-bottom:22px}
.dev-badges{margin-bottom:0}
.dev-cards{display:grid;gap:18px}
.dev-card{border-radius:var(--radius-lg);background:var(--color-primary-pale);border:1px solid rgba(var(--line-rgb),.18);overflow:hidden}
.dev-card-person{display:grid;grid-template-columns:200px 1fr;align-items:stretch}
.dev-card-photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.dev-card-body{padding:24px 26px;display:flex;flex-direction:column;justify-content:center}
.dev-card-body h3{font-size:1.25rem;margin-bottom:4px}
.dev-card-role{font-size:.86rem;line-height:1.45;margin-bottom:12px}
.dev-quote{font-style:italic;font-size:.92rem;line-height:1.55;color:var(--color-text);border-left:3px solid var(--color-primary);padding-left:14px}
.dev-card-partner{padding:24px 26px;display:flex;flex-direction:column;gap:12px}
.dev-card-logo{height:28px;width:auto;align-self:flex-start}
.dev-card-partner p{font-size:.9rem;line-height:1.5;margin:0}
@media (max-width:1100px){.dev-grid{grid-template-columns:1fr;gap:32px}}
@media (max-width:560px){.dev-card-person{grid-template-columns:1fr}.dev-card-photo img{max-height:340px}}

/* ---------- Price section ---------------------------------------------- */
.neo-price .product-hero-text{max-width:620px}
.price-list{margin:8px 0 18px;padding:18px 20px;border-radius:var(--radius-md);background:rgba(255,255,255,.8);border:1px solid rgba(var(--line-rgb),.22);backdrop-filter:blur(6px)}
.price-list h4{font-family:var(--font-display);font-size:.72rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-primary-dark);margin-bottom:10px}
.price-list ul{list-style:none;padding:0;margin:0}
.price-list li{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px dashed rgba(40,60,30,.14);font-size:.92rem}
.price-list li:last-child{border-bottom:0}
.price-list-dot{width:10px;height:10px;border-radius:50%;background:var(--color-primary);flex-shrink:0}
.price-list-name{flex:1;color:var(--color-text)}
.price-list-name small{color:var(--color-text-muted);margin-left:4px}
.price-list li strong{font-family:var(--font-display);font-size:1.05rem;color:var(--color-text)}
.price-list-note{font-size:.74rem;color:var(--color-text-muted);margin:10px 0 0}
.neo-price .about-tag{border-color:rgba(var(--line-rgb),.3)}
.neo-price .about-tag i{color:var(--color-primary)}

/* ---------- Fixes after first render ----------------------------------- */
/* Brand hero: image flows below the text (style.css makes .hero-image absolute) */
.hero.hero-brand .hero-image{position:relative!important;inset:auto!important;height:clamp(340px,56vh,620px)}
.hero.hero-brand .hero-image::before{display:none!important}
.hero.hero-brand .hero-image img{-webkit-mask-image:none!important;mask-image:none!important}
@media (max-width:820px){.hero.hero-brand .hero-image{height:auto!important}}
/* NEO heroes: section grows with its text, image covers behind it */
.neo-product-hero .product-hero-banner,.neo-line-hero .product-hero-banner,.neo-price .product-hero-banner{min-height:640px;display:flex}
.neo-product-hero .product-hero-banner-image,.neo-line-hero .product-hero-banner-image,.neo-price .product-hero-banner-image{position:absolute;inset:0;width:100%}
.neo-product-hero .product-hero-banner-image img,.neo-line-hero .product-hero-banner-image img,.neo-price .product-hero-banner-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.neo-product-hero .product-hero-overlay,.neo-line-hero .product-hero-overlay,.neo-price .product-hero-overlay{position:relative;inset:auto;width:100%}
@media (max-width:820px){
  .neo-product-hero .product-hero-banner,.neo-line-hero .product-hero-banner,.neo-price .product-hero-banner{min-height:0;display:block}
  .neo-product-hero .product-hero-banner-image,.neo-line-hero .product-hero-banner-image,.neo-price .product-hero-banner-image{position:relative;inset:auto}
  .neo-product-hero .product-hero-banner-image img,.neo-line-hero .product-hero-banner-image img,.neo-price .product-hero-banner-image img{height:auto;min-height:0;object-fit:contain}
}
/* NEO price note under the product groups */
.neo-products .products-price-note{position:static;margin:18px 0 0;text-align:center}
/* Development: portrait fills the card column */
.dev-card-photo{position:relative;min-height:280px}
.dev-card-photo picture,.dev-card-photo img{position:absolute;inset:0;width:100%;height:100%}
.dev-card-photo img{object-fit:cover;object-position:top}
@media (max-width:560px){.dev-card-photo{min-height:0;aspect-ratio:4/5}.dev-card-photo picture,.dev-card-photo img{position:relative}}
/* Brand logo (no ORIGINAL line) is wider/shorter than the line logo */
.nav-logo-img-brand{height:30px}
.footer-logo-img-brand{width:150px;height:auto}
@media (max-width:820px){.nav-logo-img-brand{height:26px}}
@media (max-width:820px){.nav-logo-img-brand{height:20px}.navbar .lang-switcher{display:none}}
/* Brand logo height (critical.css sizes the default logo) */
.navbar .nav-logo-img-brand{height:30px!important}
@media (max-width:820px){.navbar .nav-logo-img-brand{height:20px!important}}

/* ---------- Round 2: cleaner look ------------------------------------- */
/* Brand hero: one claim + button, photo without washes */
.hero.hero-brand{padding:118px 0 0;background:#fff}
.hero-brand-text{margin-bottom:28px}
.hero-brand-text h1{font-size:clamp(2.4rem,5vw,4.2rem);margin-bottom:26px}
.hero.hero-brand .hero-image{height:clamp(360px,62vh,700px)}
.hero-brand-image::before,.hero-brand-image::after{display:none!important}
.hero-brand-image img{object-position:center 70%}
@media (max-width:820px){.hero.hero-brand{padding-top:92px!important;background:#fff!important}.hero-brand-text{margin-bottom:18px}}
/* "Novinka" badge above the menu item, not beside it */
.nav-link-page{position:relative}
.nav-link .nav-badge{position:absolute;top:-9px;left:50%;transform:translateX(-50%);margin:0;font-size:.56rem;padding:2px 7px}
@media (max-width:820px){.nav-link .nav-badge{position:static;transform:none;display:block;width:fit-content;margin:4px 0 0}.nav-link-page{flex-wrap:wrap}.nav-link .nav-badge{flex-basis:100%}}
.line-block .nav-badge{position:static;transform:none;margin-left:8px;font-size:.6rem}
/* NEO hero: lighter */
.hero-neo .hero-tagline{margin-bottom:26px}
.hero-secondary-link{margin-left:14px;align-self:center;color:var(--color-primary-dark)}
@media (max-width:820px){.hero-secondary-link{margin:6px auto 0}}
/* Line teasers on the root: photos centred on the products */
.line-block[data-line="original"] .line-block-image img{aspect-ratio:4/3;object-fit:cover;object-position:62% 55%;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.line-block[data-line="neo"] .line-block-image img{object-position:64% 55%}
/* Choose tiles without icons */
.choose-tile{padding-top:26px}
.choose-problem{font-size:1.15rem;margin-bottom:8px}
/* NEO sub-line heroes: big heading, short text, two buttons */
.neo-line-hero .product-hero-text{max-width:640px}
.neo-line-hero .product-hero-h1{font-size:clamp(2.3rem,4.2vw,3.7rem);line-height:1.06;margin-bottom:20px}
.neo-line-hero .product-hero-lead{font-size:1.06rem;margin-bottom:28px;max-width:540px}
.neo-line-hero .product-hero-banner{min-height:560px}
/* NEO products overview: group headings in the ORIGINAL heading style */
.neo-group-head{display:block;margin-bottom:20px;padding:4px 6px 0}
.neo-group-head h3{font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.1;margin-bottom:4px}
.neo-group-head h3 .tm{font-size:.38em;font-weight:500;margin-left:1px;top:-.15em;position:relative}
.neo-group-sub{display:block;font-size:.88rem}
.neo-guide h3{font-size:1.1rem}
/* Ingredient cards without icons */
.ing-card-plain{padding-top:22px;border:1px solid var(--color-border);background:#fff}
.ing-card-plain h4{color:var(--color-primary-dark);font-size:1rem;margin-bottom:8px}
/* Product heroes: small print instead of the usage box */
.neo-small-print{font-size:.74rem;color:var(--color-text-muted);margin:10px 0 0}
.neo-product-hero .product-hero-overlay{padding:100px 0}
/* Two-step ritual section */
.neo-ritual-section{padding:80px 0 90px;background:var(--color-primary-pale)}
.neo-ritual-head{max-width:640px;margin-bottom:34px}
.neo-ritual-head h2{font-size:clamp(1.8rem,3vw,2.6rem)}
.neo-ritual-head h2 em{color:var(--color-primary-dark);font-style:normal}
.neo-ritual-steps-grid{grid-template-columns:1fr 1fr;max-width:960px;gap:24px}
.neo-ritual-section .ritual-step{background:#fff;border-radius:var(--radius-md);padding:26px 26px 22px;border:1px solid rgba(var(--line-rgb),.18);display:flex;flex-direction:column}
.neo-ritual-section .ritual-num{color:var(--color-primary-dark)}
.neo-ritual-section .ritual-step h4{font-size:1.2rem;margin-bottom:8px}
.neo-ritual-section .ritual-step p{font-size:.92rem;line-height:1.55;margin-bottom:16px}
@media (max-width:820px){.neo-ritual-steps-grid{grid-template-columns:1fr}}
/* Development: text + one card */
.dev-cards{max-width:560px}
.dev-card-person{grid-template-columns:220px 1fr}

/* ---------- Round 3: NEO heroes behave like ORIGINAL (natural-ratio photo, masked into the section) */
.neo-product-hero .product-hero-banner,.neo-line-hero .product-hero-banner,.neo-price .product-hero-banner{display:grid;align-items:center;min-height:0}
.neo-product-hero .product-hero-banner-image,.neo-line-hero .product-hero-banner-image,.neo-price .product-hero-banner-image{grid-area:1/1;position:relative;inset:auto;width:100vw;align-self:center}
.neo-product-hero .product-hero-banner-image img,.neo-line-hero .product-hero-banner-image img,.neo-price .product-hero-banner-image img{width:100vw;height:auto;object-fit:contain;object-position:center}
.neo-product-hero .product-hero-overlay,.neo-line-hero .product-hero-overlay,.neo-price .product-hero-overlay{grid-area:1/1;position:relative;inset:auto;padding:90px 0;display:flex;align-items:center}
.neo-line-hero .product-hero-banner{min-height:0}
/* softer, near-white tints so neighbouring sections blend */
.product-hero[data-line="neo-lupy"]{background:linear-gradient(160deg,#faf9fc 0%,#f1eef6 55%,#faf9fc 100%)}
.product-hero[data-line="neo-lupy"] .product-hero-banner{background:transparent}
.product-hero[data-line="neo-lupy"] .product-hero-banner::before{background:linear-gradient(to right,rgba(250,249,252,.95) 0%,rgba(250,249,252,.78) 28%,rgba(250,249,252,.3) 50%,rgba(250,249,252,0) 70%)}
.product-hero.product-hero-reverse[data-line="neo-lupy"] .product-hero-banner::before{background:linear-gradient(to left,rgba(250,249,252,.95) 0%,rgba(250,249,252,.78) 28%,rgba(250,249,252,.3) 50%,rgba(250,249,252,0) 70%)}
.product-hero[data-line="neo-hustota"]{background:linear-gradient(160deg,#f7faf4 0%,#ebf1e5 55%,#f7faf4 100%)}
.product-hero[data-line="neo-hustota"] .product-hero-banner{background:transparent}
.product-hero[data-line="neo-hustota"] .product-hero-banner::before{background:linear-gradient(to right,rgba(247,250,244,.95) 0%,rgba(247,250,244,.78) 28%,rgba(247,250,244,.3) 50%,rgba(247,250,244,0) 70%)}
.product-hero.product-hero-reverse[data-line="neo-hustota"] .product-hero-banner::before{background:linear-gradient(to left,rgba(247,250,244,.95) 0%,rgba(247,250,244,.78) 28%,rgba(247,250,244,.3) 50%,rgba(247,250,244,0) 70%)}
.product-hero[data-line="neo"]{background:linear-gradient(160deg,#f7f8fa 0%,#eef0f3 55%,#f7f8fa 100%)}
.product-hero[data-line="neo"] .product-hero-banner{background:transparent}
.neo-ritual-section{background:linear-gradient(to bottom,#fff 0%,var(--color-primary-pale) 100%)}
.neo-ingredients{background:#fff}
@media (max-width:820px){
  .neo-product-hero .product-hero-banner,.neo-line-hero .product-hero-banner,.neo-price .product-hero-banner{display:block}
  .neo-product-hero .product-hero-overlay,.neo-line-hero .product-hero-overlay,.neo-price .product-hero-overlay{padding:40px 0 50px;display:block}
}
/* ® inside flex buttons/links: keep it as a superscript, not a centred dot */
.btn sup,.nav-cta sup,.choose-link sup,.line-card-link sup,.text-link sup,.buy-featured-link sup{align-self:flex-start;line-height:1;font-size:.55em;margin-top:.15em}
.choose-link,.line-card-link{display:inline;line-height:1.5}
.choose-link svg,.line-card-link svg,.choose-link i,.line-card-link i{vertical-align:middle;margin-left:4px}
/* Development: partner logo */
.dev-partner{display:flex;align-items:center;gap:14px;margin:26px 0 0}
.dev-partner-pre{font-family:var(--font-display);font-size:.72rem;letter-spacing:1.6px;text-transform:uppercase;font-weight:600;color:var(--color-text-light)}
.dev-partner-logo{height:36px;width:auto}
/* Brand hero: full-screen photo, claim + button over the sky area */
@media (min-width:821px){
  .hero.hero-brand{height:100vh;height:100dvh;min-height:640px;padding:0;background:#f6f5f0}
  .hero.hero-brand .hero-image{position:absolute!important;inset:0!important;height:100%!important;margin:0}
  .hero.hero-brand .hero-image img{width:100%;height:100%;object-fit:cover;object-position:center bottom}
  .hero-brand-text{position:absolute;left:0;right:0;top:clamp(96px,14vh,150px);margin:0 auto;z-index:2}
  .hero-brand-text h1{margin-bottom:22px;text-shadow:0 1px 0 rgba(255,255,255,.6),0 8px 30px rgba(255,255,255,.7)}
}
/* Brand hero: claim in the bottom third on a frosted panel */
@media (min-width:821px){
  .hero-brand-text{top:auto;bottom:clamp(36px,7vh,80px);left:50%;right:auto;transform:translateX(-50%);width:auto;max-width:min(880px,calc(100% - 64px));padding:30px 48px 32px;border-radius:var(--radius-lg);background:rgba(255,255,255,.52);backdrop-filter:blur(14px) saturate(1.1);-webkit-backdrop-filter:blur(14px) saturate(1.1);border:1px solid rgba(255,255,255,.65);box-shadow:0 18px 50px rgba(40,60,30,.12)}
  .hero-brand-text h1{margin-bottom:18px;text-shadow:none;font-size:clamp(2.2rem,4.2vw,3.6rem)}
  .hero-brand-text .hero-cta-row{margin:0}
}
/* Brand hero: one-line frosted strip at the very bottom so labels stay uncovered */
@media (min-width:821px){
  .hero-brand-text{display:flex;align-items:center;gap:30px;bottom:28px;padding:16px 22px 16px 36px;max-width:min(1100px,calc(100% - 64px));width:max-content;border-radius:var(--radius-full)}
  .hero-brand-text h1{margin:0;font-size:clamp(1.6rem,2.5vw,2.3rem);white-space:nowrap}
  .hero.hero-brand .hero-image img{object-position:center 100%}
}
@media (min-width:821px) and (max-width:1100px){.hero-brand-text h1{font-size:1.45rem}}

/* Brand hero strip: centred with fit-content, wraps on narrower desktops */
@media (min-width:821px){
  .hero-brand-text{left:32px;right:32px;transform:none;width:fit-content;max-width:none;margin:0 auto;flex-wrap:wrap;justify-content:center;padding:14px 20px 14px 34px}
  .hero-brand-text h1{white-space:normal;text-align:center}
}
/* Choose tiles: packshots above the problem, bigger line name */
.choose-tile{padding-top:22px}
.choose-tile-img{display:flex;align-items:flex-end;justify-content:center;gap:4px;height:150px;margin:0 0 18px;background:radial-gradient(circle at 50% 70%,var(--color-primary-pale) 0%,transparent 72%)}
.choose-tile-img picture{display:block;height:100%}
.choose-tile-img img{height:100%;width:auto;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(var(--line-rgb),.18))}
.choose-tile[data-line="original"] .choose-tile-img img{height:92%}
.choose-problem{font-size:.78rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-text-light);font-weight:700;margin-bottom:6px}
.choose-tile h3{font-size:1.28rem;letter-spacing:-.01em;text-transform:none;color:var(--color-primary-dark);font-weight:600;line-height:1.2;margin-bottom:10px}
.choose-tile[data-line="original"] .choose-tile-img{gap:0}
.choose-tile[data-line="original"] .choose-tile-img picture{flex:0 0 auto}
.choose-tile[data-line="original"] .choose-tile-img picture+picture{margin-left:-16px}
.choose-tile[data-line="original"] .choose-tile-img img{height:100%;max-width:none}
/* Choose tiles: one packshot, no coloured backdrop */
.choose-tile-img{background:none;height:170px;margin-bottom:16px}
.choose-tile-img img{filter:none}
.choose-tile[data-line="original"] .choose-tile-img img{height:100%}
/* Brand hero claim: large type on an invisible, heavily feathered blur */
@media (min-width:821px){
  .hero-brand-text{position:absolute;left:0;right:0;bottom:clamp(28px,6vh,64px);width:100%;max-width:none;margin:0;padding:0 32px;flex-direction:column;gap:22px;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;transform:none;isolation:isolate}
  .hero-brand-text::before{content:'';position:absolute;left:50%;top:50%;width:min(1180px,100vw);height:calc(100% + 120px);transform:translate(-50%,-50%);background:rgba(255,255,255,.62);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 30%,rgba(0,0,0,.6) 50%,transparent 72%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 30%,rgba(0,0,0,.6) 50%,transparent 72%);z-index:-1;pointer-events:none}
  .hero-brand-text h1{font-size:clamp(3rem,5.4vw,5rem);line-height:1.02;letter-spacing:-.022em;margin:0;text-align:center}
  .hero-brand-text .btn{padding:16px 38px;font-size:1rem}
}
/* Brand hero claim backdrop: soft white haze, no visible edges */
@media (min-width:821px){
  .hero-brand-text::before{width:min(1320px,110vw);height:calc(100% + 200px);background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.78) 32%,rgba(255,255,255,.4) 55%,rgba(255,255,255,0) 72%);backdrop-filter:none;-webkit-backdrop-filter:none;-webkit-mask-image:none;mask-image:none}
  .hero-brand-text{bottom:clamp(40px,8vh,90px)}
  .hero-brand-text h1{text-shadow:0 0 24px rgba(255,255,255,.9),0 0 60px rgba(255,255,255,.8)}
}
/* Brand hero claim backdrop: stronger haze */
@media (min-width:821px){
  .hero-brand-text::before{width:min(1400px,120vw);height:calc(100% + 260px);background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 30%,rgba(255,255,255,.72) 52%,rgba(255,255,255,.3) 66%,rgba(255,255,255,0) 76%)}
}
/* Brand hero claim backdrop: full-width band fading only top/bottom */
@media (min-width:821px){
  .hero-brand-text::before{width:100vw;height:calc(100% + 260px);background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 18%,rgba(255,255,255,.92) 38%,rgba(255,255,255,.95) 66%,rgba(255,255,255,.6) 86%,rgba(255,255,255,0) 100%)}
}
/* Brand hero claim backdrop: wide ellipse, still feathered on all sides */
@media (min-width:821px){
  .hero-brand-text::before{width:min(1900px,150vw);height:calc(100% + 260px);background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,.97) 0%,rgba(255,255,255,.94) 36%,rgba(255,255,255,.8) 52%,rgba(255,255,255,.4) 64%,rgba(255,255,255,0) 74%)}
}
/* Brand hero claim backdrop: a touch more transparent */
@media (min-width:821px){
  .hero-brand-text::before{background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.86) 36%,rgba(255,255,255,.7) 52%,rgba(255,255,255,.34) 64%,rgba(255,255,255,0) 74%)}
}
.neo-group-scent{margin:14px 6px 0;font-size:.9rem;line-height:1.5;color:var(--color-text-light)}
/* NEO: sekce s Lenkou hned pod produkty – produkty uz maji spodni padding, guide pod Lenkou potrebuje vic vzduchu */
.neo-products + .dev-section{padding-top:0}
.dev-section .neo-guide{margin-top:72px}

/* ---------- NEO · DandErase(TM) evidence block (lupy ingredients) ------------------------
   Zeleny box a fialovy badge zustavaji z puvodniho .ing-postscript; tady navic dve kolony
   (text + klinicky udaj), citelna footnote a zdroje. Fialova = --color-primary sekce neo-lupy. */
.ing-evidence{position:relative;isolation:isolate;max-width:1040px;margin:80px auto 0;padding:52px 52px 0;
  background:linear-gradient(155deg,#f8fbf4 0%,#f1f6ea 58%,#ecf3e3 100%);
  border:1px solid rgba(90,141,58,.16);border-radius:var(--radius-lg);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 24px 56px -32px rgba(56,84,40,.32);text-align:left}
.ing-evidence::before,.ing-evidence::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none}
.ing-evidence::before{background:radial-gradient(circle at 96% 0%,rgba(var(--line-rgb,90,75,140),.10) 0,rgba(var(--line-rgb,90,75,140),0) 34%)}
.ing-evidence::after{opacity:.55;background:
  radial-gradient(ellipse 22px 38px at calc(100% - 26px) calc(100% - 136px),rgba(var(--line-rgb,90,75,140),.10) 0 97%,transparent 100%),
  radial-gradient(ellipse 22px 38px at calc(100% - 44px) calc(100% - 108px),rgba(var(--line-rgb,90,75,140),.07) 0 97%,transparent 100%),
  radial-gradient(ellipse 22px 38px at calc(100% - 8px) calc(100% - 108px),rgba(var(--line-rgb,90,75,140),.07) 0 97%,transparent 100%)}
.ing-evidence .ing-evidence-badge{top:0;margin:0;transform:translate(-50%,-50%);background:var(--color-primary);
  box-shadow:0 6px 16px -4px rgba(var(--line-rgb,90,75,140),.45)}
.ing-evidence-body{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);gap:48px;align-items:center}
.ing-evidence-lead{margin:0;font-size:1.06rem;line-height:1.78;color:var(--color-text)}
.ing-evidence-lead i{font-style:italic}
.ing-evidence-ref{font-size:.68em;line-height:0;margin-left:1px}
.ing-evidence-ref a{color:var(--color-primary-dark);font-weight:700;text-decoration:none;padding:0 1px;border-radius:3px}
.ing-evidence-ref a:hover{text-decoration:underline}
.ing-evidence-footnotes{list-style:none;margin:22px 0 0;padding:16px 0 0;border-top:1px solid rgba(90,141,58,.16);display:grid;gap:8px;font-size:.84rem;line-height:1.6;color:var(--color-text-light)}
.ing-evidence-footnotes li{margin:0;padding-left:1.1em;text-indent:-1.1em;scroll-margin-top:140px}
.ing-evidence-footnotes li:target{color:var(--color-text)}
.ing-evidence-footnotes i{font-style:italic}
.ing-evidence-footnotes li>sup:first-child{display:inline-block;width:1.1em;text-indent:0;font-size:.78em;color:var(--color-primary-dark);font-weight:700}
.ing-evidence-stat{position:relative;margin:0;padding:30px 26px 26px;text-align:center;background:rgba(255,255,255,.78);
  border:1px solid rgba(var(--line-rgb,90,75,140),.14);border-radius:var(--radius-md);box-shadow:0 14px 32px -22px rgba(var(--line-rgb,90,75,140),.45)}
.ing-evidence-stat::before{content:"";position:absolute;top:-1px;left:50%;width:56px;height:3px;transform:translateX(-50%);border-radius:0 0 3px 3px;background:var(--color-primary)}
.ing-evidence-stat p{margin:0}
.ing-evidence-stat-kicker{font-family:var(--font-display);font-size:.7rem;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;color:var(--color-primary-dark)}
.ing-evidence-stat-value{margin-top:6px!important;font-family:var(--font-display);font-size:clamp(3.4rem,5.4vw,4.4rem);font-weight:600;line-height:1;letter-spacing:-.035em;color:var(--color-primary-dark);font-variant-numeric:lining-nums}
.ing-evidence-stat-label{margin-top:10px!important;font-size:1rem;line-height:1.45;font-weight:600;color:var(--color-text)}
.ing-evidence-stat-label .ing-evidence-ref{font-size:.62em;color:var(--color-primary-dark)}
.ing-evidence-sources{margin:40px -52px 0;padding:24px 52px 28px;border-radius:0 0 var(--radius-lg) var(--radius-lg);background:rgba(255,255,255,.55);border-top:1px solid rgba(90,141,58,.14)}
.ing-evidence-sources-title{margin:0 0 12px;font-family:var(--font-display);font-size:.72rem;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--color-text-light)}
.ing-evidence-sources-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 36px}
.ing-evidence-sources-list li{display:flex;flex-direction:column;gap:2px;min-width:0}
.ing-evidence-sources-list a{align-self:flex-start;display:inline;color:var(--color-primary-dark);font-weight:600;font-size:.92rem;line-height:1.45;
  text-decoration:underline;text-decoration-color:rgba(var(--line-rgb,90,75,140),.35);text-underline-offset:3px;text-decoration-thickness:1px;
  border-radius:4px;transition:text-decoration-color .2s ease;overflow-wrap:anywhere}
.ing-evidence-sources-list a:hover{text-decoration-color:currentColor}
.ing-evidence a:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
.ing-evidence-ext{font-size:.72em;margin-left:6px;vertical-align:.05em!important;opacity:.75}
.ing-evidence-source-desc{font-size:.8rem;line-height:1.45;color:var(--color-text-light)}
.ing-evidence-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:1024px){
  .ing-evidence{padding:48px 36px 0}
  .ing-evidence-body{gap:32px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
  .ing-evidence-sources{margin:36px -36px 0;padding:22px 36px 26px}
}
@media (max-width:820px){
  .ing-evidence{margin-top:60px;padding:46px 22px 0;border-radius:var(--radius-md)}
  .ing-evidence-body{grid-template-columns:1fr;gap:26px}
  .ing-evidence-lead{font-size:.98rem;line-height:1.72}
  .ing-evidence-text{display:contents}
  .ing-evidence-lead{order:1}
  .ing-evidence-stat{order:2}
  .ing-evidence-footnotes{order:3;margin-top:0}
  .ing-evidence-stat{padding:26px 20px 22px}
  .ing-evidence-sources{margin:30px -22px 0;padding:20px 22px 24px;border-radius:0 0 var(--radius-md) var(--radius-md)}
  .ing-evidence-sources-list{grid-template-columns:1fr;gap:14px}
  .ing-evidence::after{display:none}
}
@media (max-width:480px){
  .ing-evidence .ing-evidence-badge{white-space:normal;width:max-content;max-width:calc(100% - 32px);text-align:center;line-height:1.35}
}
/* ---------- NEO · DandErase(TM) evidence: foto safranu vpravo dole, nahore prechod do fialove ---- */
.ing-evidence--danderase{border-color:rgba(var(--line-rgb),.18);background-color:#f8f1fa;
  background-image:url('../img/neo/danderase-back.jpg?v=1789977850'),linear-gradient(180deg,#e6daf2 0%,#f3eaf8 100%);
  background-image:-webkit-image-set(url('../img/webp/neo/danderase-back.webp?v=1789977859') type('image/webp'),url('../img/neo/danderase-back.jpg?v=1789977850') type('image/jpeg')),linear-gradient(180deg,#e6daf2 0%,#f3eaf8 100%);
  background-image:image-set(url('../img/webp/neo/danderase-back.webp?v=1789977859') type('image/webp'),url('../img/neo/danderase-back.jpg?v=1789977850') type('image/jpeg')),linear-gradient(180deg,#e6daf2 0%,#f3eaf8 100%);
  background-position:right bottom,0 0;background-size:100% auto,100% 100%;background-repeat:no-repeat;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 24px 56px -32px rgba(var(--line-rgb),.38)}
.ing-evidence--danderase::before,.ing-evidence--danderase::after{display:none}
.ing-evidence--danderase .ing-evidence-footnotes{border-top-color:rgba(var(--line-rgb),.16)}
.ing-evidence--danderase .ing-evidence-sources{background:rgba(255,255,255,.42);border-top-color:rgba(var(--line-rgb),.14)}
@media (max-width:820px){
  .ing-evidence--danderase{background-size:auto 300px,100% 100%}
  .ing-evidence--danderase .ing-evidence-sources{background:rgba(255,255,255,.62)}
}

/* ---------- NEO · Capixyl(TM) evidence (hustota ingredients) --------------------------------
   Stejna kostra jako DandErase, ale zelena linie hustoty: svetlejsi pozadi, motiv vlasoveho cyklu
   (dlouhe = rustova faze, kratke = klidova), sirsi karta s doplnkovymi metrikami a radkem studie. */
.ing-evidence--capixyl{border-color:rgba(var(--line-rgb),.2);background-color:#f1f4e6;
  background-image:url('../img/neo/capixyl-back.jpg?v=1789977850'),linear-gradient(180deg,#dfe8d2 0%,#f1f4e6 100%);
  background-image:-webkit-image-set(url('../img/webp/neo/capixyl-back.webp?v=1789977859') type('image/webp'),url('../img/neo/capixyl-back.jpg?v=1789977850') type('image/jpeg')),linear-gradient(180deg,#dfe8d2 0%,#f1f4e6 100%);
  background-image:image-set(url('../img/webp/neo/capixyl-back.webp?v=1789977859') type('image/webp'),url('../img/neo/capixyl-back.jpg?v=1789977850') type('image/jpeg')),linear-gradient(180deg,#dfe8d2 0%,#f1f4e6 100%);
  background-position:right bottom,0 0;background-size:100% auto,100% 100%;background-repeat:no-repeat;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 24px 56px -32px rgba(var(--line-rgb),.38)}
.ing-evidence--capixyl::before,.ing-evidence--capixyl::after{display:none}
.ing-evidence--capixyl .ing-evidence-body{grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);align-items:start}
.ing-evidence--capixyl .ing-evidence-footnotes{border-top-color:rgba(var(--line-rgb),.16)}
.ing-evidence--capixyl .ing-evidence-sources{background:rgba(255,255,255,.64);border-top-color:rgba(var(--line-rgb),.14)}
.ing-evidence--capixyl .ing-evidence-stat{padding:30px 24px 22px}
.ing-evidence-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0 0;padding-top:16px;border-top:1px solid rgba(var(--line-rgb),.14)}
.ing-evidence-metric{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:6px;padding:0 10px}
.ing-evidence-metric + .ing-evidence-metric{border-left:1px solid rgba(var(--line-rgb),.14)}
.ing-evidence-metric dd{margin:0;font-family:var(--font-display);font-size:1.55rem;font-weight:600;line-height:1;letter-spacing:-.02em;color:var(--color-primary-dark);font-variant-numeric:lining-nums}
.ing-evidence-metric dt{font-size:.76rem;line-height:1.35;font-weight:500;color:var(--color-text-light)}
.ing-evidence-metric dt::before{content:"";display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;vertical-align:.08em;background:var(--color-primary)}
.ing-evidence-metric-2 dd{color:#5d6358}
.ing-evidence-metric-2 dt::before{background:transparent;box-shadow:inset 0 0 0 1.5px #8d9288}
.ing-evidence-metrics-note{margin-top:12px!important;font-size:.74rem;line-height:1.4;color:var(--color-text-light)}
.ing-evidence-metrics-note .ing-evidence-ref{font-size:.7em;color:var(--color-primary-dark)}
@media (max-width:1024px){
  .ing-evidence--capixyl .ing-evidence-body{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
}
@media (max-width:820px){
  .ing-evidence--capixyl .ing-evidence-body{grid-template-columns:1fr}
  .ing-evidence--capixyl{background-size:auto 300px,100% 100%}
  .ing-evidence--capixyl .ing-evidence-sources{background:rgba(255,255,255,.66)}
  .ing-evidence--capixyl .ing-evidence-stat{padding:26px 18px 20px}
  .ing-evidence--capixyl .ing-evidence-footnotes{order:4}
}
@media (max-width:380px){
  .ing-evidence-metric{padding:0 6px}
  .ing-evidence-metric dd{font-size:1.35rem}
}


/* ---------- Ingredient mentions in copy -> evidence boxes on /neo/ (#danderase, #capixyl) ---------- */
.ingredient-link{color:inherit;font-weight:inherit;text-decoration:underline;text-decoration-color:rgba(var(--line-rgb,90,75,140),.55);
  text-decoration-thickness:1.5px;text-underline-offset:.18em;transition:text-decoration-color .2s,color .2s}
.ingredient-link:hover{color:var(--color-primary-dark);text-decoration-color:currentColor}
.ingredient-link:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:2px}
.ing-evidence{scroll-margin-top:28px}

/* ==========================================================================================
   Mobile & tablet pass (audit 17. 9. 2026)
   ========================================================================================== */
/* Skip link: hidden until focused from the keyboard */
.skip-link{position:absolute;left:12px;top:-60px;z-index:3000;padding:10px 16px;border-radius:10px;background:#fff;color:var(--color-text);font-weight:600;box-shadow:0 6px 20px rgba(0,0,0,.18);transition:top .15s}
.skip-link:focus{top:12px}

/* Footer: photo and content share one grid cell, so tall content grows the footer instead of being clipped */
.footer{display:grid;min-height:0}
.footer-image,.footer-overlay{grid-area:1/1}
.footer-overlay{position:relative;inset:auto;align-self:end}
@media (max-width:820px){.footer{min-height:0}.footer-overlay{padding-top:calc(100vw * .42)}}


/* Decorative line before the eyebrow collides with the text where the eyebrow has no left padding */
.hero-neo .hero-eyebrow::before,.hero-brand-text .hero-eyebrow::before{display:none}

/* Mobile menu drawer: label keeps the space after ®, badge only as wide as its text, backdrop + scroll lock */
.nav-link-label{display:inline}
.nav-backdrop{position:fixed;inset:0;z-index:998;background:rgba(15,20,14,.38);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.nav-backdrop.is-visible{opacity:1;visibility:visible}
body.menu-open{overflow:hidden}
.nav-menu{overscroll-behavior:contain}
.nav-link-cross{background:transparent;border-top:1px solid var(--color-border)}
@media (min-width:821px){.nav-backdrop{display:none}}
@media (max-width:820px){
  .nav-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:10px}
  .nav-link .nav-badge{flex-basis:auto;align-self:center;width:auto;display:inline-block;margin:0 0 0 8px}
}

/* Dev card: single column on phones (the 2-column rule above comes later in the file) */
@media (max-width:560px){
  .dev-card-person{grid-template-columns:1fr}
  /* photo box and photo share one height: a 4:5 box with a 340px-capped image left an empty band under the photo */
  /* the photo sizes itself (block flow, own 4:3 ratio) — a %-height inside an aspect-ratio grid item collapsed to 0 on some phones */
  .dev-card-photo{min-height:0;aspect-ratio:auto}
  .dev-card-photo picture{display:block;position:static}
  .dev-card-photo img{position:static;display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;object-position:50% 15%}
}

/* Tablet portrait: use the width */
@media (min-width:600px) and (max-width:900px){
  .products-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
  .buy-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Contact form: 16px inputs stop iOS from zooming on focus; 44px close button */
.contact-field input,.contact-field textarea{font-size:16px}
.contact-modal-close{width:44px;height:44px}

/* Back to top: smaller and tucked into the corner on phones */
@media (max-width:560px){
  .back-to-top{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:40px;height:40px}
}

/* Map: touch hint sits lower than the wheel hint and may wrap */
.pharmacy-map-hint-touch{top:auto;bottom:16px;transform:translateX(-50%);white-space:normal;max-width:80%}

/* Readability on phones: nothing important below ~12.5px */
@media (max-width:560px){
  .ing-card p{font-size:.84rem;line-height:1.5;color:var(--color-text-light)}
  .ritual-meta dt{font-size:.7rem}
  .ing-postscript-badge,.ing-evidence .ing-evidence-badge{font-size:.72rem}
  .buy-featured-tag{font-size:.72rem}
  .hero-eyebrow{font-size:.74rem}
  .footer-bottom p{font-size:.8rem;line-height:2}
  .buy-compact-links{flex-direction:column;gap:6px}
  .buy-compact-sep{display:none}
}

/* Tap targets: enlarge the hit area without moving the layout */
.ing-evidence-ref a{position:relative}
.ing-evidence-ref a::after{content:"";position:absolute;inset:-14px -10px}
.footer-bottom a,.hero-secondary-link,.text-link,.text-link-btn,.buy-compact-link{position:relative}
.footer-bottom a::after,.hero-secondary-link::after,.text-link::after,.text-link-btn::after,.buy-compact-link::after{content:"";position:absolute;inset:-10px -4px}

/* ---------- NEO: header tint by product line (colours set by main.js on :root) ----------
   Left-to-right gradient from a deeper to a lighter tone, translucent over a strong blur. The gradient
   sits in ::before so it can fade in with the .scrolled state (background-image cannot transition). */
body[data-page="neo"] .navbar.scrolled{background:transparent;backdrop-filter:blur(22px) saturate(1.3);-webkit-backdrop-filter:blur(22px) saturate(1.3)}
body[data-page="neo"] .navbar::before,body[data-page="neo"] .subnav::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(var(--nav-l,255,255,255),var(--nav-al,.92)) 0%,rgba(var(--nav-r,255,255,255),var(--nav-ar,.92)) 100%)}
body[data-page="neo"] .navbar::before{opacity:0;transition:opacity .3s;box-shadow:inset 0 -2px 0 rgba(var(--nav-line,0,0,0),var(--nav-line-a,0))}
body[data-page="neo"] .navbar.scrolled::before{opacity:1}
body[data-page="neo"] .subnav{background:transparent;backdrop-filter:blur(22px) saturate(1.3);-webkit-backdrop-filter:blur(22px) saturate(1.3)}
@media (prefers-reduced-motion:reduce){body[data-page="neo"] .navbar::before{transition:none}}

/* ---------- Root hero on phones: same composition as the tuned ORIGINAL hero ----------
   Photo first right under the header, warm background, centred heading + button below. */
@media (max-width:820px){
  .hero.hero-brand{display:flex!important;flex-direction:column;padding-top:75px!important;background:#ebdcca!important}
  .hero.hero-brand .hero-brand-image{order:-1;height:auto!important;aspect-ratio:4/3!important;margin:0}
  .hero.hero-brand .hero-brand-image img{width:100%;height:100%;object-fit:cover!important;object-position:50% 70%!important;transform:none!important}
  .hero.hero-brand .hero-brand-text{margin:0 auto;padding:30px 20px 44px;text-align:center}
  .hero.hero-brand .hero-brand-text h1{font-size:clamp(1.8rem,7.4vw,2.4rem);margin-bottom:22px}
  .hero.hero-brand .hero-cta-row{flex-direction:row;justify-content:center}
  /* soft fade from the header into the photo, as on ORIGINAL */
  .hero.hero-brand .hero-brand-image::before{content:''!important;display:block!important;position:absolute!important;top:0!important;left:0!important;right:0!important;height:90px!important;background:linear-gradient(to bottom,#ebdcca 0%,rgba(235,220,202,0) 100%)!important;z-index:2!important;pointer-events:none!important}
  .hero.hero-brand .hero-origin{margin-bottom:22px}
}
.hero-brand-text .hero-origin{justify-content:center}
@media (min-width:821px){.hero-brand-text .hero-origin{color:var(--color-text);text-shadow:0 0 14px rgba(255,255,255,.95),0 0 4px rgba(255,255,255,.95)}}

/* Header CTA shadow in the colour of the page's line (style.css hard-codes the ORIGINAL green) */
.nav-cta{box-shadow:0 4px 14px rgba(var(--line-rgb,115,158,32),.32)}
.nav-cta:hover{box-shadow:0 8px 22px rgba(var(--line-rgb,115,158,32),.42)}

/* NEO hero on phones/tablets: the product group sits at ~65 % of the photo width (neo-hero.png, 17. 9. 2026).
   6:5 is about the widest crop that still lets it sit in the centre; re-measure when the photo changes. */
@media (max-width:820px){
  .hero-neo .hero-image{aspect-ratio:6/5!important}
  .hero-neo .hero-image img{object-position:96% 50%!important;transform:none!important}
}
@media (min-width:600px) and (max-width:820px){
  .hero-neo .hero-image{aspect-ratio:auto!important;height:60vh}
  .hero-neo .hero-image img{object-position:100% 50%!important}
}

/* Mobile menu: 100vh includes the area behind the browser's toolbar, so the language buttons at the bottom
   could not be reached. dvh = the currently visible height; the bottom padding clears the iOS home indicator. */
@media (max-width:820px){
  .nav-menu{height:100vh;height:100dvh;max-height:100dvh;overflow-y:auto;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
}

/* Product cards: price, arrow and the line above them always sit at the bottom of the card */
.product-card>.product-card-body{flex:1;display:flex;flex-direction:column}
.product-card-body>.product-card-footer{margin-top:auto}
/* NEO groups side by side: heading, cards and scent note share rows across both groups (subgrid),
   so the cards of both lines are equally tall and their footers line up */
@media (min-width:1101px){
  .neo-product-groups{grid-template-rows:auto 1fr auto}
  .neo-product-group{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
}


/* NEO and ORIGINAL product heroes on phones/tablets: the text sits under the photo, so the photo is cropped to the
   products and enlarged. lib/site.php (HERO_CROP, hero_crop_attr) computes the crop and puts it on the section:
   --cw/--cl/--ct = img width, margin-left, margin-top (all % of the box width), --ca = box aspect ratio;
   suffix 1 = phone (<=600px), 2 = tablet (<=820px).
   !important beats style.css, which forces width:100% on these images (and min-height:480px with object-fit:cover
   on ORIGINAL heroes under 480px). */
@media (max-width:820px){
  .product-hero.hero-crop .product-hero-banner-image{overflow:hidden;aspect-ratio:var(--ca2);width:100%}
  .product-hero.hero-crop .product-hero-banner-image picture{display:block}
  .product-hero.hero-crop .product-hero-banner-image img{display:block;max-width:none;width:var(--cw2)!important;height:auto!important;min-height:0!important;object-fit:fill;margin:var(--ct2) 0 0 var(--cl2)}
}
@media (max-width:600px){
  .product-hero.hero-crop .product-hero-banner-image{aspect-ratio:var(--ca1)}
  .product-hero.hero-crop .product-hero-banner-image img{width:var(--cw1)!important;margin:var(--ct1) 0 0 var(--cl1)}
}
/* Home, CAPISSAN block: crop the photo so it starts at the woman (~35 % of the image width) and ends at the
   right edge with the products — all widths. The picture is the 4:3 frame (radius + shadow), the img is
   1/.65 of its width and shifted left; top edge kept so the woman's head stays in. */
.line-block[data-line="capissan"] .line-block-image picture{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.line-block[data-line="capissan"] .line-block-image img{width:153.85%;max-width:none;height:auto;aspect-ratio:auto;object-fit:fill;margin-left:-53.85%;border-radius:0;box-shadow:none}
