/*!
 * AirmedNG main stylesheet
 * 1 Tokens & base · 2 Layout & utilities · 3 Buttons & forms · 4 Header · 5 Footer
 * 6 Page banner · 7 Product card · 9 Blog · 10 Misc · 11 Responsive
 */

/* ==========================================================================
   1. Tokens & base
   ========================================================================== */
:root {
	--navy: #102f60;
	--navy-dark: #0a2350;
	--green: #12a05c;
	--green-dark: #0c854b;
	--green-deep: #00702c;
	--orange: #fa9829;
	--ink: #17243f;
	--muted: #5b6a7f;
	--line: #e4eaf1;
	--soft: #f4f7fa;
	--mint: #e7f7ef;
	/* Brand tints. inc/enqueue.php recalculates these from the Customizer colours,
	   so changing the primary/secondary/accent colour re-tints the whole site. */
	--green-rgb: 18, 160, 92;
	--orange-rgb: 250, 152, 41;
	--navy-rgb: 16, 47, 96;
	--green-50: #f3fbf7;
	--green-75: #edf7f3;
	--green-100: #e8f6ef;
	--green-200: #cceade;
	--green-250: #b9d9c9;
	--green-300: #9ee6c0;
	--green-350: #7fe0ae;
	--orange-50: #fff0df;
	--orange-700: #b85f0b;
	--band: #0b4a52;
	--on-dark-muted: #c6d3e8;
	--on-dark-soft: #e4ecf8;
	--paper: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 60px rgba(var(--navy-rgb), .1);
	--shadow-sm: 0 8px 24px rgba(var(--navy-rgb), .08);
	--font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-head: 'Manrope', 'Jost', system-ui, sans-serif;
	--header-offset: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-canvas { background: #fff; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy-dark); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(var(--green-rgb), .55); outline-offset: 2px; border-radius: 4px; }
.icon { flex: 0 0 auto; }
.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; }
.screen-reader-text:focus { position: fixed !important; z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 12px 18px; clip: auto; clip-path: none; background: #fff; color: var(--navy); border-radius: 8px; box-shadow: var(--shadow); font-weight: 600; }
.skip-link:focus { outline: 3px solid var(--green); }

/* ==========================================================================
   2. Layout & utilities
   ========================================================================== */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container--narrow { width: min(860px, calc(100% - 48px)); }
.container--wide { width: min(1180px, calc(100% - 48px)); }
.muted { color: var(--muted); }
.section { padding: clamp(48px, 6vw, 80px) 0; }
.tone-white { background: #fff; }
.tone-soft { background: var(--soft); }
.tone-mint { background: linear-gradient(180deg, var(--green-50), var(--green-100)); }

.airmed-section { --_heading: var(--airmed-heading, var(--navy-dark)); --_body: var(--airmed-body, var(--muted)); --_accent: var(--airmed-accent, var(--green)); }
.airmed-section h1, .airmed-section h2, .airmed-section h3 { color: var(--_heading); }
.eyebrow-label { display: inline-block; color: var(--airmed-accent, var(--green-dark)); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(26px, 3vw, 40px); }
.section-head h2 { margin: 4px 0 0; font-size: clamp(27px, 3vw, 36px); }
.section-head p { margin: 12px 0 0; color: var(--_body, var(--muted)); max-width: 620px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { max-width: 720px; }
.section-head--center p { margin-inline: auto; }
.section-link, .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; }
.section-link:hover, .text-link:hover { color: var(--green-dark); }
.section-link .icon, .text-link .icon { transition: transform .2s; }
.section-link:hover .icon, .text-link:hover .icon { transform: translateX(3px); }

.check-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .icon { margin-top: 3px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--green); stroke-width: 2.6; }
.check-list--light li { color: var(--on-dark-soft); }
.check-list--light .icon { background: rgba(255, 255, 255, .14); color: var(--green-350); }

.empty-state { padding: 56px 24px; text-align: center; border-radius: var(--radius); background: #fff; border: 1px dashed #cfd8e3; color: var(--muted); }
.empty-state .icon { color: var(--green); margin-inline: auto; }
.empty-state h2, .empty-state h3 { margin: 14px 0 6px; }
.empty-state p { margin: 0 auto 18px; max-width: 460px; }
.empty-state .search { max-width: 420px; margin: 0 auto; }

.breadcrumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 10px; border-top: 1.6px solid #9aa7b8; border-right: 1.6px solid #9aa7b8; transform: rotate(45deg); }
.breadcrumbs a:hover { color: var(--green-dark); text-decoration: underline; }
.breadcrumbs [aria-current] span { color: var(--navy); font-weight: 600; }

.social-links { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--navy); border: 1px solid var(--line); transition: .2s; }
.social-links a:hover { background: var(--green-dark); border-color: var(--green); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   3. Buttons & forms
   ========================================================================== */
.button, .site-shell .button { min-height: 50px; padding: 0 24px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; transition: .2s ease; cursor: pointer; }
.button.primary { background: var(--green-dark); color: #fff; box-shadow: 0 10px 25px rgba(var(--green-rgb), .28); }
.button.primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }
.button.secondary { color: var(--navy); border-color: #ccd7e5; background: rgba(255, 255, 255, .8); }
.button.secondary:hover { background: #fff; border-color: var(--navy); color: var(--navy); }
.button.white { background: #fff; color: var(--navy); }
.button.white:hover { background: var(--mint); color: var(--navy); transform: translateY(-2px); }
.button.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
.button.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], select, textarea { width: 100%; padding: 13px 15px; border: 1px solid #cfd8e3; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6a7f' 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 14px center; padding-right: 40px; }
textarea { min-height: 130px; resize: vertical; }
input[type=file] { width: 100%; padding: 11px; border: 1.5px dashed #b7c4d4; border-radius: var(--radius-sm); background: var(--soft); font-size: 14px; }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18); }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; }
::placeholder { color: #8b97a8; opacity: 1; }
label { font-weight: 500; }

.form-field { margin: 0 0 18px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 600; }
.form-field abbr { color: #d63638; text-decoration: none; }
.form-note { display: flex; gap: 8px; align-items: center; margin: 4px 0 20px; color: var(--muted); font-size: 13px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 14px; color: var(--muted); font-weight: 400; }
.form-consent input { margin-top: 3px; flex: 0 0 auto; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 22px; font-size: 15px; font-weight: 500; }
.form-notice--success { background: #e7f7ef; color: #0b6b3c; border: 1px solid #b9e6cf; }
.form-notice--error { background: #fdecec; color: #a12727; border: 1px solid #f4c2c2; }
.airmed-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.announcement { background: var(--navy); color: #fff; font-size: 13px; }
.announcement-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.announcement-inner p { margin: 0; opacity: .9; }
.announcement-links { display: flex; align-items: center; gap: 16px; }
.announcement-links a { display: inline-flex; align-items: center; gap: 7px; }
.announcement-links a:hover { color: var(--green-300); }
.announcement-links .divider { width: 1px; height: 14px; background: rgba(255, 255, 255, .3); }

.site-header { background: #fff; position: relative; z-index: 60; box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.has-sticky-header .site-header { position: sticky; top: 0; transition: transform .3s ease, box-shadow .25s; }
/* Slides out of view while scrolling down, back on scroll up (theme.js). Uses a
   transform, so the page never jumps. */
.has-sticky-header .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(var(--navy-rgb), .1); }
.header-main { height: 90px; display: grid; grid-template-columns: 175px minmax(280px, 1fr) auto; align-items: center; gap: 38px; }
.logo-link { display: block; }
.logo-img, .logo-link img { width: 168px; height: auto; }

.search { position: relative; height: 48px; display: flex; align-items: center; gap: 12px; border: 1px solid #dbe3ed; background: var(--soft); border-radius: 12px; padding-left: 17px; color: #7a8799; transition: .2s ease; }
.search:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(var(--green-rgb), .14); }
.search input[type=search], .search .search-field { min-width: 0; flex: 1; border: 0; outline: 0; box-shadow: none; background: transparent; color: var(--ink); font-size: 15px; padding: 0; border-radius: 0; height: 100%; }
.search .search-submit { border-radius: 0 11px 11px 0; height: 100%; padding-inline: 22px; border: 0; color: #fff; font-size: 14px; font-weight: 600; background: var(--green-dark); transition: background .2s; }
.search .search-submit:hover { background: var(--green-deep); }
.search--mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.icon-action { position: relative; border: 0; background: none; color: var(--navy); padding: 0; display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 500; line-height: 1.1; }
.icon-action:hover { color: var(--green-dark); }
.cart-action b { position: absolute; top: -8px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; background: var(--orange); color: var(--navy-dark); border-radius: 99px; font-size: 11px; font-weight: 700; line-height: 1; }
.cart-wrap { position: relative; padding: 8px 0; }
.airmed-minicart { position: absolute; right: -10px; top: 100%; width: 360px; max-width: 92vw; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; z-index: 70; }
.cart-wrap:hover .airmed-minicart, .cart-wrap:focus-within .airmed-minicart { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-button { display: none; }

.nav { border-top: 1px solid #eef1f5; background: #fff; }
.nav-inner { min-height: 54px; display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: #34425a; }
.nav a { white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--green-dark); }
.shop-dropdown { position: relative; align-self: stretch; display: flex; }
.shop-link { display: flex; align-items: center; gap: 9px; padding: 0 20px; margin-left: -20px; border: 0; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; }
.shop-link:hover { background: var(--navy-dark); }
.shop-link .icon:last-child { transition: transform .2s; }
.shop-dropdown.is-open .shop-link .icon:last-child { transform: rotate(180deg); }
.shop-dropdown__panel { position: absolute; left: -20px; top: 100%; min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); display: none; z-index: 70; }
.shop-dropdown.is-open .shop-dropdown__panel, .shop-dropdown:hover .shop-dropdown__panel, .shop-dropdown:focus-within .shop-dropdown__panel { display: block; }
.shop-dropdown__panel a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.shop-dropdown__panel a:hover { background: var(--mint); color: var(--green-deep); }

.nav .menu, .nav .primary-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; flex: 1; }
.menu li { position: relative; }
.menu a { display: inline-flex; align-items: center; gap: 5px; padding: 15px 0; position: relative; }
.menu > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu > li:hover > a::after, .menu > li.current-menu-item > a::after, .menu > li.current_page_item > a::after { transform: scaleX(1); }
.menu .current-menu-item > a, .menu .current_page_item > a { color: var(--green-dark); }
.menu .sub-menu { position: absolute; left: -16px; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 70; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.menu .sub-menu a:hover { background: var(--mint); }
.nav-help { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; line-height: 1.3; }
.nav-help .icon { color: var(--green); }
.nav-help b { display: block; font-size: 14px; }

.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer { position: fixed; z-index: 100; inset: 0; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(var(--navy-rgb), .5); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 390px); padding: 20px 22px 28px; background: #fff; box-shadow: -20px 0 55px rgba(0, 0, 0, .16); overflow-y: auto; animation: airmedDrawer .25s ease; }
@keyframes airmedDrawer { from { transform: translateX(100%); } }
.admin-bar .mobile-drawer { top: 46px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-logo img { width: 140px; }
.drawer-close { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); }
.drawer-menu { list-style: none; margin: 8px 0 0; padding: 0; }
.drawer-menu a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid #eef1f5; color: var(--navy); font-weight: 500; font-size: 17px; }
.drawer-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 14px; }
.drawer-menu .sub-menu a { font-size: 15px; color: var(--muted); }
.drawer-menu .icon { display: none; }
.drawer-label { margin: 24px 0 0; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.drawer-cats a { font-size: 15px; font-weight: 400; }
.drawer-quick { display: grid; gap: 10px; margin-top: 24px; }
.drawer-quick a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--soft); color: var(--navy); font-weight: 600; }
.drawer-quick .icon { color: var(--green); }

/* ==========================================================================
   5. Footer
   ========================================================================== */

.site-footer { padding-top: 70px; background: var(--soft); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 56px; padding-bottom: 56px; }
.footer-brand img { width: 160px; }
.footer-brand > p { max-width: 300px; margin: 20px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-col__title, .footer-col h3, .footer-widget__title { margin: 6px 0 20px; color: var(--navy); font-size: 15px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a, .footer-links span, .footer-widget a, .footer-widget li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-links a:hover, .footer-widget a:hover { color: var(--green-dark); }
.footer-links .with-icon { display: flex; gap: 11px; align-items: flex-start; }
.footer-links .with-icon .icon { color: var(--green); margin-top: 3px; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom-wrap { border-top: 1px solid var(--line); }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; color: #6b7889; font-size: 13px; }
.footer-bottom p { margin: 0; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-links a:hover { color: var(--green-dark); }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.pay-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--navy); font-weight: 600; }
.pay-badges .icon { color: var(--green); }

.float-whatsapp { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .2s; }
.float-whatsapp:hover { color: #fff; transform: scale(1.07); }
/* Tuck the floating button away while scrolling down so it never sits on top of buttons. */
.float-whatsapp { transition: transform .25s, opacity .25s; }
.float-whatsapp.is-tucked { opacity: 0; transform: translateY(90px); pointer-events: none; }
.has-float-whatsapp .footer-bottom { padding-right: 72px; }
.back-to-top { position: fixed; z-index: 79; right: 28px; bottom: 90px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); transition: .25s; }
.back-to-top.is-visible { opacity: 1; transform: none; }
.back-to-top[hidden] { display: none; }

/* ==========================================================================
   6. Page banner (theme templates and the AirmedNG Core "Page banner" section)
   ========================================================================== */

.page-banner { position: relative; overflow: hidden; padding: clamp(38px, 5vw, 64px) 0 clamp(34px, 4.5vw, 56px); background: linear-gradient(112deg, #f7fafc 4%, var(--green-100) 100%); border-bottom: 1px solid var(--line); }
.page-banner::before { content: ''; position: absolute; width: 300px; height: 300px; right: -90px; top: -150px; border-radius: 50%; border: 44px solid rgba(var(--green-rgb), .07); }
.page-banner::after { content: ''; position: absolute; width: 140px; height: 140px; left: 6%; bottom: -80px; border-radius: 50%; background: rgba(var(--orange-rgb), .09); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner__title { margin: 0; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.035em; }
.page-banner__text { max-width: 660px; margin: 14px 0 0; color: var(--_body, var(--muted)); font-size: 18px; }
.page-banner--post .container { max-width: 860px; }
.page-banner--post .page-banner__title { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 14px; }

/* ==========================================================================
   7. Product card (shop loop here; also used by the AirmedNG Core Products section)
   ========================================================================== */
.product-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; transition: .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(var(--navy-rgb), .1); }
.product-image { height: 230px; position: relative; display: grid; place-items: center; overflow: hidden; background: #fafbfc; }
.product-image > a { display: grid; place-items: center; width: 100%; height: 100%; }
.product-image img { width: 80%; height: 80%; object-fit: contain; transition: transform .3s; mix-blend-mode: multiply; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-tag { position: absolute; z-index: 2; left: 12px; top: 14px; padding: 4px 9px; border-radius: 6px; background: var(--mint); color: var(--green-deep); font-size: 12px; font-weight: 700; line-height: 1.3; }
.product-tag--sale { background: var(--orange-50); color: var(--orange-700); }
.product-tag--out { background: #eef1f5; color: #5b6a7f; }
.product-info { flex: 1; display: flex; flex-direction: column; padding: 17px 17px 18px; border-top: 1px solid #eef1f5; }
.product-info > small { color: var(--green-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; }
.product-card__title, .product-info h3 { margin: 7px 0 14px; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.product-card__title a:hover, .product-info h3 a:hover { color: var(--green-dark); }
.product-info .star-rating { margin: -6px 0 12px; }
.product-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.product-bottom .price { margin: 0; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.2; }
.product-bottom .price del { display: block; color: #9aa4b2; font-size: 13px; font-weight: 400; }
.product-bottom .price ins { text-decoration: none; background: transparent; }
.cart-button, .product-bottom a.button.cart-button { height: 40px; min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; border: 0; border-radius: 11px; background: var(--green-dark); color: #fff; transition: .2s; font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.cart-button:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.cart-button.loading { opacity: .6; }
.cart-button.added { background: var(--navy); }
.cart-button.is-view, .product-bottom a.button.cart-button.is-view { background: var(--soft); color: var(--navy); }
.cart-button.is-view:hover, .product-bottom a.button.cart-button.is-view:hover { background: var(--navy); color: #fff; }
.product-bottom .added_to_cart { display: none; }

/* Page sections (hero, services, categories, promos, features, steps, FAQ, split,
   call-to-action, info table, legal, contact, prescription form, newsletter) are
   styled by the AirmedNG Core plugin: airmedng-core/assets/css/sections.css. */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.has-sidebar .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--green); }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.post-card__cat { align-self: flex-start; margin-bottom: 10px; padding: 4px 11px; border-radius: 99px; background: var(--mint); color: var(--green-deep); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card__cat:hover { background: var(--green-dark); color: #fff; }
.post-card__title { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.post-card__title a:hover { color: var(--green-dark); }
.post-card__excerpt { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.post-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #7a8799; font-size: 13px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .icon { color: var(--green); }

.content-layout { display: block; padding-block: clamp(36px, 5vw, 64px); }
.content-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sidebar .widget { margin-bottom: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.widget-title { margin: 0 0 16px; font-size: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget li { font-size: 15px; }
.widget a:hover { color: var(--green-dark); }
.widget .search { background: var(--soft); }

.entry-thumb { margin: 0 0 32px; overflow: hidden; border-radius: 20px; }
.entry-thumb img { width: 100%; }
.entry-content { font-size: 18px; line-height: 1.8; color: #2b3a52; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin: 1.8em 0 .5em; font-size: clamp(24px, 2.6vw, 30px); }
.entry-content h3 { margin: 1.6em 0 .5em; font-size: 22px; }
/* Text links only: skip anything styled as a button (theme, block editor and WooCommerce block buttons). */
.entry-content a:not([class*="button"]) { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.8em 0; padding: 20px 26px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--mint); font-size: 1.05em; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { border-radius: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.6em 0; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); color: var(--navy); }
.entry-content pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: var(--navy-dark); color: #e8eefc; font-size: 14px; }
.entry-content .alignwide { width: min(1180px, 100vw - 48px); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption, .wp-element-caption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.entry-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin: 40px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 12px; border-radius: 99px; background: var(--soft); font-size: 13px; color: var(--navy); }
.tag-list a:hover { background: var(--green-dark); color: #fff; }
.share { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--navy); }
.page-links { margin-top: 24px; font-weight: 600; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.post-navigation a:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.post-navigation .nav-next { text-align: right; }
.nav-sub { display: block; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-title { display: block; margin-top: 4px; color: var(--navy); font-family: var(--font-head); font-weight: 700; line-height: 1.35; }

.comments-area { margin-top: 56px; }
.comments-title { font-size: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 36px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { position: relative; margin-bottom: 18px; padding: 22px 24px 22px 86px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 16px; }
.comment-body .avatar { position: absolute; left: 22px; top: 22px; border-radius: 50%; }
.comment-meta { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.comment-author .fn { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 13px; font-weight: 600; color: var(--green-dark); }
.comment-respond { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.comment-reply-title { font-size: 22px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form .form-submit input { padding: 14px 28px; border: 0; border-radius: 11px; background: var(--green-dark); color: #fff; font-weight: 600; cursor: pointer; }
.comment-form .form-submit input:hover { background: var(--green-deep); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: center; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

.pagination { margin-top: 44px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--navy); font-weight: 600; transition: .2s; }
a.page-numbers:hover { border-color: var(--green); color: var(--green-dark); }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .prev .icon { transform: rotate(180deg); }

/* ==========================================================================
   10. Misc: 404, builder pages, search form
   ========================================================================== */
.error-404 { max-width: 640px; padding: clamp(60px, 9vw, 120px) 0; text-align: center; }
.error-404__code { display: block; font-family: var(--font-head); font-size: clamp(88px, 16vw, 168px); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: linear-gradient(120deg, var(--green), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 h1 { margin: 10px 0 12px; font-size: clamp(26px, 3.5vw, 36px); }
.error-404 p { color: var(--muted); }
.error-404 .search { max-width: 460px; margin: 26px auto; }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.page-main { padding-block: clamp(36px, 5vw, 72px); }
.builder-main, .builder-main .elementor { width: 100%; }
.airmed-custom-header .elementor, .airmed-custom-footer .elementor { width: 100%; }
.search-form { max-width: 560px; }
.sticky .post-card__title::before { content: '★'; color: var(--orange); margin-right: 6px; }
.bypostauthor > .comment-body { border-color: var(--green); }
.wp-block-button__link { border-radius: 11px; background: var(--green-dark); padding: 14px 26px; font-weight: 600; }
.gallery { display: grid; gap: 12px; }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { margin: 0; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.nav-help span { display: none; }
}
@media (max-width: 1080px) {
	.header-main { grid-template-columns: 150px 1fr auto; gap: 24px; }
	.logo-img, .logo-link img { width: 148px; }
	.header-actions { gap: 16px; }
	.nav-inner { gap: 20px; font-size: 14px; }
	.nav .menu { gap: 20px; }
	.footer-grid { gap: 36px; grid-template-columns: 1.3fr repeat(3, 1fr); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.content-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 860px) {
	.admin-bar.has-sticky-header .site-header { top: 46px; }
	.container, .container--narrow, .container--wide { width: min(100% - 34px, 700px); }
	.announcement-inner > p { display: none; }
	.announcement-inner { justify-content: center; }
	.announcement-links { gap: 14px; }

	.header-main { height: 72px; grid-template-columns: 1fr auto auto; gap: 14px; }
	.header-main > .search--desktop, .nav { display: none; }
	.header-actions { grid-column: 2; gap: 0; }
	.header-actions .icon-action:not(.cart-action) { display: none; }
	.cart-action span { display: none; }
	.airmed-minicart { display: none; }
	.mobile-menu-button { grid-column: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 11px; background: var(--soft); color: var(--navy); }
	.search--mobile { display: flex; width: min(100% - 34px, 700px); margin: 0 auto 14px; height: 46px; padding-left: 14px; }
	.search--mobile .search-submit { padding-inline: 18px; }

	/* 2 x 2 compact cards so the first products are reached sooner. */

	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.content-layout.has-sidebar { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.section-head--center { align-items: center; }
	.back-to-top { right: 22px; bottom: 86px; }
}
@media (max-width: 600px) {
	body { font-size: 16.5px; }
	.container, .container--narrow, .container--wide { width: calc(100% - 28px); }
	.search--mobile { width: calc(100% - 28px); }
	.announcement-links a:first-child, .announcement-links .divider { display: none; }
	.logo-img, .logo-link img { width: 128px; }
	/* Shorter photo on phones so the first products appear sooner. */
	.section { padding: 56px 0; }
	.section-head h2 { font-size: 27px; }
	.product-image { height: 170px; }
	.product-info { padding: 13px; }
	.product-card__title, .product-info h3 { font-size: 14px; margin-bottom: 10px; }
	.product-bottom .price { font-size: 15px; }
	.cart-button, .product-bottom a.button.cart-button { height: 36px; min-height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13px; }
	.product-bottom { flex-wrap: wrap; }
	.post-grid, .has-sidebar .post-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { padding-block: 20px; flex-direction: column; align-items: flex-start; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.comment-body { padding: 70px 18px 18px; }
	.comment-list .children { padding-left: 14px; }
	.float-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
	.has-float-whatsapp .footer-bottom { padding-right: 0; padding-bottom: 72px; }
	.admin-bar.has-sticky-header .site-header { top: 0; }
	.back-to-top { right: 20px; bottom: 80px; }
	.entry-content { font-size: 17px; }
	.gallery-columns-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: none) {
	.cart-wrap:hover .airmed-minicart { opacity: 0; visibility: hidden; }
	.product-card:hover, .post-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
	.announcement, .site-header, .site-footer, .float-whatsapp, .back-to-top, .mobile-drawer { display: none !important; }
	body { font-size: 12pt; }
}

/* ==========================================================================
   12. Live search suggestions
   ========================================================================== */
.search.is-loading::after { content: ''; position: absolute; right: 108px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid #cfd8e3; border-top-color: var(--green); border-radius: 50%; animation: airmedSpin .7s linear infinite; }
.search-suggest { position: absolute; z-index: 90; left: 0; right: 0; top: calc(100% + 8px); max-height: min(72vh, 540px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 22px 60px rgba(var(--navy-rgb), .2); text-align: left; color: var(--ink); }
.search-suggest[hidden] { display: none; }
.search-suggest__list { list-style: none; margin: 0; padding: 0; }
.search-suggest__item a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 11px; color: var(--ink); }
.search-suggest__item.is-active a, .search-suggest__item a:hover { background: var(--mint); }
.search-suggest__item img, .search-suggest__noimg { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.search-suggest__noimg { display: block; }
.search-suggest__text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.search-suggest__text b { overflow: hidden; color: var(--navy); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest__text small { color: var(--muted); font-size: 12.5px; }
.search-suggest mark { background: rgba(var(--orange-rgb), .3); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-suggest__price { color: var(--navy); font-family: var(--font-head); font-size: 14px; font-weight: 800; white-space: nowrap; }
.search-suggest__price.is-sale { color: var(--green-dark); }
.search-suggest__price.is-out { color: #a12a22; font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.search-suggest__empty { padding: 18px 12px; color: var(--muted); font-size: 14.5px; }
.search-suggest__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 10px 4px; }
.search-suggest__cats:empty { display: none; }
.search-suggest__label { width: 100%; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search-suggest__chip { padding: 6px 13px; border-radius: 99px; background: var(--soft); color: var(--navy); font-size: 13px; font-weight: 600; }
.search-suggest__chip:hover { background: var(--green-dark); color: #fff; }
.search-suggest__all { margin-top: 6px; border-top: 1px solid var(--line); }
.search-suggest__all a { display: block; padding: 12px 14px; border-radius: 11px; color: var(--green-dark); font-size: 14px; font-weight: 700; }
.search-suggest__all.is-active a, .search-suggest__all a:hover { background: var(--mint); }
@media (max-width: 600px) {
	.search-suggest { top: calc(100% + 6px); border-radius: 14px; }
	.search-suggest__item a { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
	.search-suggest__item img, .search-suggest__noimg { width: 44px; height: 44px; }
	.search.is-loading::after { right: 96px; }
}

/* WordPress gives the <ul> the same class as the links. */
ul.page-numbers { min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none; display: flex; }
