/*
Theme Name: Pollux Peptides
Theme URI: https://polluxpeptides.com
Author: Pollux Peptides
Description: Custom clinical gold-and-white WooCommerce theme for Pollux Peptides. Research use only.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: pollux
WC requires at least: 8.0
*/

:root {
  --ink: #1B1A17;
  --muted: #5E5A52;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --line: #E6DFCF;
  --line-2: #E0D8C6;
  --sand: #F1ECE1;
  --cream: #F4EEE1;
  --gold: #C9A55C;
  --gold-text: #7D6220;
  --green: #2F7A4B;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 700px) { .wrap { padding: 0 20px; } }

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; }
.serif em, .serif i { font-style: italic; color: var(--gold-text); }
.mono { font-family: var(--mono); }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; font-weight: 700; color: var(--gold-text); text-transform: uppercase; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; background: transparent; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #33312b; color: var(--paper); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d4b16a; color: var(--ink); }
.btn-ghost:hover { background: var(--white); }

/* Top strip + header */
.ruo-strip { background: var(--ink); color: #EDE6D6; padding: 9px 20px; text-align: center; font-size: 12px; letter-spacing: 0.14em; font-weight: 600; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.site-logo img { height: 54px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 14px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 8px 0; }
.main-nav a.current { color: var(--gold-text); font-weight: 700; }
.header-icons { display: flex; gap: 4px; align-items: center; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; position: relative; border-radius: 999px; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-count[hidden] { display: none; }
.header-search { display: none; border-top: 1px solid var(--line); background: var(--white); }
.header-search.open { display: block; }
.header-search form { display: flex; gap: 10px; padding: 14px 0; }

/* Inputs */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=password], input[type=number], select, textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
label { font-size: 13px; font-weight: 700; }

/* Hero */
.hero { padding: 64px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 500px; line-height: 1.65; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lot-box { display: flex; flex-direction: column; gap: 10px; max-width: 520px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.lot-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.lot-box input { flex: 1 1 200px; font-family: var(--mono); }
.lot-box button { border-radius: 10px; min-height: 50px; }
.hero-visual { flex: 1 1 400px; min-width: 0; background: var(--sand); border-radius: 20px; min-height: 560px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 60%; }
.hero-visual .tag { position: absolute; top: 24px; left: 28px; font-family: var(--mono); font-size: 12px; color: var(--gold-text); }

/* CSS vial (placeholder art) */
.vial { display: flex; flex-direction: column; align-items: center; width: 170px; }
.vial .cap { width: 62%; height: 38px; background: var(--gold); border-radius: 6px 6px 3px 3px; }
.vial .neck { width: 46%; height: 18px; background: #D9D3C4; }
.vial .body { width: 100%; height: 280px; background: var(--white); border: 1.5px solid #D3CBB8; border-radius: 14px 14px 18px 18px; display: flex; align-items: center; }
.vial .label { width: 100%; padding: 18px 0; background: var(--paper); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vial .label b { font-size: 16px; letter-spacing: 0.2em; }
.vial .label span { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }

/* Trust strip */
.trust { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust .item { padding: 26px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.trust .item:first-child { border-left: 0; padding-left: 0; }
.trust .item b { font-weight: 700; }
.trust .item span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 56px); }
.section-head a { font-weight: 600; }
.page-intro { padding: 72px 0 48px; }
.page-intro .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-intro .copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 20px; }
.page-intro h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1; }
.page-intro p { flex: 0 1 420px; color: var(--muted); line-height: 1.65; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cat { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; text-decoration: none; }
.cat:hover { border-color: var(--gold); color: var(--ink); }
.cat svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.cat b { font-size: 18px; }
.cat span { font-size: 14px; color: var(--muted); line-height: 1.5; }

.gold-band { background: var(--gold); }
.gold-band .serif em { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 48px; }
.step { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 300; }
.step b { font-size: 18px; }
.step p { font-size: 15px; line-height: 1.6; }

.dark-band { background: var(--ink); color: var(--paper); }
.dark-band .serif em { color: var(--gold); }
.signup { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding: 72px 0; }
.signup form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.signup input { flex: 1 1 240px; border-radius: 999px; background: #24221E; border-color: #4A4740; color: var(--paper); min-height: 54px; padding: 0 20px; }
.notice-ok { padding: 12px 16px; border-radius: 10px; background: #EAF3EC; color: #24613A; font-weight: 600; font-size: 14px; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 32px; }
.article-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.article-card .thumb { aspect-ratio: 16/10; background: var(--sand); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .thumb svg { width: 140px; height: 90px; }
.article-card .cat-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-text); text-transform: uppercase; }
.article-card h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; }
.article-card p { font-size: 14px; color: var(--muted); }
.empty-state { padding: 40px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); text-align: center; }

/* Prose (single posts, policies) */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 0 96px; font-size: 17px; line-height: 1.75; }
.prose h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 60px); margin-bottom: 24px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 48px 0 16px; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 18px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: #FAF7EF; }

/* Lab testing */
.coa-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.coa-tools .search { flex: 1 1 360px; }
.coa-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.coa-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.coa-table th { text-align: left; padding: 14px 22px; background: #FAF7EF; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; text-transform: uppercase; }
.coa-table td { padding: 18px 22px; border-bottom: 1px solid #EFEAE0; vertical-align: middle; }
.coa-table td.purity { font-family: var(--mono); color: var(--gold-text); font-weight: 500; }
.coa-table .links { display: flex; gap: 16px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-green { background: #EAF3EC; color: #24613A; }
.pill-green::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }
.pill-gray { background: var(--sand); color: var(--muted); }
.coa-guide { background: var(--white); border-top: 1px solid var(--line); }
.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 40px; }
.gold-rule { border-top: 1px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.gold-rule .k { font-family: var(--mono); font-size: 13px; color: var(--gold-text); }
.gold-rule b { font-size: 19px; }
.gold-rule p { font-size: 15px; color: var(--muted); }
.lot-result { margin-bottom: 20px; }

/* About */
.pillar { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px 0; border-top: 1px solid var(--ink); }
.pillar .n { flex: 0 0 120px; font-family: var(--serif); font-size: 72px; line-height: 0.9; color: var(--gold-text); font-weight: 300; }
.pillar .txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.pillar .txt h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; }
.pillar .txt p { color: var(--muted); line-height: 1.7; }
.pillar ul { flex: 1 1 320px; list-style: none; margin: 0; padding: 0; }
.pillar li { padding: 12px 0; border-top: 1px solid var(--line); }
.never { list-style: none; margin: 0; padding: 0; font-size: 18px; font-weight: 600; flex: 2 1 520px; }
.never li { padding: 18px 0; border-top: 1px solid var(--ink); }
.never li:last-child { border-bottom: 1px solid var(--ink); }

/* Help */
.topic-links, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--sans); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-group { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px 0; border-top: 1px solid var(--ink); scroll-margin-top: 20px; }
.faq-group h2 { flex: 0 1 260px; font-family: var(--serif); font-weight: 400; font-size: 34px; }
.faq-group .qs { flex: 1 1 520px; min-width: 0; border-bottom: 1px solid var(--line-2); }
details { border-top: 1px solid var(--line-2); padding: 20px 0; }
summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--gold-text); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.contact { display: flex; flex-wrap: wrap; gap: 64px; padding: 88px 0; }
.contact .info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.contact form { flex: 2 1 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact .field { display: flex; flex-direction: column; gap: 8px; }
.contact .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .contact form { grid-template-columns: 1fr; } }

/* Disclaimer + footer */
.ruo-block { border-top: 1px solid var(--line); background: var(--cream); }
.ruo-block .wrap { padding-top: 28px; padding-bottom: 28px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.site-footer { background: var(--ink); color: #D8D2C4; font-size: 14px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand .name { font-weight: 700; font-size: 20px; letter-spacing: 0.22em; color: var(--paper); }
.footer-brand .name span { color: var(--gold); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 150px; }
.footer-col .h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.footer-col a { color: #D8D2C4; text-decoration: none; }
.footer-col a:hover { color: var(--paper); }
.footer-legal { font-size: 12px; line-height: 1.7; color: #A8A193; border-top: 1px solid #34322C; padding-top: 24px; }

/* ---------------- WooCommerce ---------------- */
.woo-main { padding: 48px 0 96px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header__title.page-title, .woocommerce h1.page-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.6vw, 64px); letter-spacing: -0.02em; margin-bottom: 16px; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; width: auto; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 32px; }
.shop-filters form { flex: 1 1 320px; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; gap: 10px; position: relative; }
.woocommerce ul.products li.product a img { aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; background: var(--sand); margin: 0 0 6px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans); font-size: 18px !important; font-weight: 600; padding: 0 !important; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: 16px !important; font-weight: 500; }
.woocommerce ul.products li.product .button { margin-top: 6px !important; }
.woocommerce span.onsale { background: var(--paper) !important; color: var(--gold-text) !important; border-radius: 999px !important; min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: 8px 12px !important; font-size: 12px !important; font-weight: 700; top: 14px !important; left: 14px !important; right: auto !important; margin: 0 !important; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .wc-block-components-button {
  background: var(--ink) !important; color: var(--paper) !important; border-radius: 999px !important; font-family: var(--sans) !important; font-weight: 700 !important; padding: 14px 26px !important; border: 0 !important; font-size: 15px !important; line-height: 1.2 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #33312b !important; }
.woocommerce ul.products li.product .button { background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--ink) !important; padding: 10px 18px !important; font-size: 14px !important; align-self: flex-start; }

/* Single product */
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 56px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { flex: 1 1 480px; min-width: 0; }
.woocommerce div.product div.summary { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.woocommerce div.product div.images img { border-radius: 20px; background: var(--sand); }
.woocommerce div.product .product_title { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 5vw, 60px); letter-spacing: -0.02em; line-height: 1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font-size: 28px !important; font-weight: 600; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 !important; }
.woocommerce div.product form.cart .quantity input { min-height: 54px; width: 84px; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .button { flex: 1 1 220px; min-height: 54px; }
.woocommerce div.product form.cart table.variations { width: 100%; }
.woocommerce div.product form.cart table.variations select { min-height: 48px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells, .pollux-product-extra { flex: 1 1 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 24px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0 !important; font-weight: 600 !important; color: var(--muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; box-shadow: inset 0 -2px 0 var(--gold); }
.related.products > h2, .upsells.products > h2 { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 24px 0 28px; }

.lot-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sand); font-family: var(--mono); font-size: 12px; color: var(--gold-text); }
.lot-badge::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--green); }
.ruo-mini { font-size: 12px; line-height: 1.6; color: var(--muted); }
.trust-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.trust-mini div { background: var(--white); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.trust-mini b { font-weight: 700; }
.trust-mini span { color: var(--muted); }
.coa-card { border: 1px solid var(--gold); border-radius: 14px; background: var(--white); overflow: hidden; }
.coa-card .top { padding: 14px 18px; background: #F7F1E3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.coa-card .top b { font-weight: 700; }
.coa-card .grid { padding: 16px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 13px; }
.coa-card .grid span { display: block; color: var(--muted); }
.coa-card .links { padding: 0 18px 16px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.pollux-product-extra { display: flex; flex-wrap: wrap; gap: 56px; padding: 56px 0 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.pollux-product-extra .specs { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pollux-product-extra .storage { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pollux-product-extra h2 { font-family: var(--serif); font-weight: 300; font-size: 40px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table th { text-align: left; padding: 14px 18px; width: 38%; font-weight: 600; color: var(--muted); background: #FAF7EF; }
.spec-table td { padding: 14px 18px; font-family: var(--mono); word-break: break-word; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line); }

/* Cart / checkout / account */
.woocommerce table.shop_table { border-radius: 14px; border-color: var(--line); background: var(--white); }
.woocommerce form.checkout, .woocommerce-account .woocommerce { font-size: 15px; }
.pollux-attest { margin: 18px 0; padding: 16px; border: 1px solid var(--gold); border-radius: 12px; background: #FFFDF8; font-size: 14px; line-height: 1.55; }
.pollux-attest label { font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.pollux-attest input { margin-top: 4px; width: 18px; height: 18px; min-height: 0; flex: none; }
.woocommerce-store-notice, p.demo_store { background: var(--ink) !important; color: var(--paper) !important; }

@media (max-width: 700px) {
  .hero { padding: 40px 0 56px; }
  .hero-visual { min-height: 420px; }
  .section { padding: 64px 0; }
  .trust .item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-mini, .coa-card .grid { grid-template-columns: 1fr; }
  .pillar .n { flex-basis: 100%; }
}

/* ---- Pollux tweaks: Build a Kit width, product image size ---- */
.prose:has(.pxk), body.page-id-128 .prose { max-width: 1200px; }
.pxk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { .pxk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) { .pxk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .pxk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.woocommerce div.product div.images { flex: 0 1 460px; max-width: 460px; }
@media (max-width: 900px) { .woocommerce div.product div.images { flex-basis: 100%; max-width: 380px; margin: 0 auto !important; } }

/* ---- Pollux tweaks: shop pagination ---- */
.woocommerce nav.woocommerce-pagination { margin: 56px 0 8px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; border: 0 !important; margin: 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li > a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 46px; padding: 0 16px; border: 1px solid var(--line) !important; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:focus-visible { border-color: var(--gold) !important; background: var(--cream); color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul.page-numbers li > span.current { background: var(--ink); border-color: var(--ink) !important; color: var(--paper); }
.woocommerce nav.woocommerce-pagination ul.page-numbers li > span.dots { border-color: transparent !important; background: transparent; min-width: 24px; padding: 0 4px; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.next { padding: 0 20px; }
@media (max-width: 560px) { .woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev, .woocommerce nav.woocommerce-pagination ul.page-numbers li a.next { font-size: 0; padding: 0; width: 46px; } .woocommerce nav.woocommerce-pagination ul.page-numbers li a.prev span, .woocommerce nav.woocommerce-pagination ul.page-numbers li a.next span { font-size: 16px; } }

.woocommerce nav.woocommerce-pagination ul.page-numbers li a span { display: inline; border: 0 !important; padding: 0; min-width: 0; height: auto; background: none; }

/* ---- Pollux tweaks: blend composition table ---- */
.px-blend { margin: 16px 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.px-blend-title { display: block; padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); background: var(--cream); border-bottom: 1px solid var(--line); }
.px-blend table { width: 100%; border-collapse: collapse; margin: 0 !important; font-size: 14.5px; }
.px-blend th, .px-blend td { padding: 9px 16px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; text-align: left; }
.px-blend th { font-size: 12.5px; font-weight: 600; color: var(--muted); background: transparent; }
.px-blend th:not(:first-child), .px-blend td:not(:first-child) { text-align: right; white-space: nowrap; }
.px-blend tbody tr:last-child td { border-bottom: 0 !important; background: var(--paper); }
.px-blend p { margin: 0; padding: 10px 16px; font-size: 13px; color: var(--muted); }
