/* ==========================================================================
   Serelix Laboratories — stylesheet
   1. Tokens & base      6. Catalogue toolbar
   2. Announcement bar   7. Product cards
   3. Header & nav       8. Newsletter / contact / about
   4. Hero               9. Footer
   5. Counterfeit notice 10. Product modal
                         11. Verify page
                         12. Responsive
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
  --blue: #147cf1;
  --blue-dark: #0f63c4;
  --blue-soft: #eaf3ff;
  --navy: #061a2f;
  --ink: #172033;
  --body: #5d6d83;
  --muted: #8a97a8;
  --line: #e5ebf2;
  --green: #12b184;
  --green-soft: #eefaf7;
  --red: #e6493e;
  --page: #f8fbff;
  --card: #ffffff;

  --shadow-sm: 0 4px 16px rgba(23, 60, 91, .06);
  --shadow-md: 0 8px 22px rgba(23, 60, 91, .08);
  --shadow-lg: 0 16px 38px rgba(23, 60, 91, .12);

  --r-card: 18px;
  --r-pill: 999px;

  --wrap: 1330px;
  --gutter: 45px;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

button, input, select, textarea { font-family: inherit; }

h1, h2, h3 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-block;
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 41px);
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin: 13px 0 8px;
}

.section-head > p {
  max-width: 60ch;
  margin: 0;
  color: #758093;
  font-size: 14px;
  line-height: 1.65;
}

/* 2. Announcement bar ---------------------------------------------------- */
.notice {
  background: var(--navy);
  color: #edf7ff;
  text-align: center;
  padding: 9px 18px;
  font-size: 11px;
  line-height: 1.45;
}
.notice a { color: #55e6b2; margin-left: 8px; white-space: nowrap; }

/* 3. Header & nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 8px rgba(20, 44, 66, .07);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 0;
  transition: max-width .3s ease, height .3s ease, padding .3s ease,
              background .3s ease, box-shadow .3s ease, border-radius .3s ease;
}

/* Once the page scrolls, the bar lifts off and becomes a floating box.
   Total header height stays at 62px so nothing below it shifts. */
.site-header.is-floating {
  background: transparent;
  box-shadow: none;
  padding: 5px 0;
}
.site-header.is-floating .header-inner {
  max-width: min(1040px, calc(100% - 28px));
  height: 52px;
  padding: 0 10px 0 38px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px rgba(20, 44, 66, .13);
}

.logo {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #3b9de8;
  line-height: 1;
}
.logo span { font-size: 12px; margin-left: 2px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle i {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #3c4a5c;
  transition: transform .25s, opacity .2s;
}
.nav-toggle i:nth-child(1) { top: 14px; }
.nav-toggle i:nth-child(2) { top: 19px; }
.nav-toggle i:nth-child(3) { top: 24px; }
.site-header.open .nav-toggle i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.open .nav-toggle i:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a { font-size: 13px; color: #5d6776; }
.nav a:hover { color: var(--blue); }

.nav .btn-outline,
.nav .btn-solid {
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.nav .btn-outline { border: 1px solid #dce9f7; color: var(--blue); }
.nav .btn-solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(20, 124, 241, .3);
}
.nav .btn-solid:hover { background: var(--blue-dark); color: #fff; }

/* 4. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #e3edfa 0%, #eef4fc 38%, #f8fbff 72%, #fdfeff 100%);
}

.hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 72px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 22px 0 0;
  font-weight: 700;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--blue);
}

.hero p {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--body);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 124, 241, .32);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: #33415a;
  border-color: #e3ecf7;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--blue); }

.hero-art {
  line-height: 0;
  /* Bleed past the content wrapper so the kit reaches the viewport edge. */
  margin-right: calc(-1 * max(0px, (100vw - var(--wrap)) / 2));
}
.hero-art picture { display: block; }
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* 5. Counterfeit notice --------------------------------------------------- */
.warning {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin: 54px auto 96px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 35px;
  background: #fff;
  border: 1px solid #ffddd9;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(33, 53, 96, .07);
}
.warning h2 { font-size: 19px; color: #283444; }
.warning small {
  display: block;
  margin-top: 6px;
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.5px;
  color: #f26b68;
}
.warning p { font-size: 13px; line-height: 1.75; color: #657082; }
.warning hr { border: 0; border-top: 1px solid #e8eff6; margin: 22px 0 18px; }
.warning > div > b {
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.2px;
  color: #778293;
}
.warning aside { display: grid; gap: 15px; align-content: start; }
.warning aside figure {
  margin: 0;
  border: 1px solid #f5d3d3;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.warning aside img {
  width: 100%;
  height: auto;
  display: block;
}
.warning aside figcaption {
  padding: 8px 12px 10px;
  font: 500 8.5px/1.4 var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
}

/* Section spacing */
.new-range { padding-block: 20px 100px; }
.catalogue { padding-block: 70px 90px; }

/* 6. Catalogue toolbar ---------------------------------------------------- */
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 32px 0 26px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.filters {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.filters button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #6d7785;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.filters button:hover { color: var(--ink); }
.filters button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(20, 124, 241, .3);
}

.toolbar-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 14px 0 20px;
  border-left: 1px solid #eaf0f7;
}

.sort-field { display: flex; align-items: center; gap: 8px; }
.sort-field > span {
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9aa6b5;
}
.sort-field select {
  appearance: none;
  border: 0;
  background: transparent;
  color: #46536a;
  font-size: 13px;
  font-weight: 500;
  padding-right: 18px;
  cursor: pointer;
  outline: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2346536a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
}

.kit-count {
  font: 500 10px/1 var(--mono);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #aab5c3;
  white-space: nowrap;
}

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 15px 22px;
  box-shadow: var(--shadow-sm);
}
.search svg { flex: 0 0 auto; color: #9aa6b5; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}
.search input::placeholder { color: #98a4b3; }
.search:focus-within { box-shadow: 0 0 0 2px rgba(20, 124, 241, .35), var(--shadow-sm); }

/* 7. Product cards -------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

/* "Just Launched" cards */
.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-card);
  padding: 34px 16px 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.fcard-badges {
  position: absolute;
  top: -10px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.fbadge-new {
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 12px;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(20, 124, 241, .3);
}

.fcard-media {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.fcard-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 394 / 274;
  object-fit: cover;
}

.fcard-cat {
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
}
.fcard-cat[data-cat="Recovery"] { color: #11a87f; }
.fcard-cat[data-cat="Cosmetic"] { color: #8b5cf6; }
.fcard-cat[data-cat="Anabolic"] { color: #e08a2b; }

.fcard h3 { font-size: 17px; letter-spacing: -.4px; margin: 9px 0 3px; }
.fcard > p { margin: 0 0 16px; font-size: 12.5px; color: #9aa4b2; }

.fcard-cta {
  margin-top: auto;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(20, 124, 241, .26);
}
.fcard-cta:hover { background: var(--blue-dark); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card > img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 394 / 274;
  object-fit: cover;
  background: #eef3f9;
}

.card-body { padding: 16px 18px 14px; flex: 1; }

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card-head h3 {
  font-size: 18px;
  letter-spacing: -.4px;
  line-height: 1.25;
  min-width: 0;
}
.card-head .dose {
  flex: 0 0 auto;
  font-size: 12px;
  color: #9aa4b2;
  text-align: right;
  max-width: 45%;
}

.card-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9aa4b2;
}

.card-specs {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.card-specs li {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.card-specs li::before {
  content: "▸";
  color: var(--blue);
  font-size: 9px;
  line-height: 1.7;
}
.card-specs b {
  font: 500 9px/1.7 var(--mono);
  letter-spacing: 1px;
  color: #93a0b1;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.card-specs span { color: #36455c; font-weight: 500; }

.card-footer {
  border-top: 1px solid #eef3f8;
  padding: 13px 18px 16px;
  display: flex;
  gap: 10px;
}
.card-footer .btn-view,
.card-footer .btn-verify {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--r-pill);
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}
.card-footer .btn-view {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(20, 124, 241, .26);
}
.card-footer .btn-view:hover { background: var(--blue-dark); }
.card-footer .btn-verify {
  background: #fff;
  border-color: #bdeedc;
  color: #2acb93;
}
.card-footer .btn-verify:hover { background: var(--green-soft); color: var(--green); }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  color: var(--body);
}
.no-results b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }

/* 8. Newsletter / contact / about ---------------------------------------- */
.newsletter {
  max-width: calc(var(--wrap) - 90px);
  margin: 0 auto 110px;
  background: #f2f8ff;
  border: 1px solid #e2edf9;
  border-radius: 25px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.newsletter h2 { font-size: clamp(26px, 3vw, 37px); letter-spacing: -1.2px; line-height: 1.15; margin: 12px 0 8px; }
.newsletter p { max-width: 52ch; color: #758093; font-size: 14px; line-height: 1.65; margin: 0; }

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(440px, 100%);
  flex: 0 0 auto;
}
.signup input {
  flex: 1;
  min-width: 180px;
}

input[type="email"],
input[type="text"],
textarea {
  border: 1px solid #e4eaf2;
  background: #fff;
  border-radius: 20px;
  padding: 13px 17px;
  font-size: 14px;
  color: var(--ink);
  outline-color: var(--blue);
}

.signup button,
.message button {
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.signup button:hover,
.message button:hover { background: var(--blue-dark); }

.form-note {
  width: 100%;
  min-height: 18px;
  font-size: 12.5px;
  color: #8a97a8;
}

.contact { text-align: center; padding-bottom: 110px; }
.contact .section-head > p { margin-inline: auto; }

.message {
  max-width: 620px;
  margin: 40px auto 0;
  text-align: left;
  background: #f4faff;
  border-radius: var(--r-card);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.message h3 { font-size: 18px; }
.message > a { font-size: 13px; }
.message-row { display: flex; gap: 12px; margin: 22px 0 12px; }
.message-row input { width: 50%; }
.message textarea { width: 100%; height: 120px; resize: vertical; }
.message-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.message-foot p { font-size: 12px; color: #7c8796; margin: 0; }

.about { background: #eaf3ff; padding: 78px 0; }
.about p { max-width: 78ch; color: var(--body); font-size: 15px; line-height: 1.7; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 130px;
  border-top: 1px solid #d6e5f5;
  margin-top: 30px;
  padding-top: 28px;
}
.stats b { font-size: 30px; color: var(--blue); }
.stats small {
  display: block;
  margin-top: 4px;
  font: 500 8px/1 var(--mono);
  letter-spacing: 1.2px;
  color: #718094;
}

/* 9. Footer --------------------------------------------------------------- */
.site-footer { background: #fff; color: #687487; font-size: 13px; padding: 62px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand p { max-width: 42ch; line-height: 1.65; margin: 4px 0; }
.footer-brand > b,
.footer-grid > div > b,
.footer-legal {
  font: 500 9px/1.6 var(--mono);
  letter-spacing: 1.3px;
  color: #9aa7b7;
}
.footer-grid a { color: #687487; }
.footer-grid a:hover { color: var(--blue); }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 10. Product modal ------------------------------------------------------- */
.modal {
  border: 0;
  padding: 0;
  width: min(1100px, 94vw);
  max-width: 94vw;
  max-height: 92vh;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(19, 32, 59, .32);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(228, 236, 246, .55);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #46536a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.modal-content {
  display: grid;
  grid-template-columns: 55% 45%;
  max-height: 92vh;
}

/* Image panel — photo fills the panel, seal top-right, thumbnails bottom-left */
.modal-media {
  position: relative;
  background: linear-gradient(155deg, #f4f7fb 0%, #e6eaf0 55%, #d9dee6 100%);
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 34px 34px 110px;
}
.modal-media.no-thumbs { padding: 34px; }
.modal-media > img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.modal-seal {
  position: absolute;
  top: 22px;
  right: 22px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(23, 60, 91, .16);
}

.modal-thumbs {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
}
.modal-thumbs button {
  width: 66px;
  height: 62px;
  padding: 3px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 60, 91, .14);
}
.modal-thumbs button.active { border-color: var(--blue); }
.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Copy panel */
.modal-copy {
  padding: 46px 40px;
  overflow-y: auto;
  background: #fff;
}
.modal-copy h2 { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -1.4px; margin: 12px 0 6px; }
.modal-kit {
  font: 500 10px/1 var(--mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.modal-desc {
  font-size: 15.5px;
  color: #59677b;
  line-height: 1.62;
  margin: 22px 0 0;
  max-width: 46ch;
}

.specs { margin: 28px 0; }
.specs div {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid #e9edf2;
  padding: 15px 0;
}
.specs div:last-child { border-bottom: 1px solid #e9edf2; }
.specs dt {
  font: 500 10px/1.6 var(--mono);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #95a1b1;
}
.specs dd { margin: 0; font-size: 14.5px; color: #26344a; }

.auth-callout {
  display: flex;
  gap: 13px;
  background: var(--green-soft);
  border: 1px solid #cdeee3;
  padding: 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}
.callout-icon { flex: 0 0 auto; margin-top: 1px; color: #12b184; }
.auth-callout b { color: #12795f; display: block; margin-bottom: 3px; font-weight: 600; }
.auth-callout a { color: #12b184; font-size: 13.5px; }

.modal-research {
  font: 500 9px/1.6 var(--mono);
  letter-spacing: 1px;
  color: #99a6b5;
  margin: 24px 0 0;
}

/* 11. Verify page --------------------------------------------------------- */
body.verify-screen {
  background: radial-gradient(circle at 50% 48%, #f9fcff 0, #e5f0ff 42%, #dceaff 100%);
  min-height: 100vh;
}
.verify-main { padding: 26px 0 90px; }
.verify-main .wrap { position: relative; }
.back {
  display: inline-block;
  font: 500 10px/1 var(--mono);
  letter-spacing: 1.5px;
  color: #92a0b2;
}
.back:hover { color: var(--blue); }
.verify-intro { max-width: 700px; margin: 60px auto 0; text-align: center; }
.verify-intro h1 {
  font-size: clamp(38px, 6vw, 67px);
  line-height: 1.03;
  letter-spacing: -2.6px;
  margin: 18px 0;
}
.verify-intro h1 strong { color: #1474e6; }
.verify-intro p {
  max-width: 62ch;
  margin: 0 auto 18px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--body);
}

.auth-card {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: left;
  background: #f8fbff;
  border-radius: 26px;
  padding: 34px 36px 42px;
  box-shadow: 0 18px 35px rgba(56, 97, 148, .12);
  position: relative;
}
.secured {
  position: absolute;
  right: 18px;
  top: -14px;
  padding: 8px 14px;
  background: #0db286;
  border-radius: var(--r-pill);
  color: #fff;
  font: 500 10px/1 var(--mono);
  box-shadow: 0 8px 17px rgba(13, 178, 134, .4);
}
.auth-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth-title i {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1474e6;
  color: #fff;
  font-style: normal;
}
.auth-title b { display: block; font-size: 16px; color: #1e2a3b; }
.auth-title small {
  display: block;
  margin-top: 4px;
  font: 500 9px/1 var(--mono);
  letter-spacing: 1.4px;
  color: #8494a8;
}
.auth-title em {
  margin-left: auto;
  font: 500 10px/1 var(--mono);
  font-style: normal;
  color: #0da97e;
  border: 1px solid #a7e9d4;
  border-radius: var(--r-pill);
  padding: 7px 11px;
}
.auth-entry { display: flex; gap: 14px; margin-top: 28px; }
.auth-entry input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d9dde3;
  border-radius: 12px;
  padding: 16px 18px;
  font: 500 15px/1 var(--mono);
  outline-color: var(--blue);
}
.auth-entry button {
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  padding: 0 32px;
  font-weight: 700;
  cursor: pointer;
}
.auth-entry button:hover { background: var(--blue-dark); }
#verify-result { display: block; color: #149c76; font-size: 13px; margin-top: 14px; min-height: 18px; }
#verify-result.is-error { color: var(--red); }

/* 12. Responsive ---------------------------------------------------------- */

/* Large desktop → laptop */
@media (max-width: 1280px) {
  .featured { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .stats { gap: 40px 80px; }
  .footer-grid { gap: 40px; }
}

/* Laptop → small laptop */
@media (max-width: 1120px) {
  .header-inner { gap: 14px; }
  .nav { gap: 20px; }
  .featured { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .newsletter { gap: 34px; padding: 40px; }
}

/* Tablet */
@media (max-width: 1000px) {
  :root { --gutter: 34px; }
  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 14px 20px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 30px rgba(20, 44, 66, .16);
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 2px; font-size: 15px; }
  .nav .btn-outline,
  .nav .btn-solid { text-align: center; padding: 13px 18px; margin-top: 6px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 0;
    gap: 34px;
  }
  .hero-art {
    margin: 0 calc(var(--gutter) * -1);
    overflow: hidden;
  }
  .hero-art img {
    width: 100%;
    max-height: 46vh;
    object-fit: cover;
    object-position: 64% center;
  }

  .warning {
    margin: 40px auto 70px;
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .warning aside { grid-template-columns: 1fr 1fr; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .new-range { padding-bottom: 70px; }
  .catalogue { padding-block: 50px 70px; }

  .newsletter {
    display: block;
    margin-inline: var(--gutter);
    margin-bottom: 80px;
  }
  .signup { width: 100%; margin-top: 26px; }

  .modal-content { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media {
    min-height: 0;
    padding: 26px 22px 96px;
  }
  .modal-media.no-thumbs { padding: 26px 22px; }
  .modal-media > img { max-height: 300px; }
  /* The photo already carries its own chips at this size — the seal collides. */
  .modal-seal { display: none; }
  .modal-thumbs { left: 22px; bottom: 20px; gap: 10px; }
  .modal-thumbs button { width: 58px; height: 54px; }
  .modal-copy { padding: 30px 24px 36px; overflow: visible; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Large phone */
@media (max-width: 760px) {
  :root { --gutter: 22px; }

  .notice { font-size: 10px; padding: 8px 14px; }
  .header-inner { height: 56px; }
  .site-header.is-floating .header-inner { height: 46px; padding: 0 8px 0 20px; }

  .hero h1 { letter-spacing: -1.4px; }
  .hero-cta { gap: 10px; }
  .btn-primary, .btn-ghost {
    padding: 13px 18px;
    font-size: 13.5px;
    flex: 1 1 auto;
    justify-content: center;
    white-space: nowrap;
  }
  /* Hero photo framing is handled in the tablet breakpoint above. */

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 22px;
    padding: 8px 8px 4px;
  }
  .filters { width: 100%; }
  .toolbar-meta {
    border-left: 0;
    border-top: 1px solid #eef2f7;
    margin-top: 6px;
    padding: 12px 10px 10px;
    justify-content: space-between;
    gap: 12px;
  }
  .search { padding: 14px 18px; }

  .grid { gap: 16px; }
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }

  .card-body { padding: 14px; }
  .card-head { gap: 8px; }
  .card-head h3 { font-size: 15.5px; }
  .card-head .dose { font-size: 11px; }
  .card-specs li { font-size: 11px; }
  .card-footer { padding: 11px 14px 14px; gap: 8px; }
  .card-footer .btn-view,
  .card-footer .btn-verify { font-size: 11.5px; padding: 9px 6px; }

  .message { padding: 22px; }
  .message-row { display: block; }
  .message-row input { width: 100%; margin-bottom: 10px; }
  .message-foot { justify-content: stretch; }
  .message-foot button { width: 100%; }

  .about { padding: 56px 0; }
  .stats { gap: 26px; justify-content: space-between; }
  .stats b { font-size: 25px; }

  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 34px; }
  .footer-legal { display: block; line-height: 2.2; }

  .verify-intro { margin-top: 44px; }
  .auth-card { padding: 28px 20px 32px; }
  .auth-entry { display: block; }
  .auth-entry button { margin-top: 12px; width: 100%; padding: 15px 30px; }
  .auth-title em { display: none; }
  .secured { right: 14px; }

  .modal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .modal-content { max-height: 100vh; }
}

/* Small phone */
@media (max-width: 600px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .card-head h3 { font-size: 17px; }
  .card-specs li { font-size: 12px; }
  .card-footer .btn-view,
  .card-footer .btn-verify { font-size: 12.5px; padding: 11px 8px; }
  .warning aside { grid-template-columns: 1fr; }
  .newsletter { padding: 28px 22px; border-radius: 20px; }
  .section-head h2 { letter-spacing: -1px; }
}

/* Very small phone */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 30px; }
  .btn-primary, .btn-ghost { padding: 12px 14px; font-size: 13px; }
  .stats { gap: 18px; }
  .stats b { font-size: 22px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .card:hover { transform: none; }
}
