/* ==========================================================================
   OPeptides theme — design tokens
   Brand: #1E3A8A navy · #F8FAFC paper · #64748B slate · #0F172A ink
   ========================================================================== */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Brand: #1E3A8A navy · #F8FAFC paper · #64748B slate · #0F172A ink */
	--navy: #1E3A8A;
	--navy-dark: #172E6E;
	--navy-deep: #0F172A;
	--paper: #F8FAFC;
	--paper-2: #EEF2F8;
	--ink: #0F172A;
	--tint: #E8EDF8;
	--tint-2: #C7D2EE;
	--slate: #64748B;

	--text: #0F172A;
	--muted: #64748B;
	--line: rgba(15, 23, 42, .12);
	--line-strong: rgba(15, 23, 42, .22);
	--white: #fff;

	--ok: #15803D;
	--warn-bg: #FDF2F0;
	--warn-line: #F1C7C0;
	--warn: #9B2C1F;
	--amber-bg: #FEF3C7;
	--amber: #92400E;
	--red-bg: #FEE2E2;
	--red: #991B1B;

	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 10px 30px rgba(15, 23, 42, .10);
	--container: 1840px;
	--gutter: clamp(18px, 2.4vw, 48px);
	--op-hdr: 230px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
body.op-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--tint-2); outline-offset: 2px; box-shadow: 0 0 0 1px var(--navy); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; clip-path: none; margin: 0; padding: 10px 16px; background: var(--ink); color: #fff; z-index: 10000; border-radius: var(--radius-sm); }
.op-icon { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.op-btn,
.button, button.button, input.button, a.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	background: var(--navy); color: #fff !important;
	border: 1px solid var(--navy); border-radius: var(--radius-sm);
	font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none !important;
	cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
}
.op-btn:hover, .button:hover, a.button:hover, button.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .single_add_to_cart_button:hover {
	background: var(--navy-dark); border-color: var(--navy-dark); color: #fff !important;
}
.op-btn:active { transform: translateY(1px); }
.op-btn--block { display: flex; width: 100%; }
.op-btn--lg { min-height: 52px; padding: 12px 30px; font-size: 16px; }
.op-btn--sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.op-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.op-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.op-btn--soldout, .op-btn--soldout:hover { background: #E5E7EB; border-color: #E5E7EB; color: #4B5563 !important; cursor: default; }
.button.loading { opacity: .65; pointer-events: none; }
.button.added::after { content: none; }
a.added_to_cart { display: none; }
.op-link { font-weight: 600; }

/* ---------- Announcement bar ---------- */
.op-topbar { background: var(--ink); color: #fff; font-size: 13px; }
.op-topbar a { color: #fff; }
.op-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.op-topbar__msg { margin: 0; font-weight: 500; }
.op-topbar__right { display: flex; align-items: center; gap: 22px; }
.op-topbar__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.op-topbar__links a:hover { text-decoration: underline; }
.op-social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.op-social a { display: inline-flex; opacity: .9; }
.op-social a:hover { opacity: 1; color: var(--tint); }

/* ---------- Header ---------- */
.op-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.op-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.op-logo { flex: none; line-height: 0; }
.op-logo img, .custom-logo { width: auto; max-height: 52px; }
.op-wordmark { font-size: 26px; font-weight: 750; letter-spacing: .02em; color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline; text-decoration: none !important; }
.op-wordmark__a { color: var(--navy); }
.op-wordmark__b { color: var(--ink); }
.op-header__search { flex: 1 1 auto; max-width: 880px; }
.op-search { display: flex; width: 100%; }
.op-search__input {
	flex: 1; min-width: 0; height: 46px; padding: 0 16px;
	border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	background: #fff; font-size: 15px;
}
.op-search__input:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.op-search__btn {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px;
	background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-weight: 600; cursor: pointer;
}
.op-search__btn:hover { background: var(--navy-dark); }
.op-support { display: flex; flex-direction: column; font-size: 13px; line-height: 1.45; flex: none; }
.op-support__label { font-weight: 600; color: var(--ink); }
.op-support a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.op-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.op-actions__link {
	position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px;
	background: none; border: 0; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none !important;
}
.op-actions__link:hover { background: rgba(30, 58, 138, .08); color: var(--navy-dark); }
.op-actions__menu { display: none; }
.op-cart-count {
	position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--navy); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1;
}
.op-cart-count.is-empty { display: none; }

/* ---------- Primary nav ---------- */
.op-nav { background: #fff; border-bottom: 1px solid var(--line); }
.op-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.op-menu--primary > li { position: relative; }
.op-menu--primary a {
	display: block; padding: 14px 14px; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent;
}
.op-menu--primary a:hover, .op-menu--primary .current-menu-item > a, .op-menu--primary .current-menu-ancestor > a { color: var(--navy); border-bottom-color: var(--navy); }
.op-menu--primary .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; z-index: 40; min-width: 240px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.op-menu--primary li:hover > .sub-menu, .op-menu--primary li:focus-within > .sub-menu { display: block; }
.op-menu--primary .sub-menu a { padding: 9px 12px; border: 0; border-radius: var(--radius-sm); font-weight: 450; }
.op-menu--primary .sub-menu a:hover { background: var(--tint); color: var(--navy-deep); }

/* ---------- Overlay + drawers ---------- */
.op-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(17, 24, 39, .55); opacity: 0; transition: opacity .25s; }
.op-overlay.is-on { opacity: 1; }
.op-drawer {
	position: fixed; top: 0; bottom: 0; z-index: 1000; width: min(440px, 100%); display: flex; flex-direction: column;
	background: #fff; box-shadow: var(--shadow); transition: transform .28s ease; will-change: transform;
}
.op-drawer--right { right: 0; transform: translateX(100%); }
.op-drawer--left { left: 0; transform: translateX(-100%); width: min(360px, 92%); }
.op-drawer.is-open { transform: none; }
.op-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.op-drawer__title { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
.op-iconbtn { display: inline-flex; padding: 8px; background: none; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); }
.op-iconbtn:hover { background: var(--paper); }
.op-drawer__body { padding: 8px 20px 24px; overflow-y: auto; flex: 1; }
.op-menu--mobile { flex-direction: column; gap: 0; }
.op-menu--mobile a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; text-decoration: none; }
.op-menu--mobile .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.op-menu--mobile .sub-menu a { font-size: 16px; color: var(--muted); }
.op-drawer__help { margin-top: 28px; }
.op-drawer__help h3 { font-size: 18px; }
.op-drawer__help a { display: block; color: var(--ink); text-decoration: underline; margin-bottom: 8px; }

/* ---------- Cart drawer ---------- */
.op-cart__inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.op-cart__empty { margin: auto; padding: 40px 28px; text-align: center; color: var(--muted); }
.op-cart__empty .op-icon { color: var(--navy); margin-bottom: 8px; }
.op-cart__empty h3 { color: var(--ink); font-size: 20px; }
.op-ship { margin: 14px 20px 0; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.op-ship__bar { position: relative; height: 8px; margin: 4px 7px 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.op-ship__bar span { display: block; height: 100%; max-width: 100%; background: var(--navy); border-radius: 999px; transition: width .35s ease; }
.op-ship__msg { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.op-ship__msg strong { color: var(--ink); }
.op-cart__items { list-style: none; margin: 0; padding: 6px 20px; overflow-y: auto; flex: 1; }
.op-cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.op-cart__item.is-busy { opacity: .5; pointer-events: none; }
.op-cart__thumb { display: block; width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); }
.op-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.op-cart__name { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.op-cart__info dl.variation { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.op-cart__info dl.variation dt, .op-cart__info dl.variation dd { display: inline; margin: 0; }
.op-cart__info dl.variation p { display: inline; margin: 0; }
.op-cart__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.op-qtybtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.op-qtybtn:hover { background: var(--paper); }
.op-qtyval { min-width: 30px; text-align: center; font-weight: 600; font-size: 14px; }
.op-cart__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.op-cart__remove { display: inline-flex; padding: 6px; background: none; border: 0; border-radius: var(--radius-sm); color: var(--muted); cursor: pointer; }
.op-cart__remove:hover { color: var(--red); background: var(--red-bg); }
.op-cart__line { font-weight: 600; }
.op-cart__foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); background: #fff; }
.op-cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 4px; }
.op-cart__subtotal small { color: var(--muted); font-weight: 400; }
.op-cart__subtotal strong { font-size: 20px; }
.op-cart__tax { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.op-cart__viewcart { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- Page head band ---------- */
.op-pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0 34px; text-align: center; }
.op-pagehead .op-breadcrumb { text-align: left; margin-bottom: 18px; }
.op-pagehead__title { margin: 0; font-size: clamp(26px, 3.4vw, 40px); }
.op-pagehead__desc { max-width: 760px; margin: 10px auto 0; color: var(--muted); }
.op-pagehead__desc p:last-child { margin-bottom: 0; }
.op-pagehead--narrow { max-width: 820px; }

.op-breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0; }
.op-breadcrumb a { color: var(--muted); }
.op-breadcrumb a:hover { color: var(--navy); }
.op-breadcrumb__sep { margin: 0 8px; opacity: .6; }

/* ---------- Hero ---------- */
.op-hero { padding: 28px 0 8px; }
.op-hero__panel {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: clamp(380px, 46vw, 560px); padding: 56px 28px; border-radius: 14px; isolation: isolate;
	background-color: var(--tint);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='700' viewBox='0 0 1600 700' fill='none' stroke='%231E3A8A' stroke-opacity='.16'%3E%3Cg stroke-width='1'%3E%3Cpath d='M-50 520C250 380 420 640 760 500S1260 240 1700 380'/%3E%3Cpath d='M-50 540C250 400 420 660 760 520S1260 260 1700 400'/%3E%3Cpath d='M-50 560C250 420 420 680 760 540S1260 280 1700 420'/%3E%3Cpath d='M-50 580C250 440 420 700 760 560S1260 300 1700 440'/%3E%3Cpath d='M-50 600C250 460 420 720 760 580S1260 320 1700 460'/%3E%3Cpath d='M-50 620C250 480 420 740 760 600S1260 340 1700 480'/%3E%3Cpath d='M-50 640C250 500 420 760 760 620S1260 360 1700 500'/%3E%3C/g%3E%3Cg stroke-width='1' stroke-opacity='.12'%3E%3Cpath d='M-50 60C300 -40 560 220 900 120S1400 -60 1700 80'/%3E%3Cpath d='M-50 80C300 -20 560 240 900 140S1400 -40 1700 100'/%3E%3Cpath d='M-50 100C300 0 560 260 900 160S1400 -20 1700 120'/%3E%3Cpath d='M-50 120C300 20 560 280 900 180S1400 0 1700 140'/%3E%3C/g%3E%3C/svg%3E"),
		radial-gradient(900px 420px at 15% 10%, #fff 0%, rgba(255,255,255,0) 60%),
		linear-gradient(135deg, var(--paper) 0%, var(--tint) 100%);
	background-size: cover, auto, auto; background-position: center;
}
.op-hero__panel.has-media { color: #fff; background-color: var(--navy-deep); background-image: var(--op-poster, none); background-size: cover; background-position: center; }
.op-hero__panel.has-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 23, 42, calc(var(--op-overlay, .45) * 1.2)), rgba(15, 23, 42, calc(var(--op-overlay, .45) * 1.45))); }
.op-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.op-hero__inner { max-width: 820px; }
.op-hero__eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.op-hero__title { margin: 0 0 16px; font-size: clamp(32px, 5vw, 58px); line-height: 1.06; letter-spacing: -.02em; }
.op-hero__text { margin: 0 auto 28px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.op-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.has-media .op-hero__eyebrow { color: var(--tint); }
.has-media .op-hero__title { color: #fff; }
.has-media .op-hero__text { color: rgba(255, 255, 255, .92); }
.has-media .op-btn--ghost { color: #fff !important; border-color: #fff; }
.has-media .op-btn--ghost:hover { background: #fff; color: var(--ink) !important; }

/* ---------- Sections ---------- */
.op-section { padding: 56px 0; }
.op-section--grid { padding-top: 48px; }
.op-section--band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.op-section__head { margin-bottom: 26px; }
.op-section__head h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 4px; }
.op-section__head p { margin: 0; color: var(--muted); }

/* ---------- Product grid ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.op-card, .op-tile { list-style: none; margin: 0; }
.op-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.op-card:hover { border-color: rgba(30, 58, 138, .45); box-shadow: var(--shadow); }
.op-card__media { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #F1F1EC; aspect-ratio: 1 / 1; }
.op-card__media a { display: block; height: 100%; }
.op-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.op-card:hover .op-card__img { transform: scale(1.04); }
.op-badge {
	position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px;
	background: var(--tint); color: var(--navy-deep); font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase;
	box-shadow: 0 0 0 1px rgba(30, 58, 138, .18);
}
.op-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 2px 2px; }
.op-card__brand { font-size: 13px; color: var(--muted); }
.op-card__title { margin: 2px 0 10px; font-size: 15px; font-weight: 500; line-height: 1.35; min-height: 2.7em; letter-spacing: 0; }
.op-card__title a { color: var(--ink); }
.op-card__title a:hover { color: var(--navy); text-decoration: none; }
.op-card__stock { margin-bottom: 8px; min-height: 24px; }
.op-card__price { margin-bottom: 12px; margin-top: auto; font-size: 19px; font-weight: 650; color: var(--ink); }
.price del, .op-card__price del { color: var(--muted); font-weight: 400; font-size: .8em; margin-right: 6px; }
.price ins, .op-card__price ins { text-decoration: none; }

.op-stock { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.op-stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.op-stock--in { color: var(--ok); }
.op-stock--low { padding: 2px 10px; background: var(--amber-bg); color: var(--amber); border-radius: 999px; }
.op-stock--out { padding: 2px 10px; background: var(--red-bg); color: var(--red); border-radius: 999px; }

.op-tile {
	grid-column: 1 / -1; position: relative; min-height: 220px; border-radius: var(--radius); overflow: hidden;
	background: var(--navy-deep) center 35% / cover no-repeat;
}
.op-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .88) 45%, rgba(15, 23, 42, .55) 100%); }
.op-tile__link { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; min-height: 220px; padding: 32px 40px; color: #fff; text-decoration: none !important; }
.op-tile__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.op-tile__text { font-size: 15px; opacity: .92; margin-bottom: 10px; max-width: 460px; }
.op-tile .op-btn { background: #fff; color: var(--navy-deep) !important; border-color: #fff; }
.op-tile__link:hover .op-btn { background: var(--tint); border-color: var(--tint); }

/* ---------- About ---------- */
.op-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.op-about__media { border-radius: var(--radius); overflow: hidden; background: #F1F1EC; aspect-ratio: 4 / 3; }
.op-about__media img { width: 100%; height: 100%; object-fit: cover; }
.op-about__body { padding: 8px 28px 8px 0; }
.op-about__body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.op-about__body p { color: var(--muted); }
.op-about__body .op-btn { margin-top: 8px; }

/* ---------- Trust row ---------- */
.op-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.op-trust__item { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.op-trust__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 12px; background: var(--tint); color: var(--navy); border-radius: 50%; }
.op-trust__item h3 { font-size: 17px; margin-bottom: 6px; }
.op-trust__item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Newsletter band (navy, above the footer) ---------- */
.op-news { background: var(--navy); color: #fff; padding: 40px 0; }
.op-news h2 { color: #fff; font-size: 22px; margin: 0 0 4px; letter-spacing: -.005em; }
.op-news p { margin: 0; color: rgba(255, 255, 255, .86); }
.op-news__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.op-news__inner > * { min-width: 0; }
.op-subscribe__row { display: flex; width: 100%; }
.op-subscribe input[type="email"] {
	flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	background: #fff; color: var(--ink); font-size: 16px;
}
.op-subscribe input[type="email"]::placeholder { color: var(--slate); }
.op-subscribe input[type="email"]:focus { outline: 3px solid var(--tint-2); outline-offset: -3px; }
.op-subscribe button {
	height: 50px; padding: 0 28px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--tint); color: var(--navy); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s;
}
.op-subscribe button:hover { background: #fff; }
.op-subscribe button[disabled] { opacity: .7; cursor: progress; }
.op-subscribe__msg { min-height: 1.4em; margin: 10px 0 0 !important; font-weight: 600; font-size: 14px; color: #fff !important; }
.op-subscribe__msg.is-err { color: #FECACA !important; }
.op-subscribe__note { margin: 2px 0 0 !important; font-size: 12px; color: rgba(255, 255, 255, .7) !important; }
.op-news__form form, .op-news__form .mailpoet_form { margin: 0; }
.op-news__form .mailpoet_paragraph { margin: 0; }
.op-news__form .mailpoet_form_columns { display: flex; gap: 8px; }

/* ---------- Footer ---------- */
.op-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 48px; }
.op-footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 40px; }
.op-footer__brand .op-logo { margin-bottom: 18px; }
.op-contactcard { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.op-contactcard strong { display: block; font-size: 13px; color: var(--ink); }
.op-contactcard a, .op-contactcard span { color: var(--muted); }
.op-contactcard a { text-decoration: underline; }
.op-footer__col h3 { font-size: 16px; margin-bottom: 14px; }
.op-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-footer__links a { color: var(--muted); font-size: 15px; }
.op-footer__links a:hover { color: var(--navy); }
.op-disclaimer { display: flex; gap: 12px; margin: 40px 0 0; padding: 16px 18px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); color: var(--warn); font-size: 13px; line-height: 1.55; }
.op-disclaimer .op-icon { margin-top: 2px; }
.op-disclaimer p { margin: 2px 0 0; }
.op-footer__bottom { padding-top: 24px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.op-footer__bottom p { margin: 0; }

/* ---------- Shop page ---------- */
.op-shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; padding-top: 34px; padding-bottom: 64px; align-items: start; }
.op-filters { position: sticky; top: 16px; }
.op-filter { border-bottom: 1px solid var(--line); padding: 12px 0; }
.op-filter summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.op-filter summary::-webkit-details-marker { display: none; }
.op-filter summary::after { content: "\2212"; font-size: 18px; font-weight: 400; }
.op-filter:not([open]) summary::after { content: "+"; }
.op-filter__list { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; gap: 9px; max-height: 480px; overflow-y: auto; }
.op-filter__list label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.op-filter__list input { width: 17px; height: 17px; accent-color: var(--navy); margin: 0; }
.op-filter__name { flex: 1; }
.op-filter__count { color: var(--muted); font-size: 12px; }
.op-filters__actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.op-filters__clear { font-size: 14px; font-weight: 600; }
.op-toolbar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; margin-bottom: 18px; background: var(--paper); border-radius: var(--radius); }
.op-toolbar__count { margin: 0; font-weight: 700; }
.op-toolbar__filter { display: none; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; }
.woocommerce-ordering { margin: 0 0 0 auto; }
.woocommerce-ordering select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.op-shop .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-shop .woocommerce-pagination, .op-blog .navigation { margin-top: 34px; }
.woocommerce-pagination ul, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers, .nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
}
.woocommerce-pagination .page-numbers.current, .nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce-pagination a.page-numbers:hover, .nav-links a.page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; background: var(--tint); border-left: 4px solid var(--navy); border-radius: var(--radius-sm); color: var(--navy-deep);
}
.woocommerce-error { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 14px; min-height: 36px; padding: 6px 14px; float: right; }

/* ---------- Single product ---------- */
.op-woo { padding-bottom: 64px; }
.single-product div.product { display: block; margin-bottom: 40px; position: relative; }
.single-product .op-pdp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: start; position: relative; }
.single-product .op-pdp-top > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; max-width: 780px; }
.single-product .op-pdp-top > .summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 20px; align-self: start; min-width: 0; }
.single-product .op-pdp-top > .op-accordion { grid-column: 1; grid-row: 2; margin-top: 8px; }
.single-product div.product > .related, .single-product div.product > .upsells { clear: both; position: relative; z-index: 1; background: #fff; }
.woocommerce-product-gallery { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; }
.woocommerce-product-gallery:has(.flex-control-thumbs) { grid-template-columns: 84px minmax(0, 1fr); }
.woocommerce-product-gallery .flex-viewport { grid-column: -2; grid-row: 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #F1F1EC; }
.woocommerce-product-gallery__wrapper { grid-column: -2; grid-row: 1; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #F1F1EC; }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--navy); }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; }
.op-pdp__brand { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.single-product .product_title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.op-pdp__stock { margin-bottom: 16px; }
.single-product .woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 18px; }
.op-pdp__notes { list-style: none; margin: 0 0 20px; padding: 16px 18px; display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.op-pdp__notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.op-pdp__notes .op-icon { color: var(--navy); margin-top: 1px; }
.single-product .summary > .price { display: block; margin: 0 0 16px; font-size: 28px; font-weight: 700; color: var(--ink); }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-bottom: 18px; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 180px; min-height: 50px; font-size: 16px; }
.single-product form.cart.variations_form { display: block; }
.single-product form.cart .variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.single-product form.cart .variations th, .single-product form.cart .variations td { text-align: left; padding: 6px 0; display: block; }
.single-product form.cart .variations select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.quantity input.qty { width: 54px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .op-qtybtn { width: 40px; height: auto; min-height: 48px; }
.op-ruo { display: flex; gap: 14px; padding: 16px 18px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); color: var(--warn); }
.op-ruo .op-icon { flex: none; margin-top: 2px; }
.op-ruo strong { display: block; margin-bottom: 4px; font-size: 16px; }
.op-ruo p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.single-product .product_meta { margin-top: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.single-product .product_meta a { color: var(--navy); }

.op-accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.op-acc { border-bottom: 1px solid var(--line); }
.op-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.op-acc summary::-webkit-details-marker { display: none; }
.op-acc summary .op-icon { display: none; }
.op-acc summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--ink); }
.op-acc[open] summary::after { content: "\2212"; }
.op-acc__body { padding: 0 0 22px; color: var(--text); }
.op-acc__body > h2:first-child { display: none; }
.op-acc__body h2 { font-size: 20px; }
.op-acc__body .woocommerce-Reviews-title { display: block; }
.op-acc__body table { width: 100%; border-collapse: collapse; }
.op-acc__body th, .op-acc__body td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Small warning icon for "Important Notice" style headings in product text. inc/clean.php swaps the
   big emoji picture for this span; it is drawn with a mask so it takes the amber colour below. */
.op-warn-ico {
	display: inline-block; flex: none; width: 1.05em; height: 1.05em; margin: 0 .4em 0 0; vertical-align: -.18em;
	background: #B45309;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Safety net: emoji pictures keep their text size (WordPress's own emoji sizing, which the theme does not load),
   and a warning picture that sits inside a heading or is named like one can never fill the column. */
img.emoji, img.wp-smiley, .entry-content img[src*="/emoji/"], .entry-content img[src*="twemoji"] {
	display: inline-block; width: 1.1em; height: 1.1em; max-width: none; margin: 0 .12em; padding: 0; vertical-align: -.18em; border: 0; background: none; box-shadow: none;
}
.op-acc__body h1 > img:not(:only-child), .op-acc__body h2 > img:not(:only-child), .op-acc__body h3 > img:not(:only-child),
.op-acc__body h4 > img:not(:only-child), .op-acc__body h5 > img:not(:only-child), .op-acc__body h6 > img:not(:only-child),
.op-acc__body strong > img:not(:only-child), .op-acc__body b > img:not(:only-child),
.op-acc__body img[src*="26a0" i], .op-acc__body img[src*="warning" i], .op-acc__body img[src*="caution" i],
.woocommerce-product-details__short-description img[src*="26a0" i], .woocommerce-product-details__short-description img[src*="warning" i] {
	display: inline-block; width: 1.2em; height: 1.2em; max-width: none; margin: 0 .4em 0 0; vertical-align: -.2em; object-fit: contain;
}

/* PayPal switched off (Customizer: "Hide PayPal everywhere"). inc/no-paypal.php already stops PayPal
   from being rendered; this hides any button or payment row a plugin still manages to print. */
.op-no-paypal .ppc-button-wrapper,
.op-no-paypal .ppcp-messages,
.op-no-paypal [id^="ppc-button-"],
.op-no-paypal .paypal-buttons,
.op-no-paypal .wcppec-checkout-buttons,
.op-no-paypal #woo_pp_ec_button_product,
.op-no-paypal li.wc_payment_method[class*="payment_method_paypal"],
.op-no-paypal li.wc_payment_method[class*="payment_method_ppcp"] { display: none !important; }
/* Block checkout rows. Kept as separate rules: a browser without :has() would otherwise drop the rule above too. */
.op-no-paypal .wc-block-components-radio-control-accordion-option:has(input[id*="paypal"]) { display: none !important; }
.op-no-paypal .wc-block-components-radio-control-accordion-option:has(input[id*="ppcp"]) { display: none !important; }

.related.products > h2, .upsells.products > h2 { font-size: 26px; margin: 34px 0 20px; }

/* ---------- Pages / blog / prose ---------- */
.op-page { padding-top: 40px; padding-bottom: 72px; }
.op-prose { max-width: 860px; margin: 0 auto; }
.op-prose h2 { margin-top: 1.6em; }
.op-prose table { border-collapse: collapse; width: 100%; }
.op-prose th, .op-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.op-prose__hero { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
body.woocommerce-cart .op-page, body.woocommerce-checkout .op-page, body.woocommerce-account .op-page { padding-top: 32px; }
body.woocommerce-cart .op-prose, body.woocommerce-checkout .op-prose, body.woocommerce-account .op-prose { max-width: 1200px; }
.op-blog { padding-top: 40px; padding-bottom: 72px; }
.op-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.op-postcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.op-postcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.op-postcard__body { padding: 18px 20px 22px; }
.op-postcard__date { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.op-postcard__title { font-size: 20px; }
.op-postcard__title a { color: var(--ink); }
.op-postcard p { color: var(--muted); }
.op-404 { text-align: center; padding: 90px 24px; max-width: 640px; }
.op-404__code { font-size: 72px; font-weight: 800; color: var(--navy); margin: 0; line-height: 1; }
.op-404__search { margin: 24px 0; }
.op-comments { max-width: 860px; margin: 40px auto 0; }
.op-comments__list { padding-left: 0; list-style: none; }
.op-elementor-page .site-main { padding: 0; }
.op-page .woocommerce { margin: 0; }

/* Cart / checkout / account baseline (WooCommerce's own CSS loads on these pages) */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; }
.woocommerce table.shop_table th { color: var(--ink); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single {
	height: auto; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
}
.woocommerce #payment { background: var(--paper); border-radius: var(--radius); }
.woocommerce #payment div.payment_box { background: #fff; color: var(--text); }
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment #place_order, .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 52px; font-size: 16px; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 22px; }

/* ---------- Age gate ---------- */
.op-gate { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 24, 39, .82); backdrop-filter: blur(6px); overflow-y: auto; }
html.op-gate-open .op-gate { display: flex; }
html.op-gate-open body { overflow: hidden; }
.op-gate[hidden] { display: none; }
html.op-gate-open .op-gate[hidden] { display: flex !important; }
.op-gate__card { width: min(560px, 100%); margin: auto; padding: 34px 34px 28px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.op-gate__logo { display: flex; justify-content: center; margin-bottom: 18px; }
.op-gate__card h2 { text-align: center; font-size: 26px; }
.op-gate__lead { text-align: center; color: var(--muted); }
.op-gate__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.op-gate__list li { padding: 12px 14px; background: var(--paper); border-radius: var(--radius-sm); }
.op-gate__list strong { color: var(--ink); }
.op-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.op-gate__legal { margin: 16px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.op-footer__grid { grid-template-columns: 1fr 1fr; }
	.op-support { display: none; }
}
@media (max-width: 991px) {
	.container { padding: 0 18px; }
	.op-header__inner { flex-wrap: wrap; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
	.op-header__search { order: 3; flex: 1 0 100%; max-width: none; }
	.op-nav { display: none; }
	.op-actions__menu { display: inline-flex; border: 1px solid var(--line-strong); }
	.op-actions__account span { display: none; }
	.op-topbar__links, .op-social { display: none; }
	.op-topbar__inner { justify-content: center; text-align: center; }
	.op-shop { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
	.op-filters { position: static; display: none; margin-bottom: 18px; padding: 8px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
	.op-filters.is-open { display: block; }
	.op-toolbar__filter { display: inline-flex; }
	.op-shop .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single-product .op-pdp-top { grid-template-columns: 1fr; gap: 28px; }
	.op-about { grid-template-columns: 1fr; gap: 20px; }
	.op-about__body { padding: 0 8px 12px; }
	.op-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.op-news__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.op-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.op-toolbar { flex-wrap: wrap; gap: 10px 12px; }
	.op-toolbar__count { flex: 1; }
	.woocommerce-ordering { margin: 0; width: 100%; }
	.woocommerce-ordering select { width: 100%; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.op-card { padding: 8px; }
	.op-card__title { font-size: 14px; }
	.op-card__price { font-size: 17px; }
	.op-section { padding: 38px 0; }
	.op-hero__panel { padding: 44px 20px; border-radius: 12px; }
	.op-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.op-postgrid { grid-template-columns: 1fr; }
	.op-woocommerce-gallery, .woocommerce-product-gallery { grid-template-columns: 1fr; }
	.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper { grid-column: 1; }
	.woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(5, 1fr); }
	.op-gate__card { padding: 24px 20px; }
	.op-gate__actions { grid-template-columns: 1fr; }
	.woocommerce-message .button, .woocommerce-info .button { float: none; display: flex; margin: 10px 0 0; }
}
@media (max-width: 420px) {
	.op-trust { grid-template-columns: 1fr; }
	.op-hero__actions .op-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- WooCommerce Blocks (cart / checkout) ---------- */
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--navy) !important; color: #fff !important; border-radius: var(--radius-sm) !important; border: 1px solid var(--navy) !important; font-weight: 600;
}
.wc-block-components-button:not(.is-link):hover { background: var(--navy-dark) !important; border-color: var(--navy-dark) !important; }
.wc-block-components-text-input input:focus, .wc-block-components-combobox .components-form-token-field__input-container:focus-within { box-shadow: 0 0 0 1px var(--navy) !important; border-color: var(--navy) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--navy); border-color: var(--navy); }

/* ==========================================================================
   v2 additions: COA library, forms, specs, notify, suggestions, sticky bar
   ========================================================================== */
.op-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.op-center { text-align: center; margin-top: 32px; }
.op-prose--intro { margin-bottom: 28px; }

/* Product spec box */
.op-specs { margin: 0 0 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.op-specs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.op-specs li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.op-specs .op-icon { color: var(--navy); margin-top: 2px; }
.op-specs b { font-weight: 600; }
.op-specs__coa { grid-column: 1 / -1; }
.op-coa-tab__date { color: var(--muted); font-size: 14px; }
.op-coa-tab__img { max-width: 560px; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; }

/* Notify */
.op-notify { margin: 18px 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.op-notify h3 { font-size: 17px; margin-bottom: 4px; }
.op-notify p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.op-notify__form { display: flex; gap: 8px; flex-wrap: wrap; }
.op-notify__form input[type="email"] { flex: 1; min-width: 200px; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.op-notify .op-notify__msg { margin: 10px 0 0; min-height: 1.2em; font-weight: 600; font-size: 14px; }
.op-notify__msg.is-ok { color: var(--navy); }
.op-notify__msg.is-err { color: var(--red); }
.op-notify-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--navy); }

/* Search suggestions */
.op-search { position: relative; }
.op-suggest { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.op-suggest__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none !important; }
.op-suggest__item:hover, .op-suggest__item.is-active { background: var(--tint); }
.op-suggest__item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); background: #F1F1EC; }
.op-suggest__txt { display: grid; line-height: 1.3; }
.op-suggest__txt small { color: var(--muted); }
.op-suggest__all, .op-suggest__none { display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); text-align: center; margin: 0; }
.op-suggest__none { border: 0; font-weight: 400; color: var(--muted); }

/* COA library */
.op-coa__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.op-coa__search { flex: 1; max-width: 520px; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 15px; }
.op-coa__search:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.op-coa__count { font-size: 14px; color: var(--muted); }
.op-coa__table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.op-coa__row { display: grid; grid-template-columns: minmax(0, 2.2fr) 1.2fr .9fr 1fr auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.op-coa__row:last-child { border-bottom: 0; }
.op-coa__row[hidden] { display: none; }
.op-coa__row--head { background: var(--paper); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.op-coa__name a { font-weight: 600; color: var(--ink); }
.op-coa__name small { display: block; color: var(--muted); font-size: 12px; }
.op-coa__empty, .op-coa__none { padding: 28px; text-align: center; background: var(--paper); border-radius: var(--radius); color: var(--muted); }

/* Forms + contact layout */
.op-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.op-contact__form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.op-infocards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.op-infocards li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.op-infocards .op-icon { color: var(--navy); margin-top: 2px; }
.op-infocards strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.op-infocards a, .op-infocards span { color: var(--muted); }
.op-checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.op-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.op-checklist .op-icon { color: var(--navy); margin-top: 3px; }
.op-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.op-form__wide { grid-column: 1 / -1; }
.op-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.op-form input[type="text"], .op-form input[type="email"], .op-form input[type="tel"], .op-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: 15px;
}
.op-form input:focus, .op-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.op-form__note { margin: 4px 0 18px; font-size: 13px; color: var(--muted); }
.op-formnote { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 18px; border-radius: var(--radius); }
.op-formnote p { margin: 2px 0 0; }
.op-formnote--ok { background: var(--tint); color: var(--navy-deep); }
.op-formnote--err { background: var(--red-bg); color: var(--red); }
.op-accordion--faq { margin-top: 8px; }

/* Footer badges */
.op-badges { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.op-badges img { max-height: 56px; width: auto; border-radius: var(--radius-sm); }

/* Cart drawer extras */
.op-cart__related { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.op-cart__related h3 { margin: 0 20px 10px; font-size: 15px; text-align: center; }
.op-cart__rail { list-style: none; margin: 0; padding: 0 20px 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; }
.op-mini { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.op-mini__img { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: #F1F1EC; }
.op-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.op-mini__name { color: var(--ink); font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.op-mini__price { color: var(--muted); }
.op-mini .op-btn { min-height: 34px; margin-top: auto; }
.op-cart__notes { list-style: none; margin: 0 0 14px; padding: 12px 14px; display: grid; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 12.5px; }
.op-cart__notes li { display: flex; gap: 10px; align-items: flex-start; }
.op-cart__notes .op-icon { color: var(--navy); margin-top: 1px; }
.op-cart__inner { overflow-y: auto; }
.op-cart__items { flex: 0 1 auto; overflow: visible; }

/* Sticky mobile add-to-cart */
.op-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .12); }
.op-sticky[hidden] { display: none; }
.op-sticky__info { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.op-sticky__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.op-sticky__info span { font-weight: 700; }
.op-sticky__info del { color: var(--muted); font-weight: 400; }
.op-sticky__info ins { text-decoration: none; }

/* Mega dropdown: add the CSS class "op-mega" to a menu item to get a multi-column panel */
.op-menu--primary .op-mega > .sub-menu { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 620px; gap: 2px 8px; }
.op-menu--primary .op-mega:hover > .sub-menu, .op-menu--primary .op-mega:focus-within > .sub-menu { display: grid; }

/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }

@media (max-width: 991px) {
	.op-header { position: sticky; top: 0; z-index: 70; }
	.op-contact { grid-template-columns: 1fr; gap: 28px; }
	.op-coa__row--head { display: none; }
	.op-coa__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
	.op-coa__row > span:first-child { grid-column: 1 / -1; }
	.op-coa__row > span[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
	.op-coa__name::before { content: none !important; }
	.op-coa__row > span:last-child { grid-column: 1 / -1; }
	.op-coa__bar { flex-direction: column; align-items: stretch; gap: 8px; }
	.op-coa__search { max-width: none; }
	.op-form__grid { grid-template-columns: 1fr; }
	body.single-product { padding-bottom: 76px; }
}
@media (max-width: 720px) {
	.op-specs ul { grid-template-columns: 1fr; }
	.op-contact__form { padding: 20px; }
}


/* ==========================================================================
   v2.1: hero video, cart tiers, OROS-matching details
   ========================================================================== */
/* Hero: video-only layout */
.op-hero--r-3x1 { --hero-ratio: 3 / 1; }
.op-hero--r-2x1 { --hero-ratio: 2 / 1; }
.op-hero--r-16x9 { --hero-ratio: 16 / 9; }
.op-hero--r-21x9 { --hero-ratio: 21 / 9; }
.op-hero--video .op-hero__panel { aspect-ratio: var(--hero-ratio, 2 / 1); min-height: 0; padding: 0; background-color: #0b1f1d; }
.op-hero--video .op-hero__panel::before { display: none; }
.op-hero--video .op-hero__video { z-index: 0; }
.op-hero__video { background: transparent; }
.op-hero__link { position: absolute; inset: 0; z-index: 2; }
.op-hero__toggle {
	position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .88); color: var(--ink);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2); cursor: pointer; opacity: .85; transition: opacity .2s, transform .2s;
}
.op-hero__toggle:hover, .op-hero__toggle:focus-visible { opacity: 1; transform: scale(1.06); }
.op-hero__ic-play { display: none; margin-left: 2px; }
.op-hero__toggle.is-paused .op-hero__ic-play { display: block; }
.op-hero__toggle.is-paused .op-hero__ic-pause { display: none; }
.op-hero__toggle[hidden] { display: none; }
.op-hero--text .op-hero__toggle { right: 14px; bottom: 14px; }
@media (max-width: 720px) {
	.op-hero--video .op-hero__panel { aspect-ratio: 16 / 10; }
	.op-hero--video.has-mobile-video .op-hero__panel { aspect-ratio: 4 / 5; }
	.op-hero__toggle { width: 38px; height: 38px; right: 10px; bottom: 10px; }
}

/* Cart: reward milestones */
.op-ship { padding: 12px 14px 12px; }
.op-ship__labels { position: relative; list-style: none; margin: 0 0 8px; padding: 0; height: 18px; font-size: 12px; color: var(--muted); }
.op-ship__labels li { position: absolute; top: 0; left: calc(var(--i) / var(--n) * 100%); transform: translateX(-50%); white-space: nowrap; }
.op-ship__labels li:last-child { transform: translateX(-85%); }
.op-ship__labels li.is-done { color: var(--navy-dark); font-weight: 600; }
.op-ship__dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); transform: translate(-50%, -50%); }
.op-ship__dot.is-done { background: var(--navy); border-color: var(--navy); }
.op-cart__banner { margin: 0; padding: 8px 20px; text-align: center; background: var(--paper-2); font-size: 13px; font-weight: 500; }
.op-cart__eta { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; margin: 12px auto 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); }
.op-cart__eta i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Header: Online badge */
.op-online { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid rgba(21, 128, 61, .3); border-radius: 999px; background: #DCFCE7; color: #166534; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: 1px; }
.op-drawer__support { margin: 0 0 6px; font-weight: 600; }

/* Product page: ship line + default stock text */
.single-product p.stock { display: none; }
.op-pdp__ship { display: flex; align-items: center; gap: 14px; margin-top: 2px; font-size: 14px; }
.op-pdp__bar { height: 3px; margin: 8px 0 18px; border-radius: 3px; background: var(--ok); opacity: .85; }

/* Catalog toolbar */
.op-toolbar__hide { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.op-toolbar__hide:hover { color: var(--navy); }
.op-toolbar__sort { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.op-toolbar__sortlabel { font-size: 14px; color: var(--muted); }
.op-toolbar .woocommerce-ordering { margin: 0; }
.op-shop--nofilters { grid-template-columns: minmax(0, 1fr); }
.op-shop--nofilters .op-filters { display: none; }
.op-shop--nofilters .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .op-shop--nofilters .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
	.op-toolbar__hide { display: none; }
	.op-toolbar__sortlabel { display: none; }
	.op-shop--nofilters .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   v3: detail pass — price label, review badge, phone + off-canvas polish
   ========================================================================== */
.op-cur { font-size: .62em; font-weight: 600; letter-spacing: .04em; color: var(--slate); margin-left: 2px; }
.op-card__price .op-cur { font-size: .6em; }
.op-sticky__info .op-cur { display: none; }
.op-review { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; font-size: 14px; }
.op-review:hover { border-color: var(--navy); }
.op-review strong { display: block; font-weight: 600; }
.op-review small { display: block; color: var(--slate); font-size: 12px; }
.op-review__star { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: #00B67A; color: #fff; font-size: 17px; }
.op-footer .op-review { margin-top: 12px; }
.op-accordion .op-review { margin-top: 18px; }

/* Off-canvas drawers */
.op-drawer { overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.op-drawer__body, .op-cart__inner, .op-cart__items { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.op-cart__foot { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -10px 20px -14px rgba(15, 23, 42, .25); }
html.op-lock, body.op-lock { overflow: hidden; }
.op-overlay { backdrop-filter: blur(1.5px); }

/* Tap targets + iOS zoom prevention */
.op-actions__link, .op-iconbtn { min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 991px) {
	input, select, textarea { font-size: 16px !important; }
	.op-search__input, .op-search__btn { height: 48px; }
	.op-filter__list label { padding: 6px 0; }
	.op-qtybtn { width: 44px; }
	.op-cart__qty .op-qtybtn { width: 40px; height: 40px; }
	.op-cart__remove { padding: 10px; }
	.op-menu--mobile a { padding: 16px 0; }
}
@media (max-width: 720px) {
	.single-product .product_title { font-size: 26px; }
	.single-product form.cart { flex-wrap: nowrap; }
	.single-product form.cart .quantity { flex: none; }
	.single-product form.cart .single_add_to_cart_button { min-width: 0; }
	.single-product .op-pdp-top { row-gap: 20px; }
	.single-product div.product { margin-bottom: 24px; }
	.single-product .op-pdp-top > .summary { position: static; grid-column: 1; grid-row: auto; }
	.single-product .op-pdp-top > .woocommerce-product-gallery, .single-product .op-pdp-top > .op-accordion { grid-column: 1; grid-row: auto; max-width: none; }
	.op-news { padding: 32px 0; }
	.op-subscribe button { padding: 0 20px; }
	.op-pdp__notes, .op-specs { padding: 14px; }
	.op-drawer--right { width: 100%; }
}
@media (max-width: 991px) {
	.single-product .op-pdp-top > .summary { position: static; grid-column: 1; grid-row: auto; }
	.single-product .op-pdp-top > .woocommerce-product-gallery, .single-product .op-pdp-top > .op-accordion { grid-column: 1; grid-row: auto; max-width: none; }
}

/* Header search must never be wider than the phone (iOS needs a 16px input, which has a larger intrinsic width) */
.op-header__search, .op-search { min-width: 0; }
.op-search__input { width: 100%; }

/* ==========================================================================
   Homepage product browser (tabs + "Show more")
   ========================================================================== */
.op-section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.op-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.op-tab {
	display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
	background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.op-tab sup { position: static; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: var(--paper-2); color: var(--slate); }
.op-tab:hover { border-color: var(--navy); color: var(--navy); }
.op-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(30, 58, 138, .7); }
.op-tab.is-active sup { background: rgba(255, 255, 255, .2); color: #fff; }

.op-browser ul.products { transition: opacity .2s; }
.op-browser ul.products.is-swapping { opacity: .98; }
.op-card.is-new { animation: opRise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes opRise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* Skeleton cards while loading */
.op-card--skeleton { pointer-events: none; }
.op-card--skeleton .op-card__media, .op-card--skeleton i {
	display: block; background: linear-gradient(100deg, #EEF2F8 30%, #F8FAFC 50%, #EEF2F8 70%); background-size: 220% 100%; animation: opShimmer 1.2s linear infinite;
}
.op-card--skeleton .op-card__body { gap: 10px; padding-top: 14px; }
.op-card--skeleton i { height: 12px; border-radius: 6px; }
.op-card--skeleton i.op-sk-btn { height: 40px; width: 100%; margin-top: 14px; border-radius: var(--radius-sm); }
@keyframes opShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Show more */
.op-more { display: grid; justify-items: center; gap: 12px; margin: 34px auto 0; max-width: 460px; text-align: center; }
.op-more[hidden] { display: none; }
.op-more__count { margin: 0; font-size: 14px; color: var(--slate); }
.op-more__count b { color: var(--ink); }
.op-more__bar { width: 100%; max-width: 280px; height: 4px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.op-more__bar span { display: block; height: 100%; background: var(--navy); border-radius: 999px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.op-more__btn { min-width: 260px; gap: 10px; }
.op-more__btn .op-icon { transition: transform .2s; }
.op-more__btn:hover .op-icon { transform: translateY(2px); }
.op-more__btn.is-loading { pointer-events: none; opacity: .65; }
.op-more__btn.is-loading .op-icon { animation: opBounce .7s ease-in-out infinite; }
@keyframes opBounce { 50% { transform: translateY(4px); } }
.op-more__end { margin: 26px 0 0; text-align: center; color: var(--slate); font-size: 14px; }
.op-more__end a { font-weight: 600; }
.op-browser + .op-tile, .op-section--grid .op-tile { margin-top: 44px; }

@media (max-width: 991px) {
	.op-section__head--split { align-items: flex-start; }
	.op-tabs { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; padding: 2px 18px 8px; margin: 0 -18px; width: calc(100% + 36px); scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.op-tabs::-webkit-scrollbar { display: none; }
	.op-tab { flex: none; scroll-snap-align: start; }
}
@media (max-width: 720px) {
	.op-more__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.op-card.is-new { animation: none; }
	.op-card--skeleton .op-card__media, .op-card--skeleton i { animation: none; }
}

/* ==========================================================================
   v3.1: full-width layout + full-screen hero
   ========================================================================== */
/* Wider layout on big monitors */
@media (min-width: 1600px) {
	ul.products { gap: 24px; }
	.op-shop { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
	.op-section { padding: 72px 0; }
	.op-trust { gap: 24px; }
}
@media (min-width: 1500px) {
	.op-shop .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1900px) {
	.op-menu--primary a { font-size: 15px; padding: 16px 18px; }
	.op-header__inner { gap: 40px; }
}
@media (max-width: 991px) { :root { --op-hdr: 170px; } }

/* Full-screen hero (photo, edge to edge) */
.op-hero--cover { padding: 0; }
.op-hero--cover .op-hero__panel {
	position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-start;
	padding: 0; min-height: 0; border-radius: 0; background: #0B1330; color: #fff; text-align: left; overflow: hidden;
	height: clamp(380px, max(calc(100vh - var(--op-hdr)), calc(100vw / 2.4)), 1400px);
	height: clamp(380px, max(calc(100svh - var(--op-hdr)), calc(100vw / 2.4)), 1400px);
}
.op-hero--cover .op-hero__panel::before { display: none; }
.op-hero__picture, .op-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -3; }
.op-hero__img { object-fit: cover; object-position: 78% 55%; }
.op-hero--cover .op-hero__video { z-index: -2; }
.op-hero__scrim {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(15, 23, 42, calc(var(--op-overlay, .45) * 1.8)) 0%, rgba(15, 23, 42, calc(var(--op-overlay, .45) * 1.1)) 30%, rgba(15, 23, 42, 0) 58%);
}
.op-hero--cover .op-hero__wrap { position: relative; width: 100%; }
.op-hero--cover .op-hero__wrap.container { max-width: var(--container); margin: 0 auto; }
.op-hero--cover .op-hero__inner { max-width: min(560px, 31vw); margin: 0; text-align: left; }
.op-hero--cover .op-hero__eyebrow { color: var(--tint-2); }
.op-hero--cover .op-hero__title { color: #fff; font-size: clamp(26px, 3.05vw, 60px); margin-bottom: 18px; text-shadow: 0 2px 24px rgba(15, 23, 42, .35); }
.op-hero--cover .op-hero__text { max-width: 30em; margin: 0 0 30px; color: rgba(255, 255, 255, .88); font-size: clamp(15px, 1.25vw, 21px); }
.op-hero--cover .op-hero__actions { justify-content: flex-start; }
.op-hero--cover .op-btn { background: #fff; border-color: #fff; color: var(--navy) !important; }
.op-hero--cover .op-btn:hover { background: var(--tint); border-color: var(--tint); }
.op-hero--cover .op-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff !important; }
.op-hero--cover .op-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy) !important; }
.op-hero--cover .op-hero__toggle { right: var(--gutter); bottom: 20px; }

/* Portrait screens (phones / upright tablets): phone photo, text on top, products below */
@media (max-aspect-ratio: 1/1) {
	.op-hero--cover .op-hero__panel {
		align-items: flex-start;
		height: clamp(440px, max(calc(100vh - var(--op-hdr)), 155vw), 1500px);
		height: clamp(440px, max(calc(100svh - var(--op-hdr)), 155vw), 1500px);
	}
	.op-hero__img { object-position: 50% 55%; }
	.op-hero__scrim { background: linear-gradient(180deg, rgba(15, 23, 42, calc(var(--op-overlay, .45) * 1.7)) 0%, rgba(15, 23, 42, calc(var(--op-overlay, .45) * .85)) 34%, rgba(15, 23, 42, 0) 54%); }
	.op-hero--cover .op-hero__wrap { padding-top: clamp(22px, 6vw, 64px); }
	.op-hero--cover .op-hero__wrap.container { max-width: var(--container); }
	.op-hero--cover .op-hero__inner { max-width: 600px; margin: 0 auto; text-align: center; }
	.op-hero--cover .op-hero__title { font-size: clamp(26px, 7.4vw, 50px); margin-bottom: 14px; }
	.op-hero--cover .op-hero__text { margin: 0 auto 22px; }
	.op-hero--cover .op-hero__actions { justify-content: center; flex-wrap: nowrap; }
	.op-hero--cover .op-hero__actions .op-btn { flex: 1 1 0; width: auto; min-height: 48px; padding: 10px 14px; font-size: 15px; }
	.op-hero--cover .op-hero__toggle { right: 14px; bottom: 14px; }
}
/* Small phones: keep the top clear so the text never covers the vials */
@media (max-aspect-ratio: 1/1) and (max-width: 720px) {
	.op-hero--cover .op-hero__text { display: none; }
	.op-hero--cover .op-hero__eyebrow { margin-bottom: 8px; font-size: 11px; }
}
@media (max-width: 380px) {
	.op-hero--cover .op-hero__title { font-size: 25px; }
	.op-hero--cover .op-hero__eyebrow { display: none; }
}
/* Landscape phones / short laptop windows */
@media (min-aspect-ratio: 11/10) and (max-height: 560px) {
	.op-hero--cover .op-hero__inner { max-width: min(520px, 34vw); }
	.op-hero--cover .op-hero__title { font-size: clamp(22px, 3.2vw, 36px); margin-bottom: 10px; }
	.op-hero--cover .op-hero__text { display: none; }
}

/* ==========================================================================
   Button safety net. Other plugins (page builders, checkout / cart plugins, global
   "kit" styles) sometimes restyle every <button>. These rules use high specificity so
   the Add to cart label can never end up white-on-white or hidden.
   ========================================================================== */
body .single_add_to_cart_button.button,
body.single-product form.cart button.single_add_to_cart_button,
body.single-product .summary form.cart .button.alt,
body .products .op-card a.button.add_to_cart_button,
body .products .op-card .button.product_type_simple,
body .op-sticky .op-btn,
body .op-mini .op-btn:not(.op-btn--ghost) {
	background-color: var(--navy) !important;
	background-image: none !important;
	border: 1px solid var(--navy) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	opacity: 1 !important;
	visibility: visible !important;
	text-indent: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
body.single-product .summary form.cart button.single_add_to_cart_button.button { font-size: 16px !important; min-height: 50px; }
body .single_add_to_cart_button.button:hover,
body.single-product form.cart button.single_add_to_cart_button:hover,
body .products .op-card a.button.add_to_cart_button:hover,
body .op-sticky .op-btn:hover {
	background-color: var(--navy-dark) !important;
	border-color: var(--navy-dark) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
body .single_add_to_cart_button.button *,
body .products .op-card a.button.add_to_cart_button * { color: inherit !important; -webkit-text-fill-color: inherit !important; }
body .single_add_to_cart_button.button::before,
body .single_add_to_cart_button.button::after { content: none !important; }
body .single_add_to_cart_button.button.loading { opacity: .75 !important; }
body .products .op-card a.button.op-btn--soldout,
body .products .op-card a.button.op-btn--soldout:hover {
	background-color: #E2E8F0 !important; border-color: #E2E8F0 !important; color: #475569 !important; -webkit-text-fill-color: #475569 !important;
}

/* ---------- Catalog hover panel (desktop) ---------- */
.op-nav .container { position: relative; }
.op-menu--primary > li.op-has-mega { position: static; }
.op-mega-panel {
	position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; z-index: 80;
	display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr) minmax(220px, 1fr); gap: 36px;
	padding: 26px 32px 28px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .22s;
}
.op-menu--primary > li.op-has-mega:hover > .op-mega-panel,
.op-menu--primary > li.op-has-mega:focus-within > .op-mega-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.op-mega-panel h4 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.op-mega-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.op-mega-panel__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 28px !important; }
.op-mega-panel a:not(.op-btn) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 0; }
.op-mega-panel a:not(.op-btn):hover { background: var(--tint); color: var(--navy); }
.op-mega-panel a span { font-size: 12px; font-weight: 600; color: var(--slate); }
.op-mega-panel__feature { padding: 20px; background: var(--paper); border-radius: var(--radius); align-self: start; }
.op-mega-panel__feature .op-btn { margin-top: 14px; }
.op-menu--primary > li.op-has-mega > a { display: inline-flex; align-items: center; gap: 6px; }
.op-menu--primary > li.op-has-mega > a::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }

/* Phone menu drawer: the catalog item expands in place */
.op-menu--mobile li.op-has-mega { position: relative; }
.op-menu--mobile .op-subtoggle { position: absolute; right: 0; top: 8px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.op-menu--mobile .op-subtoggle svg { transition: transform .2s; }
.op-menu--mobile li.is-open > .op-subtoggle svg { transform: rotate(180deg); }
.op-menu--mobile .op-mega-panel { position: static; display: none; grid-template-columns: 1fr; gap: 16px; padding: 4px 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; border-radius: 0; }
.op-menu--mobile li.is-open > .op-mega-panel { display: grid; }
.op-menu--mobile .op-mega-panel a:not(.op-btn) { padding: 10px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
.op-menu--mobile .op-mega-panel__cols { grid-template-columns: 1fr; }
.op-menu--mobile .op-mega-panel__feature { padding: 0; background: none; }

/* ---------- Certificates ---------- */
.op-pagehead__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.op-certpage__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 420px); gap: 40px; align-items: start; }
.op-certpage__viewer { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.op-certpage__side { position: sticky; top: 20px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.op-certpage__side h2 { font-size: 18px; margin-bottom: 14px; }
.op-certpage__facts { display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; margin: 0 0 20px; font-size: 14.5px; }
.op-certpage__facts dt { color: var(--slate); font-weight: 600; }
.op-certpage__facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.op-certpage__buttons { display: grid; gap: 10px; margin-bottom: 18px; }
.op-cert__img { width: 100%; height: auto; border-radius: var(--radius-sm); background: #fff; }
.op-cert__pdf { width: 100%; height: min(78vh, 900px); min-height: 480px; border: 0; border-radius: var(--radius-sm); background: #fff; }
.op-cert__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.op-certlist { display: grid; gap: 12px; }
.op-certcard { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.op-certcard > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 14px 18px; cursor: pointer; list-style: none; }
.op-certcard > summary::-webkit-details-marker { display: none; }
.op-certcard__type { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.op-certcard__type .op-icon { color: var(--navy); }
.op-certcard__facts { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--slate); }
.op-certcard__facts b { color: var(--ink); font-weight: 600; }
.op-certcard__body { padding: 0 18px 18px; }
.op-certcard[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
@media (max-width: 991px) {
	.op-certpage__grid { grid-template-columns: 1fr; gap: 24px; }
	.op-certpage__side { position: static; }
	.op-cert__pdf { min-height: 420px; }
}

/* ==========================================================================
   Cart, checkout and order confirmation (WooCommerce Blocks + classic shortcodes)
   ========================================================================== */
/* Progress steps + secure strip in the page header */
.op-pagehead--commerce { padding: 26px 0 26px; }
.op-steps { display: flex; justify-content: center; align-items: center; gap: 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; font-weight: 600; }
.op-steps li { display: inline-flex; align-items: center; gap: 10px; color: var(--slate); }
.op-steps li + li::before { content: ""; width: clamp(28px, 7vw, 84px); height: 2px; margin: 0 14px; background: var(--line-strong); border-radius: 2px; }
.op-steps li.is-done + li::before, .op-steps li.is-current::before { background: var(--navy); }
.op-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; font-size: 13px; color: var(--slate); }
.op-steps li.is-current { color: var(--ink); }
.op-steps li.is-current .op-steps__n { background: var(--navy); border-color: var(--navy); color: #fff; }
.op-steps li.is-done { color: var(--navy); }
.op-steps li.is-done .op-steps__n { background: var(--tint); border-color: var(--navy); color: var(--navy); }
.op-pagehead--commerce .op-pagehead__title { font-size: clamp(24px, 3vw, 34px); }
.op-securebar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.op-securebar li { display: inline-flex; align-items: center; gap: 8px; }
.op-securebar .op-icon { color: var(--navy); }
.op-securebar li:first-child { color: var(--ink); font-weight: 600; }

body.woocommerce-cart .op-page, body.woocommerce-checkout .op-page { padding-top: 32px; padding-bottom: 80px; background: var(--paper); max-width: none; }
.op-page--commerce { background: var(--paper); }
body.woocommerce-cart main.site-main, body.woocommerce-checkout main.site-main { background: var(--paper); }
.op-page--commerce .op-prose { max-width: 1280px; }
.op-page--commerce { padding-left: var(--gutter); padding-right: var(--gutter); }

/* --- Block checkout / cart layout --- */
.wc-block-components-sidebar-layout { gap: 32px; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0 !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { padding-left: 0 !important; }
.wc-block-checkout__main, .wc-block-components-main { display: grid; gap: 18px; align-content: start; }

/* Step cards */
.wc-block-components-checkout-step {
	counter-increment: opstep; position: relative; margin: 0 !important; padding: 26px 28px 28px 78px !important;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.wc-block-checkout__form, .wp-block-woocommerce-checkout-fields-block { counter-reset: opstep; }
.wc-block-components-checkout-step::before {
	content: counter(opstep); position: absolute; left: 26px; top: 24px; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700;
}
.wc-block-components-checkout-step__heading { margin: 0 0 6px !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title.wc-block-components-title { font-size: 20px !important; font-weight: 650 !important; color: var(--ink); letter-spacing: -.01em; }
.wc-block-components-checkout-step__description { color: var(--muted); font-size: 14px; }
.wc-block-components-checkout-step__container { margin-top: 14px; }

/* Inputs */
.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-block-components-combobox .components-combobox-control__suggestions-container input,
.wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea {
	min-height: 56px; border: 1px solid #CBD5E1 !important; border-radius: 10px !important; background: #fff !important; color: var(--ink) !important; font-size: 16px !important;
	transition: border-color .15s, box-shadow .15s;
}
.wc-block-components-text-input input:focus, .wc-block-components-text-input textarea:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--navy) !important; box-shadow: 0 0 0 3px rgba(30, 58, 138, .18) !important; outline: none !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: var(--slate) !important; }
.wc-block-components-text-input.has-error input { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(153, 27, 27, .12) !important; }
.wc-block-components-validation-error { color: var(--red) !important; font-size: 13px; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 5px; border-color: #94A3B8; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--navy); border-color: var(--navy); }
.wc-block-components-checkbox label, .wc-block-components-checkbox__label { color: var(--ink); font-size: 14.5px; }
.wc-block-components-address-card { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }

/* Payment options as selectable cards */
.wc-block-components-radio-control { display: grid; gap: 12px; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option {
	border: 1px solid #CBD5E1 !important; border-radius: 12px !important; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s;
}
.wc-block-components-radio-control-accordion-option { overflow: hidden; }
.wc-block-components-radio-control__option { padding: 16px 18px 16px 52px !important; }
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; border-radius: 0 !important; }
.wc-block-components-radio-control-accordion-option:has(input:checked), .wc-block-components-radio-control__option-checked, .wc-block-components-radio-control__option:has(input:checked) {
	border-color: var(--navy) !important; background: var(--tint); box-shadow: 0 0 0 1px var(--navy);
}
.wc-block-components-radio-control__input { border-color: #94A3B8 !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--navy) !important; background: #fff !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--navy) !important; }
.wc-block-components-radio-control__label, .wc-block-components-radio-control__label-group { font-weight: 600; color: var(--ink); }
.wc-block-components-radio-control__description, .wc-block-components-radio-control-accordion-content { color: var(--muted); font-size: 14px; }
.wc-block-components-radio-control-accordion-content { padding: 0 18px 16px 52px; background: transparent; }

/* Order summary card */
.wc-block-components-sidebar { align-self: start; }
.wp-block-woocommerce-checkout-order-summary-block, .wc-block-checkout__sidebar .wc-block-components-order-summary, .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block {
	background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18); padding: 8px 26px 24px !important;
}
@media (min-width: 901px) { .wc-block-checkout__sidebar, .wc-block-components-sidebar { position: sticky; top: 20px; } }
.wc-block-components-order-summary__button-text, .wc-block-components-title.wc-block-cart__totals-title { font-size: 18px !important; font-weight: 650; text-transform: none !important; color: var(--ink); }
.wc-block-components-order-summary-item { padding: 16px 0 !important; border-bottom: 1px solid var(--line); }
.wc-block-components-order-summary-item__image img { border-radius: 8px; border: 1px solid var(--line); background: #F1F5F9; }
.wc-block-components-order-summary-item__quantity { background: var(--navy) !important; color: #fff !important; border: 2px solid #fff !important; box-shadow: none !important; font-weight: 700; }
.wc-block-components-product-name { font-weight: 600; color: var(--ink) !important; text-decoration: none; }
.wc-block-components-product-metadata, .wc-block-components-product-metadata__description { color: var(--muted); font-size: 13px; }
.wc-block-components-totals-item__label { color: var(--muted); }
.wc-block-components-totals-item__value { font-weight: 600; color: var(--ink); }
.wc-block-components-totals-wrapper { border-top: 1px solid var(--line) !important; }
.wc-block-components-totals-footer-item { padding-top: 6px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: var(--ink); font-size: 17px; font-weight: 700; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--navy); font-size: 24px; font-weight: 800; }
.wc-block-components-panel__button { font-weight: 600; color: var(--ink); }
.wc-block-components-totals-coupon__button, .wc-block-components-totals-coupon__form .wc-block-components-button { min-height: 52px; }

/* Buttons */
.wc-block-components-button:not(.is-link) {
	min-height: 54px; border-radius: 10px !important; font-weight: 700 !important; font-size: 16px !important; letter-spacing: 0; background: var(--navy) !important; color: #fff !important; border: 1px solid var(--navy) !important; box-shadow: 0 8px 18px -8px rgba(30, 58, 138, .6);
	transition: background .15s, transform .08s, box-shadow .15s;
}
.wc-block-components-button:not(.is-link):hover { background: var(--navy-dark) !important; border-color: var(--navy-dark) !important; }
.wc-block-components-button:not(.is-link):active { transform: translateY(1px); }
.wc-block-components-checkout-place-order-button { width: 100%; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text::before {
	content: ""; display: inline-block; width: 18px; height: 18px; margin: -3px 10px -3px 0; vertical-align: middle;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.wc-block-components-checkout-return-to-cart-button { color: var(--navy) !important; font-weight: 600; }
.wc-block-checkout__actions { padding: 6px 0 0; }
.wc-block-checkout__terms, .wc-block-components-checkout-policies { color: var(--muted); font-size: 13px; }
.wc-block-checkout__terms a, .wc-block-components-checkout-policies a { color: var(--navy); }

/* Notices */
.wc-block-components-notice-banner { border-radius: 12px !important; border-width: 1px !important; font-size: 14.5px; }
.wc-block-components-notice-banner.is-error { background: var(--red-bg) !important; border-color: #FCA5A5 !important; color: var(--red) !important; }
.wc-block-components-notice-banner.is-error svg { fill: var(--red) !important; background: transparent !important; }
.wc-block-components-notice-banner.is-info, .wc-block-components-notice-banner.is-success { background: var(--tint) !important; border-color: var(--tint-2) !important; color: var(--navy-deep) !important; }

/* --- Block cart --- */
.wc-block-cart { gap: 32px; }
.wc-block-cart__main, .wp-block-woocommerce-cart-items-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 26px 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.wc-block-cart-items th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 700; border-bottom: 1px solid var(--line); padding: 14px 0 !important; }
.wc-block-cart-items__row td { padding: 20px 0 !important; border-top: 1px solid var(--line); }
.wc-block-cart-item__image img { border-radius: 10px; border: 1px solid var(--line); background: #F1F5F9; }
.wc-block-cart-item__prices .wc-block-components-product-price__regular { color: var(--slate); }
.wc-block-components-quantity-selector { border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; }
.wc-block-components-quantity-selector::after { border: 0 !important; }
.wc-block-components-quantity-selector__button { color: var(--ink); }
.wc-block-cart-item__remove-link { color: var(--slate) !important; font-size: 13px; }
.wc-block-cart-item__remove-link:hover { color: var(--red) !important; }
.wc-block-cart__submit-button { width: 100%; }

/* --- Classic (shortcode) cart + checkout --- */
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout h3 { font-size: 20px; }
.woocommerce table.shop_table { border: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce #payment { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.woocommerce #payment ul.payment_methods { border-color: var(--line); }
.woocommerce #payment div.payment_box { background: #fff; border-radius: 8px; }
.woocommerce #place_order { width: 100%; min-height: 54px; background: var(--navy); border-radius: 10px; font-size: 16px; }

/* --- Order confirmation --- */
.woocommerce-order { max-width: 980px; margin: 0 auto; display: grid; gap: 22px; }
.woocommerce-order > .woocommerce-notice--success, .woocommerce-thankyou-order-received {
	margin: 0; padding: 22px 26px; background: var(--tint); border: 1px solid var(--tint-2); border-radius: 14px; color: var(--navy-deep); font-size: 18px; font-weight: 600;
}
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
ul.woocommerce-order-overview li { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); border-right: 1px solid var(--line); float: none; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.woocommerce-order-details, .woocommerce-customer-details { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; margin-bottom: 14px; }
.woocommerce-bacs-bank-details { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }

@media (max-width: 900px) {
	.wc-block-components-checkout-step { padding: 22px 18px 22px 18px !important; }
	.wc-block-components-checkout-step::before { position: static; margin-bottom: 10px; display: flex; }
	.wc-block-cart__main, .wp-block-woocommerce-cart-items-block { padding: 6px 16px 14px; }
	.wp-block-woocommerce-checkout-order-summary-block { padding: 6px 18px 18px !important; }
	.op-steps li + li::before { margin: 0 8px; }
	.op-steps { font-size: 13px; }
	.op-steps__t { display: none; }
	.op-steps li.is-current .op-steps__t { display: inline; }
	.op-securebar { gap: 6px 16px; font-size: 12px; justify-content: flex-start; }
	.op-securebar li:nth-child(n+4) { display: none; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 20px 18px; }
}

/* Checkout polish: win against WooCommerce Blocks' own stylesheet */
.wc-block-components-checkout-step {
	margin: 0 0 16px !important; background: #fff !important; border: 1px solid #E2E8F0 !important; border-radius: 14px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -16px rgba(15, 23, 42, .18) !important;
}
body.woocommerce-checkout .op-page--commerce, body.woocommerce-cart .op-page--commerce { background: #EEF2F7; }
body.woocommerce-checkout main.site-main, body.woocommerce-cart main.site-main { background: #EEF2F7; }
.wc-block-components-order-summary, .wc-block-components-order-summary__content, .wc-block-components-order-summary .wc-block-components-panel { border: 0 !important; background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; flex-direction: row !important; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text::before { margin: 0 !important; flex: none; }
.wc-block-components-button:not(.is-link) .wc-block-components-button__text { display: inline-flex; align-items: center; justify-content: center; }

/* Order confirmation + cart alignment fixes */
.woocommerce ul.order_details, .woocommerce-order ul.woocommerce-order-overview { margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.woocommerce ul.order_details li, .woocommerce-order ul.woocommerce-order-overview li { margin: 0 !important; float: none !important; border-right: 1px solid var(--line) !important; padding: 18px 20px !important; }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { content: none !important; display: none !important; }
.woocommerce-order-details table.shop_table, .woocommerce-customer-details address { border-radius: 10px; }
.woocommerce-order-details table.shop_table { border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce-order-details table.shop_table th, .woocommerce-order-details table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.woocommerce-order-details table.shop_table thead th { background: var(--paper); border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.wp-block-woocommerce-cart-items-block, .wc-block-cart__main { padding: 8px 26px 18px !important; box-sizing: border-box; }
.wc-block-cart-items { width: 100%; }
.wc-block-cart-items th:last-child, .wc-block-cart-items td:last-child { padding-right: 0 !important; }
.wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main.wc-block-cart__main { padding-right: 26px !important; }
@media (max-width: 900px) { .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main.wc-block-cart__main { padding-right: 16px !important; } }

/* =========================================================================
   v3.2 – alignment, calmer catalog panel, product-page overlap fix, tracking
   ====================================================================== */

/* One shared width for topbar, header, nav, body, hero text and footer. */
.op-hero--cover .op-hero__panel { max-width: none; }

/* Sticky summary: skip it on short screens so a tall summary is never trapped. */
@media (max-height: 820px) {
	.single-product .op-pdp-top > .summary { position: static; }
}

/* Primary nav: nine items must stay on one tidy row. */
@media (min-width: 992px) {
	.op-menu--primary { flex-wrap: nowrap; gap: 0 2px; }
	.op-menu--primary > li > a { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1360px) {
	.op-menu--primary > li > a { padding: 14px 10px; font-size: 14px; }
}

/* Catalog panel: sits above the page, opens with a short intent delay, dims the page behind it. */
.op-nav { position: relative; z-index: 60; }
.op-mega-panel {
	left: var(--gutter); right: auto; width: min(1180px, calc(100% - (var(--gutter) * 2)));
	max-height: min(72vh, 560px); overflow-y: auto; overscroll-behavior: contain;
	border-top: 1px solid var(--line); border-radius: 0 0 14px 14px;
	transition: opacity .14s ease .1s, transform .14s ease .1s, visibility 0s linear .26s;
}
.op-menu--primary > li.op-has-mega:hover > .op-mega-panel,
.op-menu--primary > li.op-has-mega:focus-within > .op-mega-panel { transition-delay: .1s, .1s, 0s; }
.op-mega-panel__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body::after {
	content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
	background: rgba(15, 23, 42, .32); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s;
}
@media (min-width: 992px) {
	body:has(.op-menu--primary > li.op-has-mega:hover)::after,
	body:has(.op-menu--primary > li.op-has-mega:focus-within)::after { opacity: 1; visibility: visible; transition-delay: .1s, .1s; }
}
@media (prefers-reduced-motion: reduce) {
	.op-mega-panel, body::after { transition: none !important; }
}

/* ---------- Order tracking ---------- */
.op-track { max-width: 1240px; margin: 0 auto; }
.op-track__card {
	display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: stretch;
	padding: clamp(24px, 4vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.op-track__form { display: grid; gap: 16px; align-content: start; }
.op-track__form label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.op-track__form input[type="text"], .op-track__form input[type="email"] {
	width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 16px;
}
.op-track__form input:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.op-track__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.op-track__or { position: relative; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.op-track__or::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.op-track__or span { position: relative; padding: 10px 0; background: #fff; }
.op-track__err { margin: 0 0 20px; }
.op-track__result { margin-top: 28px; padding: clamp(20px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.op-track__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.op-track__head h2 { margin: 0; font-size: 22px; }
.op-track__status { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--navy-deep); font-size: 13px; font-weight: 700; }
.op-track__status--closed { background: var(--red-bg); color: var(--red); }
.op-track-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.op-track-steps li { position: relative; padding-top: 44px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); counter-increment: s; }
.op-track-steps li::before {
	content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; display: grid; place-items: center;
	width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); color: var(--muted); font-size: 14px;
}
.op-track-steps li::after { content: ""; position: absolute; top: 15px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: var(--line-strong); }
.op-track-steps li:first-child::after { display: none; }
.op-track-steps li.is-done, .op-track-steps li.is-current { color: var(--ink); }
.op-track-steps li.is-done::before { background: var(--navy); border-color: var(--navy); color: #fff; }
.op-track-steps li.is-current::before { border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 4px var(--tint-2); }
.op-track-steps li.is-done::after, .op-track-steps li.is-current::after { background: var(--navy); }
.op-track__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
.op-track__facts div { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.op-track__facts dt { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.op-track__facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.op-track__items { margin: 18px 0 0; padding-left: 1.1em; color: var(--text); }
.op-track__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.op-ship-box { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
@media (max-width: 820px) {
	.op-track__card { grid-template-columns: 1fr; gap: 8px; }
	.op-track__or { height: 56px; }
	.op-track__or::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
	.op-track-steps { grid-template-columns: 1fr; gap: 14px; }
	.op-track-steps li { padding: 6px 0 6px 46px; text-align: left; }
	.op-track-steps li::before { left: 0; top: 0; transform: none; }
	.op-track-steps li::after { display: none; }
}

/* ==========================================================================
   COA Library v2 — product / lot / report library
   --------------------------------------------------------------------------
   Appended in 3.3.0. Every selector here is new (op-coa__p*, op-coa__l*,
   op-coa__qa*, op-coa__doc*, op-coa__chip*) so no rule above is overridden and
   the rest of the theme is untouched. The older .op-coa__table / .op-coa__row
   styles stay in place for the legacy fallback table.
   Reuses the theme tokens: --navy, --ink, --slate, --muted, --paper,
   --paper-2, --tint, --tint-2, --line, --line-strong, --ok, --radius.
   ========================================================================== */

/* ---------- Quality assurance intro ---------- */
.op-coa__qa {
	background: linear-gradient(180deg, var(--paper) 0%, var(--tint) 100%);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 28px;
	margin: 0 0 22px;
}
.op-coa__qa-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--navy);
}
.op-coa__qa-title { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 30px); }
.op-coa__qa-text { max-width: 78ch; color: var(--text); font-size: 15px; }
.op-coa__qa-text p:last-child { margin-bottom: 0; }
.op-coa__qa-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.op-coa__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--ink);
}
.op-coa__chip .op-icon { color: var(--navy); flex: 0 0 auto; }

/* ---------- Controls ---------- */
.op-coa__controls { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.op-coa__searchbar { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.op-coa__search {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	font-size: 15px;
	-webkit-appearance: none;
}
.op-coa__search:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.op-coa__searchbtn { flex: 0 0 auto; }

.op-coa__filters { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.op-coa__filtersum {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	font-size: 14px;
	font-weight: 650;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.op-coa__filtersum::-webkit-details-marker { display: none; }
.op-coa__filtersum::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid var(--slate);
	border-bottom: 2px solid var(--slate);
	transform: rotate(45deg);
	transition: transform .15s ease;
}
.op-coa__filters[open] .op-coa__filtersum::after { transform: rotate(-135deg); }
.op-coa__filtercount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.op-coa__filtergrid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 14px 14px; }
.op-coa__select {
	width: 100%;
	min-height: 44px;
	padding: 0 34px 0 13px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
	font-size: 15px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.op-coa__select:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* ---------- Result summary ---------- */
.op-coa__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; flex-wrap: wrap; }
.op-coa__summary { margin: 0; font-size: 14px; color: var(--muted); }
.op-coa__reset { flex: 0 0 auto; }

/* ---------- Product accordion ---------- */
.op-coa__list { display: grid; gap: 10px; }
.op-coa__product { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.op-coa__product[hidden] { display: none; }
.op-coa__phead {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 68px;
	padding: 13px 16px;
	border: 0;
	background: #fff;
	text-align: left;
	cursor: pointer;
}
.op-coa__phead:hover { background: var(--paper); }
.op-coa__thumb { flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--paper-2); overflow: hidden; }
.op-coa__thumb-img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.op-coa__thumb-ph { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--slate); }
.op-coa__ptitle { flex: 1; min-width: 0; font-size: 16px; font-weight: 650; color: var(--ink); }
.op-coa__plink:hover { text-decoration: underline; }
.op-coa__pcount { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; }
.op-coa__badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--tint);
	border: 1px solid var(--tint-2);
	color: var(--navy);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.op-coa__chev {
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--slate);
	border-bottom: 2px solid var(--slate);
	transform: rotate(-45deg);
	transition: transform .15s ease;
	flex: 0 0 auto;
}
.op-coa__phead[aria-expanded="true"] .op-coa__chev,
.op-coa__lhead[aria-expanded="true"] .op-coa__chev { transform: rotate(45deg); }

/* ---------- Lots ---------- */
.op-coa__lots { padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.op-coa__lot { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.op-coa__lot + .op-coa__lot { margin-top: 8px; }
.op-coa__lhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 13px 15px;
	border: 0;
	background: #fff;
	text-align: left;
	cursor: pointer;
}
.op-coa__lhead:hover { background: var(--paper); }
.op-coa__lmain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; min-width: 0; }
.op-coa__lotno { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; color: var(--ink); }
.op-coa__fact { font-size: 13px; color: var(--slate); }
.op-coa__fact b { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-right: 5px; }

/* ---------- Lot detail / report cards ---------- */
.op-coa__ldetail { padding: 4px 15px 16px; border-top: 1px solid var(--line); }
.op-coa__docs { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.op-coa__doc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
}
.op-coa__doctype { display: flex; align-items: flex-start; gap: 11px; min-width: 0; color: var(--navy); }
.op-coa__doctype b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 650; }
.op-coa__doctype small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.op-coa__doctags { display: flex; flex-wrap: wrap; gap: 6px; }
.op-coa__tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--slate);
	font-size: 11.5px;
	font-weight: 650;
	white-space: nowrap;
}
.op-coa__tag--ok { background: rgba(21, 128, 61, .1); color: var(--ok); }
.op-coa__docbtns { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

/* ---------- Empty / load more ---------- */
.op-coa__none, .op-coa__empty {
	padding: 28px;
	text-align: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}
.op-coa__more { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0 4px; }
.op-coa__morenote { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Research-use note ---------- */
.op-coa__note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 24px;
	padding: 14px 16px;
	background: var(--amber-bg);
	border: 1px solid var(--warn-line);
	border-left: 3px solid var(--amber);
	border-radius: var(--radius-sm);
	color: var(--amber);
	font-size: 13px;
	line-height: 1.55;
}
.op-coa__note .op-icon { flex: 0 0 auto; margin-top: 1px; }
.op-coa__note b { color: var(--amber); }
.op-coa__note p { margin: 3px 0 0; }

/* ---------- Tablet and up: filters sit beside the search ---------- */
@media (min-width: 900px) {
	.op-coa__controls { flex-direction: row; align-items: flex-start; }
	.op-coa__searchbar { flex: 2 1 320px; }
	.op-coa__filters { flex: 1 1 340px; }
	.op-coa__filtergrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.op-coa__lots { padding: 16px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	.op-coa__qa { padding: 20px 18px; }
	.op-coa__phead { padding: 12px; gap: 10px; }
	.op-coa__thumb, .op-coa__thumb-img, .op-coa__thumb-ph { width: 42px; height: 42px; }
	.op-coa__ptitle { font-size: 15px; }
	.op-coa__lots { padding: 10px; }
	.op-coa__lhead { padding: 12px; }
	.op-coa__lmain { gap: 4px 14px; }
	.op-coa__fact { font-size: 12.5px; }
	.op-coa__ldetail { padding: 2px 12px 14px; }
	.op-coa__doc { padding: 12px; }
	.op-coa__docbtns { width: 100%; }
	.op-coa__docbtns .op-btn { flex: 1 1 auto; }
	.op-coa__meta { align-items: flex-start; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.op-coa__chev { transition: none; }
}

/* ==========================================================================
   Cart / checkout cross-sells — "You may be interested in..."
   --------------------------------------------------------------------------
   WooCommerce renders these with its own layout, which collapses into a
   narrow unreadable column inside the Blocks sidebar. These rules rebuild the
   card so it matches the theme: image, name, stock badge, price, add-to-cart.
   Covers Blocks (.wc-block-components-totals-cross-sells-*) and the classic
   shortcode cart/checkout (.cross-sells).
   ========================================================================== */

.wc-block-components-totals-cross-sells,
.cross-sells {
	margin: 0 !important;
	padding: 22px 24px !important;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.wc-block-components-totals-cross-sells-title,
.cross-sells h2 {
	margin: 0 0 16px !important;
	padding: 0 !important;
	background: none !important;
	color: var(--ink) !important;
	font-size: 18px !important;
	font-weight: 650 !important;
	line-height: 1.25 !important;
}

/* ---- Blocks: the item row ---- */
.wc-block-components-totals-cross-sells-items,
.cross-sells ul.products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

/* ---- One product card ---- */
.wc-block-components-totals-cross-sells-product,
.cross-sells ul.products li.product {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) auto !important;
	grid-template-areas:
		"image name   badge"
		"image price  badge"
		"image button button";
	align-items: center !important;
	gap: 4px 14px !important;
	width: auto !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 12px !important;
	text-align: left !important;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	position: relative;
}
.wc-block-components-totals-cross-sells-product > a:first-child,
.cross-sells ul.products li.product > a:first-child {
	grid-area: image;
	display: block !important;
	width: 64px !important;
	height: 64px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #fff;
}
.wc-block-components-totals-cross-sells-product img,
.cross-sells ul.products li.product img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: var(--radius-sm) !important;
	display: block !important;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-name,
.cross-sells ul.products li.product .woocommerce-loop-product__title {
	grid-area: name;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14.5px !important;
	font-weight: 650 !important;
	line-height: 1.3 !important;
	color: var(--ink) !important;
	text-transform: none !important;
	text-decoration: none !important;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-name a,
.cross-sells ul.products li.product .woocommerce-loop-product__title a {
	color: var(--ink) !important;
	text-decoration: none !important;
	line-height: 1.3 !important;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-price,
.cross-sells ul.products li.product .price {
	grid-area: price;
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ink) !important;
	display: block !important;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-price del,
.cross-sells ul.products li.product .price del {
	opacity: .55;
	font-weight: 400;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-price ins,
.cross-sells ul.products li.product .price ins {
	text-decoration: none !important;
}

/* Stock / sale badges */
.wc-block-components-totals-cross-sells-product .wc-block-components-product-badge,
.wc-block-components-totals-cross-sells-product .wc-block-components-product-sale-badge {
	grid-area: badge;
	justify-self: end;
	align-self: start;
	margin: 0 !important;
	padding: 3px 9px !important;
	border-radius: 999px !important;
	background: rgba(21, 128, 61, .1) !important;
	color: var(--ok) !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	white-space: nowrap;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-sale-badge {
	background: var(--red-bg) !important;
	color: var(--red) !important;
}

/* Add to cart — full width under the card so it can never be clipped */
.wc-block-components-totals-cross-sells-product .wc-block-components-product-button,
.wc-block-components-totals-cross-sells-product .wp-block-button,
.cross-sells ul.products li.product .button {
	grid-area: button;
	justify-self: stretch;
	width: 100% !important;
	margin: 6px 0 0 !important;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-button .wc-block-components-button,
.wc-block-components-totals-cross-sells-product .wp-block-button .wp-block-button__link,
.cross-sells ul.products li.product .button {
	min-height: 40px !important;
	padding: 9px 14px !important;
	border-radius: var(--radius-sm) !important;
	background: var(--navy) !important;
	border-color: var(--navy) !important;
	color: #fff !important;
	font-size: 13.5px !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
}
.wc-block-components-totals-cross-sells-product .wc-block-components-product-button .wc-block-components-button:hover,
.wc-block-components-totals-cross-sells-product .wp-block-button .wp-block-button__link:hover,
.cross-sells ul.products li.product .button:hover {
	background: var(--navy-dark) !important;
	border-color: var(--navy-dark) !important;
	color: #fff !important;
	text-decoration: none !important;
}
.wc-block-components-totals-cross-sells-product .add_to_cart_button::after,
.cross-sells ul.products li.product .button::after {
	content: none !important;
}

/* Classic loop extras that leak in */
.cross-sells ul.products li.product .onsale,
.wc-block-components-totals-cross-sells-product .onsale {
	display: none !important;
}
.cross-sells ul.products li.product .added_to_cart {
	display: none !important;
}

/* Keep the sidebar from crushing the card on mid-size screens */
@media (min-width: 901px) {
	.wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); }
	.wc-block-components-sidebar-layout .wc-block-components-main { min-width: 0; }
	.wc-block-components-sidebar-layout .wc-block-components-sidebar { min-width: 0; }
}

/* Narrower: stack the card so nothing is cramped */
@media (max-width: 620px) {
	.wc-block-components-totals-cross-sells,
	.cross-sells {
		padding: 18px 16px !important;
	}
	.wc-block-components-totals-cross-sells-product,
	.cross-sells ul.products li.product {
		grid-template-columns: 56px minmax(0, 1fr) !important;
		grid-template-areas:
			"image name"
			"image price"
			"badge badge"
			"button button";
		gap: 4px 12px !important;
	}
	.wc-block-components-totals-cross-sells-product > a:first-child,
	.cross-sells ul.products li.product > a:first-child,
	.wc-block-components-totals-cross-sells-product img,
	.cross-sells ul.products li.product img {
		width: 56px !important;
		height: 56px !important;
	}
	.wc-block-components-totals-cross-sells-product .wc-block-components-product-badge,
	.wc-block-components-totals-cross-sells-product .wc-block-components-product-sale-badge {
		justify-self: start;
		margin-top: 6px !important;
	}
}
/* ==========================================================================
   Affiliate area (SliceWP)
   Join + sign-in panels for logged-out visitors, and the logged-in
   dashboard restyled onto the theme's tokens. Scoped to .op-aff and
   .slicewp-* only, so no other plugin or page is affected.
   ========================================================================== */

.op-aff {
	--sw-accent: #2e4453;
	--sw-line: #c8d7e1;
	--sw-line-soft: #e9eff3;
	--sw-fill: rgba(200, 215, 225, .15);
	color: var(--text);
}

.op-aff .op-prose > :last-child { margin-bottom: 0; }

/* ---------- Intro ---------- */
.op-aff__intro { max-width: 62ch; margin-bottom: 22px; }

.op-aff__kicker {
	margin: 0 0 8px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--navy);
}

.op-aff__title {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 2.4vw, 2.15rem);
	line-height: 1.18;
	font-weight: 650;
	letter-spacing: -.015em;
	color: var(--ink);
}

.op-aff__lede { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- Perks ---------- */
.op-aff__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.op-aff__perks li {
	position: relative;
	padding: 7px 14px 7px 30px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: .875rem;
	color: var(--ink);
}

.op-aff__perks li::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 50%;
	width: 15px;
	height: 15px;
	margin-top: -7.5px;
	background: var(--ok);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.6 9.6 17.7 19.6 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.6 9.6 17.7 19.6 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Views (join / sign-in) ---------- */
.op-aff__view { max-width: 760px; }
.op-aff__view[hidden] { display: none !important; }

.op-aff__panel {
	min-width: 0;
	padding: clamp(20px, 2.4vw, 34px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.op-aff__panel--login { background: var(--paper); }

.op-aff__panel-head { margin-bottom: 20px; }

.op-aff__panel-title {
	margin: 0 0 4px;
	font-size: 1.16rem;
	font-weight: 640;
	letter-spacing: -.01em;
	color: var(--ink);
}

.op-aff__panel-sub { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Referral code pill ---------- */
.op-aff__ref {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin-bottom: 20px;
	padding: 12px 16px;
	border: 1px solid var(--tint-2);
	border-radius: var(--radius-sm);
	background: var(--tint);
}

.op-aff__ref-label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--navy);
}

.op-aff__ref-code {
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--navy);
	color: var(--white);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .84rem;
	font-weight: 600;
	letter-spacing: .04em;
}

.op-aff__ref-note { font-size: .82rem; color: var(--slate); }

/* ---------- Switch to the other view ---------- */
.op-aff__switch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 20px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--paper);
	text-align: center;
}

.op-aff__switch-lead {
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
	color: var(--ink);
}

.op-aff__switch .op-aff__switch-btn {
	min-width: 260px;
	min-height: 46px;
	justify-content: center;
	background: var(--white);
	color: var(--navy) !important;
	border-color: var(--navy);
	box-shadow: none;
}

.op-aff__switch .op-aff__switch-btn:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white) !important;
}

/* ---------- Inline note ---------- */
.op-aff__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	font-size: .88rem;
	color: var(--slate);
}

.op-aff__note svg { flex: 0 0 auto; margin-top: 2px; color: var(--navy); }

/* ==========================================================================
   SliceWP forms
   ========================================================================== */

.op-aff .slicewp-form { margin: 0; }

.op-aff .slicewp-field-wrapper { margin-bottom: 18px; }
.op-aff .slicewp-field-wrapper.slicewp-last { margin-bottom: 0; }

.op-aff .slicewp-field-label-wrapper { margin-bottom: 6px; }

.op-aff .slicewp-field-label-wrapper label {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--slate);
	line-height: 1.4;
}

.op-aff .slicewp-field-required-marker { color: var(--navy); }

.op-aff .slicewp-field-inner input[type="text"],
.op-aff .slicewp-field-inner input[type="email"],
.op-aff .slicewp-field-inner input[type="url"],
.op-aff .slicewp-field-inner input[type="password"],
.op-aff .slicewp-field-inner input[type="tel"],
.op-aff .slicewp-field-inner input[type="number"],
.op-aff .slicewp-field-inner select,
.op-aff .slicewp-field-inner textarea {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--text);
	font-family: inherit;
	font-size: .96rem;
	line-height: 1.45;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	appearance: none;
}

.op-aff .slicewp-field-inner textarea { min-height: 108px; resize: vertical; }

.op-aff .slicewp-field-inner select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 34px;
}

.op-aff .slicewp-field-inner input:focus,
.op-aff .slicewp-field-inner select:focus,
.op-aff .slicewp-field-inner textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px var(--tint);
}

.op-aff .slicewp-field-inner input::placeholder,
.op-aff .slicewp-field-inner textarea::placeholder { color: #94A3B8; }

/* Password reveal sits inside the input, so keep the right padding clear. */
.op-aff .slicewp-field-wrapper .slicewp-field-input-password { position: relative; margin: 0; padding: 0; }
.op-aff .slicewp-field-wrapper .slicewp-field-input-password input[type="password"] { padding-right: 42px; }

.op-aff .slicewp-field-wrapper .slicewp-field-input-password .slicewp-show-hide-password {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--slate);
	border-radius: 4px;
}

/*
	Stack both reveal icons on the same spot rather than hiding either one, so
	SliceWP's own show/hide state keeps working untouched.
*/
.op-aff .slicewp-field-wrapper .slicewp-field-input-password .slicewp-show-hide-password > svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.op-aff .slicewp-field-wrapper .slicewp-field-input-password .slicewp-show-hide-password:hover { color: var(--navy); }

/* Required checkbox / radio rows */
.op-aff .slicewp-field-wrapper ul.slicewp-field-checkbox-wrapper,
.op-aff .slicewp-field-wrapper ul.slicewp-field-radio-wrapper,
.op-aff .slicewp-field-wrapper.slicewp-field-wrapper-terms-and-conditions {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: .9rem;
	color: var(--slate);
}

.op-aff .slicewp-field-wrapper ul.slicewp-field-checkbox-wrapper input[type="checkbox"],
.op-aff .slicewp-field-wrapper ul.slicewp-field-radio-wrapper input[type="radio"],
.op-aff .slicewp-field-wrapper.slicewp-field-wrapper-terms-and-conditions input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: var(--navy);
}

.op-aff .slicewp-field-wrapper a { color: var(--navy); }

/* Descriptions + errors */
.op-aff .slicewp-field-description { margin-top: 6px; font-size: .82rem; color: var(--slate); }
.op-aff .slicewp-field-description-placement-before .slicewp-field-description { margin: 0 0 7px; }

.op-aff .slicewp-field-error-message {
	margin-top: 6px;
	font-size: .82rem;
	font-style: normal;
	font-weight: 500;
	color: var(--red);
}

/* Notices */
.op-aff .slicewp-user-notice {
	width: 100%;
	margin: 0 0 18px;
	padding: 13px 15px;
	border-width: 1px;
	border-radius: var(--radius-sm);
	font-size: .9rem;
	background: var(--paper);
	border-color: var(--line-strong);
	color: var(--ink);
}

.op-aff .slicewp-user-notice.slicewp-error { background: var(--red-bg); border-color: #F5C2C2; color: var(--red); }
.op-aff .slicewp-user-notice.slicewp-warning { background: var(--amber-bg); border-color: #F3D9A4; color: var(--amber); }
.op-aff .slicewp-user-notice.slicewp-updated { background: #E7F6EC; border-color: #B7E0C4; color: var(--ok); }
.op-aff .slicewp-user-notice.slicewp-info { background: var(--tint); border-color: var(--tint-2); color: var(--navy-dark); }

/* Submit */
.op-aff .slicewp-button-primary,
.op-aff .slicewp-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 26px;
	border: 1px solid var(--navy);
	border-radius: var(--radius-sm);
	background: var(--navy);
	color: var(--white);
	font-family: inherit;
	font-size: .97rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, transform .06s ease;
}

.op-aff .slicewp-button-primary:hover,
.op-aff .slicewp-form button[type="submit"]:hover {
	background: var(--navy-dark);
	border-color: var(--navy-dark);
	color: var(--white);
}

.op-aff .slicewp-button-primary:active,
.op-aff .slicewp-form button[type="submit"]:active { transform: translateY(1px); }

.op-aff .slicewp-lost-password { margin-top: 16px; font-size: .88rem; }
.op-aff .slicewp-lost-password a { color: var(--slate); text-decoration: underline; }
.op-aff .slicewp-lost-password a:hover { color: var(--navy); }

/* ==========================================================================
   Affiliate dashboard
   ========================================================================== */

.op-aff__dash { min-width: 0; }
.op-aff__dash > :first-child { margin-top: 0; }

#slicewp-affiliate-account { max-width: 100%; }

/* Nav tabs */
.op-aff .slicewp-nav-tab-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	padding: 6px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab,
.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab:before,
.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab:after {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--slate);
	font-size: .92rem;
	font-weight: 550;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab a:hover { background: var(--tint); color: var(--navy-dark); }

.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab.slicewp-active a,
.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab a:focus-visible {
	background: var(--navy);
	color: var(--white);
}

.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab svg { margin: 0; }

/* Section headings */
.op-aff .slicewp-section-heading {
	margin: 0 0 14px;
	font-size: 1.16rem;
	font-weight: 640;
	letter-spacing: -.01em;
	color: var(--ink);
}

/* Cards */
.op-aff .slicewp-card {
	margin: 0 0 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	background: var(--white);
	overflow: hidden;
}

.op-aff .slicewp-card-header {
	padding: 15px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	font-size: .95rem;
	font-weight: 620;
	color: var(--ink);
}

.op-aff .slicewp-card-inner { padding: 20px; }
.op-aff .slicewp-card-title { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }

.op-aff .slicewp-card-footer {
	padding: 14px 20px;
	border-top: 1px solid var(--line);
	background: var(--paper);
	font-size: .86rem;
	color: var(--slate);
}

.op-aff .slicewp-card-footer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.op-aff .slicewp-card-footer-actions a { color: var(--navy); text-decoration: none; }
.op-aff .slicewp-card-footer-actions a:hover { text-decoration: underline; }

/* KPI grid */
.op-aff .slicewp-grid {
	display: grid;
	grid-gap: 14px;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards stack header / body / footer vertically and stretch to equal height. */
.op-aff .slicewp-grid > div { display: flex; flex-direction: column; min-width: 0; }
.op-aff .slicewp-grid > .slicewp-card { height: 100%; margin-bottom: 0; }

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

.op-aff .slicewp-grid-affiliate-dashboard { margin-bottom: 18px; }

.op-aff .slicewp-card-affiliate-dashboard .slicewp-card-header { padding: 12px 18px; }

.op-aff .slicewp-card-affiliate-dashboard .slicewp-card-inner {
	display: flex;
	flex: 1;
	flex-flow: column;
	gap: 8px;
	padding: 16px 18px;
}

.op-aff .slicewp-card-affiliate-dashboard .slicewp-kpi-value {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 1.5rem;
	font-weight: 660;
	letter-spacing: -.02em;
	color: var(--ink);
}

.op-aff .slicewp-card-affiliate-dashboard .slicewp-kpi-direction {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	background: var(--paper-2);
	color: var(--slate);
}

.op-aff .slicewp-card-affiliate-dashboard .slicewp-kpi-direction.slicewp-positive { background: #E7F6EC; color: var(--ok); }
.op-aff .slicewp-card-affiliate-dashboard .slicewp-kpi-direction.slicewp-negative { background: var(--red-bg); color: var(--red); }
.op-aff .slicewp-card-affiliate-dashboard .slicewp-kpi-direction svg { height: 12px; width: 12px; }

/* Charts */
.op-aff .slicewp-chart-before { align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.op-aff .slicewp-chart-legend ul { flex-wrap: wrap; gap: 14px; }
.op-aff .slicewp-chart-tooltip { border-color: var(--line-strong); box-shadow: var(--shadow); }

.op-aff .slicewp-chart-time-unit-selector,
.op-aff .slicewp-affiliate-dashboard-filters select,
.op-aff .slicewp-list-table-filters select,
.op-aff .slicewp-list-table-per-page-selector select {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--text);
	font-family: inherit;
	font-size: .9rem;
	padding: 7px 10px;
	box-shadow: none;
}

/* Status pills */
.op-aff .slicewp-status-pill {
	font-size: .75rem;
	font-weight: 620;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--slate);
}

.op-aff .slicewp-status-pill.slicewp-status-active,
.op-aff .slicewp-status-pill.slicewp-status-complete,
.op-aff .slicewp-status-pill.slicewp-status-paid { background: #E7F6EC; color: var(--ok); }

.op-aff .slicewp-status-pill.slicewp-status-pending,
.op-aff .slicewp-status-pill.slicewp-status-requested { background: var(--amber-bg); color: var(--amber); }

.op-aff .slicewp-status-pill.slicewp-status-unpaid { background: var(--tint); color: var(--navy-dark); }

.op-aff .slicewp-status-pill.slicewp-status-rejected,
.op-aff .slicewp-status-pill.slicewp-status-failed { background: var(--red-bg); color: var(--red); }

/* Tables */
.op-aff .slicewp-list-table-wrapper,
.op-aff table.slicewp-list-table {
	border-radius: var(--radius);
	box-shadow: none;
	border: 1px solid var(--line);
	overflow: hidden;
}

.op-aff table.slicewp-list-table thead th,
.op-aff table.slicewp-list-table tbody th {
	padding: 11px 14px;
	background: var(--paper) !important;
	border-bottom: 1px solid var(--line) !important;
	border-right: 0 !important;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--slate);
	white-space: nowrap;
}

.op-aff table.slicewp-list-table tbody td {
	padding: 13px 14px;
	border-top: 1px solid var(--line-soft) !important;
	border-right: 0 !important;
	font-size: .91rem;
	color: var(--text);
	word-break: normal;
}

.op-aff table.slicewp-list-table tbody tr:nth-child(even) td { background: #FCFDFE; }
.op-aff table.slicewp-list-table tbody tr:hover td { background: var(--paper); }
.op-aff table.slicewp-list-table tbody td:first-child { font-weight: 550; }

.op-aff .slicewp-list-table-item-details-row > td > div > div { padding: 18px 20px; background: var(--paper); }
.op-aff .slicewp-toggle-item-details { color: var(--navy); }

/* Pagination */
.op-aff .slicewp-page-numbers-wrapper,
.op-aff .slicewp-pagination-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 20px 0 0;
}

.op-aff .slicewp-pagination-links .slicewp-pagination-link,
.op-aff .slicewp-page-numbers-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	font-size: .9rem;
	text-decoration: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--slate);
	font-weight: 550;
}

.op-aff .slicewp-pagination-links .slicewp-pagination-link:hover,
.op-aff .slicewp-page-numbers-wrapper .page-numbers:hover { background: var(--tint); color: var(--navy-dark); }

.op-aff .slicewp-page-numbers-wrapper .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Creatives + affiliate link box */
.op-aff .slicewp-creative-shortcode-textarea,
.op-aff .slicewp-creative-affiliate-textarea,
.op-aff .slicewp-input-copy,
.op-aff #slicewp-affiliate-account input[type="text"],
.op-aff #slicewp-affiliate-account textarea {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--paper);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .88rem;
	box-shadow: none;
}

.op-aff .slicewp-creative-preview {
	border-radius: var(--radius);
	box-shadow: none;
	border: 1px solid var(--line);
}

/* Date picker */
.op-aff .slicewp-date-picker-input {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	box-shadow: none;
	color: var(--text);
}

.op-aff .slicewp-date-picker-modal { border-radius: var(--radius); box-shadow: var(--shadow); }
.op-aff .slicewp-date-picker-predefined-date-ranges { border-right-color: var(--line); }

/* Misc */
.op-aff .slicewp-loader { color: var(--navy); }
.op-aff .slicewp-progressbar { background: var(--paper-2); }
.op-aff .slicewp-progressbar-fill { background: var(--navy); }

.op-aff .slicewp-global-overlay-inner {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(22px, 3vw, 34px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.op-aff .slicewp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.op-aff__view { max-width: 100%; }
	.op-aff__switch .op-aff__switch-btn { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
	.op-aff .slicewp-grid { grid-template-columns: minmax(0, 1fr); }
	.op-aff__perks { gap: 7px; }
	.op-aff__perks li { font-size: .82rem; padding: 6px 12px 6px 27px; }
	.op-aff__perks li::before { left: 10px; }
	.op-aff__ref { padding: 11px 13px; }
	.op-aff .slicewp-card-inner,
	.op-aff .slicewp-card-affiliate-dashboard .slicewp-card-inner { padding: 15px 16px; }
	.op-aff table.slicewp-list-table thead th,
	.op-aff table.slicewp-list-table tbody td { padding: 10px 11px; }
	.op-aff .slicewp-nav-tab-wrapper { padding: 5px; gap: 4px; }
	.op-aff .slicewp-nav-tab-wrapper .slicewp-nav-tab a { padding: 8px 12px; font-size: .88rem; }
}
/* --------------------------------------------------------------------------
   Affiliate data tables on phones.
   SliceWP clips wide tables, so on a narrow screen the last column was cut
   mid-word with no way to reach it. Let the wrapper scroll horizontally
   instead, and keep a sensible minimum so columns stay legible.
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
	.op-aff .slicewp-list-table-wrapper {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.op-aff .slicewp-list-table-wrapper > table.slicewp-list-table {
		min-width: 480px;
	}
}