/* BGT Innovations — bgtinno.com
   Inverted palette: warm cream + black type + light gold accents.
   Self-contained; every rule is scoped by class so it can be enqueued by the WP mu-plugin as-is. */

:root {
  --cream: #f6f0e6;
  --paper: #fbf8f2;
  --sand: #ece2d0;
  --line: #d9cbb2;
  --ink: #16130f;
  --ink-2: #4a4339;
  --gold: #e3c27a;
  --gold-soft: #f0dcae;
  --gold-text: #7e5f25;
  --wrap: 1240px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.7 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--ink); color: var(--cream); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.eyebrow--ink { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font: 600 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--ink); color: var(--cream); border: 1px solid var(--ink); }
.btn--solid:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }

/* Top bar */
.topbar { background: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar__contact { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 13px; height: 13px; fill: currentColor; }
.topbar__ruo { margin: 0; }

/* Nav */
.nav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.nav__logo img { width: 104px; filter: brightness(0); } /* placeholder: current gold logo shown in black until the beige-ready logo lands */
.nav__links { display: flex; gap: 46px; }
.nav__links a { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current] { border-color: var(--gold-text); }
.nav__icons { display: flex; align-items: center; gap: 22px; }
.nav__icons svg { width: 21px; height: 21px; fill: var(--ink); }
.nav__icons a:hover svg { fill: var(--gold-text); }
.nav__toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream); isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
/* Cream wash keeps the black type readable over the video. */
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,240,230,.96) 0%, rgba(246,240,230,.9) 38%, rgba(246,240,230,.35) 68%, rgba(246,240,230,0) 100%); }
.hero__in { display: flex; align-items: center; min-height: 640px; padding-top: 72px; padding-bottom: 72px; }
.hero__copy { max-width: 600px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 300; margin-bottom: 26px; }
.hero__lede { font-size: 17px; color: var(--ink-2); max-width: 520px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats strip */
.stats { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 28px 16px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__big { font-size: clamp(34px, 3.6vw, 50px); font-weight: 300; line-height: 1.1; margin: 0 0 8px; }
.stat__label { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin: 0; }

/* Sections */
.section { padding: 110px 0; }
.section--sand { background: var(--sand); }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.sechead h2 { font-size: clamp(38px, 5vw, 62px); max-width: 520px; }
.sechead__aside { max-width: 330px; text-align: right; color: var(--ink-2); font-size: 14px; }
.sechead__aside p:last-child { margin: 0; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 56px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card__img { display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 55%, #fff 0%, var(--paper) 65%); padding: 18%; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; border-top: 1px solid var(--line); }
.card__cats { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.card__name { font-size: 21px; font-weight: 400; text-transform: none; letter-spacing: .01em; line-height: 1.2; margin-bottom: 18px; }
.card__name a { text-decoration: none; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.card__price { font-weight: 500; }
.card__more { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.card__more:hover { color: var(--gold-text); }

/* COA steps */
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--paper); }
.step { padding: 40px 36px 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step__num { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.step h3 { font-size: 30px; margin-bottom: 16px; }
.step p:last-child { color: var(--ink-2); font-size: 15px; margin: 0; }
.tagline { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img { background: var(--sand); border: 1px solid var(--line); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 8%; }
.about__img img { max-height: 100%; object-fit: contain; }
.about h2 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 28px; }
.about__copy > p { color: var(--ink-2); }
.about__copy strong { color: var(--ink); font-weight: 600; }
.about__close { color: var(--ink) !important; font-weight: 500; padding: 18px 0; margin: 8px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq__head h2 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 22px; }
.faq__head > p { color: var(--ink-2); margin-bottom: 28px; }
.faq__list details { background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px; }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 500; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--gold-text); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { padding: 0 26px 24px; margin: 0; color: var(--ink-2); font-size: 15px; }

/* Footer */
.footer { background: var(--sand); border-top: 1px solid var(--line); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer__logo img { width: 120px; filter: brightness(0); margin-bottom: 22px; }
.footer__brand p { color: var(--ink-2); max-width: 340px; }
.footer__contact { list-style: none; padding: 0; margin: 0; line-height: 2; }
.footer__contact a, .footer__col a { text-decoration: none; }
.footer__contact a:hover, .footer__col a:hover { color: var(--gold-text); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); }
.footer__base p { margin: 0; }
.ruo { background: var(--ink); color: #cfc5b4; font-size: 12px; line-height: 1.7; padding: 22px 0; }
.ruo p { margin: 0 auto; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 28px; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .hero__in { min-height: 560px; justify-content: center; text-align: center; padding-top: 56px; padding-bottom: 56px; }
  .hero__shade { background: linear-gradient(180deg, rgba(246,240,230,.9) 0%, rgba(246,240,230,.82) 60%, rgba(246,240,230,.6) 100%); }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .stats__in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sechead { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .sechead__aside { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .about, .faq { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar__in { justify-content: center; }
  .topbar__contact li:last-child, .topbar__ruo { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 14px 12px 12px; }
  .card__name { font-size: 16px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__base { flex-direction: column; }
}

/* Shared bits */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.section--tight { padding: 56px 0 100px; }
.nav__cart { position: relative; }
.nav__count { position: absolute; top: -8px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }

/* Interior page header */
.pagehead { background: var(--sand); border-bottom: 1px solid var(--line); }
.pagehead__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 80px; padding-bottom: 64px; }
.pagehead__in--stack { flex-direction: column; align-items: flex-start; gap: 0; }
.pagehead h1 { font-size: clamp(40px, 5.6vw, 76px); }
.pagehead__lede { color: var(--ink-2); max-width: 760px; font-size: 17px; margin: 26px 0 0; }

/* Tabs (shop categories, policies) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tabs a { padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; background: var(--paper); }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Product page */
.disclaimer { margin: 0; padding: 12px 24px; background: var(--ink); color: #e9dfcc; font-size: 12px; line-height: 1.6; text-align: center; }
.disclaimer strong { color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.product { padding: 40px 0 100px; }
.crumbs { font-size: 12px; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 32px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product__in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.product__img { background: radial-gradient(circle at 50% 55%, #fff 0%, var(--paper) 70%); border: 1px solid var(--line); aspect-ratio: 1; padding: 12%; position: sticky; top: 100px; }
.product__img img { width: 100%; height: 100%; object-fit: contain; }
.buy h1 { font-size: clamp(34px, 4vw, 52px); text-transform: none; font-weight: 400; letter-spacing: 0; margin-bottom: 14px; }
.buy .card__cats a { text-decoration: none; }
.buy__price { font-size: 24px; font-weight: 500; margin-bottom: 20px; }
.buy__short { color: var(--ink-2); }
.buy__label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.opt { font: 500 14px var(--font); padding: 10px 18px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.opt[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy__add { flex: 1; justify-content: center; min-width: 200px; }
.buy__msg { min-height: 1.6em; margin: 12px 0 18px; font-size: 14px; color: var(--gold-text); font-weight: 500; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty button { background: none; border: 0; width: 42px; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--sand); }
.qty input { width: 44px; border: 0; background: none; text-align: center; font: 500 15px var(--font); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 32px; height: 36px; }
.qty--sm input { width: 32px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.trust li::before { content: "✓"; color: var(--gold-text); margin-right: 8px; }
.coa { background: var(--sand); border: 1px solid var(--line); padding: 26px 28px; }
.coa__prod { font-weight: 600; margin-bottom: 8px; }
.coa p:not(.eyebrow):not(.coa__prod) { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.pdesc { padding: 0 0 90px; }
.pdesc__in { max-width: 860px; }
.labonly__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.labonly h2 { font-size: clamp(30px, 3.4vw, 44px); }
.labonly p { color: var(--ink-2); }

/* Prose (descriptions, policies) */
.prose { color: var(--ink-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); }
.prose h2 { font-size: 28px; margin: 48px 0 18px; }
.prose h3 { font-size: 15px; font-weight: 600; letter-spacing: .08em; margin: 36px 0 12px; }
.prose h4 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose ol.alpha { list-style: lower-alpha; }
.prose a { color: var(--ink); }
.prose--doc { max-width: 860px; background: var(--paper); border: 1px solid var(--line); padding: 56px 64px; }
.policy-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 48px; }
.policy-facts > div { padding: 22px 24px; border-left: 1px solid var(--line); background: var(--sand); }
.policy-facts > div:first-child { border-left: 0; }
.policy-facts p { margin: 0; color: var(--ink); }

/* About / contact */
.stat__big--sm { font-size: clamp(22px, 2.2vw, 30px); }
.stats .stat__label + .stat__big { margin: 8px 0 0; }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.quote figcaption { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.info { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--paper); margin-bottom: 40px; }
.info__item { padding: 34px 32px; border-left: 1px solid var(--line); }
.info__item:first-child { border-left: 0; }
.info__big { font-size: 20px; font-weight: 500; margin-bottom: 6px; word-break: break-word; }
.info__big a { text-decoration: none; }
.info__item p:last-child { color: var(--ink-2); font-size: 14px; margin: 0; }
.notice { background: var(--sand); border: 1px solid var(--line); padding: 32px 36px; }
.notice h3 { font-size: 18px; margin: 22px 0 12px; }
.notice p:not(.eyebrow) { color: var(--ink-2); }
.notice p:last-child { margin-bottom: 0; }
.notice--inline { padding: 20px 24px; margin-top: 32px; color: var(--ink) !important; }

/* Test results */
.coa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coa-tile { display: block; background: var(--paper); border: 1px solid var(--line); padding: 10px; aspect-ratio: 3 / 4; transition: border-color .2s, transform .2s; }
.coa-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.coa-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lightbox { border: 0; padding: 0; background: none; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(22, 19, 15, .82); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); font-size: 26px; cursor: pointer; }
.chart { background: var(--paper); border: 1px solid var(--line); padding: 24px; max-width: 1000px; margin: 0 auto; }

/* Forms, account, cart, checkout */
.panel { background: var(--paper); border: 1px solid var(--line); padding: 36px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form h2 { font-size: 26px; margin-bottom: 4px; }
.form label { display: block; font-size: 13px; font-weight: 500; }
.form label input:not([type=checkbox]), .form label textarea { display: block; width: 100%; margin-top: 8px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=tel], .form textarea { font: 400 15px var(--font); padding: 13px 16px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold-text); outline-offset: 0; border-color: var(--gold-text); }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.form .check input { margin-top: 4px; accent-color: var(--ink); }
.form .btn { align-self: flex-start; }
.form .btn--block { align-self: stretch; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.form__note { font-size: 13px; color: var(--ink-2); margin: 0; }
.form__link { font-size: 13px; }
.form__msg { font-size: 14px; color: var(--gold-text); font-weight: 500; margin: 0; min-height: 1.4em; }
.form--narrow { max-width: 560px; }
.req { color: var(--gold-text); }
.account { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.cartwrap { display: grid; gap: 40px; }
.cart-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px; background: var(--paper); border: 1px solid var(--line); }
.cart-empty p { margin: 0; font-size: 18px; }
.cart-full { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.cart-full[hidden] { display: none; }
.cart-lines { background: var(--paper); border: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 80px 1fr auto auto 32px; gap: 18px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; }
.line__img { background: var(--cream); border: 1px solid var(--line); aspect-ratio: 1; padding: 8px; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__name { font-weight: 500; text-decoration: none; }
.line__opt, .line__price { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.line__total { margin: 0; font-weight: 600; min-width: 80px; text-align: right; }
.line__remove { background: none; border: 1px solid var(--line); border-radius: 50%; width: 30px; height: 30px; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.line__remove:hover { border-color: var(--ink); color: var(--ink); }
.totals h2, .summary h2 { font-size: 24px; margin-bottom: 20px; }
.totals dl, .summary dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 0; margin: 0 0 24px; font-size: 14px; }
.totals dd, .summary dd { padding-left: 16px; }
.totals dd, .summary dd { margin: 0; text-align: right; }
.totals__grand { font-size: 17px; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); }
.help { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--sand); }
.help__item { padding: 28px; border-left: 1px solid var(--line); }
.help__item:first-child { border-left: 0; }
.help h3 { font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 10px; line-height: 1.4; }
.help p { margin: 0; font-size: 14px; color: var(--ink-2); }
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout__form { display: grid; gap: 20px; }
.summary { position: sticky; top: 100px; }
.sline { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary [data-summary-lines] { margin-bottom: 18px; }
.paybox { border: 1px dashed var(--gold-text); background: var(--cream); padding: 22px 24px; font-size: 14px; color: var(--ink-2); }
.paybox p { margin: 0 0 4px; }
.paybox strong { color: var(--ink); }

@media (max-width: 1100px) {
  .quotes, .coa-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pagehead__in { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 44px; }
  .product__in, .labonly__in, .account, .cart-full, .checkout { grid-template-columns: 1fr; gap: 32px; }
  .product__img, .summary { position: static; }
  .info, .help, .policy-facts { grid-template-columns: 1fr; }
  .info__item, .help__item, .policy-facts > div { border-left: 0; border-top: 1px solid var(--line); }
  .info__item:first-child, .help__item:first-child, .policy-facts > div:first-child { border-top: 0; }
  .prose--doc { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .quotes { grid-template-columns: 1fr; }
  .coa-grid { gap: 10px; }
  .panel { padding: 24px 20px; }
  .line { grid-template-columns: 64px 1fr 30px; gap: 12px; }
  .line .qty { grid-column: 2; justify-self: start; }
  .line__total { grid-column: 3; grid-row: 2; text-align: right; min-width: 0; }
  .line__remove { grid-column: 3; grid-row: 1; }
  .disclaimer { padding: 10px 16px; font-size: 11px; }
}

/* Contact page: form beside address facts */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.form textarea { resize: vertical; min-height: 140px; }
.form__opt { font-weight: 400; color: var(--ink-2); }
.info--stack { grid-template-columns: 1fr; margin-bottom: 0; }
.info--stack .info__item { border-left: 0; border-top: 1px solid var(--line); }
.info--stack .info__item:first-child { border-top: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
