*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #f5f7fa; color: #0e1a33; font-family: 'IBM Plex Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #1846c4; text-decoration: none; }
a:hover { color: #0f2f8a; text-decoration: underline; }
input::placeholder { color: #7a879e; }
summary::-webkit-details-marker { display: none; }
button { font-family: 'IBM Plex Sans', sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
.wrap { max-width: 1280px; width: 100%; margin: 0 auto; padding-left: clamp(16px,4vw,32px); padding-right: clamp(16px,4vw,32px); }

/* Notice + header */
.notice { background: #0e1a33; color: #dbe5ff; font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .06em; text-align: center; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e8f0; }
.header-row { max-width: 1280px; margin: 0 auto; padding: 12px clamp(16px,4vw,32px) 0; display: flex; align-items: center; gap: 12px; }
.logo-link { display: flex; flex-shrink: 0; color: inherit; }
.logo-link:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 14px; color: #1846c4; }
.logo-word { font: 600 42px 'IBM Plex Sans', sans-serif; letter-spacing: -.035em; line-height: 1; }
.logo-stack { display: flex; flex-direction: column; gap: 4px; }
.logo-tag { font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: #4a5a7a; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: 0 1 420px; min-width: 0; justify-content: flex-end; }
.search { display: flex; align-items: center; gap: 8px; background: #f0f3f8; border: 1px solid #e3e8f0; border-radius: 8px; padding: 0 12px; height: 44px; flex: 1 1 160px; min-width: 0; max-width: 300px; }
.search svg { flex-shrink: 0; }
.search input { border: 0; background: transparent; outline: none; font: 400 14px 'IBM Plex Sans', sans-serif; color: #0e1a33; width: 100%; min-width: 0; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.cart-btn { height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 8px; border: 0; background: #1846c4; color: #fff; font: 600 14px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.cart-btn:hover { background: #0f2f8a; }
.cart-count { min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: #1846c4; font: 600 12px 'IBM Plex Mono', monospace; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.main-nav { max-width: 1280px; margin: 0 auto; padding: 4px clamp(16px,4vw,32px) 0; display: flex; gap: 22px; overflow-x: auto; font: 500 14px 'IBM Plex Sans', sans-serif; white-space: nowrap; }
.main-nav a { color: #0e1a33; padding: 10px 0 12px; border-bottom: 2px solid transparent; }
.main-nav a.active { border-bottom-color: #1846c4; }

/* Buttons */
.btn-primary { height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: #1846c4; color: #fff; font: 600 15px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.btn-primary:hover { background: #0f2f8a; }
.btn-secondary { height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid #c9d3e3; background: #fff; color: #0e1a33; font: 600 15px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.btn-secondary:hover { border-color: #1846c4; }
.btn-dark-outline { height: 48px; padding: 0 26px; border-radius: 8px; border: 1px solid #0e1a33; background: #fff; color: #0e1a33; font: 600 15px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.btn-dark-outline:hover { background: #0e1a33; color: #fff; }
.btn-link { border: 0; background: transparent; color: #1846c4; cursor: pointer; padding: 0; }

/* Hero */
.hero { background: linear-gradient(180deg,#ffffff,#eef2f8); border-bottom: 1px solid #e3e8f0; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 56px clamp(16px,4vw,32px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,420px),1fr)); gap: clamp(28px,5vw,48px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.hero h1 { margin: 0; font: 600 clamp(30px,7.5vw,46px)/1.08 'IBM Plex Sans', sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.hero p { margin: 0; font: 400 clamp(15px,3.8vw,17px)/1.6 'IBM Plex Sans', sans-serif; color: #3a4866; text-wrap: pretty; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { cursor: pointer; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; background: #e4e9f1; box-shadow: 0 30px 60px -30px rgba(14,26,51,.35); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sections */
.section { max-width: 1280px; width: 100%; margin: 0 auto; padding: 56px clamp(16px,4vw,32px) 16px; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 3px; }
.section h2.big { margin: 0; font: 600 clamp(24px,5.6vw,32px)/1.18 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; text-wrap: balance; }
.center { display: flex; justify-content: center; }
.prose-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: 20px 48px; padding: 24px 0 8px; border-top: 1px solid #e3e8f0; font: 400 15px/1.7 'IBM Plex Sans', sans-serif; color: #2c3a58; }
.prose { display: flex; flex-direction: column; gap: 12px; }
.prose h2, .prose h3 { margin: 0; color: #0e1a33; }
.prose h3 { font: 600 19px 'IBM Plex Sans', sans-serif; }
.prose p { margin: 0; text-wrap: pretty; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.card { background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 18px 40px -20px rgba(14,26,51,.3); }
.card-img { cursor: pointer; position: relative; aspect-ratio: 4/5; background: radial-gradient(90% 70% at 50% 30%,#fbfcfe,#e3e8f0 70%,#d3dae6); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; }
.badge { position: absolute; top: 10px; left: 10px; background: #0e1a33; color: #fff; font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .1em; padding: 4px 8px; border-radius: 4px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { display: flex; align-items: center; gap: 6px; font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.card-cat span { width: 7px; height: 7px; border-radius: 2px; }
.card-name { margin: 0; cursor: pointer; font: 600 15px/1.25 'IBM Plex Sans', sans-serif; }
.card-spec { font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font: 600 16px 'IBM Plex Sans', sans-serif; }
.btn-add { height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid #1846c4; background: #fff; color: #1846c4; font: 600 13px 'IBM Plex Sans', sans-serif; cursor: pointer; flex-shrink: 0; }
.btn-add:hover { background: #1846c4; color: #fff; }

/* Reconstitution */
.panel { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; }
.recon { padding: clamp(20px,5vw,40px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,420px),1fr)); gap: 40px; }
.recon-copy { display: flex; flex-direction: column; gap: 14px; font: 400 15px/1.7 'IBM Plex Sans', sans-serif; color: #2c3a58; }
.recon-copy h2 { margin: 0; font: 600 clamp(22px,5vw,28px)/1.2 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; color: #0e1a33; }
.recon-copy p { margin: 0; }
.recon-copy ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.scroll-x { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font: 400 14px 'IBM Plex Sans', sans-serif; }
table.data thead tr { text-align: left; border-bottom: 2px solid #0e1a33; }
table.data th { font-weight: 600; padding: 10px 8px; }
table.data td { padding: 10px 8px; }
table.data tbody tr { border-bottom: 1px solid #e3e8f0; }
table.data th:first-child, table.data td:first-child { padding-left: 0; }
table.data th:last-child, table.data td:last-child { padding-right: 0; }
.note { margin: 0; font: 400 13px/1.6 'IBM Plex Sans', sans-serif; color: #4a5a7a; }

.three-col { max-width: 1280px; width: 100%; margin: 0 auto; padding: 40px clamp(16px,4vw,32px) 16px; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: 32px 48px; font: 400 15px/1.7 'IBM Plex Sans', sans-serif; color: #2c3a58; }
.three-col h2 { font: 600 22px/1.25 'IBM Plex Sans', sans-serif; }

/* FAQ */
.faq { max-width: 880px; width: 100%; margin: 0 auto; padding: 56px clamp(16px,4vw,32px) 24px; display: flex; flex-direction: column; gap: 16px; }
.faq > h2 { margin: 0 0 8px; font: 600 clamp(22px,5vw,28px)/1.2 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; }
details.qa { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 0 20px; }
details.qa summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
details.qa summary h3 { margin: 0; font: 600 16px 'IBM Plex Sans', sans-serif; }
details.qa summary .plus { color: #1846c4; font-weight: 600; transition: transform .2s; }
details.qa[open] summary .plus { transform: rotate(45deg); }
details.qa p { margin: 0 0 18px; font: 400 15px/1.7 'IBM Plex Sans', sans-serif; color: #2c3a58; }
details.qa.sm { padding: 0 18px; }
details.qa.sm summary { padding: 16px 0; }
details.qa.sm summary h3 { font-size: 15px; }
details.qa.sm p { margin-bottom: 16px; }

/* Shop */
.view { max-width: 1280px; width: 100%; margin: 0 auto; padding: 28px clamp(16px,4vw,32px) 48px; display: flex; flex-direction: column; gap: 22px; }
.crumbs { font: 400 13px 'IBM Plex Sans', sans-serif; color: #4a5a7a; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs .here { color: #0e1a33; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shop-head h1 { margin: 0; font: 600 clamp(28px,6vw,36px)/1.1 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; }
.count { font: 500 13px 'IBM Plex Mono', monospace; color: #4a5a7a; margin-top: 6px; }
.sort { display: flex; align-items: center; gap: 10px; font: 500 13px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.sort select { height: 44px; padding: 0 12px; border: 1px solid #c9d3e3; border-radius: 8px; background: #fff; font: 500 14px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.shop-body { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.filters { flex: none; width: min(100%, max(240px, calc((820px - 100%) * 999))); display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.filters-head { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .14em; color: #4a5a7a; padding-bottom: 4px; flex-basis: 100%; }
.filter { flex: 1 1 150px; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 8px; border: 1px solid #e3e8f0; background: #fff; color: #0e1a33; font: 500 14px 'IBM Plex Sans', sans-serif; cursor: pointer; text-align: left; }
.filter .box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid; background: #fff; flex-shrink: 0; }
.filter .lbl { flex: 1; }
.filter .n { font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.clear { height: 44px; font: 600 13px 'IBM Plex Sans', sans-serif; text-align: left; padding: 0 12px; }
.shop-grid { flex: 1 1 300px; min-width: 0; }
.empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: #4a5a7a; font: 500 15px 'IBM Plex Sans', sans-serif; }

/* Category page */
.cat-intro { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.cat-intro h1 { margin: 0; font: 600 clamp(28px,6.5vw,40px)/1.1 'IBM Plex Sans', sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.cat-intro p { margin: 0; font: 400 clamp(15px,3.8vw,17px)/1.6 'IBM Plex Sans', sans-serif; color: #3a4866; text-wrap: pretty; }
.cat-panel { padding: clamp(20px,5vw,36px); display: flex; flex-direction: column; gap: 30px; margin-top: 8px; }
.cat-sections { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: 28px 48px; }
.cat-sections > div, .stack { display: flex; flex-direction: column; gap: 10px; }
.stack { gap: 12px; }
.cat-panel h2 { margin: 0; font: 600 22px/1.25 'IBM Plex Sans', sans-serif; letter-spacing: -.01em; }
.cat-sections p { margin: 0; font: 400 15px/1.7 'IBM Plex Sans', sans-serif; color: #2c3a58; text-wrap: pretty; }
table.compare { min-width: 620px; }
table.compare th, table.compare td { padding: 11px 12px; }
table.compare td:first-child { font-weight: 600; }
table.compare td:nth-child(2) { font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
table.compare th:last-child, table.compare td:last-child { text-align: right; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 22px; border: 1px solid #d5dce8; color: #0e1a33; font: 500 14px 'IBM Plex Sans', sans-serif; }
.chip:hover { border-color: #1846c4; color: #0e1a33; text-decoration: none; }
.chip span { width: 9px; height: 9px; border-radius: 3px; }
.label-mono { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .14em; color: #4a5a7a; }

/* Cart + checkout */
.view.narrow { max-width: 1180px; padding-bottom: 64px; }
.view h1.title { margin: 0; font: 600 clamp(28px,6vw,36px) 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; }
.box-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; }
.cart-empty { padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cart-empty div { font: 500 16px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.two-col { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cart-list { flex: 1 1 min(100%,560px); min-width: 0; padding: 4px clamp(14px,4vw,24px); }
.cart-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eef1f6; align-items: center; flex-wrap: wrap; }
.thumb { flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #e7ecf3; }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-info { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.cart-info .nm { font: 600 16px 'IBM Plex Sans', sans-serif; }
.sub-mono { font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.remove { align-self: flex-start; padding: 8px 0; font: 500 13px 'IBM Plex Sans', sans-serif; }
.qty { display: flex; align-items: center; border: 1px solid #c9d3e3; border-radius: 8px; height: 44px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font: 500 18px 'IBM Plex Sans', sans-serif; cursor: pointer; color: #0e1a33; }
.qty .v { width: 30px; text-align: center; font: 600 14px 'IBM Plex Mono', monospace; }
.qty.sm { height: 36px; }
.qty.sm button { width: 36px; font-size: 16px; }
.qty.sm .v { width: 26px; font-size: 13px; }
.qty.lg { height: 48px; }
.qty.lg .v { width: 32px; font-size: 15px; }
.line-total { margin-left: auto; min-width: 72px; text-align: right; font: 600 16px 'IBM Plex Sans', sans-serif; }
.summary { flex: 1 1 300px; padding: clamp(16px,4vw,24px); display: flex; flex-direction: column; gap: 14px; }
.summary h2 { margin: 0; font: 600 18px 'IBM Plex Sans', sans-serif; }
.sum-row { display: flex; justify-content: space-between; font: 400 15px 'IBM Plex Sans', sans-serif; }
.sum-row .k { color: #4a5a7a; }
.sum-row.total { font: 600 17px 'IBM Plex Sans', sans-serif; }
.rule { height: 1px; background: #e3e8f0; }
.btn-block { height: 52px; border-radius: 8px; border: 0; background: #1846c4; color: #fff; font: 600 15px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.btn-block:hover { background: #0f2f8a; }

.checkout-main { flex: 1 1 min(100%,560px); min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-card { padding: clamp(16px,4vw,24px); display: flex; flex-direction: column; gap: 16px; }
.form-card h2 { margin: 0; font: 600 18px 'IBM Plex Sans', sans-serif; }
.fields { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,200px),1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font: 500 13px 'IBM Plex Sans', sans-serif; color: #3a4866; }
.field input { height: 46px; padding: 0 12px; border: 1px solid #c9d3e3; border-radius: 8px; font: 400 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; background: #fff; width: 100%; }
.field input:focus { outline: 2px solid #1846c4; outline-offset: -1px; }
.field.err input { border-color: #b42318; }
.err-msg { color: #b42318; font: 500 12px 'IBM Plex Sans', sans-serif; }
.ship-opt { min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; border: 1.5px solid #e3e8f0; background: #fff; cursor: pointer; text-align: left; width: 100%; }
.ship-opt.on { border-color: #1846c4; background: #f3f6fb; }
.ship-opt .ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa8c4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ship-opt .ring span { width: 8px; height: 8px; border-radius: 50%; }
.ship-opt.on .ring { border-color: #1846c4; }
.ship-opt.on .ring span { background: #1846c4; }
.ship-opt .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ship-opt .txt b { font: 600 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.ship-opt .txt small { font: 400 13px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.ship-opt .pr { font: 600 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.sum-item { display: flex; gap: 12px; align-items: center; }
.sum-item .nm { font: 600 14px 'IBM Plex Sans', sans-serif; }
.sum-item .pr { font: 600 14px 'IBM Plex Sans', sans-serif; }
.fine { font: 400 12px/1.5 'IBM Plex Sans', sans-serif; color: #4a5a7a; }

.done { max-width: 720px; width: 100%; margin: 0 auto; padding: 72px clamp(16px,4vw,32px); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #e6f4f0; display: flex; align-items: center; justify-content: center; }
.done h1 { margin: 0; font: 600 clamp(26px,6vw,34px) 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; }
.done p { margin: 0; font: 400 16px/1.6 'IBM Plex Sans', sans-serif; color: #3a4866; }

/* Trust */
.trust-wrap { max-width: 1280px; width: 100%; margin: 0 auto; padding: 40px clamp(16px,4vw,32px) 56px; }
.trust { background: #0e1a33; border-radius: 16px; padding: clamp(20px,5vw,40px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 32px; color: #dbe5ff; }
.trust > div { display: flex; flex-direction: column; gap: 8px; }
.trust b { font: 600 16px 'IBM Plex Sans', sans-serif; color: #fff; }
.trust span { font: 400 14px/1.6 'IBM Plex Sans', sans-serif; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid #e3e8f0; background: #fff; }
.footer-row { max-width: 1280px; margin: 0 auto; padding: 36px clamp(16px,4vw,32px); display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.footer-brand p { margin: 0; font: 400 12px/1.6 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; font: 400 14px 'IBM Plex Sans', sans-serif; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-head { font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .12em; color: #4a5a7a; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #0e1a33; }

/* Product modal */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(14,26,51,.5); display: flex; align-items: center; justify-content: center; padding: clamp(0px,3vw,24px); }
.backdrop { position: absolute; inset: 0; }
.dialog { position: relative; background: #fff; border-radius: 16px; width: min(980px,100%); max-height: calc(100vh - clamp(0px,6vw,48px)); overflow: auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.dialog-img { background: radial-gradient(90% 70% at 50% 30%,#fbfcfe,#e3e8f0 70%,#d3dae6); min-height: clamp(240px,55vw,420px); display: flex; align-items: center; justify-content: center; }
.dialog-img img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; display: block; }
.dialog-body { padding: clamp(20px,5vw,32px); display: flex; flex-direction: column; gap: 20px; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dialog-name { font: 600 clamp(24px,5.5vw,30px)/1.1 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; margin-top: 6px; }
.close { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; border: 1px solid #e3e8f0; background: #fff; cursor: pointer; font: 500 20px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.dialog-price { font: 600 26px 'IBM Plex Sans', sans-serif; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.variant { height: 44px; padding: 0 16px; border-radius: 8px; border: 1.5px solid #d5dce8; background: #fff; color: #0e1a33; font: 600 13px 'IBM Plex Mono', monospace; cursor: pointer; }
.variant.on { border-color: #1846c4; background: #eef3ff; }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buy-row .btn-primary { flex: 1 1 160px; }
table.specs { width: 100%; border-collapse: collapse; font: 400 14px 'IBM Plex Sans', sans-serif; border-top: 1px solid #e3e8f0; }
table.specs tr { border-bottom: 1px solid #eef1f6; }
table.specs th { padding: 11px 0; text-align: left; font-weight: 400; color: #4a5a7a; }
table.specs td { padding: 11px 0; text-align: right; font-weight: 500; }
.coa { font: 600 14px 'IBM Plex Sans', sans-serif; }

/* Cart drawer */
.drawer-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(14,26,51,.45); }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px,100%); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(14,26,51,.4); animation: slideIn .22s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e3e8f0; font: 600 18px 'IBM Plex Sans', sans-serif; }
.drawer-list { flex: 1; overflow: auto; padding: 4px 24px; display: flex; flex-direction: column; }
.drawer-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef1f6; align-items: center; }
.drawer-item .info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.drawer-item .top { display: flex; justify-content: space-between; gap: 8px; font: 600 14px 'IBM Plex Sans', sans-serif; }
.drawer-item .ctl { display: flex; align-items: center; justify-content: space-between; }
.drawer-item .remove { font-size: 12px; }
.drawer-empty { padding: 48px 0; text-align: center; color: #4a5a7a; font: 400 14px 'IBM Plex Sans', sans-serif; }
.drawer-foot { padding: 18px 24px; border-top: 1px solid #e3e8f0; display: flex; flex-direction: column; gap: 10px; }
.drawer-foot .sub { display: flex; justify-content: space-between; font: 600 16px 'IBM Plex Sans', sans-serif; }
.drawer-foot .btn-block { height: 50px; }
.drawer-foot .btn-block:disabled { background: #9aa8c4; cursor: not-allowed; }
.drawer-foot .btn-view { height: 46px; border-radius: 8px; border: 1px solid #c9d3e3; background: #fff; color: #0e1a33; font: 600 14px 'IBM Plex Sans', sans-serif; cursor: pointer; }

body.locked { overflow: hidden; }

/* Links styled as buttons (static pages use real <a href> links for crawlability) */
a.btn-primary, a.btn-secondary, a.btn-dark-outline, a.btn-block, a.btn-view, a.cart-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.btn-primary, a.btn-block, a.cart-btn { color: #fff; }
a.btn-primary:hover, a.btn-block:hover, a.cart-btn:hover { color: #fff; text-decoration: none; }
a.btn-secondary, a.btn-dark-outline, a.btn-view { color: #0e1a33; }
a.btn-secondary:hover { color: #0e1a33; text-decoration: none; }
a.btn-dark-outline:hover { color: #fff; text-decoration: none; }
a.btn-view:hover { color: #0e1a33; border-color: #1846c4; text-decoration: none; }
a.hero-img { display: block; }
a.card-img { display: block; }
.card-name a { color: inherit; }
.card-name a:hover { color: #1846c4; text-decoration: none; }
a.eyebrow { text-decoration: none; }
a.eyebrow:hover { text-decoration: underline; }
a.thumb { display: block; }
.cart-info a.nm { color: #0e1a33; }
.search { margin: 0; }
.search input::-webkit-search-decoration { display: none; }
.cat-links { display: flex; flex-direction: column; gap: 8px; flex-basis: 100%; padding: 0 12px; font: 500 14px 'IBM Plex Sans', sans-serif; }
.cat-links .filters-head { margin-left: -12px; }

/* Product page */
.pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 5vw, 56px); align-items: start; }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 130px; }
.pdp-main-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; background: radial-gradient(90% 70% at 50% 30%,#fbfcfe,#e3e8f0 70%,#d3dae6); border: 1px solid #e3e8f0; }
.pdp-main-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-main-img .badge { top: 16px; left: 16px; font-size: 11px; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-thumb { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 8px; border-radius: 10px; border: 1.5px solid #e3e8f0; background: #fff; cursor: pointer; font: 600 11px 'IBM Plex Mono', monospace; color: #0e1a33; }
.pdp-thumb img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; background: #eef2f8; border-radius: 6px; }
.pdp-thumb.on { border-color: #1846c4; background: #eef3ff; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pdp-title { margin: 0; font: 600 clamp(30px, 6vw, 42px)/1.08 'IBM Plex Sans', sans-serif; letter-spacing: -.03em; }
.pdp-size { color: #4a5a7a; font-weight: 500; }
.pdp-lead { margin: 0; font: 400 16px/1.65 'IBM Plex Sans', sans-serif; color: #3a4866; text-wrap: pretty; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; }
.pdp-price span { font: 600 30px 'IBM Plex Sans', sans-serif; }
.pdp-price small { font: 500 13px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.variant em { font-style: normal; font-weight: 500; color: #4a5a7a; margin-left: 4px; }
.pdp-assure { list-style: none; margin: 0; padding: 14px 16px; border-radius: 10px; background: #f3f6fb; display: flex; flex-direction: column; gap: 8px; font: 400 14px 'IBM Plex Sans', sans-serif; color: #2c3a58; }
.pdp-assure li { display: flex; gap: 10px; align-items: center; }
.pdp-assure li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: #12806c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.cat-sections p + p { margin-top: 12px; }
.recon-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 48px; }
@media (max-width: 880px) { .pdp-gallery { position: static; } }

/* Nav + footer additions */
.nav-sep { width: 1px; background: #e3e8f0; margin: 8px 0 12px; flex-shrink: 0; }
.footer-base { max-width: 1280px; margin: 0 auto; padding: 16px clamp(16px,4vw,32px) 28px; border-top: 1px solid #eef1f6; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font: 400 12px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }

/* Content pages */
.content-view { gap: 28px; }
.content-head { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.content-head h1 { margin: 0; font: 600 clamp(30px,6.5vw,44px)/1.08 'IBM Plex Sans', sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.content-head .lead { margin: 0; font: 400 clamp(16px,3.8vw,18px)/1.6 'IBM Plex Sans', sans-serif; color: #3a4866; text-wrap: pretty; }
.content-head .updated { margin: 0; font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.content-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.content-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 2px; font: 500 14px 'IBM Plex Sans', sans-serif; }
.toc .label-mono { padding-bottom: 8px; }
.toc a { color: #3a4866; padding: 6px 0 6px 12px; border-left: 2px solid #e3e8f0; }
.toc a:hover { color: #1846c4; border-left-color: #1846c4; text-decoration: none; }
.article { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; padding: clamp(20px,5vw,44px); display: flex; flex-direction: column; gap: 36px; font: 400 16px/1.75 'IBM Plex Sans', sans-serif; color: #2c3a58; min-width: 0; }
.article section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 140px; }
.article h2 { margin: 0; font: 600 clamp(21px,4.5vw,25px)/1.25 'IBM Plex Sans', sans-serif; letter-spacing: -.015em; color: #0e1a33; }
.article p { margin: 0; text-wrap: pretty; }
.article ul, .article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article b { color: #0e1a33; font-weight: 600; }
.article table.data { font-size: 14px; line-height: 1.5; }
.article table.data td, .article table.data th { vertical-align: top; padding-top: 11px; padding-bottom: 11px; }
.callout { border-left: 3px solid #1846c4; background: #f3f6fb; border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 15px; }
.formula { font: 500 14px 'IBM Plex Mono', monospace; background: #0e1a33; color: #dbe5ff; padding: 14px 18px; border-radius: 10px; }
.tbc { background: #fff4d6; color: #7a4b00; border: 1px dashed #d9a300; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.sub-h { margin: 0; font: 600 clamp(22px,5vw,28px)/1.2 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; }
.glossary { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.glossary div { border: 1px solid #e3e8f0; border-radius: 10px; padding: 14px 16px; scroll-margin-top: 140px; }
.glossary dt { font: 600 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.glossary dd { margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
@media (max-width: 880px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc .label-mono { flex-basis: 100%; padding-bottom: 2px; }
  .toc a { border: 1px solid #e3e8f0; border-radius: 16px; padding: 4px 12px; background: #fff; font-size: 13px; }
}

/* Learn hub */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.guide-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; color: #0e1a33; transition: box-shadow .2s, border-color .2s; }
.guide-card:hover { text-decoration: none; color: #0e1a33; border-color: #c9d3e3; box-shadow: 0 18px 40px -22px rgba(14,26,51,.3); }
.guide-card h2 { margin: 0; font: 600 19px/1.3 'IBM Plex Sans', sans-serif; letter-spacing: -.01em; }
.guide-card p { margin: 0; font: 400 14px/1.6 'IBM Plex Sans', sans-serif; color: #3a4866; }
.guide-kicker { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #12806c; }
.guide-more { margin-top: auto; font: 600 14px 'IBM Plex Sans', sans-serif; color: #1846c4; }

/* Tool forms (tracking, COA, contact) */
.tool-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; align-items: end; }
.tool-form.wide .full { grid-column: 1 / -1; }
.tool-form button { height: 46px; }
.field select, .field textarea { padding: 10px 12px; border: 1px solid #c9d3e3; border-radius: 8px; font: 400 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; background: #fff; width: 100%; }
.field select { height: 46px; }
.field textarea { resize: vertical; min-height: 120px; }
.field.err input, .field.err textarea, .field.err select { border-color: #b42318; }
.field input.fixed { background: #f0f3f8; color: #3a4866; cursor: default; }
.result-card { border: 1px solid #e3e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: #fff; margin-top: 8px; font-size: 15px; }
.result-card.muted { background: #f5f7fa; gap: 6px; }
.result-card.muted p { font-size: 14px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.result-title { font: 600 20px 'IBM Plex Sans', sans-serif; color: #0e1a33; margin-top: 4px; }
.pill { font: 600 12px 'IBM Plex Sans', sans-serif; padding: 5px 10px; border-radius: 20px; background: #eef3ff; color: #1846c4; }
.pill.ok { background: #e6f4f0; color: #12806c; }
.pass, .fail { font: 600 12px 'IBM Plex Sans', sans-serif; padding: 2px 8px; border-radius: 10px; }
.pass { background: #e6f4f0; color: #12806c; }
.fail { background: #fdecea; color: #b42318; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.timeline li { position: relative; padding-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #7a879e; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 4px; border-radius: 2px; background: #e3e8f0; }
.timeline li.done { color: #0e1a33; }
.timeline li.done::before { background: #12806c; }
.timeline li b { font-weight: 600; }
.timeline li span { font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.example-banner { background: #fff4d6; color: #7a4b00; border: 1px dashed #d9a300; border-radius: 8px; padding: 8px 12px; font: 600 13px 'IBM Plex Sans', sans-serif; }
.coa-meta { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.coa-meta .wide { grid-column: 1 / -1; }
.coa-meta dt { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #4a5a7a; }
.coa-meta dd { margin: 2px 0 0; font: 500 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.coa-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font: 600 14px 'IBM Plex Sans', sans-serif; }
.coa-actions .btn-secondary { height: 42px; font-size: 14px; }
.coa-index tr.hl { background: #eef3ff; }
.lot-btn { font: 600 13px 'IBM Plex Mono', monospace; padding: 4px 0; }
.muted-text { color: #7a879e; font-size: 14px; }

/* Calculator */
.calc { border: 1px solid #e3e8f0; border-radius: 14px; padding: clamp(16px,4vw,24px); display: flex; flex-direction: column; gap: 20px; background: #fbfcfe; }
.calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.unit-input { display: flex; border: 1px solid #c9d3e3; border-radius: 8px; background: #fff; overflow: hidden; height: 46px; }
.unit-input:focus-within { outline: 2px solid #1846c4; outline-offset: -1px; }
.field .unit-input input { border: 0; height: 100%; outline: none; min-width: 0; font-family: 'IBM Plex Mono', monospace; }
.unit-input em, .unit-input select { font: 600 13px 'IBM Plex Mono', monospace; font-style: normal; color: #4a5a7a; background: #f0f3f8; border: 0; border-left: 1px solid #e3e8f0; padding: 0 12px; display: flex; align-items: center; }
.field .unit-input select { width: auto; height: 100%; border-radius: 0; }
.calc-out { display: flex; flex-direction: column; gap: 14px; }
.calc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.calc-stats > div { border: 1px solid #e3e8f0; border-radius: 10px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.calc-stats > div.hl { background: #0e1a33; border-color: #0e1a33; color: #dbe5ff; }
.calc-stats span { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.calc-stats b { font: 600 24px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.calc-stats .hl b { color: #fff; }
.calc-stats small { font: 400 13px 'IBM Plex Sans', sans-serif; opacity: .8; }
.syringe { position: relative; height: 34px; border: 2px solid #9aa8c4; border-radius: 6px; background: #fff; overflow: hidden; }
.syringe-fill { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, #b9d0ff, #6f9bff); transition: width .25s; }
.syringe-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 2px 2px; font: 500 10px 'IBM Plex Mono', monospace; color: #0e1a33; }
.calc-warn { margin: 0; font: 500 14px 'IBM Plex Sans', sans-serif; color: #9a5b00; background: #fff4d6; border-radius: 8px; padding: 8px 12px; }

/* Two-column product cards on phones: stack price above a full-width Add button */
@media (max-width: 599px) {
  .card-body { padding: 10px 12px 12px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .btn-add { width: 100%; height: 40px; }
}

/* Payment instructions (PayID / bank transfer) */
.pay-box { width: 100%; max-width: 520px; text-align: left; border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.result-card .pay-box { max-width: none; background: #fbfcfe; }
.pay-head { display: flex; flex-direction: column; gap: 2px; }
.pay-head b { font: 600 17px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.pay-head span { font: 400 14px/1.5 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.pay-rows { margin: 0; display: flex; flex-direction: column; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.pay-row:last-child { border-bottom: 0; }
.pay-row dt { font: 400 14px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.pay-row dd { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 15px 'IBM Plex Sans', sans-serif; color: #0e1a33; text-align: right; }
.copy-btn { height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid #c9d3e3; background: #fff; color: #1846c4; font: 600 12px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.copy-btn:hover { border-color: #1846c4; }
.pay-box .fine { margin: 0; }
.summary .fine { text-align: center; }

/* Timeline sits inside .article on the tracking page; beat the .article ol list styles */
.article ol.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); flex-direction: row; padding-left: 0; gap: 8px; }

/* Hybrid product pages: hand-written description below the buy box */
.pdp-title.long { font-size: clamp(28px, 5vw, 38px); line-height: 1.12; }
.pdp-lead { display: flex; flex-direction: column; gap: 10px; }
.pdp-lead p { margin: 0; font: 400 15.5px/1.65 'IBM Plex Sans', sans-serif; color: #3a4866; text-wrap: pretty; }
.pdp-buy { display: flex; flex-direction: column; gap: 18px; }
.pdp-article { gap: 32px; }
.pdp-article h3 { margin: 0; font: 600 19px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.pdp-article table.data th[scope], .pdp-article tbody th { text-align: left; font-weight: 500; color: #4a5a7a; padding-right: 16px; white-space: nowrap; }
.pdp-assure li::before { background: #12806c; width: 6px; height: 6px; }

/* Size picker popup */
.picker { width: min(760px, 100%); }
.picker .dialog-img { min-height: clamp(220px, 40vw, 380px); }
.picker .dialog-img img { max-height: 420px; }
.picker .dialog-body { gap: 18px; }
.picker .dialog-price small { font-size: 13px; margin-left: 6px; }
.picker-link { font: 600 14px 'IBM Plex Sans', sans-serif; }
@media (max-width: 599px) {
  .modal { align-items: flex-end; padding: 0; }
  .picker { border-radius: 16px 16px 0 0; max-height: 92vh; }
  .picker .dialog-img { min-height: 180px; max-height: 32vh; }
}

/* Other formats (e.g. retatrutide starter kit, pen) under the size buttons */
.formats { display: flex; flex-direction: column; gap: 8px; }
.format-list { display: flex; flex-direction: column; gap: 8px; }
.format { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid #d5dce8; border-radius: 10px; background: #fff; color: #0e1a33; }
.format:hover { border-color: #1846c4; text-decoration: none; color: #0e1a33; }
.format img { width: 48px; height: 56px; object-fit: contain; background: #eef2f8; border-radius: 6px; flex-shrink: 0; }
.format-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.format-txt b { font: 600 14px 'IBM Plex Sans', sans-serif; }
.format-txt small { font: 400 13px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.format-go { font: 600 13px 'IBM Plex Sans', sans-serif; color: #1846c4; flex-shrink: 0; }

/* Frequently bought together, under Add to Cart */
.fbt { border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.fbt-head { font: 600 13px 'IBM Plex Sans', sans-serif; color: #0e1a33; padding-bottom: 4px; }
.fbt-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #eef1f6; }
.fbt-img { width: 44px; height: 52px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #eef2f8; }
.fbt-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fbt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fbt-txt a { font: 600 14px 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.fbt-txt small { font: 500 12px 'IBM Plex Mono', monospace; color: #4a5a7a; }
.fbt-price { font: 600 14px 'IBM Plex Sans', sans-serif; white-space: nowrap; }
.fbt .btn-add { height: 36px; padding: 0 12px; }
@media (max-width: 599px) { .fbt .btn-add { width: auto; height: 36px; } }


/* Research library */
.r-note { background: #fff; border: 1px solid #e3e8f0; border-left: 3px solid #1846c4; border-radius: 0 10px 10px 0; padding: 14px 18px; font: 400 14px/1.6 'IBM Plex Sans', sans-serif; color: #2c3a58; max-width: 900px; }
.r-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.r-filters .field input { height: 46px; }
@media (max-width: 880px) { .r-filters { grid-template-columns: 1fr 1fr; } .r-search { grid-column: 1 / -1; } }
.r-bar { display: flex; justify-content: space-between; align-items: center; font: 500 13px 'IBM Plex Mono', monospace; color: #4a5a7a; min-height: 24px; }
.r-bar .btn-link { font: 600 13px 'IBM Plex Sans', sans-serif; }
.r-wrap { background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; padding: 4px 20px; }
.r-table { min-width: 720px; }
.r-table td { vertical-align: top; padding-top: 14px; padding-bottom: 14px; }
.r-table th:first-child, .r-table td:first-child { width: 58%; }
.r-title { font: 600 14.5px/1.45 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.r-title:hover { color: #1846c4; }
.r-cite { margin-top: 4px; font: 400 13px 'IBM Plex Sans', sans-serif; color: #4a5a7a; }
.r-compound { font-size: 14px; }
.r-year { font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.r-model { display: inline-block; font: 600 11px 'IBM Plex Sans', sans-serif; padding: 3px 9px; border-radius: 12px; background: #eef1f6; color: #3a4866; white-space: nowrap; }
.r-model.m-human { background: #e6f4f0; color: #12806c; }
.r-model.m-mouse, .r-model.m-rat, .r-model.m-animal { background: #f3eefe; color: #6a3fc8; }
.r-model.m-cell-culture { background: #e6f3f8; color: #0a7fa6; }
.r-model.m-review { background: #eef3ff; color: #1846c4; }

/* Age gate */
.age-gate { z-index: 60; background: rgba(14,26,51,.72); }
.age-card { background: #fff; border-radius: 16px; padding: clamp(24px,5vw,36px); width: min(460px,100%); display: flex; flex-direction: column; gap: 14px; text-align: center; }
.age-card h2 { font: 600 clamp(22px,5vw,28px)/1.15 'IBM Plex Sans', sans-serif; letter-spacing: -.02em; margin: 0; }
.age-card p { margin: 0; color: #4a5568; }
.age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.age-leave { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 480px) { .age-gate { align-items: center; padding: 16px; } }

/* Order confirmation: Order ID shown large */
.order-id { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px solid #1846c4; border-radius: 12px; padding: 16px 20px; margin: 4px auto 8px; width: min(420px, 100%); }
.order-id span { font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #1846c4; }
.order-id b { font: 600 clamp(26px, 7vw, 34px) 'IBM Plex Mono', monospace; letter-spacing: .02em; color: #0e1a33; }

/* Honeypot field on the wholesale form: hidden from people, filled in by bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buy block inside articles and the hero panel under an article lead. */
.buy-cta { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; border: 1px solid #d6deeb; border-radius: 14px; background: #f6f8fc; padding: 14px 18px 14px 14px; margin: 18px 0; }
.buy-cta-img { display: block; border-radius: 10px; overflow: hidden; background: #fff; }
.buy-cta-img img { display: block; width: 100%; height: auto; }
.buy-cta-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.buy-cta-body .label-mono { color: #12806c; }
.buy-cta-name { font: 700 19px/1.25 'IBM Plex Sans', sans-serif; color: #0e1a33; }
.buy-cta-body p { margin: 0; color: #3a4866; font-size: 15px; }
.buy-cta .btn-row { margin-top: 6px; }
.content-head .buy-cta { max-width: 760px; }
@media (max-width: 560px) { .buy-cta { grid-template-columns: 88px 1fr; gap: 12px; padding: 12px; } .buy-cta-name { font-size: 17px; } .buy-cta .btn-row a { flex: 1 1 auto; text-align: center; } }

.tools-box { border: 1px solid #d6deeb; border-radius: 12px; padding: 18px 20px; background: #f6f8fc; }
.tools-box h2 { margin: 0; font-size: 20px; }
.link-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

/* Search suggestions dropdown */
.search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: #fff; border: 1px solid #d6deeb; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(14,26,51,.35); padding: 6px; z-index: 40; display: flex; flex-direction: column; }
.search-suggest[hidden] { display: none; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: #0e1a33; }
.sg-item:hover, .sg-item.on { background: #f0f3f8; text-decoration: none; color: #0e1a33; }
.sg-item img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; background: #f6f8fc; flex-shrink: 0; }
.sg-text { display: flex; flex-direction: column; min-width: 0; }
.sg-text b { font: 600 14px 'IBM Plex Sans', sans-serif; }
.sg-text small { font: 400 12px 'IBM Plex Sans', sans-serif; color: #5b6474; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-empty { padding: 10px 8px; font: 400 14px 'IBM Plex Sans', sans-serif; color: #5b6474; }
.sg-all { margin-top: 4px; padding: 10px 8px; border-top: 1px solid #eef1f6; font: 600 14px 'IBM Plex Sans', sans-serif; color: #1846c4; }

/* Mobile header: menu button left, logo centred, cart right, search on the second row; side menu from the left */
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #e3e8f0; border-radius: 8px; background: #fff; cursor: pointer; padding: 0; }
.side-menu[hidden] { display: none; }
.side-menu { position: fixed; inset: 0; z-index: 60; }
.side-overlay { position: absolute; inset: 0; background: rgba(14,26,51,.45); opacity: 0; transition: opacity .2s; }
.side-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; padding: 14px 18px 28px; display: flex; flex-direction: column; gap: 18px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 40px -20px rgba(14,26,51,.4); }
.side-menu.open .side-overlay { opacity: 1; }
.side-menu.open .side-panel { transform: none; }
.side-head { display: flex; align-items: center; justify-content: space-between; }
.side-close { width: 40px; height: 40px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fff; font-size: 24px; line-height: 1; color: #0e1a33; cursor: pointer; }
.side-group { display: flex; flex-direction: column; }
.side-group .label-mono { padding-bottom: 6px; }
.side-group a { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #eef1f6; color: #0e1a33; font: 500 15px 'IBM Plex Sans', sans-serif; }
.side-group a.active { color: #1846c4; font-weight: 600; }
.side-group a:hover { text-decoration: none; color: #1846c4; }
.side-group .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
body.menu-open { overflow: hidden; }
@media (max-width: 880px) {
  .header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 10px; padding-bottom: 12px; }
  .menu-btn { display: inline-flex; justify-self: start; }
  .logo-link { justify-self: center; }
  .header-tools { display: contents; }
  .cart-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; }
  .search-suggest { min-width: 0; }
  .main-nav { display: none; }
}
@media (max-width: 380px) { .cart-btn { padding: 0 10px; } .logo-word { font-size: 36px; } }

.side-thumb { width: 28px; height: 34px; border-radius: 6px; background: #f0f3f8; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.side-thumb img { width: 28px; height: 35px; object-fit: cover; transform: scale(1.6); transform-origin: 50% 55%; }
.side-group a { padding-top: 8px; padding-bottom: 8px; }

/* Landing pages: product grid directly under the H1 */
.landing-products { gap: 20px; }
.landing-shop-all { min-width: 240px; height: 52px; font-size: 16px; }
.landing-view .content-layout { max-width: 860px; }

.shop-controls { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 599px) { .shop-controls { width: 100%; } .shop-controls .sort { flex: 1 1 100%; justify-content: space-between; } .shop-controls select { flex: 1; max-width: 70%; } }
