:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eaf2fa;
  --ink: #0d2348;
  --muted: #5b6f86;
  --line: #d4e2ef;
  --accent: #163a73;
  --accent-dark: #0d2348;
  --accent-soft: #e4eef8;
  --success: #1a7a62;
  --warning: #9a5b00;
  --shadow: 0 18px 40px rgba(13, 35, 72, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: var(--ink);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='135' viewBox='0 0 77.942 135'%3E%3Cpath fill='none' stroke='%237eb3dc' stroke-width='1.15' stroke-linejoin='miter' d='M38.971 0L77.942 22.5V67.5L38.971 90 0 67.5V22.5Z M0 67.5L38.971 90V135L0 157.5-38.971 135V90Z M77.942 67.5L116.913 90V135L77.942 157.5 38.971 135V90Z'/%3E%3C/svg%3E");
  background-size: 78px 135px;
  background-position: top right;
  -webkit-mask-image:
    radial-gradient(ellipse 55% 50% at 100% 0%, #000 0%, transparent 72%),
    radial-gradient(ellipse 50% 48% at 0% 100%, #000 0%, transparent 70%);
  mask-image:
    radial-gradient(ellipse 55% 50% at 100% 0%, #000 0%, transparent 72%),
    radial-gradient(ellipse 50% 48% at 0% 100%, #000 0%, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-bar {
  background: #0d2348;
  color: #d7e4f2;
  font-size: 0.88rem;
  text-align: center;
  padding: 10px 16px;
}

.notice-bar strong {
  color: #ffffff;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(212, 226, 239, 0.8);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.28rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #163a73, #2b6cb0);
  box-shadow: 0 12px 24px rgba(22, 58, 115, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 28px rgba(22, 58, 115, 0.28);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.cart-pill {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 24px rgba(13, 35, 72, 0.05);
}

.cart-pill::after {
  content: "3";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.section {
  padding: 58px 0;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  border: 1px solid rgba(22, 58, 115, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 6px 9px;
}

.vial {
  width: 62px;
  height: 118px;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(22, 58, 115, 0.22));
  border: 2px solid rgba(22, 58, 115, 0.24);
  box-shadow: inset 0 -28px 0 rgba(22, 58, 115, 0.16), 0 18px 30px rgba(22, 58, 115, 0.14);
  position: relative;
}

.vial::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 12px;
  width: 38px;
  height: 24px;
  border-radius: 8px 8px 4px 4px;
  background: #c5d8ee;
  border: 2px solid rgba(22, 58, 115, 0.2);
}

/* Catalog / products page */

.products-page {
  padding: 42px 0 58px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb strong {
  color: var(--ink);
}

.products-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.products-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 18px;
}

.products-hero p {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
}

.catalog-stat-card {
  width: 190px;
  min-height: 150px;
  background: linear-gradient(135deg, #163a73, #2b6cb0);
  color: white;
  border-radius: 32px;
  box-shadow: 0 20px 48px rgba(22, 58, 115, 0.24);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 22px;
}

.catalog-stat-card strong {
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.catalog-stat-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-search,
.catalog-sort {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(13, 35, 72, 0.04);
  padding: 14px 16px;
}

.catalog-search label,
.catalog-sort label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.catalog-search input,
.catalog-sort select {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.sidebar-block,
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(13, 35, 72, 0.05);
  padding: 22px;
}

.sidebar-block h2 {
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.sidebar-block label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 0;
}

.sidebar-block input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.sidebar-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-content {
  min-width: 0;
}

.catalog-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-result-row p {
  color: var(--muted);
}

.catalog-result-row strong {
  color: var(--ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.9rem;
}

.filter-chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 14px 32px rgba(13, 35, 72, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-visual {
  min-height: 185px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.product-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.035em;
  margin-bottom: 5px;
}

.product-card .desc {
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 44px;
  margin-bottom: 12px;
}

.catalog-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 12px;
}

.stars {
  color: #c9a227;
  letter-spacing: 0.08em;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.price {
  font-weight: 850;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.purity {
  color: var(--success);
  background: #e6f6ef;
  font-size: 0.78rem;
  padding: 5px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.product-card .button {
  width: 100%;
  min-height: 42px;
  font-size: 0.92rem;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.page-button {
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 850;
}

.page-button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.page-button.next {
  padding: 0 18px;
}

/* Product detail page */

.product-page {
  padding: 42px 0 36px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.product-gallery,
.product-info,
.product-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.product-gallery {
  padding: 20px;
}

.product-image-large {
  min-height: 560px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(22, 58, 115, 0.18), transparent 34%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.vial-large {
  width: 112px;
  height: 230px;
  border-radius: 28px 28px 34px 34px;
}

.vial-large::before {
  top: -28px;
  left: 24px;
  width: 60px;
  height: 36px;
  border-radius: 12px 12px 6px 6px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.thumb {
  min-height: 96px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f4f8fc;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 850;
}

.thumb.active {
  border-color: rgba(22, 58, 115, 0.38);
  background: var(--accent-soft);
}

.mini-vial {
  width: 32px;
  height: 62px;
  border-radius: 10px 10px 14px 14px;
}

.mini-vial::before {
  top: -11px;
  left: 7px;
  width: 18px;
  height: 14px;
  border-radius: 5px 5px 3px 3px;
}

.product-info {
  padding: 34px;
}

.product-info h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 18px;
}

.product-subtitle {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 680px;
  margin-bottom: 20px;
}

.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 24px;
}

.product-price-row {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.product-price-row strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.product-price-row span {
  color: var(--muted);
  font-weight: 650;
}

.product-options {
  display: grid;
  gap: 24px;
}

.product-options fieldset {
  border: 0;
}

.product-options legend {
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.option-grid {
  display: grid;
  gap: 12px;
}

.option-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-grid.compact .option-card {
  grid-template-columns: auto 1fr;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 58, 115, 0.42);
  box-shadow: 0 14px 28px rgba(13, 35, 72, 0.06);
}

.option-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.option-main {
  display: grid;
}

.option-main strong {
  letter-spacing: -0.035em;
}

.option-main small {
  color: var(--muted);
  font-weight: 600;
}

.option-price {
  color: var(--ink);
  font-weight: 900;
  font-size: 1.05rem;
}

.option-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 14px 30px rgba(22, 58, 115, 0.14);
}

.quantity-row {
  width: fit-content;
  display: grid;
  grid-template-columns: 44px 76px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.quantity-row button,
.quantity-row input {
  height: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: center;
}

.quantity-row button {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
}

.quantity-row input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 800;
  outline: 0;
}

.purchase-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.purchase-box .button {
  width: 100%;
}

.research-warning {
  background: #fff6e8;
  border: 1px solid #efd3a0;
  color: var(--warning);
  border-radius: 18px;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 650;
}

.product-lower-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 22px 0 58px;
  align-items: start;
}

.product-panel {
  padding: 30px;
}

.product-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 20px;
}

.product-panel p {
  color: var(--muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.spec-card {
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.spec-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.spec-card strong {
  display: block;
  letter-spacing: -0.035em;
}

/* Shared cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(13, 35, 72, 0.04);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.checkout-card {
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.checkout-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.compliance-box {
  margin-top: 18px;
  background: #fff6e8;
  color: var(--warning);
  border: 1px solid #efd3a0;
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 650;
}

.newsletter {
  background: #0d2348;
  color: white;
  border-radius: 36px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.newsletter::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -110px;
  top: -110px;
  background: rgba(22, 58, 115, 0.28);
}

.newsletter h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 12px;
}

.newsletter p {
  color: #7a8ca3;
  max-width: 620px;
}

.signup-form {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 12px;
  display: flex;
  gap: 10px;
}

.signup-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 12px;
  font: inherit;
}

.signup-form input::placeholder {
  color: #7a8ca3;
}

.footer-coa-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-coa-action .button {
  min-width: 180px;
}

footer {
  padding: 42px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Reviews */

.review-section {
  padding: 22px 0 58px;
}

.review-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  grid-template-areas:
    "summary form"
    "list list";
  gap: 18px;
}

.review-summary-card,
.review-form-card,
.review-list-card,
.reviews-disabled-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.review-summary-card {
  grid-area: summary;
}

.review-form-card {
  grid-area: form;
}

.review-list-card {
  grid-area: list;
}

.review-summary-card h2,
.reviews-disabled-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
}

.review-score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.review-score strong {
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.review-score p {
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-bars {
  display: grid;
  gap: 12px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 68px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.rating-bar > div {
  height: 10px;
  border-radius: 999px;
  background: #e8f1fa;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.fill-86 {
  width: 86%;
}

.fill-10 {
  width: 10%;
}

.fill-3 {
  width: 3%;
}

.fill-1 {
  width: 1%;
}

.fill-0 {
  width: 0%;
}

.review-form-card h3,
.review-list-card h3 {
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.review-form-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #f4f8fc;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.review-form textarea {
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.single-review {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: #f4f8fc;
}

.single-review + .single-review {
  margin-top: 14px;
}

.single-review-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.single-review-header div {
  display: grid;
}

.single-review-header span:not(.stars) {
  color: var(--muted);
  font-size: 0.88rem;
}

.single-review p {
  color: var(--muted);
}

.reviews-disabled-section {
  display: none;
  padding: 22px 0 58px;
}

.reviews-disabled-card {
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.12), transparent 28rem),
    var(--surface);
}

.reviews-disabled-card p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

body.reviews-off .review-section {
  display: none;
}

body.reviews-off .reviews-disabled-section {
  display: block;
}

body.reviews-on .reviews-disabled-section {
  display: none;
}

body.reviews-on .review-section {
  display: block;
}

/* Cart page */

.cart-page {
  padding: 42px 0 58px;
}

.cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cart-heading h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 14px;
}

.cart-heading p {
  color: var(--muted);
  max-width: 640px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.cart-items-card,
.cart-summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-items-header h2,
.cart-summary-panel h2 {
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.cart-items-header span {
  color: var(--muted);
  font-weight: 750;
}

.cart-product {
  display: grid;
  /*grid-template-columns: 104px 1fr auto;*/
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-product-visual {
  min-height: 104px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  position: relative;
}

.cart-vial {
  width: 42px;
  height: 78px;
  border-radius: 13px 13px 16px 16px;
}

.cart-vial::before {
  top: -13px;
  left: 8px;
  width: 24px;
  height: 17px;
  border-radius: 5px 5px 3px 3px;
}

.shipping-visual {
  font-size: 2rem;
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.16), transparent 70%),
    #f4f8fc;
}

.cart-product-info {
  display: grid;
  gap: 14px;
}

.cart-product-info h3 {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.cart-product-info p {
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-product-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.small-quantity {
  grid-template-columns: 36px 58px 36px;
}

.small-quantity button,
.small-quantity input {
  height: 36px;
}

.remove-link {
  color: var(--muted);
  font-weight: 750;
  font-size: 0.9rem;
}

.remove-link:hover {
  color: var(--warning);
}

.included-pill {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 850;
}

.cart-product-price {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.cart-note-box {
  margin-top: 22px;
  background: #fff6e8;
  color: var(--warning);
  border: 1px solid #efd3a0;
  border-radius: 22px;
  padding: 18px;
}

.cart-note-box p {
  margin-top: 4px;
  color: var(--warning);
  font-size: 0.92rem;
}

.cart-summary-panel {
  position: sticky;
  top: 104px;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.summary-line {
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line strong {
  color: var(--ink);
}

.promo-box {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.promo-box label {
  display: block;
  font-weight: 850;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.promo-row input,
.promo-row button {
  height: 44px;
  border-radius: 999px;
  font: inherit;
}

.promo-row input {
  min-width: 0;
  border: 1px solid var(--line);
  background: #f4f8fc;
  padding: 0 14px;
  outline: 0;
}

.promo-row input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.promo-row button {
  border: 0;
  background: var(--ink);
  color: white;
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
}

.summary-total {
  padding: 20px 0;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.compliance-check {
  background: #fff6e8;
  border: 1px solid #efd3a0;
  color: var(--warning);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 16px;
}

.compliance-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 650;
}

.compliance-check input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.checkout-button {
  width: 100%;
  margin-bottom: 18px;
}

.cart-security-list {
  display: grid;
  gap: 10px;
}

.cart-security-list div {
  display: grid;
  gap: 2px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.cart-security-list strong {
  letter-spacing: -0.03em;
}

.cart-security-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Responsive */

@media (max-width: 1120px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-card {
    grid-column: 1 / -1;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .product-detail-grid,
  .product-lower-grid,
  .review-layout,
  .newsletter,
  .cart-layout,
  .products-hero,
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .footer-coa-action {
    justify-content: flex-start;
  }

  .review-layout {
    grid-template-areas:
      "summary"
      "form"
      "list";
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 10px 24px rgba(13, 35, 72, 0.05);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary:hover,
  .mobile-menu[open] summary {
    background: var(--accent-soft);
  }

  .mobile-menu-icon {
    font-size: 1.1rem;
    line-height: 1;
  }

  .mobile-menu-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    width: min(280px, calc(100vw - 22px));
    display: grid;
    gap: 6px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .mobile-menu-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 750;
  }

  .mobile-menu-links a:hover {
    background: var(--accent-soft);
  }

  .product-image-large {
    min-height: 420px;
  }

  .option-grid.compact,
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-summary-panel {
    position: static;
  }

  .catalog-stat-card {
    width: 100%;
    min-height: 120px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .notice-bar {
    font-size: 0.78rem;
  }

  .nav-actions .button-ghost {
    display: none;
  }

  .button {
    width: 100%;
  }

  .newsletter,
  .checkout-card,
  .cart-items-card,
  .cart-summary-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .products-hero h1 {
    font-size: 3.2rem;
  }

  .catalog-result-row {
    display: block;
  }

  .catalog-result-row .filters {
    margin-top: 14px;
  }

  .catalog-sidebar {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-page {
    padding-top: 28px;
  }

  .product-gallery,
  .product-info,
  .product-panel,
  .review-summary-card,
  .review-form-card,
  .review-list-card,
  .reviews-disabled-card {
    border-radius: 26px;
  }

  .product-info,
  .product-panel,
  .review-summary-card,
  .review-form-card,
  .review-list-card,
  .reviews-disabled-card {
    padding: 24px;
  }

  .product-info h1 {
    font-size: 3rem;
  }

  .product-image-large {
    min-height: 340px;
  }

  .gallery-thumbs,
  .option-grid.compact,
  .purchase-box,
  .spec-grid,
  .promo-row {
    grid-template-columns: 1fr;
  }

  .option-card {
    align-items: start;
  }

  .review-score {
    align-items: flex-start;
    flex-direction: column;
  }

  .rating-bar {
    grid-template-columns: 58px 1fr 38px;
    gap: 8px;
  }

  .single-review-header,
  .footer-grid,
  .signup-form {
    flex-direction: column;
  }

  .cart-heading {
    display: block;
  }

  .cart-heading .button {
    margin-top: 18px;
  }

  .cart-product {
    grid-template-columns: 1fr;
  }

  .cart-product-visual {
    min-height: 160px;
  }

  .cart-vial {
    width: 58px;
    height: 110px;
  }

  .cart-product-price {
    font-size: 1.3rem;
  }
}

/* Homepage layout fixes */

.hero {
  padding: 74px 0 42px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  max-width: 680px;
  margin-bottom: 24px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 226, 239, 0.8);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(13, 35, 72, 0.04);
}

.trust-card strong {
  display: block;
  font-size: 1.16rem;
  letter-spacing: -0.04em;
  margin-bottom: 2px;
}

.trust-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #eaf2fa);
  border: 1px solid rgba(212, 226, 239, 0.95);
  border-radius: 36px;
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(22, 58, 115, 0.18), transparent 68%);
  border-radius: 50%;
}

.molecule-panel {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(22, 58, 115, 0.92), rgba(43, 108, 176, 0.88)),
    #1b4f9c;
  color: white;
  overflow: hidden;
}

.molecule-panel::before,
.molecule-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.molecule-panel::before {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -160px;
}

.molecule-panel::after {
  width: 250px;
  height: 250px;
  right: -100px;
  top: 96px;
}

.sample-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  padding: 22px;
  backdrop-filter: blur(10px);
  margin-top: 150px;
}

.sample-box h2 {
  letter-spacing: -0.04em;
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.sample-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.orb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.orb.one { top: 60px; left: 56px; }
.orb.two { top: 132px; right: 90px; }
.orb.three { top: 210px; left: 170px; }
.orb.four { bottom: 86px; right: 66px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.07em;
  max-width: 720px;
}

.section-heading p {
  color: var(--muted);
  max-width: 420px;
}

.lab-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.lab-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.lab-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 16px;
}

.lab-copy p {
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f6ef;
  color: var(--success);
  font-weight: 900;
  flex: 0 0 auto;
}

/* Checkout page fixes */

.checkout-subheader {
  margin-top: 22px;
}

.checkout-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .hero,
  .lab-panel {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-actions,
  .sample-meta {
    flex-direction: column;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .lab-copy {
    padding: 24px;
    border-radius: 26px;
  }

  .checkout-two-column {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Quality reports page
   =============================== */

.quality-page {
  padding: 42px 0 58px;
}

.quality-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.quality-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 18px;
}

.quality-hero p {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.05rem;
}

.quality-stat-card {
  min-height: 150px;
  background: linear-gradient(135deg, #163a73, #2b6cb0);
  color: white;
  border-radius: 32px;
  box-shadow: 0 20px 48px rgba(22, 58, 115, 0.24);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 22px;
}

.quality-stat-card strong {
  display: block;
  font-size: 3.3rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.quality-stat-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.report-filter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  margin-bottom: 24px;
}

.report-filter-card > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(13, 35, 72, 0.04);
  padding: 14px 16px;
}

.report-filter-card label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.report-filter-card input,
.report-filter-card select {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.report-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.report-meta h2 {
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.report-meta p {
  color: var(--muted);
  font-size: 0.92rem;
}

.report-status {
  background: #e6f6ef;
  color: var(--success);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.report-document {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.10), transparent 26rem),
    #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.report-document img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 35, 72, 0.08);
}

.report-document img[src=""],
.report-document img:not([src]) {
  display: none;
}

.report-placeholder {
  position: absolute;
  inset: 14px;
  z-index: 1;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(13, 35, 72, 0.08);
}

.report-placeholder strong {
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.07em;
}

.report-placeholder span {
  color: var(--muted);
  font-weight: 800;
  margin-top: 8px;
}

.report-placeholder small {
  color: var(--muted);
  margin-top: 8px;
}

.report-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.report-actions .button {
  width: 100%;
}

@media (max-width: 980px) {
  .quality-hero,
  .report-filter-card {
    grid-template-columns: 1fr;
  }

  .quality-stat-card {
    min-height: 120px;
  }

  .reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .quality-page {
    padding-top: 28px;
  }

  .quality-hero h1 {
    font-size: 3.2rem;
  }

  .report-card {
    border-radius: 26px;
    padding: 18px;
  }

  .report-meta {
    display: grid;
  }

  .report-actions {
    grid-template-columns: 1fr;
  }

  .report-document {
    border-radius: 20px;
    padding: 10px;
  }

  .report-placeholder {
    inset: 10px;
  }
}

/* ===============================
   Consent landing page
   =============================== */

body.consent-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.22), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(26, 122, 98, 0.12), transparent 32rem),
    #f5f9fd;
}

.consent-page {
  min-height: 100vh;
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.consent-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 54px);
  position: relative;
  overflow: hidden;
}

.consent-card::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -140px;
  top: -140px;
  background: rgba(22, 58, 115, 0.12);
}

.consent-card > * {
  position: relative;
  z-index: 1;
}

.consent-brand {
  margin-bottom: 34px;
  width: fit-content;
}

.consent-card h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  max-width: 760px;
  margin-bottom: 22px;
}

.consent-intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
  margin-bottom: 24px;
}

.consent-warning {
  background: #fff6e8;
  border: 1px solid #efd3a0;
  color: var(--warning);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 26px;
}

.consent-warning strong {
  display: block;
  color: var(--warning);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.consent-warning p {
  color: var(--warning);
  font-size: 0.95rem;
}

.consent-form {
  display: grid;
  gap: 14px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  color: var(--ink);
  font-weight: 650;
}

.consent-check input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.consent-button {
  width: 100%;
  margin-top: 10px;
}

.consent-exit {
  width: 100%;
}

.consent-footer-note {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 620px) {
  .consent-page {
    width: min(100% - 22px, 980px);
    padding: 28px 0;
  }

  .consent-card {
    border-radius: 28px;
  }

  .consent-card h1 {
    font-size: 3rem;
  }

  .consent-check {
    border-radius: 16px;
  }
}

.quantity-row {
  display: flex;
  align-items: center;
}

.quantity-input {
  width: 96px;
  height: 46px;
  border: 1px solid #d4e2ef;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #0d2348;
  outline: none;
  background: #ffffff;
}

.quantity-input:focus {
  border-color: #2b6cb0;
  box-shadow: 0 0 0 4px rgba(27, 79, 156, 0.14);
}

button.remove-link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.9rem;
}

/* Login page */

.login-page {
  padding: 58px 0;
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 34px;
  align-items: center;
}

.login-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 22px;
}

.login-copy p {
  color: var(--muted);
  max-width: 650px;
  font-size: 1.08rem;
}

.login-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  max-width: 720px;
}

.login-card {
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.login-card-visual {
  min-height: 155px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(22, 58, 115, 0.18), transparent 34%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
}

.login-card h2 {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.login-card-text {
  color: var(--muted);
  margin-bottom: 20px;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.92rem;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  background: #f4f8fc;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.login-form input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.login-submit {
  width: 100%;
  margin-top: 10px;
  border: 0;
  font-size: 1rem;
}

.login-create {
  width: 100%;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.login-divider span {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.form-message {
  border-radius: 18px;
  padding: 13px 15px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-message.error {
  background: #fff1f1;
  color: #9e1f1f;
  border: 1px solid #f4c7c7;
}

.form-message.success {
  background: #e6f6ef;
  color: var(--success);
  border: 1px solid #c5eadc;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .login-card {
    padding: 22px;
    border-radius: 28px;
  }

  .login-copy h1 {
    font-size: 2.7rem;
  }
}

/* Register page */

.register-page {
  padding: 58px 0;
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 34px;
  align-items: center;
}

.register-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 22px;
}

.register-copy p {
  color: var(--muted);
  max-width: 650px;
  font-size: 1.08rem;
}

.register-card {
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.register-card-visual {
  min-height: 155px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(22, 58, 115, 0.18), transparent 34%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
}

.register-card h2 {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.register-card-text {
  color: var(--muted);
  margin-bottom: 20px;
}

.register-form {
  display: grid;
  gap: 12px;
}

.register-form label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.92rem;
}

.register-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  background: #f4f8fc;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.register-form input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.register-submit {
  width: 100%;
  margin-top: 10px;
  border: 0;
  font-size: 1rem;
}

.register-login {
  width: 100%;
}

@media (max-width: 900px) {
  .register-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .register-card {
    padding: 22px;
    border-radius: 28px;
  }

  .register-copy h1 {
    font-size: 2.7rem;
  }
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-two > div {
  display: grid;
  gap: 12px;
}

@media (max-width: 520px) {
  .form-grid-two {
    grid-template-columns: 1fr;
  }
}

/* Information wall page */

.information-wall-body {
  min-height: 100vh;
}

.information-wall-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.information-wall-form {
  width: min(100%, 420px);
  display: grid;
  gap: 11px;
}

.information-wall-form label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.88rem;
}

.information-wall-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 14px;
  background: #f4f8fc;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.information-wall-form input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.verification-note {
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid #efd3a0;
  border-radius: 15px;
  background: #fff6e8;
  color: var(--warning);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 650;
}

.verification-note strong {
  color: inherit;
}

.information-wall-submit {
  width: 100%;
  border: 0;
  margin-top: 8px;
}

.product-visual-photo {
  background: transparent;
  padding: 16px;
  border-radius: 22px;
  overflow: hidden;
}

.product-photo {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  mix-blend-mode: multiply;
}

/* Product label image switcher */

.product-label-gallery {
  position: relative;
}

.product-label-gallery .label-photo {
  display: none;
  width: 100%;
  min-height: 560px;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.product-label-gallery .label-photo img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(13, 35, 72, 0.18));
}

.product-label-gallery .label-photo-default {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card input[name="inventoryID"]:checked) .product-label-gallery .label-photo {
  display: none;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(1) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-1 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(2) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-2 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(3) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-3 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(4) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-4 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(5) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-5 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(6) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-6 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(7) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-7 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(8) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-8 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(9) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-9 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(10) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-10 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(11) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-11 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(12) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-12 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(13) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-13 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(14) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-14 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(15) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-15 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(16) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-16 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(17) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-17 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(18) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-18 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(19) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-19 {
  display: flex;
}

.product-detail-grid:has(.option-grid .option-card:nth-child(20) input[name="inventoryID"]:checked) .product-label-gallery .label-photo-20 {
  display: flex;
}

@media (max-width: 980px) {
  .product-label-gallery .label-photo {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .product-label-gallery .label-photo {
    min-height: 340px;
    padding: 22px;
  }
}

.inline-post-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.breadcrumb-post-button {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.breadcrumb-post-button:hover {
  text-decoration: underline;
}

.button-post-form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.button-post-form button {
  font: inherit;
}

/* Account / order history page */

.account-page {
  padding: 42px 0 58px;
}

.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.account-heading h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 14px;
}

.account-heading p {
  color: var(--muted);
  max-width: 640px;
}

.account-view-radio,
.account-order-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-filter-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.account-filter-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.account-filter-option:hover {
  transform: translateY(-2px);
}

#account-active-orders:checked ~ .account-filter-card label[for="account-active-orders"],
#account-completed-orders:checked ~ .account-filter-card label[for="account-completed-orders"],
#account-voided-orders:checked ~ .account-filter-card label[for="account-voided-orders"] {
  background: var(--accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(22, 58, 115, 0.28);
}

.account-panels {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.account-panel {
  display: none;
}

#account-active-orders:checked ~ .account-panels .account-panel-active,
#account-completed-orders:checked ~ .account-panels .account-panel-completed,
#account-voided-orders:checked ~ .account-panels .account-panel-voided {
  display: block;
}

.account-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.account-panel-header h2 {
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.account-panel-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-panel-header span {
  color: var(--muted);
  font-weight: 750;
}

.account-active-card {
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  margin-top: 24px;
}

.account-order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.account-order-header h2 {
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.account-order-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-status {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.account-summary {
  margin-top: 6px;
}

.account-summary-line,
.account-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-summary-line {
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.account-summary-line strong {
  color: var(--ink);
}

.account-summary-total {
  padding: 20px 0;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.account-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.account-products-header h3 {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.account-products-header span {
  color: var(--muted);
  font-weight: 750;
}

.account-product {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.account-product:last-child {
  border-bottom: 0;
}

.account-product-visual {
  min-height: 104px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(135deg, #e8f1fa, #f4f8fc);
  border: 1px solid #d4e2ef;
  display: grid;
  place-items: center;
  position: relative;
}

.account-vial {
  width: 42px;
  height: 78px;
  border-radius: 13px 13px 16px 16px;
}

.account-vial::before {
  top: -13px;
  left: 8px;
  width: 24px;
  height: 17px;
  border-radius: 5px 5px 3px 3px;
}

.account-product-info {
  display: grid;
  gap: 5px;
}

.account-product-info h3 {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.account-product-info p {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-product strong {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.account-order-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.account-order-row {
  display: grid;
  grid-template-columns: 1fr 160px 120px 90px;
  gap: 14px;
  align-items: center;
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  font-weight: 750;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.account-order-row:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 58, 115, 0.42);
}

.account-order-row span:nth-child(2),
.account-order-row span:nth-child(3),
.account-order-row span:nth-child(4) {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-order-row span:nth-child(4) {
  text-align: right;
  color: var(--accent-dark);
}

.account-order-detail {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin-top: -4px;
}

.account-order-toggle:checked + .account-order-row {
  background: var(--accent-soft);
  border-color: rgba(22, 58, 115, 0.42);
}

.account-order-toggle:checked + .account-order-row + .account-order-detail {
  display: block;
}

.account-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-detail-grid div {
  display: grid;
  gap: 4px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.account-detail-grid strong {
  letter-spacing: -0.03em;
}

.account-detail-grid span {
  color: var(--muted);
  font-size: 0.86rem;
}

.account-shipping-box,
.account-alert-box {
  margin-top: 18px;
  background: #fff6e8;
  color: var(--warning);
  border: 1px solid #efd3a0;
  border-radius: 22px;
  padding: 18px;
}

.account-shipping-box strong,
.account-alert-box strong {
  display: block;
  margin-bottom: 4px;
}

.account-shipping-box p,
.account-alert-box p {
  color: var(--warning);
  font-size: 0.92rem;
  margin-top: 4px;
}

.account-mini-table {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.account-mini-table div {
  display: grid;
  grid-template-columns: 1fr 130px 90px 100px;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f4f8fc;
}

.account-mini-table div:last-child {
  border-bottom: 0;
}

.account-mini-table span {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-mini-table span:first-child {
  color: var(--ink);
  font-weight: 750;
}

.account-mini-table strong {
  text-align: right;
}

@media (max-width: 900px) {
  .account-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-order-row {
    grid-template-columns: 1fr 130px;
  }

  .account-order-row span:nth-child(3),
  .account-order-row span:nth-child(4) {
    text-align: left;
  }

  .account-product {
    grid-template-columns: 84px 1fr;
  }

  .account-product strong {
    grid-column: 2;
  }

  .account-product-visual {
    min-height: 84px;
  }

  .account-mini-table div {
    grid-template-columns: 1fr 1fr;
  }

  .account-mini-table strong {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .account-filter-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-filter-option {
    width: 100%;
  }

  .account-panels {
    padding: 20px;
    border-radius: 28px;
  }

  .account-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-active-card {
    padding: 20px;
  }

  .account-detail-grid {
    grid-template-columns: 1fr;
  }

  .account-order-row {
    grid-template-columns: 1fr;
  }

  .account-product {
    grid-template-columns: 1fr;
  }

  .account-product strong {
    grid-column: auto;
  }

  .account-product-visual {
    min-height: 110px;
  }

  .account-mini-table div {
    grid-template-columns: 1fr;
  }
}

/* Contact - start */

.contact-page {
  padding: 48px 0 72px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.contact-hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}

.contact-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-hero-card {
  min-height: 170px;
  border-radius: 32px;
  padding: 28px;
  display: grid;
  place-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #163a73, #2b6cb0);
  box-shadow: 0 20px 48px rgba(22, 58, 115, 0.24);
}

.contact-hero-card strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.contact-hero-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 28px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 18px;
}

.contact-option-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(13, 35, 72, 0.05);
  padding: 24px;
}

.contact-option-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 900;
}

.contact-option-card h2 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.contact-option-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-option-note {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form-card {
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-form-heading h2 {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.contact-form-heading p {
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-row > div {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-form label span {
  color: var(--muted);
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  background: #f4f8fc;
  color: var(--ink);
  font: inherit;
  outline: 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 58, 115, 0.12);
}

.contact-form input:disabled,
.contact-form textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-submit {
  width: 100%;
  border: 0;
  margin-top: 8px;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.contact-form-status {
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    min-height: 130px;
  }
}

@media (max-width: 520px) {
  .contact-page {
    padding-top: 32px;
  }

  .contact-form-card {
    padding: 22px;
    border-radius: 28px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-option-card {
    grid-template-columns: 1fr;
  }
}

/* Contact - end */

/* Centered Login Page */

body.login-body {
  min-height: 100vh;
  background-color: #ffffff;
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
}

body.login-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='135' viewBox='0 0 77.942 135'%3E%3Cpath fill='none' stroke='%237eb3dc' stroke-width='1.15' stroke-linejoin='miter' d='M38.971 0L77.942 22.5V67.5L38.971 90 0 67.5V22.5Z M0 67.5L38.971 90V135L0 157.5-38.971 135V90Z M77.942 67.5L116.913 90V135L77.942 157.5 38.971 135V90Z'/%3E%3C/svg%3E");
  background-size: 78px 135px;
  background-position: top right;
  -webkit-mask-image:
    radial-gradient(ellipse 55% 50% at 100% 0%, #000 0%, transparent 72%),
    radial-gradient(ellipse 50% 48% at 0% 100%, #000 0%, transparent 70%);
  mask-image:
    radial-gradient(ellipse 55% 50% at 100% 0%, #000 0%, transparent 72%),
    radial-gradient(ellipse 50% 48% at 0% 100%, #000 0%, transparent 70%);
}

body.login-body::after {
  display: none;
}

.login-page-centered {
  min-height: 100vh;
  width: 100%;
  padding: 32px 16px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.login-card-centered {
  width: min(460px, 100%);
  padding: 38px;
  background:
    radial-gradient(circle at top left, rgba(22, 58, 115, 0.08), transparent 22rem),
    linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.login-card-centered h2 {
  text-align: center;
}

.login-card-centered .login-card-text {
  text-align: center;
}

@media (max-width: 520px) {
  .login-page-centered {
    padding: 20px 14px;
  }

  .login-card-centered {
    padding: 28px 22px;
  }
}

/* COA - start */

.coa-page {
  padding: 48px 0 72px;
}

.coa-heading {
  margin-bottom: 32px;
}

.coa-heading h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}

.coa-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.coa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.coa-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
}

.coa-table th {
  padding: 18px 24px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.coa-table td {
  padding: 18px 24px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
  border-bottom: 1px solid var(--line);
}

.coa-table tbody tr:last-child td {
  border-bottom: 0;
}

.coa-table tbody tr {
  transition: background 0.2s ease;
}

.coa-table tbody tr:hover {
  background: #f7fafe;
}

.coa-table td:first-child {
  font-weight: 800;
}

.coa-table td:nth-child(2) {
  color: var(--muted);
}

.coa-action-heading,
.coa-action {
  text-align: right !important;
}

.coa-view-button {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.88rem;
}

@media (max-width: 700px) {

  .coa-page {
    padding-top: 32px;
  }

  .coa-heading h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .coa-card {
    border-radius: 24px;
  }

  .coa-table th,
  .coa-table td {
    padding: 15px 16px;
  }

  .coa-table th:first-child,
  .coa-table td:first-child {
    min-width: 170px;
  }

  .coa-table th:nth-child(2),
  .coa-table td:nth-child(2) {
    min-width: 130px;
  }

}

/* COA - end */