@import url("/theme/assets/opl-packaging.css");
:root {
  --bg: #f7f5f3;
  --bg-card: #ffffff;
  --ink: #121212;
  --ink-soft: #4e5260;
  --muted: #666b79;
  --line: #dcdfea;
  --blue: #6681d0;
  --blue-deep: #435da3;
  --blue-soft: #e9edf9;
  --navy: #181c29;
  --ok: #1f6b45;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(18, 18, 18, 0.06);
  --header: 4.4rem;
  --font: "Inter", system-ui, sans-serif;
  --display: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

html { scroll-behavior: smooth; scroll-padding-top: 6.4rem; }
body.opl-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.page-width {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.page-width--wide {
  width: min(1200px, calc(100% - 2.4rem));
}

/* Age gate */
.opl-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.55);
  display: grid;
  place-items: center;
  padding: 1.4rem;
}

.opl-gate[hidden],
html.opl-age-ok .opl-gate { display: none !important; }

.opl-gate__panel {
  width: min(28rem, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.opl-gate__title {
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 1.1rem 0 0.5rem;
  letter-spacing: -0.03em;
}

.opl-gate__copy {
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
}

.opl-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.opl-gate__fine {
  margin: 1rem 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--muted);
}

/* Header */
.announce {
  background: var(--blue);
  color: var(--navy);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
}

.announce button {
  background: none;
  border: 0;
  margin-left: 0.6rem;
  cursor: pointer;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: #fff;
}

.site-header__row {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.brand img, .brand svg, .opl-mark {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--blue);
}

.brand__name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand__name em {
  font-style: normal;
  color: var(--blue);
}

.nav-main {
  display: flex;
  gap: 1.15rem;
  margin-left: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-main a:hover,
.nav-main a.is-active { color: #fff; }

.header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.cart-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
}

/* Buttons */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--navy);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-weight: 650;
  cursor: pointer;
}

.btn--ghost,
.opl-gate__decline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn[disabled],
.button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Hero */
.hero {
  padding: 4.6rem 0 3.2rem;
}

.hero__kicker {
  color: var(--blue-deep);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}

.hero h1 span { color: var(--blue-deep); }

.hero__lead {
  font-size: 1.2rem;
  font-weight: 650;
  max-width: 40rem;
  margin: 0 0 1.1rem;
}

.hero p {
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.hero__ruo {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.2rem 0 1.1rem !important;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-chip i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}

/* Sections */
.section { padding: 3.4rem 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.5rem;
}

.section h2 em {
  font-style: normal;
  color: #435da3;
}

.lede {
  color: var(--ink-soft);
  max-width: 44rem;
  margin: 0 0 1.8rem;
}

.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.glance article,
.cat-card,
.product-card,
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glance article { padding: 1.2rem 1.15rem 1.3rem; }
.glance h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1rem;
  font-family: var(--display);
}
.glance p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.icon-bubble {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.fine {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.cat-card {
  padding: 1.35rem 1.3rem;
  display: block;
}

.cat-card:hover { border-color: var(--blue); }
.cat-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
}
.cat-card p { margin: 0; color: var(--muted); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.toolbar input,
.toolbar select,
.field,
.text-area {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
}

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.86rem;
}

.filter.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.product-card__media {
  background: #eef0f8;
  aspect-ratio: 1.15 / 1;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.product-card__media img {
  max-height: 210px;
  object-fit: contain;
}

.product-card__body { padding: 1rem 1.05rem 1.15rem; }
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.pill {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.pill--ok { background: #e5f4ea; color: var(--ok); }
.pill--line { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }

.product-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.product-card .price {
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.product-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.product-card__body { flex: 1; }
.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.05rem 1.15rem;
}
.product-card__foot a { font-size: 0.85rem; font-weight: 600; color: var(--blue-deep); text-decoration: none; }
.product-card__foot a:hover { text-decoration: underline; }
.product-card__add { padding: 0.55rem 1rem; font-size: 0.85rem; }
.product-card__add:disabled { opacity: .55; cursor: not-allowed; }

/* PDP */
.crumb {
  display: inline-flex;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pdp {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  padding: 1.4rem 0 3rem;
}

.pdp__media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.pdp__media img { width: 100%; object-fit: contain; }

.pdp h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 0.4rem 0 0.5rem;
}

.pdp .price { font-size: 1.55rem; font-weight: 700; margin: 0.8rem 0; }

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.specs th, .specs td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.specs th {
  width: 38%;
  color: var(--muted);
  font-weight: 550;
  background: #eef0f8;
}

.pdp-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }

.prose h2 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 2rem 0 0.6rem;
}

.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.1rem; }

.ruo-box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 1.2rem 0;
}

/* FAQ / forms / footer */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--display);
}

.faq details p { color: var(--ink-soft); margin: 0.7rem 0 0.15rem; }

.form {
  display: grid;
  gap: 0.7rem;
  max-width: 32rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.4rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.7rem;
  font-family: var(--display);
}

.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 70;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] { display: none !important; }

.cart-drawer__panel {
  width: min(26rem, 100%);
  background: #fff;
  height: 100%;
  padding: 1.4rem;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
}

.attestation { color: var(--ink-soft); font-size: 0.9rem; }

.mobile-nav {
  display: none;
  background: #111;
  padding: 0.4rem 1rem 1rem;
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .nav-main, .header-meta span { display: none; }
  .header-meta { margin-left: auto; }
  .menu-toggle { display: inline-flex; margin-left: 0.45rem; }
  .glance, .product-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .glance, .cat-grid, .product-grid, .footer-grid, .opl-gate__actions { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
}

/* Origin Point label identity */
.announce { background: var(--blue-soft); color: var(--blue-deep); font-weight: 500; }
.site-header { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-main a, .header-meta { color: var(--ink-soft); }
.nav-main a:hover, .nav-main a.is-active { color: var(--blue-deep); }
.brand__name { font-weight: 450; line-height: 1.1; font-size: 1.2rem; }
.brand__name em { display: block; color: inherit; }
.brand img { width: 2.2rem; height: 2.2rem; }
.cart-btn, .menu-toggle { color: var(--ink); border-color: var(--line); }
.btn, .button { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); border-radius: 999px; font-weight: 500; transition: background .2s, transform .2s; }
.btn:hover { background: #344b8a; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue-deep); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-soft); }
.btn--dark { background: var(--navy); border-color: var(--navy); }
h1, h2, h3 { font-weight: 450; }
.hero--brand { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; padding-block: 4.5rem; }
.hero--brand h1 { font-size: clamp(2.8rem,5.2vw,4.7rem); font-weight: 400; letter-spacing: -.055em; max-width: 11ch; }
.hero--brand .hero__lead { font-size: 1.05rem; line-height: 1.7; font-weight: 400; }
.brand-panel { background: var(--blue); color: #f7f5f3; border-radius: 4px; min-height: 510px; padding: 2.8rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.brand-panel > img { width: 78px; height: 78px; filter: brightness(0) invert(1); }
.brand-panel__title { font-size: clamp(2.8rem,5vw,4.8rem); line-height: 1; letter-spacing: -.06em; font-weight: 400; }
.brand-panel__foot { border-top: 1px solid #ffffff70; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.hero .trust-chip { background: transparent; font-size: .72rem; font-weight: 450; padding: .4rem .65rem; }
.section { padding-block: 4.5rem; }
.glance article, .cat-card, .product-card, .panel { box-shadow: none; }
.product-card__media { background: #eef0f8; padding: 1rem; }
.product-card { transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.product-card__foot { color: var(--blue-deep); }
.pdp__media { display: grid; place-items: center; background: #eef0f8; }
.pdp__media .opl-pack { width: min(280px,85%); }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer .brand__name { color: #f7f5f3; }
.mobile-nav { background: var(--bg); }
.mobile-nav:not([hidden]) { display: block; }
.mobile-nav a { color: var(--ink); border-color: var(--line); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 4px; }
input { accent-color: var(--blue-deep); }
@media(max-width:980px) { .hero--brand { gap: 2rem; } .brand-panel { min-height: 450px; padding: 2rem; } }
@media(max-width:680px) { .hero--brand { grid-template-columns: 1fr; padding-block: 2.5rem; } .brand-panel { min-height: 370px; } .brand-panel__title { font-size: 4rem; } .section { padding-block: 2.8rem; } .site-header__row { gap: .5rem; } .brand__name { font-size: 1rem; } .brand img { width: 1.7rem; height: 1.7rem; } .toolbar > input, .toolbar > select { max-width: 100%; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; color:var(--muted); font-size:.82rem; margin:1.4rem 0 1.8rem; }
.breadcrumbs a { color:var(--blue-deep); }
.breadcrumbs a:hover { text-decoration:underline; }
.nav-main a.is-active, .mobile-nav a[aria-current] { text-decoration:underline; text-underline-offset:6px; }
@media(min-width:981px) and (max-width:1150px) { .header-meta span { display:none; } }

/* Let the interactive vial blend directly into the page. */
.hero .brand-panel--cad { padding: 0; min-height: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.hero .brand-panel--cad > .brand-panel__cad { display: block; width: 100%; height: auto; filter: none; }

/* Product vials share the transparent hero presentation. */
html body .pdp__media.pdp__media--vial { background: transparent; border: 0; box-shadow: none; padding: 0; align-self: start; }

.product-card__body { display: block; color: inherit; text-decoration: none; flex: 1; }
.product-card__body:focus-visible { outline-offset: -3px; }
.product-card__media { padding: 0; background: transparent; }
/* Discreet staff entry point in the footer */
.footer-team { margin-left: .75rem; color: inherit; opacity: .45; font-size: .75rem; text-decoration: none; }
.footer-team:hover, .footer-team:focus-visible { opacity: .9; text-decoration: underline; }

/* Keep overlays usable on short screens and while a phone keyboard is open. */
.opl-gate { overflow-y: auto; }
.opl-gate__panel { max-height: calc(100dvh - 2.8rem); overflow-y: auto; }
.cart-drawer__panel { overflow-y: auto; overscroll-behavior: contain; max-height: 100dvh; padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); }
body.cart-open { overflow: hidden; }
.cart-line > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.cart-line > div:last-child { flex: none; }
.footer-team { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; opacity: 1; }
.site-footer .footer-team { color: #bac4d5; }
.checkout-footer .footer-team { color: var(--muted); }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.field, .text-area { min-width: 0; max-width: 100%; }
[data-page="quality"] .specs { min-width: 650px; }
@media (min-width: 981px) { .mobile-nav:not([hidden]) { display: none; } }
@media (max-width: 680px) {
  .site-header__row { gap: 6px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand__name { font-size: 14px; }
  .site-header .brand img { width: 24px; height: 24px; }
  .menu-toggle { margin-left: 0; }
  .mobile-nav { max-height: calc(100dvh - 110px); overflow-y: auto; }
  .field, .text-area, .toolbar input, .toolbar select { font-size: 16px; }
  .product-card__foot { flex-wrap: wrap; gap: 8px; }
  .product-card__foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .product-card__add { width: 100%; }
}
.toolbar input, .toolbar select, .filter { min-height:44px; font-size:16px; }
.announce[data-announce] { position:relative; min-height:44px; padding:10px 52px 10px 16px; font-size:11px; line-height:1.5; }
.announce[data-announce] button { position:absolute; right:4px; top:50%; transform:translateY(-50%); min-width:44px; min-height:44px; margin:0; }
