/* Qelivra v1.0.3 — Figma-aligned storefront + packaging system */
:root{
  --ql-ink:#071a37;
  --ql-blue:#1d63ff;
  --ql-blue-deep:#0844e9;
  --ql-muted:#5b708c;
  --ql-line:#dbe6f3;
  --ql-soft:#f6f9ff;
  --ql-card:#fff;
  --ql-radius:24px;
}
body{overflow-x:hidden}
.logo{font-weight:850;letter-spacing:-.055em}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid rgba(219,230,243,.9)}

/* Homepage hero — intentionally compact and mobile-first. */
.hero{min-height:0;padding:0;background:linear-gradient(180deg,#fff 0,#f8fbff 100%)}
.hero::before{opacity:.3;background-size:40px 40px}
.hero-grid{grid-template-columns:minmax(0,.92fr) minmax(440px,1.08fr);gap:54px;min-height:660px;padding:64px 0 58px}
.hero-copy{align-self:center;padding:0}
.hero .eyebrow{color:var(--ql-blue);font-size:.69rem;letter-spacing:.14em;font-weight:800}
.hero h1{max-width:620px;margin:18px 0 22px;color:var(--ql-ink);font-size:clamp(3.65rem,5.1vw,5.6rem);line-height:.92;letter-spacing:-.062em}
.hero h1 .accent-line{display:block;color:var(--ql-blue)}
.hero h1>span:last-child{display:block}
.hero-description{max-width:570px;color:var(--ql-muted);font-size:1rem;line-height:1.7}
.hero-actions{margin-top:28px;gap:10px}
.hero-actions .btn{min-height:50px;border-radius:14px;padding-inline:20px}
.trust-row{margin-top:25px;gap:20px}
.trust-item{color:#62758d;font-size:.75rem;font-weight:650}
.trust-dot{background:#fff;border:1px solid #d8e5f5;color:var(--ql-blue)}
.hero-visual{height:520px;display:grid;place-items:center;margin:0;isolation:isolate}
.hero-orbit{width:450px;height:450px;right:50%;top:50%;transform:translate(50%,-50%);opacity:.72}
.hero-product-stage{position:relative;width:min(100%,570px);height:430px;display:grid;place-items:center;border:1px solid #e1eaf5;border-radius:32px;background:radial-gradient(circle at 50% 45%,rgba(29,99,255,.13),transparent 42%),linear-gradient(145deg,#fbfdff,#f2f7ff);overflow:hidden;box-shadow:0 24px 70px rgba(24,63,112,.07)}
.hero-product-stage::before,.hero-product-stage::after{content:"";position:absolute;border:1px solid rgba(29,99,255,.09);border-radius:50%;pointer-events:none}
.hero-product-stage::before{width:340px;height:340px}.hero-product-stage::after{width:235px;height:235px}
.hero-vial{position:absolute;z-index:2;display:block;width:250px;height:330px;filter:drop-shadow(0 30px 30px rgba(12,45,89,.16))}
.hero-vial--main{left:50%;top:50%;transform:translate(-50%,-50%);width:274px;height:360px;z-index:4}
.hero-vial--side{width:165px;height:218px;top:50%;z-index:2;opacity:.82;filter:drop-shadow(0 20px 20px rgba(12,45,89,.11))}
.hero-vial--left{left:8%;transform:translateY(-37%)}
.hero-vial--right{right:8%;transform:translateY(-37%)}
.hero-verified-chip{position:absolute;right:22px;top:22px;z-index:7;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--ql-line);border-radius:999px;background:rgba(255,255,255,.92);color:var(--ql-ink);font-size:.68rem;font-weight:800;box-shadow:0 10px 30px rgba(16,47,88,.07)}
.lab-note{display:none}

/* Section hierarchy */
.catalog-section{padding-top:94px}
.section-top{margin-bottom:34px}
.kicker{color:var(--ql-blue);letter-spacing:.15em}
.section-heading{letter-spacing:-.05em}
.section-copy{max-width:660px;color:var(--ql-muted)}

/* Product cards — compact commerce card, not a poster. */
.product-grid{gap:20px;align-items:start}
.product-card{border:1px solid var(--ql-line);border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(16,47,88,.035);overflow:hidden;transform:none!important}
.product-card:hover{border-color:#cbdcf1;box-shadow:0 18px 45px rgba(16,47,88,.08)}
.product-media{height:285px;margin:14px 14px 0;border-radius:18px;background:radial-gradient(circle at 50% 47%,rgba(29,99,255,.11),transparent 35%),linear-gradient(145deg,#fbfdff,#f3f8ff);overflow:hidden}
.product-media::before{width:210px;height:210px;border-color:rgba(29,99,255,.08)}
.product-media::after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(29,99,255,.07);border-radius:50%}
.product-media .product-visual__graphics{opacity:.45}
.product-media .product-visual__image{width:100%;height:100%;display:grid;place-items:center;position:relative;z-index:2}
.product-media pepx-vial-image,.product-media .approved-crop,.product-media img{width:170px!important;height:238px!important;max-width:60%!important;object-fit:contain!important;filter:drop-shadow(0 20px 24px rgba(12,45,89,.13))!important}
.product-body{padding:20px 20px 18px}
.product-card__meta{min-height:26px;align-items:center}
.product-category{font-size:.66rem;letter-spacing:.13em;font-weight:800}
.product-state{font-size:.66rem;border-radius:999px;padding:6px 9px}
.product-title{margin:8px 0 7px;font-size:1.35rem;letter-spacing:-.035em}
.product-desc{min-height:0;margin:0;color:var(--ql-muted);font-size:.84rem;line-height:1.5}
.product-card__legal{margin:15px 0 0!important;padding:9px 11px!important;border:1px solid #e3ebf5!important;border-radius:999px!important;background:#f8fbff!important;color:#60758f!important;font-size:.65rem!important;line-height:1.2!important;font-weight:700!important;display:inline-flex!important;max-width:100%;white-space:normal}
.product-card__commerce{margin-top:16px!important;padding-top:15px!important;border-top:1px solid var(--ql-line)!important;display:flex!important;align-items:center!important;gap:12px!important}
.product-price{font-size:1.15rem!important;color:var(--ql-ink)}
.product-link{margin:0 0 0 auto!important;padding:0!important;border:0!important;display:inline-flex!important;gap:9px;font-weight:800!important;font-size:.76rem!important}
.product-add{margin-top:12px!important;min-height:43px!important;border-radius:13px!important;font-size:.76rem!important}

/* Catalog hero */
.catalog-hero{padding:70px 0 58px;background:linear-gradient(180deg,#fff,#f8fbff)}
.catalog-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:54px}
.catalog-hero h1{letter-spacing:-.058em}
.catalog-vial-preview{min-height:390px;border:1px solid var(--ql-line);border-radius:30px;background:radial-gradient(circle at 50% 50%,rgba(29,99,255,.12),transparent 38%),#f7faff;overflow:hidden;display:grid;place-items:center}
.catalog-vial-preview pepx-vial-image{display:block;width:270px;height:350px;filter:drop-shadow(0 28px 30px rgba(12,45,89,.14))}

/* Product detail */
.product-detail{padding:38px 0 90px}
.product-detail-grid{grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr);gap:64px}
.product-stage{height:560px;border-radius:28px;background:radial-gradient(circle at 50% 48%,rgba(29,99,255,.11),transparent 37%),linear-gradient(145deg,#fbfdff,#f3f8ff);border-color:var(--ql-line)}
.product-stage .product-visual__image{position:relative;z-index:3;width:100%;height:100%;display:grid;place-items:center}
.product-stage pepx-vial-image,.product-stage img{width:310px!important;height:430px!important;object-fit:contain!important;filter:drop-shadow(0 30px 32px rgba(12,45,89,.14))!important}
.stage-orbit{width:390px;height:390px;opacity:.72}
.gallery-note{border-color:var(--ql-line);border-radius:15px}
.product-info h1{letter-spacing:-.055em}
.research-badge{border-radius:15px;background:#f3f7ff;border-color:#d6e4fb}
.spec-list{border-top-color:var(--ql-line)}
.spec-list>div{border-bottom-color:var(--ql-line)}
.product-actions .btn{border-radius:14px;min-height:50px}

/* Common mobile layout — this is the primary acceptance target. */
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;min-height:0;padding:0}
  .hero-copy{padding:52px 0 22px}
  .hero-visual{height:auto;padding:10px 0 56px}
  .hero-product-stage{width:100%;max-width:520px;height:390px}
  .catalog-hero-grid{grid-template-columns:1fr}
  .catalog-vial-preview{min-height:350px}
  .product-detail-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:600px){
  :root{--header-h:66px}
  .announcement{height:30px;font-size:.58rem;letter-spacing:.08em}
  .container{width:calc(100% - 40px)}
  .site-header{height:66px}
  .header-inner{gap:8px}
  .logo{font-size:1.5rem}
  .header-actions{gap:2px}
  .nexus-header-link{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:50%!important}
  .nexus-header-link__label{display:none!important}
  .nexus-header-link__mark{margin:0!important}
  .icon-btn{width:40px;height:40px}
  .mobile-menu{inset:96px 0 auto}

  .hero::before{opacity:.18;background-size:32px 32px}
  .hero-copy{padding:42px 0 18px}
  .hero .eyebrow{font-size:.62rem;letter-spacing:.14em}
  .hero h1{margin:15px 0 18px;font-size:clamp(3.15rem,14.5vw,4rem);line-height:.92;max-width:none}
  .hero-description{font-size:.94rem;line-height:1.62}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:24px}
  .hero-actions .btn{width:100%;min-width:0;min-height:50px;padding-inline:10px;font-size:.78rem}
  .trust-row{margin-top:20px;gap:12px;flex-wrap:wrap}
  .trust-item{font-size:.66rem}
  .hero-visual{margin:0;padding:8px 0 42px}
  .hero-product-stage{height:330px;border-radius:26px}
  .hero-vial--main{width:220px;height:292px}
  .hero-vial--side{display:none}
  .hero-product-stage::before{width:270px;height:270px}.hero-product-stage::after{width:185px;height:185px}
  .hero-verified-chip{right:14px;top:14px;font-size:.62rem;padding:8px 10px}

  .section{padding:70px 0}
  .catalog-section{padding-top:66px}
  .section-top{margin-bottom:26px}
  .section-heading{font-size:2.25rem;line-height:.98}
  .section-copy{font-size:.9rem;line-height:1.6}
  .product-grid,.catalog-product-grid{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;gap:18px!important;margin:0!important;padding-bottom:0!important}
  .product-card{width:100%;scroll-snap-align:none;border-radius:23px}
  .product-media{height:270px;margin:12px 12px 0;border-radius:17px}
  .product-media pepx-vial-image,.product-media .approved-crop,.product-media img{width:158px!important;height:225px!important;max-width:none!important}
  .product-body{padding:18px}
  .product-title{font-size:1.3rem}
  .product-card__legal{border-radius:12px!important}
  .product-card__commerce{align-items:center!important}
  .product-add{width:100%!important}

  .catalog-hero{padding:46px 0 42px}
  .catalog-hero-grid{gap:30px}
  .catalog-hero h1{font-size:clamp(2.8rem,13vw,3.7rem);line-height:.94}
  .catalog-vial-preview{min-height:310px;border-radius:24px}
  .catalog-vial-preview pepx-vial-image{width:210px;height:285px}

  .product-detail{padding:24px 0 72px}
  .product-detail-grid{gap:24px}
  .product-stage{height:390px;border-radius:24px}
  .product-stage pepx-vial-image,.product-stage img{width:230px!important;height:325px!important}
  .stage-orbit{width:300px;height:300px}
  .gallery-note{margin-top:12px;padding:12px 14px}
  .product-info h1{font-size:clamp(2.65rem,13vw,3.7rem)}
  .product-lede{font-size:.94rem;line-height:1.6}
  .spec-list>div{grid-template-columns:122px 1fr;gap:12px;padding:14px 0}
  .product-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .product-actions .btn{width:100%}
}
