:root {
	--rml-white: #ffffff;
	--rml-page: #f7fbff;
	--rml-soft: #eef6ff;
	--rml-blue-soft: #dceeff;
	--rml-blue: #0877d1;
	--rml-blue-dark: #064e91;
	--rml-ink: #101820;
	--rml-muted: #52677a;
	--rml-border: #c9dff2;
	--rml-shadow: 0 12px 32px rgba(18, 74, 121, .09);
	--rml-radius: 14px;
	--rml-width: 1760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--rml-ink);
	background: var(--rml-white);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
a { color: var(--rml-blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rml-blue); }
p, li, label, legend, td, th, small, address { color: var(--rml-ink); }
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	color: var(--rml-ink);
	font-weight: 800;
	line-height: 1.2;
}

.rml-container { width: min(calc(100% - 32px), var(--rml-width)); margin-inline: auto; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; background: var(--rml-white); }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	top: 8px; left: 8px; z-index: 99999; width: auto; height: auto;
	clip: auto !important; padding: 12px 16px; margin: 0; background: #fff; color: #000;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--rml-white);
	border-bottom: 1px solid var(--rml-border);
	box-shadow: 0 4px 18px rgba(18, 74, 121, .05);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: auto; max-height: 58px; }
.brand-text { display: block; color: var(--rml-ink); text-decoration: none; line-height: 1; }
.brand-main { display: block; font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: -.04em; }
.brand-main span { color: #008bcf; }
.brand-text small { display: block; margin-top: 7px; color: var(--rml-muted); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.main-navigation { margin-left: auto; }
.primary-menu, .main-navigation ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: 13px 12px;
	color: var(--rml-ink);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--rml-blue); }
.main-navigation .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 20; display: none;
	min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--rml-border);
	border-radius: 10px; box-shadow: var(--rml-shadow);
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: block; }
.menu-toggle { display: none; }

/* Content */
.page-main, .archive-main, .content-layout, .error-404 { padding-top: 48px; padding-bottom: 64px; }
.front-page-main { width: 100%; overflow: clip; }
.front-page-main > .wp-block-group { width: 100%; }
.entry-title, .page-header h1 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.035em; }
.page-header { margin-bottom: 30px; }
.page-article, .content-card, .widget, .no-results {
	background: #fff;
	border: 1px solid var(--rml-border);
	border-radius: var(--rml-radius);
	box-shadow: var(--rml-shadow);
}
.page-article { padding: clamp(22px, 4vw, 52px); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
.rml-no-sidebar .content-layout { grid-template-columns: 1fr; }
.content-card { overflow: hidden; margin-bottom: 24px; }
.card-thumbnail { display: block; background: var(--rml-soft); }
.card-thumbnail img { display: block; width: 100%; }
.card-body { padding: 24px; }
.content-card .entry-title { margin-bottom: 10px; font-size: 25px; }
.content-card .entry-title a { color: var(--rml-ink); text-decoration: none; }
.content-card .entry-title a:hover { color: var(--rml-blue); }
.entry-meta { margin-bottom: 12px; color: var(--rml-muted); font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid .content-card { margin: 0; }
.widget-area { display: flex; flex-direction: column; gap: 20px; }
.widget { padding: 22px; }
.widget-title { font-size: 20px; }
.widget ul { margin: 0; padding-left: 20px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-numbers { padding: 8px 13px; color: var(--rml-ink); background: var(--rml-soft); border: 1px solid var(--rml-border); border-radius: 8px; text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--rml-blue); border-color: var(--rml-blue); }

/* Forms: deliberately excludes submit controls and buttons. */
input:not([type="submit"]):not([type="button"]):not([type="reset"]),
select, textarea {
	max-width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	color: var(--rml-ink);
	background: #fff;
	border: 1px solid #a9c8e2;
	border-radius: 8px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(8, 119, 209, .15); border-color: var(--rml-blue); }

/* WooCommerce. Button selectors are intentionally omitted. */
.rml-commerce { padding-top: 42px; padding-bottom: 64px; }
.woocommerce .woocommerce-breadcrumb { color: var(--rml-muted); }
.woocommerce .woocommerce-breadcrumb a { color: var(--rml-blue-dark); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 18px !important;
	background: #fff;
	border: 1px solid var(--rml-border);
	border-radius: var(--rml-radius);
	box-shadow: var(--rml-shadow);
}
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product img { border-radius: 9px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--rml-ink); font-size: 17px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rml-blue-dark); font-weight: 800; }
.woocommerce div.product { color: var(--rml-ink); }
.woocommerce div.product .product_title { color: var(--rml-ink); font-size: clamp(30px, 4vw, 48px); }
.woocommerce div.product div.images img { border-radius: var(--rml-radius); }
.woocommerce div.product .summary { padding: 22px; background: var(--rml-soft); border: 1px solid var(--rml-border); border-radius: var(--rml-radius); }
.woocommerce div.product .woocommerce-tabs { margin-top: 38px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 28px; background: #fff; border: 1px solid var(--rml-border); border-radius: var(--rml-radius); }
.woocommerce table.shop_table, .woocommerce form.checkout, .woocommerce-checkout-review-order, .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content {
	padding: 22px;
	color: var(--rml-ink);
	background: #fff;
	border: 1px solid var(--rml-border);
	border-radius: var(--rml-radius);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { color: var(--rml-ink); border-color: var(--rml-border); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; color: var(--rml-ink); text-decoration: none; border-bottom: 1px solid var(--rml-border); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { color: var(--rml-ink); background: var(--rml-soft); border-color: var(--rml-blue); }

/* Paid Memberships Pro */
.pmpro, .pmpro_content_message, .pmpro_card, .pmpro_section, .pmpro_form { color: var(--rml-ink); }
.pmpro .pmpro_card, .pmpro .pmpro_section, .pmpro .pmpro_form, .pmpro_content_message {
	color: var(--rml-ink);
	background: #fff;
	border: 1px solid var(--rml-border);
	border-radius: var(--rml-radius);
	box-shadow: var(--rml-shadow);
}
.pmpro .pmpro_card_title, .pmpro .pmpro_section_title, .pmpro .pmpro_card_actions {
	color: var(--rml-ink);
	background: var(--rml-soft);
	border-color: var(--rml-border);
}
.pmpro table, .pmpro th, .pmpro td { color: var(--rml-ink); background: #fff; border-color: var(--rml-border); }
.pmpro .pmpro_form_input { color: var(--rml-ink); background: #fff; border-color: #a9c8e2; }
.rml-access-card { overflow: hidden; color: var(--rml-ink); background: #fff; border: 1px solid var(--rml-border); border-radius: var(--rml-radius); box-shadow: var(--rml-shadow); }
.rml-access-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 28px; }
.rml-access-icon { display: grid; place-items: center; width: 58px; height: 58px; font-size: 26px; background: var(--rml-blue-soft); border-radius: 50%; }
.rml-access-copy h2 { margin-bottom: 10px; }
.rml-access-benefits { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-left: 20px; }
.rml-access-footer { padding: 16px 28px; color: var(--rml-ink); background: var(--rml-soft); border-top: 1px solid var(--rml-border); }
.rml-access-action { display: inline-flex; align-items: center; margin-top: 8px; padding: 11px 17px; color: #fff; background: var(--rml-blue); border-radius: 8px; font-weight: 800; text-decoration: none; }
.rml-access-action:hover { color: #fff; background: var(--rml-blue-dark); }
.rml-sales-count { margin: 12px 0; color: var(--rml-ink); font-weight: 700; }

/* Footer */
.site-footer { color: var(--rml-ink); background: var(--rml-blue-soft); border-top: 1px solid var(--rml-border); }
.footer-inner { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr auto; gap: 36px; padding-top: 44px; padding-bottom: 38px; }
.footer-brand p { margin-bottom: 0; color: var(--rml-muted); }
.footer-navigation ul { margin: 0; padding: 0; list-style: none; }
.footer-navigation a { color: var(--rml-ink); text-decoration: none; }
.site-info { padding: 15px 0; color: var(--rml-muted); background: #fff; border-top: 1px solid var(--rml-border); font-size: 13px; }

@media (max-width: 1100px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.menu-toggle {
		display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
		width: 44px; height: 44px; padding: 0; color: var(--rml-ink); background: #fff;
		border: 1px solid var(--rml-border); border-radius: 9px;
	}
	.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; }
	.menu-toggle-lines { position: relative; }
	.menu-toggle-lines::before { position: absolute; top: -6px; }
	.menu-toggle-lines::after { position: absolute; top: 6px; }
	.main-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--rml-border); }
	.main-navigation.is-open { display: block; }
	.primary-menu, .main-navigation ul { display: block; }
	.main-navigation .sub-menu { position: static; display: block; padding-left: 18px; border: 0; box-shadow: none; }
}

@media (max-width: 780px) {
	.rml-container { width: min(calc(100% - 28px), var(--rml-width)); }
	.header-inner { min-height: 70px; }
	.content-layout, .woocommerce-account .woocommerce, .footer-inner { grid-template-columns: 1fr; }
	.woocommerce ul.products, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.woocommerce ul.products li.product { padding: 12px !important; }
	.page-main, .archive-main, .content-layout, .error-404, .rml-commerce { padding-top: 28px; padding-bottom: 42px; }
}

@media (max-width: 480px) {
	.woocommerce ul.products, .post-grid { grid-template-columns: 1fr; }
	.brand-main { font-size: 20px; }
}

/* ========================================================================== 
   Version 2.0.0 — native homepage (no page builder)
   ========================================================================== */
.rml-native-home { color: var(--rml-ink); background: #fff; overflow: hidden; }
.rml-hero { padding: clamp(58px, 8vw, 112px) 0; background: linear-gradient(115deg, #f4f9ff 0%, #e7f5ff 58%, #ccecff 100%); border-bottom: 1px solid var(--rml-border); }
.rml-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); align-items: center; gap: clamp(48px, 7vw, 100px); }
.rml-eyebrow, .rml-section-kicker, .rml-card-label { display: inline-flex; align-items: center; gap: 8px; color: var(--rml-blue-dark); font-size: 12px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.rml-eyebrow { margin-bottom: 20px; padding: 7px 12px; background: rgba(255,255,255,.72); border: 1px solid #b6d9f5; border-radius: 999px; }
.rml-eyebrow i { width: 7px; height: 7px; background: #14af73; border-radius: 50%; }
.rml-hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(42px, 5.3vw, 76px); line-height: .99; letter-spacing: -.055em; }
.rml-hero-copy > p { max-width: 690px; margin: 0 0 28px; color: #375570; font-size: clamp(17px, 1.5vw, 21px); }
.rml-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rml-primary-action, .rml-secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border-radius: 9px; font-weight: 800; text-decoration: none; }
.rml-primary-action { color: #fff; background: #076ac2; box-shadow: 0 9px 22px rgba(7,106,194,.2); }
.rml-primary-action:hover { color: #fff; background: #05579f; }
.rml-secondary-action { color: var(--rml-ink); background: #fff; border: 1px solid #a9c9e6; }
.rml-secondary-action:hover { color: var(--rml-blue-dark); border-color: var(--rml-blue); }
.rml-trust-list { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 25px 0 0; padding: 0; list-style: none; }
.rml-trust-list li { position: relative; padding-left: 18px; color: #31516d; font-size: 13px; font-weight: 650; }
.rml-trust-list li::before { position: absolute; left: 0; color: #0aa66d; content: "✓"; font-weight: 900; }
.rml-search-card { position: relative; padding: clamp(28px, 4vw, 48px); color: #fff; background: linear-gradient(145deg, #073a75, #0965b9); border: 1px solid rgba(255,255,255,.2); border-radius: 22px; box-shadow: 0 24px 60px rgba(13,76,132,.23); overflow: hidden; }
.rml-search-card::after { position: absolute; right: -90px; top: -110px; width: 260px; height: 260px; background: rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.rml-search-card > * { position: relative; z-index: 1; }
.rml-search-card .rml-card-label { color: #8fe6ff; }
.rml-search-card h2 { margin: 12px 0 10px; color: #fff; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; }
.rml-search-card p { margin-bottom: 22px; color: #dceeff; }
.rml-native-search form { display: flex; gap: 8px; }
.rml-native-search input[type="search"], .rml-native-search input[type="text"] { flex: 1; min-width: 0; min-height: 50px; background: #fff; border: 0; }
.rml-native-search input[type="submit"], .rml-native-search button { min-height: 50px; padding: 10px 17px; color: #fff; background: #0088e7; border: 0; border-radius: 8px; font-weight: 800; cursor: pointer; }
.rml-search-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rml-search-points span { padding: 6px 9px; color: #eaf7ff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 7px; font-size: 11px; font-weight: 700; }
.rml-finder-bar { padding: 34px 0; background: #f6faff; border-bottom: 1px solid var(--rml-border); }
.rml-finder-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rml-finder-links a { display: flex; flex-direction: column; align-items: center; min-height: 205px; padding: 26px 22px 22px; color: var(--rml-ink); background: #fff; border: 1px solid #c9dff1; border-radius: 16px; text-align: center; text-decoration: none; box-shadow: 0 12px 28px rgba(18,74,121,.07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.rml-finder-links a:hover { color: var(--rml-ink); border-color: #78b4e1; box-shadow: 0 18px 38px rgba(18,74,121,.14); transform: translateY(-4px); }
.rml-finder-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; background: #e8f8f1; border-radius: 13px; font-size: 20px; }
.rml-finder-links a:nth-child(2) .rml-finder-icon { background: #fff3da; }
.rml-finder-links a:nth-child(3) .rml-finder-icon { background: #f0eaff; }
.rml-finder-links strong { margin-bottom: 8px; color: #071b38; font-size: 19px; line-height: 1.25; }
.rml-finder-links small { max-width: 280px; margin-bottom: 13px; color: #526d86; font-size: 13px; line-height: 1.45; }
.rml-finder-links b { margin-top: auto; color: #075da9; font-size: 13px; }
.rml-latest-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 62px; background: linear-gradient(90deg, #eaf6ff, #f7fbff); border-top: 1px solid #bddcf3; border-bottom: 1px solid #a9cfe9; box-shadow: 0 8px 22px rgba(18,74,121,.09); overflow: hidden; }
.rml-strip-label { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 180px; padding: 0 28px; color: #fff; background: linear-gradient(135deg, #064b8b, #0874cf); font-size: 13px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; box-shadow: 8px 0 18px rgba(7,93,169,.13); }
.rml-strip-label span { width: 9px; height: 9px; background: #5dffc0; border-radius: 50%; box-shadow: 0 0 0 5px rgba(93,255,192,.15); }
.rml-strip-window { display: flex; align-items: center; padding: 8px 0; overflow: hidden; }
.rml-strip-track { display: flex; align-items: center; gap: 14px; width: max-content; white-space: nowrap; animation: rmlTicker 62s linear infinite; }
.rml-strip-track:hover { animation-play-state: paused; }
.rml-strip-track a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; color: #092f50; background: #fff; border: 1px solid #b8d8ee; border-radius: 9px; box-shadow: 0 4px 12px rgba(18,74,121,.08); font-size: 16px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.rml-strip-track a:hover { color: #005da8; background: #fafdff; border-color: #67a9d8; box-shadow: 0 6px 16px rgba(18,74,121,.14); }
.rml-strip-track a::before { width: 7px; height: 7px; margin-right: 10px; background: #0bb478; border-radius: 50%; content: ""; }
@keyframes rmlTicker { from { transform: translateX(18vw); } to { transform: translateX(-100%); } }
.rml-section { padding: clamp(68px, 8vw, 112px) 0; }
.rml-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.rml-section-heading h2, .rml-benefits-section h2 { margin: 8px 0 8px; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; }
.rml-section-heading p, .rml-benefits-section p { margin: 0; color: var(--rml-muted); }
.rml-section-heading > a { flex: 0 0 auto; color: var(--rml-blue-dark); font-weight: 800; text-decoration: none; }
.rml-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rml-category-card { position: relative; min-height: 230px; padding: 25px; color: var(--rml-ink); background: #fff; border: 1px solid var(--rml-border); border-radius: 14px; text-decoration: none; box-shadow: 0 12px 30px rgba(18,74,121,.065); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.rml-category-card:hover { color: var(--rml-ink); border-color: #84b8df; box-shadow: 0 18px 38px rgba(18,74,121,.12); transform: translateY(-4px); }
.rml-category-card h3 { margin: 8px 0 10px; font-size: 20px; }
.rml-category-card p { margin-bottom: 24px; color: var(--rml-muted); font-size: 14px; }
.rml-category-card strong { color: var(--rml-blue-dark); font-size: 12px; }
.rml-products-section { background: #f6faff; border-top: 1px solid #e1eef9; border-bottom: 1px solid #e1eef9; }
.rml-products-section .woocommerce ul.products { margin-bottom: 0; }
.rml-benefits-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.rml-benefit-list { display: grid; gap: 14px; }
.rml-benefit-list > div { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--rml-border); border-radius: 12px; }
.rml-benefit-list b { display: grid; place-items: center; width: 46px; height: 46px; color: var(--rml-blue-dark); background: var(--rml-blue-soft); border-radius: 10px; font-size: 12px; }
.rml-benefit-list span { display: grid; gap: 3px; }
.rml-benefit-list strong { color: var(--rml-ink); }
.rml-benefit-list small { color: var(--rml-muted); }
.rml-native-cta { padding: 58px 0; background: linear-gradient(120deg, #e9f6ff, #cfeaff); border-top: 1px solid var(--rml-border); }
.rml-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.rml-cta-inner > div > span { color: var(--rml-blue-dark); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.rml-cta-inner h2 { max-width: 760px; margin: 8px 0 0; font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -.04em; }

@media (max-width: 1000px) {
	.rml-hero-grid, .rml-benefits-grid { grid-template-columns: 1fr; }
	.rml-search-card { max-width: 720px; }
	.rml-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.rml-hero { padding: 52px 0; }
	.rml-hero h1 { font-size: clamp(38px, 12vw, 58px); }
	.rml-finder-links { grid-template-columns: 1fr; }
	.rml-latest-strip { grid-template-columns: 1fr; }
	.rml-strip-label { min-height: 45px; justify-content: center; }
	.rml-strip-window { min-height: 50px; }
	.rml-category-grid { grid-template-columns: 1fr; }
	.rml-category-card { min-height: 0; }
	.rml-section-heading, .rml-cta-inner { align-items: flex-start; flex-direction: column; }
	.rml-benefits-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ========================================================================== 
   Version 2.1.0 — full-width product page and purchase-flow correction
   ========================================================================== */
body.single-product .rml-commerce {
	width: min(calc(100% - 24px), 1840px);
	max-width: none;
}

body.single-product .woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
	column-gap: clamp(28px, 4vw, 76px);
	align-items: start;
}

body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}

body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells,
body.single-product .woocommerce div.product > section,
body.single-product .woocommerce div.product > .product_meta + * {
	grid-column: 1 / -1;
}

body.single-product .woocommerce div.product .summary {
	padding: clamp(22px, 3vw, 42px);
	background: #edf6ff;
	border: 1px solid #a9cce8;
	border-radius: 14px;
}

body.single-product .woocommerce div.product .product_title {
	margin-bottom: 15px;
	font-size: clamp(34px, 3.3vw, 58px);
	line-height: 1.04;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
	display: block;
	margin: 0 0 14px;
	font-size: clamp(22px, 2vw, 32px);
}

/* The purchase form is moved after the price by functions.php. */
body.single-product .woocommerce div.product form.cart {
	margin: 0 0 20px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid var(--rml-border);
	border-radius: 10px;
}

body.single-product .woocommerce-product-details__short-description {
	margin: 0 0 20px;
	padding: clamp(18px, 2.2vw, 28px);
	color: var(--rml-ink);
	background: #ffffff;
	border: 1px solid var(--rml-border);
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.7;
}

body.single-product .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
body.single-product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce-product-details__short-description li,
body.single-product .woocommerce-product-details__short-description td,
body.single-product .woocommerce-product-details__short-description th {
	font-size: inherit;
	line-height: inherit;
}

/* Restore readable white copy in legacy dark Buy With Confidence blocks. */
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"],
body.single-product .woocommerce-product-details__short-description [style*="#111827"],
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"],
body.single-product .woocommerce-product-details__short-description [style*="rgb(15, 23, 42)"],
body.single-product .woocommerce-product-details__short-description [style*="rgb(17, 24, 39)"] {
	color: #ffffff !important;
}

body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] p,
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] li,
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] h1,
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] h2,
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] h3,
body.single-product .woocommerce-product-details__short-description [style*="#0f172a"] h4,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] p,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] li,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] h1,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] h2,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] h3,
body.single-product .woocommerce-product-details__short-description [style*="#111827"] h4,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] p,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] li,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] h1,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] h2,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] h3,
body.single-product .woocommerce-product-details__short-description [style*="#0b1220"] h4 {
	color: #ffffff !important;
}

body.single-product .woocommerce div.product .product_meta {
	margin-top: 0;
	padding: 16px;
	color: var(--rml-ink);
	background: #ffffff;
	border: 1px solid var(--rml-border);
	border-radius: 10px;
	line-height: 1.7;
}

@media (max-width: 980px) {
	body.single-product .woocommerce div.product {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}
	body.single-product .woocommerce div.product .woocommerce-tabs,
	body.single-product .woocommerce div.product .related,
	body.single-product .woocommerce div.product .upsells,
	body.single-product .woocommerce div.product > section,
	body.single-product .woocommerce div.product > .product_meta + * {
		grid-column: auto;
	}
}

/* ========================================================================== 
   Version 2.1.1 — membership tab button and benefits-panel readability
   ========================================================================== */
body.single-product .woocommerce-Tabs-panel table td:last-child a,
body.single-product .woocommerce-Tabs-panel table td:last-child .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 18px !important;
	color: #ffffff !important;
	background: #7c3aed !important;
	background-image: none !important;
	border: 1px solid #7c3aed !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

body.single-product .woocommerce-Tabs-panel table td:last-child a:hover,
body.single-product .woocommerce-Tabs-panel table td:last-child .button:hover {
	color: #ffffff !important;
	background: #6d28d9 !important;
	border-color: #6d28d9 !important;
}

/* The membership benefits box follows its plans table. */
body.single-product .woocommerce-Tabs-panel table + div,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"],
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] {
	color: #ffffff !important;
}

body.single-product .woocommerce-Tabs-panel table + div p,
body.single-product .woocommerce-Tabs-panel table + div li,
body.single-product .woocommerce-Tabs-panel table + div span,
body.single-product .woocommerce-Tabs-panel table + div strong,
body.single-product .woocommerce-Tabs-panel table + div small,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] p,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] li,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] span,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] strong,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] small,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] p,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] li,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] span,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] strong,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] small {
	color: #ffffff !important;
}

body.single-product .woocommerce-Tabs-panel table + div li,
body.single-product .woocommerce-Tabs-panel table ~ div[style*="background"] li,
body.single-product .woocommerce-Tabs-panel table ~ section[style*="background"] li {
	margin-bottom: 7px;
	line-height: 1.55;
}

/* ========================================================================== 
   Version 2.1.2 — dedicated clean Membership Benefits card
   ========================================================================== */
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits {
	margin-top: 18px !important;
	padding: clamp(24px, 3vw, 38px) !important;
	color: var(--rml-ink) !important;
	background: linear-gradient(135deg, #f3f9ff 0%, #e2f2ff 100%) !important;
	background-image: linear-gradient(135deg, #f3f9ff 0%, #e2f2ff 100%) !important;
	border: 1px solid #9fc9ea !important;
	border-left: 5px solid var(--rml-blue) !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 30px rgba(18, 74, 121, .08) !important;
}

body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h1,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h2,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h3,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h4,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h5,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits h6,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits strong {
	color: var(--rml-blue-dark) !important;
}

body.single-product .woocommerce-Tabs-panel .rml-membership-benefits p,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits span,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits small,
body.single-product .woocommerce-Tabs-panel .rml-membership-benefits li {
	color: #18354f !important;
}

body.single-product .woocommerce-Tabs-panel .rml-membership-benefits ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product .woocommerce-Tabs-panel .rml-membership-benefits li {
	position: relative;
	margin: 0 !important;
	padding: 12px 14px 12px 40px !important;
	background: rgba(255, 255, 255, .82) !important;
	border: 1px solid #c4dff3 !important;
	border-radius: 9px !important;
	font-weight: 650;
	line-height: 1.45;
}

body.single-product .woocommerce-Tabs-panel .rml-membership-benefits li::before {
	position: absolute;
	left: 14px;
	top: 11px;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	color: #ffffff;
	background: #11a873;
	border-radius: 50%;
	content: "✓";
	font-size: 11px;
	font-weight: 900;
}

@media (max-width: 700px) {
	body.single-product .woocommerce-Tabs-panel .rml-membership-benefits ul {
		grid-template-columns: 1fr;
	}
}

/* Version 2.1.3 — archive cards retain Buy Now beside WhatsApp ordering. */
.woocommerce ul.products li.product .rml-loop-buy-now {
	display: block !important;
	width: 100%;
	min-height: 38px;
	margin: 12px 0 8px !important;
	padding: 9px 12px !important;
	color: #ffffff !important;
	background: #7c3aed !important;
	border: 1px solid #6d28d9 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 18px !important;
	text-align: center;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .rml-loop-buy-now:hover,
.woocommerce ul.products li.product .rml-loop-buy-now:focus-visible {
	color: #ffffff !important;
	background: #6d28d9 !important;
	border-color: #5b21b6 !important;
	transform: translateY(-1px);
}

.woocommerce ul.products li.product .rml-loop-buy-now + a,
.woocommerce ul.products li.product .rml-loop-buy-now + .button {
	margin-top: 0 !important;
}

/* Version 2.1.4 — balance both product-card purchase actions. */
.woocommerce ul.products li.product .rml-loop-buy-now,
.woocommerce ul.products li.product .rml-loop-buy-now ~ a,
.woocommerce ul.products li.product .rml-loop-buy-now ~ .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100% !important;
	min-height: 38px !important;
	padding: 9px 12px !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 18px !important;
	text-align: center;
}

.woocommerce ul.products li.product .rml-loop-buy-now ~ a,
.woocommerce ul.products li.product .rml-loop-buy-now ~ .button {
	margin: 0 !important;
}
