/* thecompany theme — tokens */
:root {
  --tc-primary: #0095f7;
  --tc-primary-dark: #0079c9;
  --tc-accent: #6772e5;
  --tc-accent-dark: #545fd1;
  --tc-ink: #3a3f52;
  --tc-muted: #53627c;
  --tc-faint: #8da2b5;
  --tc-bg: #f6f8f9;
  --tc-surface: #ffffff;
  --tc-border: #e3e9ee;
  --tc-radius-sm: 6px;
  --tc-radius-md: 12px;
  --tc-radius-lg: 20px;
  --tc-radius-pill: 999px;
  --tc-shadow: 0 10px 16px rgba(10, 31, 68, 0.08);
  --tc-shadow-sm: 0 2px 3px rgba(0, 0, 0, 0.08);
  --tc-font: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --tc-max: 1120px;
}

/* reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: var(--tc-font);
  line-height: 1.6;
}

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

a {
  color: var(--tc-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--tc-primary-dark);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--tc-ink);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

button {
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--tc-accent);
  outline-offset: 2px;
}

.site-main {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* announce bar (top TDS strip) */
.announce-bar:empty {
  display: none;
}

.tds-strip {
  background: linear-gradient(90deg, var(--tc-accent), var(--tc-primary));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.tds-card {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow);
  padding: 20px 24px;
  margin: 24px 0;
}

/* masthead */
.masthead {
  background: var(--tc-surface);
  border-bottom: 1px solid var(--tc-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease;
}

.masthead.masthead-solid {
  box-shadow: var(--tc-shadow-sm);
}

.masthead-inner {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.masthead-logo {
  display: flex;
  align-items: center;
}

.masthead-brand img {
  max-height: 32px;
}

.masthead-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.masthead-toggle span {
  display: block;
  height: 2px;
  background: var(--tc-ink);
  border-radius: 2px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.cart-chip[hidden] {
  display: none;
}

.cart-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-bg);
  color: var(--tc-ink);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: auto;
}

.cart-chip-ico {
  display: inline-block;
  width: 0.95rem;
  height: 0.75rem;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  position: relative;
  flex-shrink: 0;
}

.cart-chip-ico::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: -5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.cart-chip-btn:hover,
.cart-chip-btn:focus-visible {
  background: var(--tc-primary);
  color: #fff;
}

/* top-level nav links */
.topnav,
.footnav,
.staticnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav-link,
.footnav-link,
.staticnav-link {
  color: var(--tc-muted);
  font-weight: 500;
}

.topnav-link {
  font-size: 0.8rem;
}

.topnav-link:hover,
.footnav-link:hover,
.staticnav-link:hover,
.topnav-link:focus-visible,
.footnav-link:focus-visible,
.staticnav-link:focus-visible {
  color: var(--tc-primary);
  text-decoration: none;
}

/* main nav (with dropdown) */
.mainnav {
  display: flex;
  gap: 24px;
}

.mainnav-item {
  position: relative;
}

.mainnav-link {
  color: var(--tc-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.mainnav-link:hover,
.mainnav-link:focus-visible {
  color: var(--tc-primary);
  text-decoration: none;
}

.mainnav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  min-width: 180px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  box-shadow: var(--tc-shadow);
  padding: 8px 0;
  z-index: 60;
}

.mainnav-drop:empty {
  display: none !important;
}

.mainnav-item:hover .mainnav-drop,
.mainnav-item:focus-within .mainnav-drop,
.mainnav-item.mainnav-item-open .mainnav-drop {
  display: flex;
}

.mainnav-drop-link {
  padding: 8px 16px;
  color: var(--tc-muted);
}

.mainnav-drop-link:hover,
.mainnav-drop-link:focus-visible {
  background: var(--tc-bg);
  color: var(--tc-primary);
  text-decoration: none;
}

/* breadcrumbs */
.crumbtrail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.85rem;
  color: var(--tc-faint);
}

.crumbtrail-step:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--tc-faint);
}

.crumbtrail-step-current {
  color: var(--tc-ink);
  font-weight: 600;
}

/* pages */
.page {
  display: block;
}

.promo-slot:empty {
  display: none;
}

.promo-slot-home,
.promo-slot-hub {
  margin-top: 32px;
}

.home-teasers,
.category-shop,
.content-shop {
  margin-top: 40px;
}

.page-home,
.page-hub,
.page-category,
.page-content,
.page-static,
.page-default {
  display: flow-root;
}

/* generic content blocks */
.lede {
  font-size: 1.2rem;
  color: var(--tc-ink);
  margin: 0 0 24px;
}

.summary-panel {
  background: var(--tc-surface);
  border-left: 4px solid var(--tc-accent);
  border-radius: var(--tc-radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--tc-muted);
}

.content-block {
  display: flow-root;
  margin: 40px 0;
}

.content-block > h2 {
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 10px;
}

.content-block > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--tc-primary);
  border-radius: 2px;
}

.content-block-body {
  display: flow-root;
  margin-top: 16px;
}

.sub-block {
  margin: 24px 0;
}

.sub-block h3 {
  font-size: 1.2rem;
  color: var(--tc-accent-dark);
}

.sub-block-body {
  color: var(--tc-muted);
}

.copy {
  color: var(--tc-muted);
  margin: 0 0 16px;
}

.callout {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--tc-primary);
  background: var(--tc-surface);
  border-radius: var(--tc-radius-sm);
  color: var(--tc-muted);
  font-style: italic;
}

/* lists */
.feature-list-wrap,
.checklist-panel,
.steps-wrap {
  margin: 20px 0;
}

.feature-list,
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-list li,
.checklist li {
  padding: 10px 14px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
}

.checklist li::before {
  content: "✓";
  color: var(--tc-primary);
  font-weight: 700;
  margin-right: 8px;
}

.steps-track {
  padding: 0;
  margin: 0;
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

.steps-track li {
  list-style: none;
  padding: 12px 16px 12px 48px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  position: relative;
  counter-increment: steps;
}

.steps-track li::before {
  content: counter(steps);
  position: absolute;
  left: 14px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tc-primary);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-list {
  margin: 24px 0;
}

.detail-list-items {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: var(--tc-muted);
}

/* faq */
.faq-list {
  margin: 24px 0;
}

.faq-question {
  font-weight: 700;
  color: var(--tc-ink);
  padding: 12px 0 4px;
  border-top: 1px solid var(--tc-border);
  cursor: default;
}

.faq-list dt:first-child {
  border-top: 0;
}

.faq-question:hover {
  color: var(--tc-primary);
}

.faq-answer {
  margin: 0 0 8px;
  color: var(--tc-muted);
}

/* comparison */
.compare-table {
  margin: 24px 0;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  overflow: hidden;
}

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

.compare-row:nth-child(odd) {
  background: var(--tc-surface);
}

.compare-row:nth-child(even) {
  background: var(--tc-bg);
}

.compare-key,
.compare-val {
  padding: 12px 16px;
}

.compare-key {
  font-weight: 600;
  color: var(--tc-ink);
  border-right: 1px solid var(--tc-border);
}

.compare-val {
  color: var(--tc-muted);
}

/* link list / groups */
.link-list,
.link-groups {
  margin: 32px 0;
}

.link-group {
  margin-top: 20px;
}

.link-group-title {
  color: var(--tc-accent-dark);
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.link-card {
  display: block;
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  padding: 14px;
  color: var(--tc-ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  box-shadow: var(--tc-shadow);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--tc-ink);
}

.link-card-media {
  border-radius: var(--tc-radius-sm);
  margin-bottom: 8px;
}

.link-card-title {
  display: block;
  font-weight: 600;
}

.link-card-desc {
  display: block;
  color: var(--tc-faint);
  margin-top: 4px;
}

/* link_list_content — content-page inline reference list; deliberately NOT
   the link_list card grid (own markup/CSS contract per kit 1.10) */
.content-links-heading {
  margin: 0 0 10px;
  font-size: 1rem;
}

.content-links-list {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--tc-surface);
  border-left: 3px solid var(--tc-accent);
  border-radius: var(--tc-radius-sm);
  list-style: none;
}

.content-links-item {
  padding: 6px 0;
  border-top: 1px solid var(--tc-border);
}

.content-links-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.content-links-link {
  font-weight: 600;
}

.content-links-link:hover,
.content-links-link:focus-visible {
  text-decoration: underline;
}

.content-links-desc {
  display: block;
  color: var(--tc-faint);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* h1 — content-page root heading, injected by MiniCMS from content_json.h1 */
.page-head {
  margin: 8px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tc-border);
}

.page-head-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--tc-ink);
}

/* hero */
.hero-banner {
  background: linear-gradient(135deg, rgba(9, 149, 247, 0.08), rgba(103, 114, 229, 0.08));
  border-radius: var(--tc-radius-lg);
  padding: 56px 40px;
  margin: 24px 0 40px;
  text-align: center;
}

.hero-banner-copy h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero-banner-copy p {
  color: var(--tc-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* image */
.media-frame {
  margin: 24px 0;
}

.media-frame-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow);
}

.pull-pic {
  float: left;
  width: 30rem;
  max-width: calc(100% - 1.5rem);
  margin: 0 1.5rem 1rem 0;
}

.pull-pic-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow-sm);
}

/* shop: catalog + teasers */
.shop-catalog,
.shop-teasers {
  margin: 32px 0;
}

.shop-trust-note,
.shop-trust-notice {
  color: var(--tc-faint);
  font-size: 0.85rem;
  margin: 0 0 16px;
}

/* catalog tabs (shared by product_table + product_table_content) */
.shop-tab-list,
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tc-border);
  padding-bottom: 12px;
}

.shop-tab-button,
.catalog-tab {
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  color: var(--tc-muted);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.shop-tab-button:hover,
.catalog-tab:hover,
.catalog-tab:focus-visible {
  color: var(--tc-primary);
  border-color: var(--tc-primary);
}

.shop-tab-button.is-active,
.shop-tab-button.active,
.catalog-tab.is-active,
.catalog-tab[aria-selected="true"] {
  background: var(--tc-primary);
  border-color: var(--tc-primary);
  color: #fff;
}

.catalog-panels {
  display: block;
}

.shop-tab-panel[hidden],
.catalog-panel[hidden] {
  display: none;
}

.shop-options,
.shop-catalog-compact .buy-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-grid,
.teaser-grid {
  display: grid;
  gap: 20px;
}

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

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

.product-card,
.teaser-card {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  box-shadow: var(--tc-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card {
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}

.product-card:not(:has(.product-card-media)) {
  flex-direction: column;
}

.product-card-media,
.teaser-card-media {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card-media {
  flex: 0 0 240px;
  width: 240px;
  height: auto;
  min-height: 200px;
  align-self: stretch;
}

.product-card-body,
.teaser-card-body {
  padding: 16px;
}

.product-card-title,
.teaser-card-title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.product-card-desc,
.teaser-card-desc {
  color: var(--tc-muted);
  font-size: 0.9rem;
}

.product-card-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-primary);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: var(--tc-shadow-sm);
}

.buy-btn:hover,
.buy-btn:focus-visible {
  background: var(--tc-primary-dark);
}

.buy-btn[data-available="0"] {
  background: var(--tc-faint);
  cursor: not-allowed;
}

.buy-btn-label,
.shop-option-label {
  white-space: nowrap;
}

.buy-btn-price,
.shop-option-price {
  font-weight: 700;
}

.shop-option-dosage,
.buy-btn-dosage {
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--tc-radius-sm);
  padding: 2px 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* cart drawer (fixed contract classes styled below) */
.cart-drawer[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.cart-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 38, 0.55);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--tc-surface);
  padding: 24px;
  overflow-y: auto;
  box-shadow: -12px 0 32px rgba(10, 31, 68, 0.18);
}

.cart-drawer-close {
  position: relative;
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-bg);
  padding: 0;
  cursor: pointer;
}

.cart-drawer-close::before,
.cart-drawer-close::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 2px;
  background: currentColor;
}

.cart-drawer-close::before { transform: rotate(45deg); }
.cart-drawer-close::after { transform: rotate(-45deg); }

.cart-drawer-close:hover,
.cart-drawer-close:focus-visible {
  background: var(--tc-primary);
  color: #fff;
}

.cart-drawer-title {
  clear: both;
  margin-top: 8px;
}

.cart-drawer-items {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.cart-drawer-empty {
  color: var(--tc-faint);
}

.cart-drawer-total {
  font-weight: 700;
  border-top: 1px solid var(--tc-border);
  padding-top: 12px;
}

.cart-drawer-notice {
  color: var(--tc-faint);
  font-size: 0.8rem;
  margin: 8px 0 0;
}

.cart-drawer-checkout {
  width: 100%;
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-accent);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
}

.cart-drawer-checkout:hover,
.cart-drawer-checkout:focus-visible {
  background: var(--tc-accent-dark);
}

.cart-drawer-checkout:disabled {
  background: var(--tc-border);
  color: var(--tc-faint);
  cursor: not-allowed;
}

/* runtime-generated cart rows — fixed classes injected by shop-cart.js, do not rename */
.shop-cart-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    "image title title title title"
    "image option price qty remove";
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  background: var(--tc-bg);
}

.shop-cart-image {
  grid-area: image;
  width: 48px;
  height: 48px;
  border-radius: var(--tc-radius-sm);
  object-fit: cover;
}

.shop-cart-title {
  grid-area: title;
  font-weight: 700;
  color: var(--tc-ink);
}

.shop-cart-option {
  grid-area: option;
  color: var(--tc-faint);
  font-size: 0.85rem;
}

.shop-cart-price {
  grid-area: price;
  color: var(--tc-primary-dark);
  font-weight: 600;
}

.shop-cart-qty {
  grid-area: qty;
  width: 56px;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  padding: 4px 6px;
}

.shop-cart-remove {
  position: relative;
  grid-area: remove;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--tc-muted);
  cursor: pointer;
  padding: 0;
}

.shop-cart-remove::before,
.shop-cart-remove::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  background: currentColor;
}

.shop-cart-remove::before { transform: rotate(45deg); }
.shop-cart-remove::after { transform: rotate(-45deg); }

.shop-cart-remove-label,
.shop-cart-close-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-cart-remove:hover,
.shop-cart-remove:focus-visible {
  color: #d1435b;
}

/* external reference */
.external-ref {
  color: var(--tc-muted);
  margin: 16px 0;
}

.external-ref-link {
  font-weight: 600;
}

/* shop contact (inline / footer / cta / modal) */
.contact-inline,
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-footer {
  margin-bottom: 16px;
}

.contact-link {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
}

.contact-inline .contact-link {
  color: var(--tc-primary);
  text-decoration: none;
}

.contact-inline .contact-link:hover,
.contact-inline .contact-link:focus-visible {
  text-decoration: underline;
}

.contact-footer .contact-link:hover,
.contact-footer .contact-link:focus-visible {
  color: #fff;
}

.contact-cta {
  margin: 24px 0;
}

.contact-open-btn,
.contact-cta-btn {
  background: var(--tc-accent);
}

.contact-open-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-open-ico {
  display: inline-block;
  width: 0.85rem;
  height: 0.65rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.contact-open-ico::before {
  content: "";
  position: absolute;
  left: -1.5px;
  right: -1.5px;
  top: -1px;
  height: 6px;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(90deg);
}

.contact-open-btn:hover,
.contact-open-btn:focus-visible,
.contact-cta-btn:hover,
.contact-cta-btn:focus-visible {
  background: var(--tc-accent-dark);
}

.contact-modal-block {
  margin: 24px 0;
}

/* contact drawer reuses the cart drawer's right-side slide-in language */
.contact-drawer[hidden] {
  display: none;
}

.contact-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.contact-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 38, 0.55);
}

.contact-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--tc-surface);
  padding: 24px;
  overflow-y: auto;
  box-shadow: -12px 0 32px rgba(10, 31, 68, 0.18);
}

.contact-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* GDPR notice — bottom bar (own take, not a centered dialog) */
.gdpr-bar[hidden] {
  display: none;
}

.gdpr-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
}

.gdpr-bar-inner {
  max-width: var(--tc-max);
  margin: 0 auto;
  background: #4c5268;
  color: #cfd4e0;
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gdpr-bar-copy {
  flex: 1;
  min-width: 220px;
}

.gdpr-bar-title {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 4px;
}

.gdpr-bar-body {
  margin: 0;
  color: #cfd4e0;
  font-size: 0.85rem;
  max-width: 640px;
}

.gdpr-bar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.gdpr-bar-details {
  color: #cfd4e0;
  text-decoration: underline;
  font-size: 0.85rem;
}

.gdpr-bar-details:hover,
.gdpr-bar-details:focus-visible {
  color: #fff;
}

.gdpr-bar-dismiss {
  background: var(--tc-primary);
}

.gdpr-bar-dismiss:hover,
.gdpr-bar-dismiss:focus-visible {
  background: var(--tc-primary-dark);
}

.gdpr-bar-strict .gdpr-bar-dismiss {
  background: var(--tc-accent);
}

.gdpr-bar-strict .gdpr-bar-dismiss:hover,
.gdpr-bar-strict .gdpr-bar-dismiss:focus-visible {
  background: var(--tc-accent-dark);
}

/* footer */
.site-footer {
  background: var(--tc-ink);
  color: #cfd4e0;
  margin-top: 48px;
}

.site-footer-inner {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 32px 24px;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.site-footer-nav a {
  color: #cfd4e0;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: #fff;
}

.site-footer-note {
  margin: 0;
  color: #8f96ab;
  font-size: 0.85rem;
}

/* responsive */
@media (max-width: 780px) {
  .masthead-toggle {
    display: flex;
  }

  .masthead-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    gap: 12px;
    padding-top: 12px;
  }

  .masthead-inner {
    flex-wrap: wrap;
  }

  .masthead.masthead-open .masthead-nav {
    display: flex;
  }

  .mainnav {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .mainnav-drop {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 12px;
    display: none;
  }

  .mainnav-item.mainnav-item-open .mainnav-drop {
    display: flex;
  }

  .hero-banner {
    padding: 36px 20px;
  }

  .hero-banner-copy h1 {
    font-size: 1.8rem;
  }

  .page-head-title {
    font-size: 1.6rem;
  }

  .pull-pic {
    float: none;
    width: min(30rem, 100%);
    max-width: 100%;
    margin: 0 0 16px;
  }

  .product-card {
    flex-direction: column;
  }

  .product-card-media {
    flex: none;
    width: 100%;
    height: 160px;
    min-height: 0;
  }

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

  .cart-chip-label,
  .contact-open-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

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

  .compare-key {
    border-right: 0;
    border-bottom: 1px solid var(--tc-border);
  }

  .cart-drawer-panel,
  .contact-drawer-panel {
    width: 100%;
  }

  .shop-cart-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas:
      "image title title"
      "image option price"
      "image qty remove";
  }

  .shop-cart-image {
    width: 40px;
    height: 40px;
  }

  .gdpr-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .gdpr-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gdpr-bar-actions {
    width: 100%;
    justify-content: space-between;
  }
}
