/* ============================================================
   BioMedilogic — main stylesheet
   Medical e-commerce theme for biomedical equipment & reagents
   ============================================================ */

:root {
	--biomed-primary: #35c7df;
	--biomed-primary-dark: #2ab3c8;
	--biomed-secondary: #f55a74;
	--biomed-ink: #0f2a51;
	--biomed-body: #334155;
	--biomed-muted: #a6a9aa;
	--biomed-line: #e2e8f0;
	--biomed-bg: #f8fafc;
	--biomed-card: #ffffff;
	--biomed-radius: 12px;
	--biomed-shadow: 0 2px 12px rgba(53, 199, 223, .10);
	--biomed-shadow-lg: 0 12px 32px rgba(53, 199, 223, .16);
	--biomed-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--biomed-font);
	color: var(--biomed-body);
	background: #fff;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--biomed-ink);
	line-height: 1.25;
	margin: 0 0 .6em;
	font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--biomed-primary); text-decoration: none; }
a:hover { color: var(--biomed-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

.biomed-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -3px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
	border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
	line-height: 1.4; text-align: center;
}
.btn .biomed-icon { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary { background: var(--biomed-primary); color: #fff; }
.btn-primary:hover { background: var(--biomed-primary-dark); color: #fff; }
.btn-secondary { background: var(--biomed-secondary); color: #fff; }
.btn-secondary:hover { background: #d63a55; color: #fff; }
.btn-light { background: #fff; color: var(--biomed-primary-dark); }
.btn-light:hover { background: #f0f9ff; color: var(--biomed-primary-dark); }
.btn-outline { border-color: var(--biomed-primary); color: var(--biomed-primary); background: transparent; }
.btn-outline:hover { background: var(--biomed-primary); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--biomed-primary-dark); }

/* ---------- Top bar ---------- */
.topbar { background: var(--biomed-ink); color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-text { margin: 0; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact a { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 var(--biomed-line); }
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }

.site-branding { flex-shrink: 0; }
.site-logo-text { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--biomed-primary), var(--biomed-secondary)); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.logo-mark .biomed-icon { width: 24px; height: 24px; }
.logo-words { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 22px; font-weight: 800; color: var(--biomed-ink); }
.logo-tag { font-size: 11px; color: var(--biomed-muted); font-weight: 500; letter-spacing: .2px; }
.custom-logo { max-height: 60px; width: auto; }

.header-search { flex: 1; max-width: 520px; margin-left: auto; }
.search-form { display: flex; border: 2px solid var(--biomed-line); border-radius: 10px; overflow: hidden; background: var(--biomed-bg); }
.search-form:focus-within { border-color: var(--biomed-primary); background: #fff; }
.search-field { flex: 1; border: 0; background: transparent; padding: 11px 16px; font-size: 15px; outline: none; color: var(--biomed-ink); min-width: 0; }
.search-submit { border: 0; background: var(--biomed-primary); color: #fff; padding: 0 20px; cursor: pointer; display: flex; align-items: center; }
.search-submit:hover { background: var(--biomed-primary-dark); }
.search-submit .biomed-icon { width: 20px; height: 20px; }

.header-actions { display: flex; gap: 6px; align-items: center; }
.header-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--biomed-ink); padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.header-action:hover { background: var(--biomed-bg); color: var(--biomed-primary); }
.header-action .biomed-icon { width: 24px; height: 24px; }
.cart-count {
	position: absolute; top: 2px; right: 4px; min-width: 20px; height: 20px; padding: 0 5px;
	background: var(--biomed-secondary); color: #fff; border-radius: 999px;
	font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.mobile-menu-toggle { display: none; border: 0; background: var(--biomed-bg); border-radius: 8px; padding: 10px; cursor: pointer; color: var(--biomed-ink); }
.mobile-menu-toggle .biomed-icon { width: 22px; height: 22px; display: block; }

/* ---------- Main nav ---------- */
.main-nav { background: var(--biomed-primary); }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: block; padding: 13px 20px; color: #fff; font-weight: 600; font-size: 15px; }
.primary-menu > li > a:hover, .primary-menu > li.current-menu-item > a { background: rgba(255,255,255,.14); color: #fff; }
.primary-menu .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 300;
	background: #fff; border-radius: 0 0 10px 10px; box-shadow: var(--biomed-shadow-lg);
	list-style: none; margin: 0; padding: 8px;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 10px 14px; color: var(--biomed-ink); border-radius: 6px; font-size: 14px; }
.primary-menu .sub-menu a:hover { background: var(--biomed-bg); color: var(--biomed-primary); }

/* ---------- Page head / breadcrumbs ---------- */
.page-head { padding: 34px 20px 8px; }
.page-title { font-size: 32px; margin-bottom: 6px; }
.biomed-breadcrumbs { font-size: 14px; color: var(--biomed-muted); margin-bottom: 18px; }
.biomed-breadcrumbs a { color: var(--biomed-primary); }
.biomed-breadcrumbs .sep { margin: 0 6px; }
.biomed-breadcrumbs .current { color: var(--biomed-ink); font-weight: 600; }

/* ---------- Layout ---------- */
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding-top: 10px; padding-bottom: 60px; align-items: start; }
.site-main { min-height: 40vh; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--biomed-ink); }
.hero-slides { position: relative; }
.hero-slide {
	display: none; min-height: 440px; position: relative;
	background: linear-gradient(120deg, var(--biomed-primary-dark), var(--biomed-primary) 55%, var(--biomed-secondary));
	background-size: cover; background-position: center;
}
.hero-slide.is-active { display: block; animation: heroFade .6s ease; }
@keyframes heroFade { from { opacity: .4; } to { opacity: 1; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,42,67,.82) 0%, rgba(3,42,67,.45) 55%, rgba(3,42,67,.1) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 84px; max-width: 640px; margin-left: 0; }
.hero-title { color: #fff; font-size: 46px; margin-bottom: 14px; letter-spacing: -.5px; }
.hero-text { color: #e0f2fe; font-size: 18px; margin-bottom: 26px; max-width: 520px; }
.hero-actions { margin: 0; }
.hero-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.16); color: #fff; font-size: 20px; backdrop-filter: blur(4px);
}
.hero-nav:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 22px; } .hero-next { right: 22px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; width: 30px; border-radius: 999px; }

/* ---------- Trust features strip ---------- */
.features-strip { background: #fff; border-bottom: 1px solid var(--biomed-line); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
	width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
	background: #f0f9ff; color: var(--biomed-primary);
	display: flex; align-items: center; justify-content: center;
}
.feature-icon .biomed-icon { width: 26px; height: 26px; }
.feature-text h3 { font-size: 16px; margin: 0 0 2px; }
.feature-text p { font-size: 13.5px; color: var(--biomed-muted); margin: 0; }

/* ---------- Section scaffolding ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head-center { justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
.section-title { font-size: 30px; margin: 0; position: relative; padding-bottom: 10px; }
.section-head:not(.section-head-center) .section-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px;
	border-radius: 4px; background: linear-gradient(90deg, var(--biomed-primary), var(--biomed-secondary));
}
.section-head-center .section-title::after {
	content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 4px;
	border-radius: 4px; background: linear-gradient(90deg, var(--biomed-primary), var(--biomed-secondary));
}
.section-sub { color: var(--biomed-muted); margin: 0; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }

/* ---------- Categories grid ---------- */
.categories-section { background: var(--biomed-bg); }
.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card {
	background: var(--biomed-card); border-radius: var(--biomed-radius); padding: 26px 14px;
	text-align: center; box-shadow: var(--biomed-shadow); border: 1px solid var(--biomed-line);
	transition: transform .2s ease, box-shadow .2s ease; display: block;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--biomed-shadow-lg); }
.category-media { display: flex; justify-content: center; margin-bottom: 12px; }
.category-media img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; }
.category-icon {
	width: 84px; height: 84px; border-radius: 50%;
	background: linear-gradient(135deg, #f0f9ff, #ecfdf5); color: var(--biomed-primary);
	display: flex; align-items: center; justify-content: center;
}
.category-icon .biomed-icon { width: 38px; height: 38px; }
.category-name { display: block; font-weight: 700; color: var(--biomed-ink); font-size: 15px; margin-bottom: 2px; }
.category-count { font-size: 12.5px; color: var(--biomed-muted); }

/* ---------- WooCommerce product cards ---------- */
.biomed-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; }
.woocommerce ul.products li.product, .biomed-products li.product {
	background: var(--biomed-card); border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius);
	overflow: hidden; display: flex; flex-direction: column; position: relative;
	transition: transform .2s ease, box-shadow .2s ease; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--biomed-shadow-lg); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img {
	margin: 0 !important; aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
	background: var(--biomed-bg);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15.5px; font-weight: 600; color: var(--biomed-ink); padding: 14px 16px 4px; margin: 0; line-height: 1.4;
}
.woocommerce ul.products li.product .star-rating { margin: 6px 16px 0; font-size: 13px; color: #f59e0b; }
.woocommerce ul.products li.product .price {
	padding: 6px 16px 4px; font-size: 17px; font-weight: 800; color: var(--biomed-primary-dark); margin: 0;
}
.woocommerce ul.products li.product .price del { color: var(--biomed-muted); font-weight: 400; font-size: 13.5px; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.biomed-outofstock { padding: 0 16px; color: #dc2626; font-size: 13px; font-weight: 600; margin: 2px 0 0; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart {
	margin: 12px 16px 16px !important; text-align: center; border-radius: 8px !important;
	background: var(--biomed-primary) !important; color: #fff !important; font-weight: 600 !important;
	padding: 11px 16px !important; font-size: 14.5px !important; margin-top: auto;
}
.woocommerce ul.products li.product .button:hover { background: var(--biomed-primary-dark) !important; color: #fff !important; }
.woocommerce span.onsale.biomed-sale-badge, .woocommerce ul.products li.product .onsale {
	position: absolute; top: 12px; left: 12px; right: auto; margin: 0;
	background: #dc2626; color: #fff; font-size: 13px; font-weight: 700;
	padding: 5px 12px; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1.5; z-index: 2;
}

/* ---------- Deal of the day ---------- */
.deal-section { background: linear-gradient(120deg, #0c4a6e, var(--biomed-primary-dark) 60%, #0f766e); }
.deal-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.deal-label {
	display: inline-block; background: rgba(255,255,255,.16); color: #fff; font-weight: 700;
	font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 14px;
}
.deal-product-name { font-size: 34px; margin: 0 0 10px; }
.deal-product-name a { color: #fff; }
.deal-text { color: #e0f2fe; margin-bottom: 14px; }
.deal-price { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.deal-price .price, .deal-price .woocommerce-Price-amount { font-size: 30px; font-weight: 800; color: #fff; }
.deal-price del .woocommerce-Price-amount { font-size: 19px; color: #bae6fd; font-weight: 400; }
.deal-price ins { text-decoration: none; }
.deal-save { background: #fbbf24; color: #78350f; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.deal-countdown { display: flex; gap: 10px; margin-bottom: 26px; }
.count-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 10px 0; min-width: 74px; text-align: center; backdrop-filter: blur(4px); }
.count-num { display: block; font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.count-label { font-size: 11.5px; color: #bae6fd; text-transform: uppercase; letter-spacing: 1px; }
.deal-actions { margin: 0; }
.deal-media img { border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); background: #fff; }

/* ---------- Brands ---------- */
.brands-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.brand-item {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: 10px;
	padding: 14px 26px; display: flex; align-items: center; filter: grayscale(1); opacity: .75;
	transition: all .2s ease;
}
.brand-item:hover { filter: none; opacity: 1; box-shadow: var(--biomed-shadow); }
.brand-item img { max-height: 44px; width: auto; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--biomed-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
	background: #fff; border-radius: var(--biomed-radius); padding: 28px; margin: 0;
	box-shadow: var(--biomed-shadow); border: 1px solid var(--biomed-line); display: flex; flex-direction: column;
}
.testimonial-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 12px; }
.testimonial-stars .biomed-icon { width: 17px; height: 17px; fill: currentColor; }
.testimonial-card blockquote { margin: 0 0 18px; flex: 1; }
.testimonial-card blockquote p { font-size: 15px; color: var(--biomed-body); margin: 0; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
	width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
	background: linear-gradient(135deg, var(--biomed-primary), var(--biomed-secondary));
	color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center;
}
.testimonial-who { display: flex; flex-direction: column; }
.testimonial-who strong { color: var(--biomed-ink); font-size: 15px; }
.testimonial-who span { font-size: 13px; color: var(--biomed-muted); }

/* ---------- Blog cards ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.posts-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-card { background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--biomed-shadow-lg); }
.post-card-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.entry-meta { font-size: 13px; color: var(--biomed-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.entry-meta a { color: var(--biomed-muted); }
.post-card-title { font-size: 18px; margin: 0 0 8px; }
.post-card-title a { color: var(--biomed-ink); }
.post-card-title a:hover { color: var(--biomed-primary); }
.post-card-excerpt { font-size: 14.5px; color: var(--biomed-muted); flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; margin-top: 10px; }

/* ---------- CTA banner ---------- */
.cta-section { background: var(--biomed-bg); padding: 0; }
.cta-inner {
	background: linear-gradient(120deg, var(--biomed-primary), var(--biomed-secondary));
	border-radius: 20px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
	box-shadow: var(--biomed-shadow-lg);
}
.cta-text h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.cta-text p { color: #e0f2fe; margin: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Shop layout (WooCommerce) ---------- */
.biomed-shop-wrap { padding: 26px 0 70px; }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.shop-content { min-width: 0; }
.woocommerce .woocommerce-result-count { color: var(--biomed-muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select {
	border: 2px solid var(--biomed-line); border-radius: 8px; padding: 9px 12px; font-size: 14px; color: var(--biomed-ink); background: #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 {
	border: 1px solid var(--biomed-line); border-radius: 8px; padding: 9px 15px; color: var(--biomed-ink); font-weight: 600; background: #fff;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--biomed-primary); border-color: var(--biomed-primary); color: #fff;
}
.woocommerce .woocommerce-breadcrumb { color: var(--biomed-muted); font-size: 14px; margin-bottom: 16px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--biomed-primary); }

/* Single product */
.woocommerce div.product .product_title { font-size: 30px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--biomed-primary-dark); font-size: 26px; font-weight: 800; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { font-size: 18px; color: var(--biomed-muted); }
.woocommerce div.product form.cart .button {
	background: var(--biomed-primary); border-radius: 8px; padding: 14px 30px; font-size: 16px; font-weight: 700;
}
.woocommerce div.product form.cart .button:hover { background: var(--biomed-primary-dark); }
.woocommerce .quantity .qty { border: 2px solid var(--biomed-line); border-radius: 8px; padding: 10px; width: 70px; }
.biomed-whatsapp-order {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
	background: #25d366 !important; color: #fff !important; border-radius: 8px !important;
	padding: 13px 26px !important; font-weight: 700 !important; font-size: 15px !important;
}
.biomed-whatsapp-order:hover { background: #1eb856 !important; color: #fff !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--biomed-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--biomed-primary-dark); }

/* Cart / checkout */
.woocommerce table.shop_table { border: 1px solid var(--biomed-line); border-radius: 10px; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--biomed-bg); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--biomed-primary); color: #fff; border-radius: 8px; font-weight: 600; padding: 12px 24px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--biomed-primary-dark); color: #fff;
}
.woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--biomed-secondary);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #d63a55; color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 2px solid var(--biomed-line); border-radius: 8px; padding: 11px 14px;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
	border-color: var(--biomed-primary); outline: none;
}
.woocommerce-info, .woocommerce-message { border-top-color: var(--biomed-primary); background: #f0f9ff; border-radius: 8px; }
.woocommerce-error { border-top-color: #dc2626; border-radius: 8px; }

/* ---------- Widgets / sidebar ---------- */
.sidebar .widget, .shop-sidebar .widget {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius);
	padding: 22px; margin-bottom: 22px; box-shadow: var(--biomed-shadow);
}
.widget-title { font-size: 17px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--biomed-bg); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--biomed-primary); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--biomed-line); font-size: 14.5px; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--biomed-body); }
.widget ul li a:hover { color: var(--biomed-primary); }
.widget_search .search-form { border-width: 1px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.footer-newsletter { background: var(--biomed-ink); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.newsletter-text h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.newsletter-text p { color: #94a3b8; margin: 0; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 0; max-width: 440px; width: 100%; }
.newsletter-form input[type="email"] {
	flex: 1; border: 0; border-radius: 10px 0 0 10px; padding: 13px 18px; font-size: 15px; outline: none; min-width: 0;
}
.newsletter-form .btn { border-radius: 0 10px 10px 0; }
.footer-main { background: #0b1526; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 44px; }
.footer-brand { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 20px; }
.footer-about p { font-size: 14.5px; }
.footer-contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; }
.footer-contact-list .biomed-icon { color: var(--biomed-secondary); margin-top: 3px; }
.footer-contact-list a { color: #94a3b8; }
.footer-contact-list a:hover { color: #fff; }
.footer-main .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.1); font-size: 16px; }
.footer-main .widget ul li { border-bottom-color: rgba(255,255,255,.08); }
.footer-main .widget ul li a { color: #94a3b8; }
.footer-main .widget ul li a:hover { color: #fff; }
.footer-bottom { background: #070d1a; color: #64748b; font-size: 13.5px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.footer-menu a { color: #64748b; }
.footer-menu a:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
	position: fixed; bottom: 24px; right: 24px; z-index: 500;
	width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float .biomed-icon { width: 30px; height: 30px; fill: currentColor; }
.back-to-top {
	position: fixed; bottom: 94px; right: 30px; z-index: 500;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--biomed-primary); color: #fff; display: none;
	align-items: center; justify-content: center; box-shadow: var(--biomed-shadow-lg);
}
.back-to-top.show { display: flex; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Blog entry / comments / pagination ---------- */
.entry-single .entry-thumbnail { margin-bottom: 26px; }
.entry-single .entry-thumbnail img { border-radius: var(--biomed-radius); }
.entry-content { font-size: 16.5px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote { border-left: 4px solid var(--biomed-primary); margin: 1.5em 0; padding: .6em 1.2em; background: var(--biomed-bg); border-radius: 0 8px 8px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--biomed-line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--biomed-bg); }

.biomed-pagination, .pagination { margin: 10px 0 40px; text-align: center; }
.biomed-pagination .page-numbers, .pagination .page-numbers {
	display: inline-block; border: 1px solid var(--biomed-line); border-radius: 8px;
	padding: 9px 15px; margin: 0 3px; color: var(--biomed-ink); font-weight: 600; background: #fff;
}
.biomed-pagination .page-numbers.current, .biomed-pagination a.page-numbers:hover { background: var(--biomed-primary); border-color: var(--biomed-primary); color: #fff; }

.comments-area { margin: 40px 0; background: var(--biomed-bg); border-radius: var(--biomed-radius); padding: 32px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .comment { background: #fff; border: 1px solid var(--biomed-line); border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 12.5px; color: var(--biomed-muted); margin-bottom: 8px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 2px solid var(--biomed-line); border-radius: 8px; padding: 11px 14px; font-size: 15px; font-family: inherit;
}
.comment-form input[type="submit"] {
	background: var(--biomed-primary); color: #fff; border: 0; border-radius: 8px; padding: 12px 28px; font-weight: 700; cursor: pointer; font-size: 15px;
}
.comment-form input[type="submit"]:hover { background: var(--biomed-primary-dark); }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 .page-title { font-size: 96px; color: var(--biomed-primary); margin: 0; line-height: 1; }
.error-404 h2 { font-size: 26px; }
.error-404 .search-form { max-width: 440px; margin: 24px auto; }
.error-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.categories-grid { grid-template-columns: repeat(3, 1fr); }
	.biomed-products { grid-template-columns: repeat(3, 1fr); }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonials-grid { grid-template-columns: 1fr 1fr; }
	.posts-grid, .posts-grid-3 { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.deal-inner { grid-template-columns: 1fr; }
	.deal-media { max-width: 420px; }
	.cta-inner { flex-direction: column; text-align: center; padding: 38px 28px; }
	.shop-layout { grid-template-columns: 240px 1fr; }
}

@media (max-width: 768px) {
	.topbar-contact span { display: none; }
	.header-inner { flex-wrap: wrap; gap: 14px; }
	.mobile-menu-toggle { display: block; order: -1; }
	.site-branding { order: 0; }
	.header-actions { order: 1; margin-left: auto; }
	.header-search { order: 2; flex-basis: 100%; max-width: none; }
	.action-label { display: none; }
	.main-nav { display: none; }
	.main-nav.open { display: block; }
	.primary-menu { flex-direction: column; }
	.primary-menu .sub-menu { position: static; box-shadow: none; border-radius: 0; background: rgba(255,255,255,.08); }
	.primary-menu .sub-menu a { color: #fff; }
	.hero-slide { min-height: 380px; }
	.hero-title { font-size: 32px; }
	.hero-content { padding-top: 56px; padding-bottom: 64px; }
	.hero-nav { display: none; }
	.section { padding: 44px 0; }
	.section-title { font-size: 24px; }
	.categories-grid { grid-template-columns: repeat(2, 1fr); }
	.biomed-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.testimonials-grid { grid-template-columns: 1fr; }
	.posts-grid, .posts-grid-3 { grid-template-columns: 1fr; }
	.content-sidebar { grid-template-columns: 1fr; }
	.shop-layout { grid-template-columns: 1fr; }
	.shop-sidebar { order: 2; }
	.newsletter-inner { flex-direction: column; text-align: center; }
	.newsletter-form { max-width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.footer-bottom-inner { justify-content: center; text-align: center; }
	.deal-countdown { flex-wrap: wrap; }
	.page-title { font-size: 26px; }
	.whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ---------- Elementor compatibility ---------- */
/* Jab page Elementor se bana ho to theme ka container padding interfere na kare. */
.front-page-content .entry-content,
.elementor-page .entry-content { max-width: none; }
.biomed-blank-canvas { background: #fff; }
.biomed-blank-canvas .entry-content { font-size: 16px; }
/* Elementor editor mein theme ki product-card grid fix rahe. */
.elementor-widget-wc-archive-products .biomed-products { display: grid; }

/* ============================================================
   BioMedilogic — Animations, decorative backgrounds & responsive
   ============================================================ */

/* ---------- Fluid typography (auto-scales on every screen) ---------- */
.hero-title { font-size: clamp(30px, 5vw, 46px); }
.section-title { font-size: clamp(22px, 3.2vw, 30px); }
.page-title { font-size: clamp(24px, 3.6vw, 32px); }
.deal-product-name { font-size: clamp(24px, 3.4vw, 34px); }
.cta-text h2 { font-size: clamp(21px, 3vw, 28px); }

/* ---------- Scroll-reveal animations (JS adds .reveal) ---------- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
	will-change: opacity, transform;
}
.reveal.reveal-zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero: animated gradient blobs + text entrance ---------- */
.hero-slide { overflow: hidden; }
.hero-slide::before, .hero-slide::after {
	content: ""; position: absolute; z-index: 1; border-radius: 50%;
	pointer-events: none;
}
.hero-slide::before {
	width: 560px; height: 560px; top: -180px; right: -140px;
	background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
	animation: heroDrift 11s ease-in-out infinite alternate;
}
.hero-slide::after {
	width: 420px; height: 420px; bottom: -160px; left: -120px;
	background: radial-gradient(circle, rgba(45,212,191,.28), transparent 68%);
	animation: heroDrift 14s ease-in-out infinite alternate-reverse;
}
@keyframes heroDrift {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(-70px, 50px) scale(1.18); }
}
.hero-slide .hero-title, .hero-slide .hero-text, .hero-slide .hero-actions { opacity: 0; }
.hero-slide.is-active .hero-title  { animation: heroTextUp .8s .10s cubic-bezier(.16,1,.3,1) both; }
.hero-slide.is-active .hero-text   { animation: heroTextUp .8s .25s cubic-bezier(.16,1,.3,1) both; }
.hero-slide.is-active .hero-actions{ animation: heroTextUp .8s .40s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroTextUp {
	from { opacity: 0; transform: translateY(34px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Decorative section backgrounds ---------- */
.categories-section {
	background-color: #f6fafd;
	background-image: radial-gradient(#dbe7f3 1.3px, transparent 1.3px);
	background-size: 26px 26px;
}
.testimonials-section {
	background: linear-gradient(180deg, #f6fafd 0%, #eef6fb 50%, #f6fafd 100%);
}
.home-blog-section {
	background-color: #ffffff;
	background-image: radial-gradient(#eef2f7 1.2px, transparent 1.2px);
	background-size: 24px 24px;
}
.deal-section {
	background: linear-gradient(120deg, #0c4a6e, var(--biomed-primary-dark) 35%, #0f766e 70%, #0c4a6e);
	background-size: 240% 240%;
	animation: gradientShift 16s ease infinite;
}
.cta-inner {
	background: linear-gradient(120deg, var(--biomed-primary), var(--biomed-secondary), var(--biomed-primary));
	background-size: 220% 220%;
	animation: gradientShift 14s ease infinite;
}
@keyframes gradientShift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
.footer-newsletter {
	background-color: var(--biomed-ink);
	background-image: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px);
	background-size: 22px 22px;
}

/* ---------- Button shine sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
	content: ""; position: absolute; top: 0; left: -90%; width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
	transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.btn:hover::after { left: 140%; }

/* ---------- Card hover polish ---------- */
.category-card:hover { border-color: var(--biomed-primary); box-shadow: 0 14px 34px rgba(2,132,199,.18); }
.category-card:hover .category-icon { transform: scale(1.08) rotate(-4deg); }
.category-icon { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.woocommerce ul.products li.product a img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.08); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-media { overflow: hidden; }
.post-card-media img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.testimonial-card { transition: transform .25s ease, box-shadow .25s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--biomed-shadow-lg); }
.feature-item { transition: transform .25s ease; }
.feature-item:hover { transform: translateY(-4px); }

/* ---------- Animated dropdown menu ---------- */
.primary-menu .sub-menu {
	display: block; opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: opacity .28s ease, transform .28s cubic-bezier(.16,1,.3,1), visibility .28s;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}

/* ---------- Pulsing WhatsApp button ---------- */
.whatsapp-float::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
	background: #25d366; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
	0%   { transform: scale(1); opacity: .55; }
	100% { transform: scale(1.65); opacity: 0; }
}

/* ---------- Back-to-top pop ---------- */
.back-to-top.show { animation: popIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes popIn {
	from { transform: scale(.5); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

/* ---------- Mobile menu slide-down ---------- */
.main-nav.open { animation: navSlide .32s cubic-bezier(.16,1,.3,1); }
@keyframes navSlide {
	from { opacity: 0; transform: translateY(-14px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Countdown flip feel ---------- */
.count-num { transition: transform .2s ease; }

/* ---------- Respect reduced-motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.hero-slide::before, .hero-slide::after,
	.deal-section, .cta-inner, .whatsapp-float::before { animation: none !important; }
	.hero-slide .hero-title, .hero-slide .hero-text, .hero-slide .hero-actions { opacity: 1 !important; animation: none !important; }
	.btn::after { display: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Extra responsive polish (small phones) ---------- */
@media (max-width: 480px) {
	.features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.feature-text h3 { font-size: 14px; }
	.feature-text p { font-size: 12px; }
	.biomed-products { gap: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px; padding: 10px 10px 2px; }
	.woocommerce ul.products li.product .price { font-size: 15px; padding: 4px 10px 2px; }
	.woocommerce ul.products li.product .button { margin: 10px 10px 12px !important; padding: 9px 10px !important; font-size: 13px !important; }
	.deal-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
	.newsletter-form { flex-direction: column; gap: 10px; }
	.newsletter-form input[type="email"] { border-radius: 10px; }
	.newsletter-form .btn { border-radius: 10px; justify-content: center; }
	.count-box { min-width: 64px; }
	.count-num { font-size: 22px; }
	.hero-content { padding-top: 44px; padding-bottom: 56px; }
	.topbar-text { display: none; }
	.topbar-inner { justify-content: center; }
	.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
	.footer-grid { gap: 22px; }
}

/* ============================================================
   Page templates — About, Services, FAQ, Contact
   ============================================================ */

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden; padding: 64px 0;
	background: linear-gradient(120deg, var(--biomed-primary-dark), var(--biomed-primary) 55%, var(--biomed-secondary));
	background-size: 220% 220%; animation: gradientShift 16s ease infinite;
}
.page-hero::before, .page-hero::after {
	content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.page-hero::before {
	width: 420px; height: 420px; top: -160px; right: -100px;
	background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
	animation: heroDrift 11s ease-in-out infinite alternate;
}
.page-hero::after {
	width: 300px; height: 300px; bottom: -140px; left: -80px;
	background: radial-gradient(circle, rgba(45,212,191,.25), transparent 68%);
	animation: heroDrift 14s ease-in-out infinite alternate-reverse;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-title { color: #fff; font-size: clamp(28px, 4.4vw, 42px); margin: 0 0 8px; animation: heroTextUp .7s .05s cubic-bezier(.16,1,.3,1) both; }
.page-hero-sub { color: #e0f2fe; font-size: 17px; margin: 0 0 12px; animation: heroTextUp .7s .18s cubic-bezier(.16,1,.3,1) both; }
.page-hero .biomed-breadcrumbs { margin: 0; color: #bae6fd; animation: heroTextUp .7s .3s cubic-bezier(.16,1,.3,1) both; }
.page-hero .biomed-breadcrumbs a { color: #fff; }
.page-hero .biomed-breadcrumbs .current { color: #e0f2fe; }

/* ---------- About ---------- */
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-story-media img { border-radius: 20px; box-shadow: var(--biomed-shadow-lg); }
.about-placeholder {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3;
	border-radius: 20px; background: linear-gradient(135deg, #f0f9ff, #ecfdf5); color: var(--biomed-primary);
}
.about-placeholder .biomed-icon { width: 90px; height: 90px; }
.kicker {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--biomed-secondary); margin-bottom: 8px;
}
.about-story-text h2 { font-size: clamp(24px, 3.4vw, 34px); }
.about-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--biomed-ink); font-size: 15.5px; }
.about-points .biomed-icon { color: var(--biomed-secondary); width: 22px; height: 22px; }

/* Stats band */
.stats-band {
	background: linear-gradient(120deg, #0c4a6e, var(--biomed-primary-dark) 50%, #0f766e);
	background-size: 220% 220%; animation: gradientShift 16s ease infinite;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.stat-item { text-align: center; color: #fff; }
.stat-num, .stat-plus { font-size: clamp(30px, 4vw, 44px); font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-plus { color: #5eead4; }
.stat-label { display: block; color: #bae6fd; font-size: 14.5px; margin-top: 4px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius);
	padding: 32px 28px; box-shadow: var(--biomed-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	position: relative; overflow: hidden;
}
.service-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--biomed-primary), var(--biomed-secondary));
	transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--biomed-shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
	width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #f0f9ff, #ecfdf5); color: var(--biomed-primary); margin-bottom: 16px;
	transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-6deg); }
.service-icon .biomed-icon { width: 30px; height: 30px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--biomed-muted); margin: 0; }

.process-section { background: var(--biomed-bg); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-steps li {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius);
	padding: 28px 22px; text-align: center; position: relative;
}
.step-num {
	width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px;
	background: linear-gradient(135deg, var(--biomed-primary), var(--biomed-secondary));
	color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--biomed-shadow);
}
.process-steps h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-steps p { font-size: 14px; color: var(--biomed-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; margin-bottom: 36px; }
.faq-item {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: 12px; overflow: hidden;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item.is-open { border-color: var(--biomed-primary); box-shadow: var(--biomed-shadow); }
.faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: 0; padding: 18px 22px; cursor: pointer; text-align: left;
	font-size: 16px; font-weight: 700; color: var(--biomed-ink); font-family: inherit;
}
.faq-toggle { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--biomed-bg); transition: background .25s ease, transform .3s ease; }
.faq-toggle::before, .faq-toggle::after {
	content: ""; position: absolute; top: 50%; left: 50%; background: var(--biomed-primary); border-radius: 2px;
	transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 14px; height: 2.5px; }
.faq-toggle::after { width: 2.5px; height: 14px; transition: transform .3s ease; }
.faq-item.is-open .faq-toggle { background: var(--biomed-primary); transform: rotate(135deg); }
.faq-item.is-open .faq-toggle::before, .faq-item.is-open .faq-toggle::after { background: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1); }
.faq-answer p { padding: 0 22px 20px; margin: 0; color: var(--biomed-body); font-size: 15px; }
.faq-more { text-align: center; background: var(--biomed-bg); border-radius: var(--biomed-radius); padding: 30px; }
.faq-more p { font-size: 17px; font-weight: 600; color: var(--biomed-ink); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 44px; }
.contact-card {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius);
	padding: 26px 20px; text-align: center; box-shadow: var(--biomed-shadow);
	transition: transform .25s ease, box-shadow .25s ease; display: block;
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--biomed-shadow-lg); }
.contact-icon {
	width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px;
	background: linear-gradient(135deg, #f0f9ff, #ecfdf5); color: var(--biomed-primary);
	display: flex; align-items: center; justify-content: center;
}
.contact-icon.wa { background: #dcfce7; color: #16a34a; }
.contact-icon .biomed-icon { width: 28px; height: 28px; }
.contact-icon.wa .biomed-icon { fill: currentColor; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; color: var(--biomed-muted); margin: 0; word-break: break-word; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--biomed-line); border-radius: var(--biomed-radius); padding: 34px; box-shadow: var(--biomed-shadow); }
.contact-form-wrap h2 { font-size: 24px; margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--biomed-ink); }
.form-field input, .form-field textarea {
	width: 100%; border: 2px solid var(--biomed-line); border-radius: 8px; padding: 12px 14px;
	font-size: 15px; font-family: inherit; color: var(--biomed-ink); background: #fff; transition: border-color .2s ease;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--biomed-primary); outline: none; box-shadow: 0 0 0 3px rgba(2,132,199,.12); }
.form-submit { margin: 6px 0 0; }
.form-success {
	display: flex; gap: 14px; align-items: flex-start; background: #ecfdf5; border: 1px solid #6ee7b7;
	border-radius: 10px; padding: 20px; color: #065f46;
}
.form-success .biomed-icon { width: 28px; height: 28px; flex-shrink: 0; }
.form-success p { margin: 0; font-weight: 600; }

.contact-side { display: grid; gap: 20px; }
.hours-box { background: var(--biomed-ink); color: #e2e8f0; border-radius: var(--biomed-radius); padding: 26px; }
.hours-box h3 { color: #fff; font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hours-box h3 .biomed-icon { color: #5eead4; }
.hours-box p { margin: 0; font-size: 15.5px; }
.map-wrap { border-radius: var(--biomed-radius); overflow: hidden; border: 1px solid var(--biomed-line); box-shadow: var(--biomed-shadow); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Page templates responsive ---------- */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: 1fr 1fr; }
	.process-steps { grid-template-columns: 1fr 1fr; }
	.contact-cards { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.about-story-grid { grid-template-columns: 1fr; gap: 28px; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.page-hero { padding: 44px 0; }
}
@media (max-width: 480px) {
	.services-grid { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: 1fr; }
	.form-row-2 { grid-template-columns: 1fr; }
	.contact-form-wrap { padding: 24px 20px; }
}

/* ============================================================
   Product Landing page template
   ============================================================ */

/* ---------- Landing hero ---------- */
.landing-hero {
	position: relative; overflow: hidden; padding: 72px 0;
	background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 45%, #ecfdf5 100%);
}
.landing-hero::before, .landing-hero::after {
	content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.landing-hero::before {
	width: 480px; height: 480px; top: -160px; right: -120px;
	background: radial-gradient(circle, rgba(2,132,199,.12), transparent 68%);
	animation: heroDrift 12s ease-in-out infinite alternate;
}
.landing-hero::after {
	width: 380px; height: 380px; bottom: -140px; left: -100px;
	background: radial-gradient(circle, rgba(13,148,136,.14), transparent 68%);
	animation: heroDrift 15s ease-in-out infinite alternate-reverse;
}
.landing-hero-grid {
	position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
	gap: 52px; align-items: center;
}
.landing-kicker {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--biomed-primary-dark); background: rgba(2,132,199,.1); border: 1px solid rgba(2,132,199,.25);
	padding: 8px 18px; border-radius: 999px; margin-bottom: 18px;
}
.landing-title { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.5px; margin-bottom: 20px; }
.landing-checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.landing-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; font-weight: 500; color: var(--biomed-ink); }
.landing-checklist .biomed-icon {
	width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px;
	background: #dcfce7; color: #16a34a; border-radius: 50%; padding: 5px;
}
.landing-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.landing-login { font-size: 14.5px; color: var(--biomed-muted); margin: 0; }
.landing-login a { font-weight: 700; }
.landing-hero-media img { border-radius: 22px; box-shadow: var(--biomed-shadow-lg); }
.landing-placeholder {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3.4;
	border-radius: 22px; background: linear-gradient(135deg, #e0f2fe, #ccfbf1); color: var(--biomed-primary);
	box-shadow: var(--biomed-shadow-lg);
}
.landing-placeholder .biomed-icon { width: 100px; height: 100px; }

/* ---------- Landing feature cards ---------- */
.landing-features { padding-top: 20px; }
.landing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.landing-card {
	background: #fff; border: 1px solid var(--biomed-line); border-radius: 16px; padding: 30px 24px;
	box-shadow: var(--biomed-shadow); transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
	position: relative; overflow: hidden;
}
.landing-card::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: linear-gradient(90deg, var(--biomed-primary), var(--biomed-secondary));
	transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.landing-card:hover { transform: translateY(-8px); box-shadow: var(--biomed-shadow-lg); }
.landing-card:hover::after { transform: scaleX(1); }
.landing-card-icon {
	width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--biomed-primary), var(--biomed-secondary)); color: #fff; margin-bottom: 18px;
	box-shadow: 0 8px 20px rgba(2,132,199,.25); transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.landing-card:hover .landing-card-icon { transform: scale(1.1) rotate(-6deg); }
.landing-card-icon .biomed-icon { width: 30px; height: 30px; }
.landing-card h3 { font-size: 18px; margin-bottom: 8px; }
.landing-card p { font-size: 14.5px; color: var(--biomed-muted); margin: 0; }

/* ---------- Landing support ---------- */
.landing-support { background: var(--biomed-bg); }
.landing-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.landing-support-item { text-align: center; padding: 10px; }
.landing-support-icon {
	width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
	background: #fff; border: 1px solid var(--biomed-line); color: var(--biomed-primary);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--biomed-shadow);
	transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.landing-support-item:hover .landing-support-icon { transform: translateY(-6px) scale(1.05); }
.landing-support-icon .biomed-icon { width: 34px; height: 34px; }
.landing-support-item h3 { font-size: 19px; margin-bottom: 8px; }
.landing-support-item p { font-size: 15px; color: var(--biomed-muted); margin: 0; max-width: 340px; margin-left: auto; margin-right: auto; }

/* ---------- Landing form ---------- */
.landing-form-section { background: linear-gradient(180deg, #ffffff, #f6fafd); }

/* ---------- Landing responsive ---------- */
@media (max-width: 1024px) {
	.landing-cards { grid-template-columns: 1fr 1fr; }
	.landing-support-grid { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
	.landing-hero { padding: 48px 0; }
	.landing-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.landing-hero-media { max-width: 520px; }
}
@media (max-width: 480px) {
	.landing-cards { grid-template-columns: 1fr; }
	.landing-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Magnolia Edition — design tokens (v3.0.0 palette)
   Teal + deep navy + pink accents, pill buttons
   ============================================================ */

:root {
	--biomed-primary: #35c7df;
	--biomed-primary-dark: #2ab3c8;
	--biomed-secondary: #f55a74;
	--biomed-ink: #0f2a51;
	--biomed-coral: #ff6b5a;
}

/* ---------- Pill buttons everywhere ---------- */
.btn { border-radius: 999px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce div.product form.cart .button,
.biomed-whatsapp-order, .comment-form input[type="submit"] { border-radius: 999px !important; }

/* ---------- Navy footer ---------- */
.footer-main { background: #14407a; }
.footer-bottom { background: #0d2c55; }

/* ---------- Landing hero: photo + white scrim, navy headline ---------- */
.landing-hero { background: #ffffff; padding: 90px 0; }
.landing-hero::before, .landing-hero::after { display: none; }
.landing-hero.has-photo { background-size: cover; background-position: center right; }
.landing-hero.has-photo::before {
	display: block; width: auto; height: auto; inset: 0; border-radius: 0; animation: none;
	background: linear-gradient(90deg, #ffffff 15%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.35) 68%, transparent 88%);
}
.landing-hero-grid { grid-template-columns: minmax(0, 560px); }
.landing-kicker {
	background: none; border: 0; padding: 0; border-radius: 0;
	color: var(--biomed-secondary); font-size: 15px; letter-spacing: 2px;
}
.landing-title { color: var(--biomed-ink); }
.landing-checklist li { color: var(--biomed-ink); }
.landing-login a { color: var(--biomed-primary); }

/* ---------- Landing features: blue band, unboxed columns, orange icons ---------- */
.landing-features {
	background: linear-gradient(135deg, #35c7df 0%, #0f2a51 100%);
	padding: 72px 0;
}
.landing-card {
	background: transparent; border: 0; box-shadow: none; border-radius: 0;
	padding: 8px 10px;
}
.landing-card::after { display: none; }
.landing-card:hover { transform: none; box-shadow: none; }
.landing-card-icon {
	background: none; box-shadow: none; border-radius: 0;
	width: auto; height: auto; color: var(--biomed-secondary); margin-bottom: 16px;
}
.landing-card:hover .landing-card-icon { transform: none; }
.landing-card-icon .biomed-icon { width: 58px; height: 58px; stroke-width: 1.4; }
.landing-card h3 { color: #ffffff; font-size: 19px; }
.landing-card p { color: #dbeafe; }

/* ---------- Landing CTA: slim navy band ---------- */
.landing-cta-band { background: var(--biomed-primary-dark); text-align: center; }
.landing-cta-band .container { padding-top: 54px; padding-bottom: 54px; }
.landing-cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.landing-cta-band p { color: #dbeafe; font-size: 17px; margin-bottom: 24px; }

/* ---------- Landing form: photo bg + blue-to-amber overlay ---------- */
.landing-form-section {
	position: relative; overflow: hidden;
	background: url('../images/landing-form-bg.jpg') center / cover no-repeat;
}
.landing-form-section::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(18,59,112,.93) 0%, rgba(20,120,200,.78) 55%, rgba(245,130,32,.55) 100%);
}
.landing-form-section .container { position: relative; z-index: 2; }
.landing-form-section .section-title { color: #fff; }
.landing-form-section .section-title::after { background: var(--biomed-secondary); }
.landing-form-section .section-sub { color: #dbeafe; }
.landing-form-section .contact-form-wrap {
	background: transparent; border: 0; box-shadow: none; padding: 0;
}
.landing-form-section .form-field label {
	color: #fff; text-transform: uppercase; font-size: 12.5px; letter-spacing: 1.2px;
}
.landing-form-section .form-field input,
.landing-form-section .form-field textarea {
	background: #fff; border: 0; border-radius: 10px;
}
.landing-form-section .form-field input:focus,
.landing-form-section .form-field textarea:focus {
	box-shadow: 0 0 0 3px rgba(245,130,32,.45);
}
.landing-form-section .form-success { background: rgba(255,255,255,.95); }

/* ---------- Eyebrow labels in Magnolia orange ---------- */
.kicker { color: var(--biomed-secondary); }

/* ---------- Magnolia Edition responsive ---------- */
@media (max-width: 768px) {
	.landing-hero.has-photo { background-position: center; }
	.landing-hero.has-photo::before {
		background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 60%, rgba(255,255,255,.55) 100%);
	}
	.landing-hero { padding: 56px 0; }
}

/* ============================================================
   Magnolia homepage — coral band + polish (v1.5.0)
   ============================================================ */

/* Coral-tinted testimonials band (Magnolia rhythm) */
.testimonials-coral { background: linear-gradient(180deg, #fdf0e8 0%, #fbe3d3 100%); }
.testimonials-coral .testimonials-section { background: transparent; }

/* Homepage hero spacing rhythm */
.m-hero { padding: 100px 0; }
.m-usps { padding: 76px 0; }
.m-contact-band { padding: 84px 0; }

/* Reveal on new homepage parts */
.m-hero .landing-kicker, .m-hero .landing-title,
.m-hero .landing-checklist, .m-hero .landing-actions, .m-hero .landing-login {
	animation: heroTextUp .8s cubic-bezier(.16,1,.3,1) both;
}
.m-hero .landing-kicker { animation-delay: .05s; }
.m-hero .landing-title { animation-delay: .15s; }
.m-hero .landing-checklist { animation-delay: .28s; }
.m-hero .landing-actions { animation-delay: .4s; }
.m-hero .landing-login { animation-delay: .5s; }

@media (max-width: 768px) {
	.m-hero { padding: 60px 0; }
	.m-usps { padding: 56px 0; }
}

/* ---------- Left sidebar layout ---------- */
.content-sidebar-left { grid-template-columns: 300px 1fr; }
.content-sidebar-left .sidebar { order: -1; }

@media (max-width: 768px) {
	.content-sidebar-left { grid-template-columns: 1fr; }
	.content-sidebar-left .sidebar { order: 2; }
}

/* ============================================================
   Envo One feature set — v1.6.0
   Product tabs, promo banners, bestsellers, NEW badge,
   search category dropdown, hover wishlist/compare actions
   ============================================================ */

/* ---------- Product tabs ---------- */
.product-tabs-nav {
	display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
	list-style: none; margin: 0 0 34px; padding: 0;
}
.product-tab-btn {
	border: 2px solid #e2e8f0; background: #fff; color: #475569;
	font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .6px;
	padding: 10px 26px; border-radius: 999px; cursor: pointer;
	transition: all .25s ease;
}
.product-tab-btn:hover { border-color: var(--biomed-primary); color: var(--biomed-primary); }
.product-tab-btn.active {
	background: var(--biomed-primary); border-color: var(--biomed-primary); color: #fff;
	box-shadow: 0 8px 20px rgba(14,111,191,.3);
}
.product-tab-panel { display: none; }
.product-tab-panel.active { display: block; animation: fadeUp .45s ease both; }
.product-tabs .products.columns-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Promo banners ---------- */
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.promo-banner {
	position: relative; overflow: hidden; border-radius: 28px;
	min-height: 230px; display: flex; align-items: center;
	background: linear-gradient(120deg, #e0f2fe 0%, #bae6fd 100%);
	background-size: cover; background-position: center;
	padding: 38px;
	transition: transform .35s ease, box-shadow .35s ease;
}
.promo-banner:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(2,32,71,.14); }
.promo-banner-2 { background: linear-gradient(120deg, #0f2a51 0%, #35c7df 100%); }
.promo-banner-text { position: relative; z-index: 2; max-width: 70%; }
.promo-banner h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 8px; color: var(--biomed-ink); }
.promo-banner p { color: #475569; margin: 0 0 18px; font-size: 15.5px; }
.promo-banner-2 h3 { color: #fff; }
.promo-banner-2 p { color: #dbeafe; }

/* ---------- Bestsellers mini lists ---------- */
.bestsellers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.bestseller-title {
	font-size: 19px; margin: 0 0 18px; padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0; position: relative; text-transform: uppercase; letter-spacing: .5px;
}
.bestseller-title::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px;
	background: var(--biomed-secondary);
}
.bestseller-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bestseller-item { display: flex; gap: 14px; align-items: center; }
.bestseller-thumb {
	flex: 0 0 76px; width: 76px; height: 76px; border-radius: 14px; overflow: hidden;
	border: 1px solid #e2e8f0; background: #f8fafc; display: block;
}
.bestseller-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bestseller-item:hover .bestseller-thumb img { transform: scale(1.08); }
.bestseller-info { min-width: 0; }
.bestseller-name {
	display: block; font-weight: 600; color: var(--biomed-ink); font-size: 14.5px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bestseller-name:hover { color: var(--biomed-primary); }
.bestseller-stars .star-rating { font-size: 12px; }
.bestseller-price { font-weight: 700; color: var(--biomed-primary); font-size: 15px; }
.bestseller-price del { color: #94a3b8; font-weight: 400; margin-right: 6px; }
.bestseller-price ins { text-decoration: none; }

/* ---------- NEW badge ---------- */
.biomed-new-badge {
	background: var(--biomed-secondary); color: #fff;
	font-size: 12px; font-weight: 800; letter-spacing: 1px;
	padding: 6px 12px; border-radius: 999px;
}

/* ---------- Search category dropdown ---------- */
.search-cat-select {
	border: 0; background: transparent; font-size: 14px; color: #475569;
	padding: 0 8px 0 16px; max-width: 150px; cursor: pointer; outline: none;
	border-right: 1px solid #e2e8f0; margin-right: 4px;
}
.search-form { display: flex; align-items: center; }

/* ---------- Product card hover actions (wishlist / compare) ---------- */
.woocommerce ul.products li.product { position: relative; }
.loop-hover-actions {
	position: absolute; right: 12px; bottom: 12px; z-index: 5;
	display: flex; flex-direction: column; gap: 8px;
	opacity: 0; transform: translateX(10px);
	transition: opacity .3s ease, transform .3s ease;
}
.woocommerce ul.products li.product:hover .loop-hover-actions { opacity: 1; transform: none; }
.loop-action .yith-wcwl-add-button a, .loop-action .compare.button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: #fff; color: var(--biomed-ink);
	box-shadow: 0 6px 18px rgba(2,32,71,.16);
	border: 1px solid #e2e8f0; font-size: 0; text-decoration: none;
	transition: all .25s ease;
}
.loop-action .yith-wcwl-add-button a:hover, .loop-action .compare.button:hover {
	background: var(--biomed-primary); border-color: var(--biomed-primary); color: #fff;
}
.loop-action .yith-wcwl-add-button a i, .loop-action .compare.button::before { font-size: 16px; }

/* ---------- Header wishlist/compare ---------- */
.header-wishlist .wishlist-count { background: var(--biomed-secondary); }

/* ---------- Envo One set responsive ---------- */
@media (max-width: 1024px) {
	.product-tabs .products.columns-5 { grid-template-columns: repeat(3, 1fr); }
	.bestsellers-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.promo-banners { grid-template-columns: 1fr; }
	.product-tabs .products.columns-5 { grid-template-columns: repeat(2, 1fr); }
	.bestsellers-grid { grid-template-columns: 1fr; }
	.promo-banner { min-height: 200px; padding: 28px; }
	.search-cat-select { display: none; }
}

/* ============================================================
   Product page + shop upgrades — v2.0.0
   ============================================================ */

/* ---------- Product meta (brand / model / SKU) ---------- */
.bm-product-meta {
	display: flex; flex-wrap: wrap; gap: 8px 22px;
	margin: 12px 0 4px; font-size: 14.5px; color: #475569;
}
.bm-product-meta strong { color: var(--biomed-ink); font-weight: 700; }
.bm-copy-sku {
	border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 6px;
	font-size: 12px; padding: 2px 10px; cursor: pointer; color: var(--biomed-primary);
}
.bm-copy-sku:hover { background: var(--biomed-primary); color: #fff; border-color: var(--biomed-primary); }

/* ---------- Product action buttons ---------- */
.bm-buy-now, .bm-quote-btn, .bm-video-btn, .bm-brochure-btn { margin: 8px 8px 0 0; }
.bm-buy-now { background: var(--biomed-secondary) !important; border-color: var(--biomed-secondary) !important; color: #fff !important; }
.bm-quote-btn { background: #fff !important; border: 2px solid var(--biomed-primary) !important; color: var(--biomed-primary) !important; }
.bm-product-media { margin: 14px 0 4px; }
.bm-share { margin-top: 16px; font-size: 14px; color: #64748b; }
.bm-share a { color: var(--biomed-primary); margin: 0 6px; font-weight: 600; }
.bm-share a:hover { text-decoration: underline; }

/* ---------- Specs table ---------- */
.bm-specs-table { width: 100%; border-collapse: collapse; }
.bm-specs-table th, .bm-specs-table td {
	border: 1px solid #e2e8f0; padding: 10px 16px; text-align: left; font-size: 15px;
}
.bm-specs-table th { background: #f8fafc; width: 32%; color: var(--biomed-ink); }

/* ---------- Recently viewed / frequently bought ---------- */
.bm-recently-viewed, .bm-frequently-bought { padding: 40px 0 10px; }
.bm-recently-viewed .section-title, .bm-frequently-bought .section-title { text-align: center; margin-bottom: 26px; }

/* ---------- Shop toolbar: view toggle + filters ---------- */
.bm-view-toggle { display: inline-flex; gap: 6px; margin-right: 12px; }
.bm-view-btn {
	width: 38px; height: 38px; border: 2px solid #e2e8f0; background: #fff; border-radius: 10px;
	cursor: pointer; font-size: 16px; color: #64748b; line-height: 1;
}
.bm-view-btn.active { border-color: var(--biomed-primary); color: var(--biomed-primary); background: #eff6ff; }
.bm-shop-filters { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.bm-shop-filters select {
	border: 2px solid #e2e8f0; border-radius: 10px; padding: 8px 12px; font-size: 14px; background: #fff;
}

/* List view product cards */
body.bm-view-list ul.products { grid-template-columns: 1fr; }
body.bm-view-list ul.products li.product {
	display: grid; grid-template-columns: 220px 1fr; gap: 24px; text-align: left; align-items: center;
}
body.bm-view-list ul.products li.product .woocommerce-loop-product__title { font-size: 20px; }

/* ---------- Story timeline ---------- */
.story-timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.story-timeline::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
	background: linear-gradient(180deg, var(--biomed-primary), var(--biomed-secondary));
	transform: translateX(-50%); border-radius: 3px;
}
.story-item { position: relative; width: 50%; padding: 0 44px 44px 0; }
.story-item.story-right { margin-left: 50%; padding: 0 0 44px 44px; }
.story-dot {
	position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--biomed-secondary); border: 4px solid #fff;
	box-shadow: 0 0 0 3px var(--biomed-secondary);
}
.story-left .story-dot { right: -9px; }
.story-right .story-dot { left: -9px; }
.story-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(2,32,71,.08); border: 1px solid #eef2f7; }
.story-year { color: var(--biomed-secondary); font-weight: 800; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; }
.story-card h3 { margin: 6px 0 8px; }
.story-card p { margin: 0; color: #475569; }
.story-note { text-align: center; color: #94a3b8; font-size: 13.5px; margin-top: 10px; }

/* ---------- Brands page ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card {
	background: #fff; border: 1px solid #eef2f7; border-radius: 18px; padding: 30px 22px;
	text-align: center; display: block; transition: transform .3s ease, box-shadow .3s ease;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(2,32,71,.1); }
.brand-card img { max-height: 70px; width: auto; margin: 0 auto 14px; }
.brand-card h3 { font-size: 18px; margin: 0 0 6px; }
.brand-card p { font-size: 14px; color: #64748b; margin: 0 0 10px; }
.brand-count { font-size: 13px; color: var(--biomed-primary); font-weight: 600; }
.no-brands { text-align: center; color: #64748b; padding: 40px 0; }

/* ---------- Track order ---------- */
.track-order-wrap { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 12px 34px rgba(2,32,71,.08); }

/* ---------- v2.0 responsive ---------- */
@media (max-width: 768px) {
	.story-timeline::before { left: 9px; }
	.story-item, .story-item.story-right { width: 100%; margin: 0; padding: 0 0 34px 34px; }
	.story-left .story-dot, .story-right .story-dot { left: 0; right: auto; }
	.brands-grid { grid-template-columns: repeat(2, 1fr); }
	body.bm-view-list ul.products li.product { grid-template-columns: 140px 1fr; gap: 14px; }
	.bm-shop-filters { width: 100%; }
	.track-order-wrap { padding: 24px; }
}
