/* ==========================================================================
   Australia Peptides — main stylesheet
   Palette taken from the vial label: deep navy, cyan cap, clinical white.
   ========================================================================== */

:root {
	--navy-950: #07111d;
	--navy-900: #0b1726;
	--navy-800: #11233a;
	--navy-700: #1a3150;
	--navy-600: #27456b;
	--cyan: #22b8cc;
	--cyan-600: #1798aa;
	--cyan-100: #dff6f9;
	--blue: #1f8fd8;
	--ink: #0e1a2a;
	--text: #34445a;
	--muted: #6a7a8f;
	--line: #e2e8f0;
	--line-2: #edf2f7;
	--bg: #ffffff;
	--bg-alt: #f4f8fb;
	--ok: #10a37f;
	--warn: #d97706;
	--danger: #dc2626;
	--radius: 14px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(11, 23, 38, .06), 0 1px 1px rgba(11, 23, 38, .04);
	--shadow: 0 10px 30px -12px rgba(11, 23, 38, .18), 0 2px 6px rgba(11, 23, 38, .05);
	--shadow-lg: 0 30px 60px -20px rgba(7, 17, 29, .45);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-h: "Manrope", "Inter", system-ui, sans-serif;
	--wrap: 1240px;
	--header-h: 74px;
}

/* ---------- 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(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-600); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-h); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; border-radius: 8px; }
.ap-ic { flex: none; }
.ap-hp { position: absolute !important; left: -9999px !important; }

.ap-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.ap-wrap--narrow { max-width: 820px; }
.ap-section { padding-block: 84px; }
.ap-section--tight { padding-block: 40px 80px; }
.ap-section--alt { background: var(--bg-alt); }
.ap-main { min-height: 50vh; }

.ap-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-600); margin-bottom: 12px; }
.ap-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.ap-eyebrow--light { color: var(--cyan); }
.ap-h2 { font-size: clamp(28px, 3.4vw, 42px); }
.ap-h2--light { color: #fff; }
.ap-h3 { font-size: 22px; }

.ap-sechead { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.ap-sechead .ap-h2 { margin: 0; }
.ap-sechead--center { justify-content: center; text-align: center; }
.ap-sechead--center .ap-eyebrow::before { display: none; }

.ap-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-700); }
.ap-link:hover { color: var(--cyan-600); }
.ap-link:hover .ap-ic { transform: translateX(3px); }
.ap-link .ap-ic { transition: transform .2s; }

/* ---------- Buttons ---------- */
.ap-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.ap-btn:active { transform: translateY(1px); }
.ap-btn--primary,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--navy-900); color: #fff;
}
.ap-btn--primary:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit:hover {
	background: var(--cyan-600); color: #fff;
}
.ap-hero .ap-btn--primary, .ap-coa .ap-btn--primary, .ap-cta .ap-btn--primary, .ap-newsletter .ap-btn--primary, .ap-agegate .ap-btn--primary { background: var(--cyan); color: var(--navy-950); }
.ap-hero .ap-btn--primary:hover, .ap-coa .ap-btn--primary:hover, .ap-cta .ap-btn--primary:hover, .ap-newsletter .ap-btn--primary:hover, .ap-agegate .ap-btn--primary:hover { background: #fff; color: var(--navy-950); }
.ap-btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.ap-btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-900); }
.ap-btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.ap-btn--glass:hover { background: rgba(255,255,255,.16); color: #fff; }
.ap-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.ap-btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.woocommerce .button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5; padding: 0 22px; }

/* ---------- Sale bar + ticker ---------- */
.ap-salebar { background: linear-gradient(90deg, var(--cyan-600), var(--blue)); color: #fff; font-size: 14px; }
.ap-salebar__in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; flex-wrap: wrap; padding-block: 6px; }
.ap-salebar__txt { font-weight: 600; }
.ap-countdown { display: inline-flex; gap: 6px; }
.ap-countdown > span { display: inline-flex; align-items: baseline; gap: 2px; background: rgba(7,17,29,.25); padding: 3px 8px; border-radius: 6px; font-size: 12px; }
.ap-countdown b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ap-salebar__cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ap-salebar__cta:hover { color: var(--navy-950); }

.ap-ticker { background: var(--navy-950); color: #cfe3ee; font-size: 13px; overflow: hidden; }
.ap-ticker__track { display: flex; width: max-content; animation: ap-marquee 38s linear infinite; }
.ap-ticker:hover .ap-ticker__track { animation-play-state: paused; }
.ap-ticker__list { display: flex; gap: 42px; list-style: none; margin: 0; padding: 10px 21px; }
.ap-ticker__list li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ap-ticker__list .ap-ic { color: var(--cyan); }
@keyframes ap-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ap-ticker__track { animation: none; } }

/* ---------- Header ---------- */
.ap-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.ap-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.ap-header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.ap-header .ap-header__burger { display: none; }
.ap-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.ap-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.ap-logo:hover { color: var(--ink); }
.ap-logo__mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan-600); font-family: var(--font-h); font-weight: 800; font-size: 15px; letter-spacing: .02em; flex: none; }
.ap-logo__mark--lg { width: 64px; height: 64px; font-size: 22px; }
.ap-logo__text { display: flex; flex-direction: column; line-height: 1; }
.ap-logo__text b { font-family: var(--font-h); font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.ap-logo__text i { font-style: normal; font-weight: 600; color: var(--cyan-600); font-size: 14px; margin-top: 2px; }
.custom-logo-link img { max-height: 52px; width: auto; }

.ap-nav { flex: 1; }
.ap-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ap-nav__list > li { position: relative; }
.ap-nav__list > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.ap-nav__list > li > a:hover, .ap-nav__list > .current-menu-item > a, .ap-nav__list > .current-menu-ancestor > a { color: var(--cyan-600); background: var(--cyan-100); }
.ap-nav__list .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6; }
.ap-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.ap-nav__list li:hover > .sub-menu, .ap-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ap-nav__list .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.ap-nav__list .sub-menu a:hover { background: var(--bg-alt); color: var(--cyan-600); }

.ap-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.ap-iconbtn:hover { background: var(--bg-alt); color: var(--cyan-600); }
.ap-cartbtn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: #fff; margin-left: 4px; }
.ap-cartbtn:hover { background: var(--cyan-600); color: #fff; }
.ap-cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cyan); color: var(--navy-950); font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.ap-cart-count.is-empty { display: none; }

/* Drawer + search overlay */
.ap-drawer, .ap-search { position: fixed; inset: 0; z-index: 100; background: rgba(7,17,29,.55); backdrop-filter: blur(3px); }
.ap-drawer[hidden], .ap-search[hidden], .ap-agegate[hidden] { display: none; }
.ap-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; animation: ap-slide .25s ease; overflow-y: auto; }
@keyframes ap-slide { from { transform: translateX(-100%); } }
.ap-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ap-drawer__list { list-style: none; margin: 0; padding: 10px; }
.ap-drawer__list a { display: block; padding: 13px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.ap-drawer__list a:hover { background: var(--bg-alt); }
.ap-drawer__list .sub-menu { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; border-left: 2px solid var(--line-2); }
.ap-drawer__list .sub-menu a { font-weight: 500; padding: 9px 12px; font-size: 15px; }
.ap-drawer__foot { margin-top: auto; padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.ap-drawer__foot a { display: flex; align-items: center; gap: 10px; padding: 10px; color: var(--text); border-radius: 8px; }
.ap-drawer__foot a:hover { background: var(--bg-alt); }

.ap-search__panel { background: #fff; padding: 22px 0 26px; box-shadow: var(--shadow-lg); animation: ap-drop .2s ease; }
@keyframes ap-drop { from { transform: translateY(-20px); opacity: 0; } }
.ap-search__form { max-width: 820px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--line); }
.ap-search__form:focus-within { border-color: var(--cyan); }
.ap-search__form input { flex: 1; border: 0; padding: 16px 4px; font-size: 20px; outline: none; background: transparent; }
.ap-search__chips { max-width: 820px; margin: 16px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }

.ap-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-800); font-size: 14px; font-weight: 600; }
.ap-chip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ap-chip:hover { border-color: var(--cyan); color: var(--cyan-600); }
.ap-chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ap-chip.is-active span { color: var(--cyan); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ---------- Hero ---------- */
.ap-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #c9d8e6; isolation: isolate; }
.ap-hero__bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(900px 500px at 85% 30%, rgba(34,184,204,.28), transparent 60%),
		radial-gradient(700px 500px at 10% 110%, rgba(31,143,216,.25), transparent 60%),
		linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.ap-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.ap-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; padding-block: 76px 84px; }
.ap-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(34,184,204,.12); border: 1px solid rgba(34,184,204,.35); color: #a6eef7; font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.ap-hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 20px; }
.ap-hero__sub { font-size: 18px; max-width: 560px; color: #b9cad9; margin-bottom: 32px; }
.ap-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.ap-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.ap-stats div { padding-right: 14px; }
.ap-stats div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.1); }
.ap-stats dt { white-space: nowrap; font-family: var(--font-h); font-weight: 800; font-size: 24px; color: #fff; line-height: 1.1; }
.ap-stats dd { margin: 4px 0 0; font-size: 13px; color: #8fa5b9; }
.ap-hero__visual { position: relative; }
.ap-hero__visual img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); }
.ap-hero__glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,184,204,.45), transparent); filter: blur(30px); }
.ap-hero__card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px; animation: ap-float 6s ease-in-out infinite; }
.ap-hero__card .ap-ic { color: var(--cyan-600); }
.ap-hero__card b { display: block; font-size: 14px; }
.ap-hero__card span { color: var(--muted); }
.ap-hero__card--a { top: 14%; left: -4%; }
.ap-hero__card--b { bottom: 12%; right: -2%; animation-delay: -3s; }
@keyframes ap-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ap-hero__card { animation: none; } }

/* ---------- Trust ---------- */
.ap-trust { border-bottom: 1px solid var(--line); background: #fff; }
.ap-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ap-trust__item { display: flex; gap: 14px; padding: 28px 22px; }
.ap-trust__item + .ap-trust__item { border-left: 1px solid var(--line); }
.ap-trust__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--cyan-100); color: var(--cyan-600); }
.ap-trust__item h3 { font-size: 16px; margin: 2px 0 4px; letter-spacing: -.01em; }
.ap-trust__item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Product grid + card ---------- */
.woocommerce ul.products, ul.products.ap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.ap-card, ul.products li.ap-card { width: auto; float: none; margin: 0; padding: 0; }
.ap-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s; }
.ap-card:hover { border-color: #cfe7ee; box-shadow: var(--shadow); transform: translateY(-3px); }
.ap-card__media { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff 40%, #f1f6fa 100%); overflow: hidden; }
.woocommerce ul.products li.product .ap-card__media img, .ap-card__img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transform: scale(1.38); transition: transform .45s ease; }
.ap-card:hover .ap-card__img, .woocommerce ul.products li.product:hover .ap-card__media img { transform: scale(1.45); }
.ap-card__stock { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: #e7f8f2; color: var(--ok); }
.ap-card__stock.is-out { background: #fdeaea; color: var(--danger); }
.ap-card .ap-badge--sale { position: absolute; right: 12px; top: 12px; z-index: 2; }
.ap-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.ap-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-600); margin-bottom: 6px; }
.ap-card__title { font-size: 17px; letter-spacing: -.01em; margin: 0 0 6px; }
.woocommerce ul.products li.product .ap-card__title { padding: 0; font-size: 17px; }
.ap-card__title a { color: var(--ink); }
.ap-card__title a:hover { color: var(--cyan-600); }
.ap-card__desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ap-card__meta span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--navy-700); background: var(--bg-alt); padding: 4px 9px; border-radius: 7px; }
.ap-card__meta .ap-ic { color: var(--ok); }
.ap-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.ap-card__price, .woocommerce ul.products li.product .price { font-family: var(--font-h); font-weight: 800; font-size: 19px; color: var(--ink); margin: 0; }
.ap-card__price del { font-size: 14px; color: var(--muted); font-weight: 600; margin-right: 4px; opacity: .8; }
.ap-card__price ins { text-decoration: none; }
.ap-card .ap-card__foot .button, .woocommerce ul.products li.product .ap-card__foot .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .2s; }
.ap-card .ap-card__foot .button:hover { background: var(--cyan-600); color: #fff; }
.ap-card .ap-card__foot .button.loading { opacity: .6; }
.ap-card .added_to_cart { display: none; }
.woocommerce ul.products li.product .added_to_cart { display: none; }
.woocommerce a.button.loading::after { top: auto; right: 10px; }
.woocommerce a.button.added::after { margin-left: 4px; }

.ap-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.ap-badge--sale { background: var(--danger); color: #fff; }
.ap-badge--cat { background: var(--cyan-100); color: var(--cyan-600); }
.ap-badge--ok { background: #e7f8f2; color: var(--ok); }
.ap-badge--coa { background: var(--bg-alt); color: var(--navy-700); border: 1px solid var(--line); }
.woocommerce span.onsale { display: none; }

/* ---------- Categories ---------- */
.ap-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ap-cat { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); transition: .2s; }
.ap-cat:hover { border-color: var(--cyan); box-shadow: var(--shadow); color: var(--ink); }
.ap-cat__img { width: 78px; height: 78px; flex: none; border-radius: 16px; background: var(--bg-alt); overflow: hidden; display: grid; place-items: center; color: var(--cyan-600); }
.ap-cat__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.ap-cat__body { flex: 1; display: flex; flex-direction: column; }
.ap-cat__body b { font-family: var(--font-h); font-size: 17px; }
.ap-cat__body small { color: var(--muted); font-size: 13.5px; }
.ap-cat__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-alt); color: var(--navy-700); transition: .2s; }
.ap-cat:hover .ap-cat__go { background: var(--navy-900); color: #fff; }

/* ---------- COA section ---------- */
.ap-coa { background: var(--navy-900); color: #b9cad9; position: relative; overflow: hidden; }
.ap-coa::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 50%, rgba(34,184,204,.18), transparent 60%); }
.ap-coa__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.ap-coa__steps { list-style: none; counter-reset: s; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.ap-coa__steps li { counter-increment: s; position: relative; padding-left: 52px; }
.ap-coa__steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(34,184,204,.4); color: var(--cyan); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.ap-coa__steps b { display: block; color: #fff; }
.ap-coa__steps span { font-size: 14.5px; }
.ap-cert { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.ap-cert__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ap-cert__head b { display: block; color: var(--ink); font-family: var(--font-h); }
.ap-cert__head small { color: var(--muted); }
.ap-cert__pass { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: #e7f8f2; color: var(--ok); font-weight: 700; font-size: 13px; }
.ap-cert__compound { margin: 16px 0 6px; font-size: 15px; }
.ap-cert__compound b { font-family: var(--font-h); color: var(--ink); font-size: 18px; }
.ap-cert__compound small { float: right; color: var(--muted); font-size: 12px; margin-top: 4px; }
.ap-cert__trace { color: var(--cyan-600); background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 100% 22px; border-radius: 8px; margin: 6px 0 14px; }
.ap-cert__rows { margin: 0; display: grid; gap: 0; }
.ap-cert__rows div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.ap-cert__rows dt { color: var(--muted); }
.ap-cert__rows dd { margin: 0; font-weight: 700; color: var(--ink); }
.ap-cert__foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); font-style: italic; }

/* ---------- Reviews ---------- */
.ap-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.ap-review { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ap-review__stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 12px; }
.ap-review__stars svg { fill: currentColor; }
.ap-review blockquote { margin: 0 0 14px; color: var(--ink); font-size: 15.5px; }
.ap-review figcaption { font-size: 13.5px; color: var(--muted); }
.ap-reviewcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; text-align: center; }
.ap-reviewcta p { margin: 0; font-weight: 600; color: var(--ink); }
.ap-reviewcta div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Split (about + faq) ---------- */
.ap-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.ap-split__copy p { font-size: 16.5px; }
.ap-faq { display: grid; gap: 10px; margin-bottom: 18px; }
.ap-faq__group { font-size: 20px; margin: 28px 0 6px; }
.ap-faq__group:first-child { margin-top: 0; }
.ap-faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.ap-faq__item[open] { border-color: #c8e8ef; box-shadow: var(--shadow-sm); }
.ap-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--ink); }
.ap-faq__item summary::-webkit-details-marker { display: none; }
.ap-faq__plus { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--bg-alt); }
.ap-faq__plus::before, .ap-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--navy-700); transform: translate(-50%, -50%); transition: transform .2s; }
.ap-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ap-faq__item[open] .ap-faq__plus { background: var(--navy-900); }
.ap-faq__item[open] .ap-faq__plus::before, .ap-faq__item[open] .ap-faq__plus::after { background: #fff; }
.ap-faq__item[open] .ap-faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.ap-faq__a { padding: 0 18px 16px; color: var(--text); }
.ap-faq__a p { margin: 0; }

/* ---------- CTA band ---------- */
.ap-cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-900) 50%, #0c3247); color: #b9cad9; }
.ap-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 60px; }
.ap-cta .ap-h2 { margin-bottom: 8px; font-size: clamp(24px, 2.8vw, 34px); }
.ap-cta p { margin: 0; }

/* ---------- Newsletter + footer ---------- */
.ap-newsletter { background: var(--navy-950); color: #b9cad9; border-bottom: 1px solid rgba(255,255,255,.07); }
.ap-newsletter__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 52px; }
.ap-newsletter__title { color: #fff; font-size: clamp(20px, 2.2vw, 26px); margin: 0; }
.ap-newsform { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-newsform input[type=email] { flex: 1; min-width: 220px; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; }
.ap-newsform input[type=email]::placeholder { color: #8fa5b9; }
.ap-newsform input[type=email]:focus { outline: none; border-color: var(--cyan); }
.ap-newsform .ap-btn { height: 52px; }
.ap-newsform__msg { width: 100%; margin: 4px 0 0 18px; font-size: 13px; color: #8fa5b9; }

.ap-footer { background: var(--navy-950); color: #93a7ba; font-size: 14.5px; }
.ap-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-block: 60px 40px; }
.ap-footer .ap-logo { color: #fff; margin-bottom: 16px; }
.ap-footer .ap-logo__text i { color: var(--cyan); }
.ap-footer__brand p { max-width: 320px; }
.ap-footer__h { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.ap-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ap-footer a { color: #b9cad9; }
.ap-footer a:hover { color: var(--cyan); }
.ap-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ap-footer__contact .ap-ic { margin-top: 3px; color: var(--cyan); }
.ap-footer__pay { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; font-size: 13px; color: #cfe3ee; }
.ap-social { display: flex; gap: 8px; margin-top: 16px; }
.ap-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.ap-footer__legal { padding-block: 22px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; line-height: 1.6; color: #7f94a8; }
.ap-footer__legal strong { color: #cfe3ee; }
.ap-footer__legal p { margin: 0; }
.ap-footer__bottom { border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.ap-footer__bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }

/* ---------- Age gate ---------- */
.ap-agegate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(7,17,29,.82); backdrop-filter: blur(8px); }
.ap-agegate__box { max-width: 460px; width: 100%; background: var(--navy-900); color: #b9cad9; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 36px 30px; text-align: center; box-shadow: var(--shadow-lg); }
.ap-agegate__box .ap-logo__mark { margin: 0 auto 18px; color: var(--cyan); }
.ap-agegate__box h2 { color: #fff; font-size: 26px; }
.ap-agegate__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.ap-agegate .ap-btn--ghost { color: #b9cad9; border-color: rgba(255,255,255,.2); }

/* ---------- Page heads, prose, blog ---------- */
.ap-pagehead { background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); padding-block: 42px 38px; }
.ap-pagehead__title { font-size: clamp(30px, 4vw, 46px); margin: 6px 0 10px; }
.ap-pagehead__sub { max-width: 720px; font-size: 17px; color: var(--muted); margin: 0; }
.ap-bc, .woocommerce .woocommerce-breadcrumb { font-size: 13.5px; color: var(--muted); margin: 0; }
.ap-bc a { color: var(--muted); }
.ap-bc a:hover { color: var(--cyan-600); }
.ap-bc__sep { margin: 0 8px; opacity: .5; }

.ap-prose { max-width: 820px; font-size: 17px; }
.ap-prose h2 { font-size: 28px; margin-top: 1.6em; }
.ap-prose h3 { font-size: 21px; margin-top: 1.4em; }
.ap-prose ul, .ap-prose ol { padding-left: 1.3em; }
.ap-prose li { margin-bottom: .4em; }
.ap-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ap-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.ap-prose th, .ap-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.ap-prose th { background: var(--bg-alt); color: var(--ink); }
.ap-prose .ap-btn { text-decoration: none; }
.ap-prose .ap-faq, .ap-prose .ap-coalib, .ap-prose .ap-form { font-size: 16px; }
.ap-wcpage { max-width: none; }
.ap-note { font-size: 13.5px; color: var(--muted); padding: 12px 14px; background: var(--bg-alt); border-radius: 10px; border-left: 3px solid var(--cyan); }
.ap-catseo { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
.ap-catseo h2 { font-size: 24px; margin-top: 0; }

.ap-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-postcard { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: .2s; }
.ap-postcard:hover { box-shadow: var(--shadow); }
.ap-postcard__img { aspect-ratio: 16/10; background: var(--bg-alt); display: grid; place-items: center; color: var(--cyan-600); overflow: hidden; }
.ap-postcard__img img { width: 100%; height: 100%; object-fit: cover; }
.ap-postcard__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ap-postcard__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.ap-postcard__title { font-size: 20px; }
.ap-postcard__title a { color: var(--ink); }
.ap-postcard .ap-link { margin-top: auto; }
.ap-single__img { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; }
.ap-postnav { margin-top: 40px; }
.ap-pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-links a, .nav-links span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.nav-links .current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ap-postnav .nav-links { justify-content: space-between; }
.ap-postnav .nav-links a { height: auto; padding: 12px 16px; display: block; }

/* ---------- Forms, alerts, tables ---------- */
.ap-form { display: grid; gap: 6px; max-width: 720px; }
.ap-form p { margin: 0 0 10px; }
.ap-form label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.ap-form input, .ap-form select, .ap-form textarea, .ap-searchform input[type=search],
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .select2-container--default .select2-selection--single, .woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.ap-form textarea, .woocommerce form .form-row textarea { min-height: 120px; }
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus,
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,184,204,.15); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.ap-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap-searchform { display: flex; gap: 10px; max-width: 560px; margin: 20px auto; }
.ap-alert { padding: 14px 16px; border-radius: 10px; background: #fdeaea; color: #991b1b; font-weight: 500; }
.ap-alert--ok { background: #e7f8f2; color: #065f46; }
.ap-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ap-coalib__search { margin-bottom: 16px; }
.ap-coalib__search input { width: 100%; max-width: 420px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; }
.ap-coatable { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 !important; }
.ap-coatable th { background: var(--bg-alt); text-align: left; padding: 12px 14px !important; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.ap-coatable td { padding: 12px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
.ap-coatable tr:last-child td { border-bottom: 0 !important; }
.ap-coatable a:not(.ap-btn) { font-weight: 600; text-decoration: none; }
.ap-trackform { max-width: 520px; }
.ap-trackres { margin-top: 26px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); }
.ap-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: st; }
.ap-steps li { counter-increment: st; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.ap-steps li::before { content: counter(st) ". "; }
.ap-steps li.is-done { border-color: var(--ok); color: var(--ok); background: #f0fbf7; }
.ap-ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ap-ticks li { position: relative; padding-left: 28px; }
.ap-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231798aa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Shop page ---------- */
.ap-shopbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.woocommerce .ap-shopbar .woocommerce-result-count, .woocommerce .ap-shopbar .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 0 40px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background-color: #fff; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border: 1px solid var(--line) !important; border-left: 4px solid var(--cyan) !important; border-radius: var(--radius-sm); background: var(--bg-alt) !important; color: var(--ink) !important; padding: 16px 18px 16px 50px !important; margin-bottom: 24px !important;
}
.woocommerce-error { border-left-color: var(--danger) !important; }
.woocommerce-message { border-left-color: var(--ok) !important; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { color: var(--cyan-600) !important; top: 16px !important; }
.woocommerce-message::before { color: var(--ok) !important; }
.woocommerce-error::before { color: var(--danger) !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 0 16px; font-size: 13.5px; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.woocommerce div.product::before, .woocommerce div.product::after { display: none; }
.woocommerce div.product div.images, .woocommerce div.product div.summary,
.woocommerce-page div.product div.images, .woocommerce-page div.product div.summary,
.woocommerce #content div.product div.images, .woocommerce #content div.product div.summary { width: 100% !important; float: none !important; margin: 0; min-width: 0; }
.woocommerce div.product div.images.woocommerce-product-gallery { position: relative; top: auto; align-self: start; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, #fff 40%, #f1f6fa 100%); }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { transform: scale(1.25); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.ap-pbadges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--font-h); font-weight: 800; font-size: 30px; color: var(--ink); margin-bottom: 18px; }
.woocommerce div.product p.price del { font-size: 20px; color: var(--muted); opacity: .8; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--danger); }
.woocommerce-product-details__short-description { font-size: 16.5px; color: var(--text); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin-bottom: 22px; flex-wrap: wrap; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 4px; }
.woocommerce .quantity .qty { width: 54px; min-height: 50px; border: 0; text-align: center; padding: 0; background: transparent; -moz-appearance: textfield; }
.woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.ap-qtybtn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-alt); font-size: 18px; font-weight: 600; cursor: pointer; color: var(--ink); }
.ap-qtybtn:hover { background: var(--cyan-100); color: var(--cyan-600); }
.woocommerce div.product form.cart .button { flex: 1; min-height: 54px; font-size: 16px; float: none; }
.woocommerce div.product .stock { font-weight: 600; }
.woocommerce div.product .stock.in-stock { color: var(--ok); }
.ap-ptrust { list-style: none; margin: 0 0 16px; padding: 18px; background: var(--bg-alt); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 14px; color: var(--ink); }
.ap-ptrust li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.ap-ptrust .ap-ic { color: var(--cyan-600); margin-top: 1px; }
.ap-ruo { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.ap-ruo .ap-ic { color: var(--warn); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--navy-700); }

.woocommerce div.product .woocommerce-tabs { margin-top: 30px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--cyan); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; font-size: 16.5px; margin: 0 0 40px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 24px; }
.ap-specs { width: 100%; border-collapse: collapse; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ap-specs th, .ap-specs td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 15px; vertical-align: top; }
.ap-specs th { width: 34%; background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.ap-specs tr:last-child th, .ap-specs tr:last-child td { border-bottom: 0; }
.ap-coatab { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); }
.ap-coatab__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 16px; background: #fff; color: var(--cyan-600); border: 1px solid var(--line); }
.ap-coatab h3 { font-size: 19px; margin-bottom: 6px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 28px; margin-bottom: 24px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: var(--radius); border-color: var(--line); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #f5b301; }

/* ---------- Cart / checkout / account ---------- */
.ap-freeship { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; background: #fff; }
.ap-freeship p { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--ink); }
.ap-freeship .ap-ic { color: var(--ok); }
.ap-freeship__bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.ap-freeship__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: inherit; transition: width .4s; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; padding: 14px 16px; }
.woocommerce table.shop_table td { padding: 14px 16px; border-color: var(--line-2); }
.woocommerce-cart table.cart img { width: 72px; border-radius: 10px; background: var(--bg-alt); }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px; min-height: 44px; margin-right: 8px; }
.woocommerce a.remove { color: var(--danger) !important; }
.woocommerce a.remove:hover { background: var(--danger); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 420px; max-width: 100%; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 22px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 56px; font-size: 17px; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout h3#order_review_heading { font-size: 22px; }
.woocommerce-checkout #order_review_heading { margin-top: 24px; }
.woocommerce-checkout #payment { background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line); padding: 18px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; color: var(--text); border-radius: 10px; font-size: 14.5px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce #payment #place_order { width: 100%; min-height: 56px; font-size: 17px; float: none; }
.ap-ruo-check { background: #fff7e6; border: 1px solid #f6d48d; border-radius: 10px; padding: 12px 14px !important; margin-bottom: 14px !important; }
.ap-ruo-check label { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.ap-ruo-check input { margin-top: 3px; }
.ap-paynote { padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--radius); background: var(--bg-alt); margin-bottom: 30px; }
.ap-paynote h2 { font-size: 22px; }
.ap-paynote ol { margin: 0 0 10px; padding-left: 1.2em; }
.ap-trackbox { padding: 14px 18px; border-radius: 10px; background: var(--cyan-100); margin-bottom: 20px; }
.ap-trackbox p { margin: 0; }
.woocommerce ul.order_details { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 14px 0; }
.woocommerce ul.order_details li { border-color: var(--line); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--bg-alt); color: var(--cyan-600); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ap-nav__list > li > a { padding: 10px 9px; font-size: 14.5px; }
	.ap-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.ap-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	:root { --header-h: 66px; }
	.ap-nav { display: none; }
	.ap-header .ap-header__burger { display: inline-grid; margin-left: -10px; }
	.ap-header__in { gap: 10px; }
	.ap-hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: 40px 60px; }
	.ap-hero__visual { max-width: 560px; margin: 0 auto; order: -1; }
	.ap-hero__copy { text-align: left; }
	.woocommerce ul.products, ul.products.ap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ap-trust__grid { grid-template-columns: 1fr 1fr; }
	.ap-trust__item:nth-child(3) { border-left: 0; }
	.ap-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.ap-cats { grid-template-columns: 1fr 1fr; }
	.ap-coa__grid, .ap-split, .ap-newsletter__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ap-cert { transform: none; max-width: 520px; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.woocommerce div.product div.images.woocommerce-product-gallery { position: relative; top: auto; }
	.ap-reviews { grid-template-columns: 1fr 1fr; }
	.ap-postgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.ap-section { padding-block: 60px; }
	.ap-hide-sm { display: none; }
	.ap-logo__mark { width: 36px; height: 36px; font-size: 13px; }
	.ap-logo__text b { font-size: 17px; }
	.ap-logo__text i { font-size: 12.5px; }
	.ap-hero__sub { font-size: 16.5px; }
	.ap-hero__cta .ap-btn { flex: 1 1 100%; }
	.ap-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.ap-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
	.ap-hero__card { display: none; }
	.woocommerce ul.products, ul.products.ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ap-card { border-radius: var(--radius); }
	.ap-card__body { padding: 12px; }
	.ap-card__title, .woocommerce ul.products li.product .ap-card__title { font-size: 15px; }
	.ap-card__desc, .ap-card__meta { display: none; }
	.ap-card__foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
	.ap-card__price, .woocommerce ul.products li.product .price { font-size: 17px; }
	.woocommerce ul.products li.product .ap-card__foot .button { width: 100%; min-height: 38px; font-size: 13px; padding: 0 10px; }
	.ap-card__stock { left: 8px; top: 8px; font-size: 10.5px; padding: 3px 8px; }
	.ap-trust__grid { grid-template-columns: 1fr; }
	.ap-trust__item { padding: 18px 4px; }
	.ap-trust__item + .ap-trust__item { border-left: 0; border-top: 1px solid var(--line); }
	.ap-cats { grid-template-columns: 1fr; }
	.ap-sechead { flex-direction: column; align-items: flex-start; }
	.ap-sechead--center { align-items: center; }
	.ap-reviews, .ap-postgrid { grid-template-columns: 1fr; }
	.ap-cta__in { flex-direction: column; align-items: flex-start; }
	.ap-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.ap-footer__grid > div:last-child { grid-column: 1 / -1; }
	.ap-form__row { grid-template-columns: 1fr; gap: 0; }
	.ap-ptrust { grid-template-columns: 1fr; }
	.ap-steps { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 20px; }
	.ap-coatab { flex-direction: column; }
	.ap-salebar__in { gap: 8px; font-size: 13px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; margin: 0 0 8px; }
}

/* ==========================================================================
   Buy box (single product)
   ========================================================================== */
.woocommerce div.product form.cart.ap-buy { display: block; margin: 0 0 18px; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, var(--bg-alt)); box-shadow: var(--shadow-sm); }
.ap-buy__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.ap-buy__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ap-buy__qty .quantity { display: inline-flex !important; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px !important; padding: 4px !important; }
.ap-buy__qty .ap-qtybtn { border-radius: 10px; width: 40px; height: 40px; }
.ap-buy__total { text-align: right; }
.ap-buy__total strong { font-family: var(--font-h); font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.ap-addon { position: relative; display: grid; grid-template-columns: auto 52px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; margin-bottom: 14px; border: 1.5px dashed #b9dfe7; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.ap-addon:hover { border-color: var(--cyan); }
.ap-addon input { position: absolute; opacity: 0; pointer-events: none; }
.ap-addon__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #b5c4d3; color: transparent; transition: .15s; }
.ap-addon.is-on { border-style: solid; border-color: var(--cyan); background: var(--cyan-100); }
.ap-addon.is-on .ap-addon__box { background: var(--cyan-600); border-color: var(--cyan-600); color: #fff; }
.ap-addon input:focus-visible + .ap-addon__box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ap-addon__img img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--bg-alt); transform: scale(1); }
.ap-addon__txt b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.ap-addon__txt small { color: var(--muted); font-size: 12.5px; }
.ap-addon__price { font-weight: 700; color: var(--ink); font-size: 14.5px; }

.ap-buy__btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.woocommerce div.product form.cart.ap-buy .ap-buy__add, .ap-buy__now { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s, transform .1s, box-shadow .2s; }
.woocommerce div.product form.cart.ap-buy .ap-buy__add { background: var(--navy-900); color: #fff; border: 0; box-shadow: 0 10px 22px -10px rgba(11,23,38,.7); }
.woocommerce div.product form.cart.ap-buy .ap-buy__add:hover { background: var(--cyan-600); }
.ap-buy__add.is-loading { opacity: .65; pointer-events: none; }
.ap-buy__add.is-loading span::after { content: "…"; }
.ap-buy__now { background: var(--cyan); color: var(--navy-950); border: 0; }
.ap-buy__now:hover { background: #4fd0e0; }
.ap-buy__btns button:active { transform: translateY(1px); }
.ap-buy__note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.ap-buy__note .ap-ic { color: var(--ok); }
.ap-buy--out { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }

.ap-stickybuy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: none; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .25s ease; }
.ap-stickybuy.is-on { transform: none; }
.ap-stickybuy__img img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; transform: scale(1.3); }
.ap-stickybuy__img { overflow: hidden; border-radius: 10px; flex: none; }
.ap-stickybuy__txt { flex: 1; min-width: 0; line-height: 1.2; }
.ap-stickybuy__txt b { display: block; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-stickybuy__txt small { font-weight: 700; color: var(--ink); }
.ap-stickybuy__btn { min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--navy-900); color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
	.ap-stickybuy { display: flex; }
	.ap-buy__btns { grid-template-columns: 1fr; }
	.ap-buy__total strong { font-size: 24px; }
	.single-product .ap-footer__bottom { padding-bottom: 80px; }
}

/* ==========================================================================
   Side cart
   ========================================================================== */
.ap-minicart { position: fixed; inset: 0; z-index: 110; background: rgba(7,17,29,.55); backdrop-filter: blur(3px); }
.ap-minicart[hidden] { display: none; }
.ap-minicart__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; animation: ap-slide-r .25s ease; }
@keyframes ap-slide-r { from { transform: translateX(100%); } }
.ap-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.ap-minicart__head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0; }
.ap-minicart__added { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; background: #e7f8f2; color: #065f46; font-weight: 600; font-size: 14px; }
.ap-minicart__added[hidden] { display: none; }
.ap-minicart .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ap-minicart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; }
.ap-minicart .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 14px 30px 14px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.ap-minicart .woocommerce-mini-cart-item > a:not(.remove) { grid-row: 1 / 3; display: contents; color: var(--ink); font-weight: 600; }
.ap-minicart .woocommerce-mini-cart-item img { grid-row: 1 / 3; width: 64px !important; height: 64px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); margin: 0 !important; float: none !important; }
.ap-minicart .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--muted); font-size: 13.5px; }
.ap-minicart .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--muted) !important; font-size: 18px; line-height: 1; text-decoration: none; }
.ap-minicart .woocommerce-mini-cart-item a.remove:hover { background: #fdeaea; color: var(--danger) !important; }
.ap-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.ap-minicart .woocommerce-mini-cart__total .amount { font-family: var(--font-h); font-weight: 800; font-size: 20px; }
.ap-minicart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; padding: 0 20px 6px; }
.ap-minicart .woocommerce-mini-cart__buttons .button { width: 100%; margin: 0 !important; border-radius: 14px; }
.ap-minicart .woocommerce-mini-cart__buttons .ap-btn--ghost { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.ap-minicart .woocommerce-mini-cart__empty-message { padding: 40px 20px; text-align: center; color: var(--muted); }
.ap-minicart__ship { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 20px 18px; font-size: 13px; color: var(--muted); }
.ap-minicart__ship .ap-ic { color: var(--cyan-600); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.ap-costeps { list-style: none; display: flex; gap: 6px; margin: 0 0 26px; padding: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; counter-reset: none; overflow-x: auto; }
.ap-costeps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ap-costeps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 12px; }
.ap-costeps li.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.ap-costeps li.is-active span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

form.ap-co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.ap-co__main { display: grid; gap: 18px; min-width: 0; }
.ap-co__step { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.ap-co__head { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px 6px; }
.ap-co__head h2 { font-size: 19px; margin: 2px 0 2px; letter-spacing: -.01em; }
.ap-co__head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.ap-co__num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--navy-900); color: #fff; font-family: var(--font-h); font-weight: 800; }
.ap-co__body { padding: 14px 22px 22px; }
.ap-co .woocommerce-billing-fields > h3, .ap-co .woocommerce-additional-fields > h3 { display: none; }
.ap-co .woocommerce-billing-fields__field-wrapper, .ap-co .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px 14px; }
.ap-co .form-row { float: none !important; width: auto !important; margin: 0 0 10px !important; padding: 0 !important; }
.ap-co .ap-w-6 { grid-column: span 6; }
.ap-co .ap-w-4 { grid-column: span 4; }
.ap-co .ap-w-3 { grid-column: span 3; }
.ap-co .ap-w-2 { grid-column: span 2; }
.ap-co #order_comments_field { grid-column: span 6; }
.ap-co .woocommerce-additional-fields__field-wrapper textarea { min-height: 70px; }
.ap-co .ap-hide { display: none !important; }
.ap-co .form-row label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; display: block; line-height: 1.3; }
.ap-co .form-row label .optional { color: var(--muted); font-weight: 500; }
.ap-co .form-row label abbr.required { text-decoration: none; color: var(--danger); }
.ap-co .form-row .description { display: block !important; position: static !important; margin-top: 5px; padding: 0 !important; background: none !important; color: var(--muted) !important; font-size: 12px; }
.ap-co .form-row .description::before { display: none; }
.ap-co .form-row.woocommerce-invalid input.input-text, .ap-co .form-row.woocommerce-invalid select { border-color: var(--danger); }
.ap-co .form-row.woocommerce-validated input.input-text { border-color: #9fdcc6; }
.ap-co .woocommerce-shipping-fields, .ap-co .woocommerce-additional-fields { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ap-co #ship-to-different-address { font-size: 15px; margin: 0 0 10px; font-family: var(--font); font-weight: 600; }
.ap-co #ship-to-different-address label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ap-co .woocommerce-account-fields { margin-top: 4px; }
.ap-co .woocommerce-account-fields .create-account { margin: 0; }
.ap-co input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--cyan-600); }
.ap-co .select2-container { width: 100% !important; }

/* shipping cards */
.ap-shipcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ap-shipcard { position: relative; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.ap-shipcard:hover { border-color: #a9d9e2; }
.ap-shipcard input { position: absolute; opacity: 0; pointer-events: none; }
.ap-shipcard__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b5c4d3; transition: .15s; }
.ap-shipcard__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-alt); color: var(--navy-700); }
.ap-shipcard__txt b { display: block; color: var(--ink); font-size: 15.5px; }
.ap-shipcard__txt small { color: var(--muted); font-size: 12.5px; }
.ap-shipcard__price { font-family: var(--font-h); font-weight: 800; color: var(--ink); font-size: 17px; }
.ap-shipcard.is-selected, .ap-shipcard:has(input:checked) { border-color: var(--cyan-600); background: #f3fbfd; box-shadow: 0 0 0 3px rgba(34,184,204,.15); }
.ap-shipcard.is-selected .ap-shipcard__dot, .ap-shipcard:has(input:checked) .ap-shipcard__dot { border: 6px solid var(--cyan-600); }
.ap-shipcard.is-selected .ap-shipcard__ic, .ap-shipcard:has(input:checked) .ap-shipcard__ic { background: var(--cyan-100); color: var(--cyan-600); }
.ap-shipcard input:focus-visible ~ .ap-shipcard__dot { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ap-shipcards__empty { grid-column: 1 / -1; margin: 0; padding: 16px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }

/* payment step */
.ap-co #payment { background: transparent !important; border: 0 !important; border-radius: 0; }
.ap-co #payment ul.payment_methods { padding: 0 !important; border: 0 !important; margin: 0 0 14px; }
.ap-co #payment ul.payment_methods li { list-style: none; }
.ap-co #payment ul.payment_methods li > input[type=radio]:only-of-type { display: none; }
.ap-co #payment ul.payment_methods li > label { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--cyan-600); border-bottom: 0; border-radius: 16px 16px 0 0; background: #f3fbfd; margin: 0; }
.ap-co #payment ul.payment_methods li > label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--cyan-600); flex: none; }
.ap-co #payment div.payment_box { margin: 0 !important; padding: 0 16px 16px !important; background: #f3fbfd !important; border: 1.5px solid var(--cyan-600); border-top: 0; border-radius: 0 0 16px 16px; font-size: 14px !important; color: var(--text) !important; }
.ap-co #payment div.payment_box::before { display: none; }
.ap-co #payment div.payment_box p { margin: 0; }
.ap-co #payment div.form-row.place-order { padding: 0 !important; margin: 0 !important; }
.ap-co .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.ap-co .ap-ruo-check { margin: 0 0 14px !important; }
.ap-co #place_order { width: 100%; min-height: 60px; border-radius: 16px; font-size: 17px; background: var(--navy-900); box-shadow: 0 14px 28px -14px rgba(11,23,38,.8); }
.ap-co #place_order:hover { background: var(--cyan-600); }

/* summary */
.ap-co__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; min-width: 0; }
.ap-co__sum { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.ap-co__sum > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; background: var(--navy-900); color: #fff; font-weight: 700; cursor: default; }
.ap-co__sum > summary::-webkit-details-marker { display: none; }
.ap-co__sum > summary span { display: flex; align-items: center; gap: 8px; }
.ap-co__sumtotal, .ap-co__sumtotal .amount { color: var(--cyan); font-family: var(--font-h); font-size: 18px; white-space: nowrap; }
.ap-co__sumtotal small { display: none; }
.ap-sum__items { list-style: none; margin: 0; padding: 8px 20px; }
.ap-sum__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.ap-sum__img { position: relative; }
.ap-sum__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); }
.ap-sum__img em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--navy-700); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.ap-sum__name { color: var(--ink); font-weight: 600; line-height: 1.35; }
.ap-sum__price { font-weight: 700; color: var(--ink); }
.ap-sum__rows { margin: 0; padding: 6px 20px 18px; }
.ap-sum__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.ap-sum__rows dt { color: var(--muted); }
.ap-sum__rows dt small { display: block; font-size: 12px; }
.ap-sum__rows dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.ap-sum__total { margin-top: 6px; padding-top: 14px !important; border-top: 1px solid var(--line); }
.ap-sum__total dt { color: var(--ink) !important; font-weight: 700; font-size: 16px; }
.ap-sum__total dt small { display: inline !important; color: var(--muted); font-weight: 500; }
.ap-sum__total dd, .ap-sum__total dd .amount { font-family: var(--font-h); font-size: 24px; font-weight: 800; }
.ap-sum__total small.includes_tax { display: none; }
.ap-co__how { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); }
.ap-co__how h3 { font-size: 15px; margin-bottom: 12px; }
.ap-co__how ol { list-style: none; margin: 0; padding: 0; counter-reset: h; display: grid; gap: 12px; }
.ap-co__how li { counter-increment: h; position: relative; padding-left: 38px; font-size: 13.5px; line-height: 1.35; }
.ap-co__how li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--cyan-600); }
.ap-co__how b { display: block; color: var(--ink); }
.ap-co__how span { color: var(--muted); }
.ap-co__trust { list-style: none; margin: 0; padding: 0 6px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.ap-co__trust li { display: flex; align-items: center; gap: 8px; }
.ap-co__trust .ap-ic { color: var(--cyan-600); }
.woocommerce-checkout .blockUI.blockOverlay { border-radius: var(--radius-lg); }

@media (max-width: 1024px) {
	form.ap-co { grid-template-columns: minmax(0, 1fr); }
	.ap-co__side { position: static; order: -1; }
	.ap-co__sum > summary { cursor: pointer; }
	.ap-co__sum > summary > span::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 6px; }
	.ap-co__sum[open] > summary > span::after { transform: rotate(-135deg); margin-top: 4px; }
	.ap-co__how, .ap-co__trust { display: none; }
}
@media (max-width: 760px) {
	.ap-costeps li { font-size: 0; gap: 0; padding: 8px; }
	.ap-costeps li span { font-size: 12px; }
	.ap-costeps li.is-active { font-size: 13px; gap: 6px; padding: 8px 12px; }
	.ap-co__head, .ap-co__body { padding-left: 16px; padding-right: 16px; }
	.ap-co .ap-w-4, .ap-co .ap-w-3 { grid-column: span 6; }
	.ap-co .ap-w-2 { grid-column: span 3; }
	.ap-co #billing_postcode_field, .ap-co #shipping_postcode_field { grid-column: span 3; }
	.ap-co #billing_city_field, .ap-co #shipping_city_field { grid-column: span 6; }
	.ap-shipcards { grid-template-columns: 1fr; }
}
.ap-co__sumtotal, .ap-co__sumtotal * { white-space: nowrap !important; display: inline !important; }
.ap-co__sum > summary > span { flex: 1; }


/* ==========================================================================
   Cart page layout + cross-sells
   ========================================================================== */
.woocommerce-cart .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; margin-top: 28px; }
.woocommerce-cart .cart-collaterals::before, .woocommerce-cart .cart-collaterals::after { display: none; }
.woocommerce-cart .cart-collaterals .cross-sells { float: none; width: auto; grid-column: 1; grid-row: 1; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: auto !important; grid-column: 2; grid-row: 1; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.woocommerce-cart .cart-collaterals .cart_totals:only-child { grid-column: 2; }
.woocommerce-cart .cross-sells > h2 { font-size: 22px; margin-bottom: 16px; }
.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { background: none; padding: 12px 0; border-top: 1px solid var(--line-2); }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods li { margin: 0 0 6px; }
.woocommerce-cart .cart_totals .order-total .amount { font-family: var(--font-h); font-size: 22px; }
.woocommerce-cart table.cart td.actions { padding: 14px 16px; }
.woocommerce-cart table.cart td.actions .button { min-height: 44px; }
.woocommerce-cart table.cart .product-name a { color: var(--ink); font-weight: 600; }
/* any product grid inside a narrow container falls back to auto-fit */
.cross-sells ul.products, .upsells ul.products, .related ul.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 1024px) {
	.woocommerce-cart .cart-collaterals { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-cart .cart-collaterals .cart_totals { grid-column: 1; grid-row: 1; }
	.woocommerce-cart .cart-collaterals .cross-sells { grid-row: 2; }
}
@media (max-width: 760px) {
	.cross-sells ul.products, .upsells ul.products, .related ul.products, .woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* QA fixes */
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px !important; margin: 0 !important; }
.woocommerce-cart table.cart td.product-thumbnail a { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.woocommerce-cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: cover; transform: scale(1.6); border-radius: 0; background: none; }
.ap-sum__img { border-radius: 12px; }
.ap-sum__img img { object-view-box: inset(20% 20% 20% 20%); }
.ap-minicart .woocommerce-mini-cart-item img, .ap-addon__img img, .ap-stickybuy__img img { object-view-box: inset(20% 20% 20% 20%); transform: none; }
.ap-coatable { min-width: 560px; }
@media (max-width: 760px) {
	.ap-addon { grid-template-columns: auto 1fr auto; }
	.ap-addon__img { display: none; }
	.woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; flex: 1 1 140px; }
	.woocommerce-cart table.cart td.product-thumbnail { display: none; }
}
