/*
Theme Name: Order Poa
Theme URI: https://orderpoa.co.ke
Author: Homelink Kenya
Description: A bold, price-led, pay-on-delivery shop for orderpoa.co.ke on WooCommerce. Landing pages built on a blank canvas are left untouched.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: orderpoa
*/

/* ───────── Tokens ───────── */
:root {
	--ink: #14161a;
	--ink-2: #4b5261;
	--ink-3: #7a8191;
	--line: #e4e7ee;
	--bg: #f3f5f8;
	--card: #ffffff;
	--green: #0a8f43;
	--green-d: #06702f;
	--green-soft: #e7f6ed;
	--yellow: #ffd400;
	--yellow-d: #f0c400;
	--red: #e2231a;
	--navy: #0e1a2b;
	--radius: 12px;
	--shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 6px 20px rgba(14, 26, 43, .06);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.codm { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.codm img { max-width: 100%; height: auto; display: block; }
.codm a { color: inherit; text-decoration: none; }
.codm h1, .codm h2, .codm h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
.codm p { margin: 0 0 1em; }
.codm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.codm-icon { flex: none; vertical-align: -3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.codm-skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 10px 14px; z-index: 100; font-weight: 700; }
.codm-skip:focus { left: 8px; top: 8px; }
.codm :focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ───────── Buttons ───────── */
.codm-btn, .codm .button, .codm button.button, .codm a.button, .codm input.button, .codm .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 10px; padding: 12px 18px; min-height: 46px;
	background: var(--green); color: #fff; font: 700 15px/1.2 var(--font); cursor: pointer; text-align: center;
	transition: background .15s, transform .05s;
}
.codm-btn:hover, .codm .button:hover, .codm a.button:hover { background: var(--green-d); color: #fff; }
.codm-btn:active, .codm .button:active { transform: translateY(1px); }
.codm-btn-deal, .codm .single_add_to_cart_button, .codm #place_order, .codm .checkout-button {
	background: var(--yellow) !important; color: #111 !important; font-size: 17px !important; min-height: 54px; padding: 14px 24px !important; box-shadow: 0 3px 0 #c9a700;
}
.codm-btn-deal:hover, .codm .single_add_to_cart_button:hover, .codm #place_order:hover, .codm .checkout-button:hover { background: var(--yellow-d) !important; color: #111 !important; }
.codm .button.disabled, .codm .button:disabled { opacity: .55; cursor: not-allowed; }

/* ───────── Promise bar ───────── */
.codm-promisebar { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.codm-promisebar .codm-wrap { display: flex; gap: 22px; align-items: center; justify-content: center; min-height: 36px; flex-wrap: wrap; }
.codm-promisebar span, .codm-promisebar a { display: inline-flex; align-items: center; gap: 6px; }
.codm-promisebar .codm-icon { color: var(--yellow); }

/* ───────── Header ───────── */
.codm-header { background: var(--card); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.codm-header-row { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.codm-menu-btn { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.codm-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.codm-logo img { max-height: 48px; width: auto; }
.codm-logo-mark { background: var(--yellow); color: #111; font-weight: 900; font-size: 20px; letter-spacing: .02em; padding: 8px 10px; border-radius: 9px; box-shadow: 0 3px 0 #c9a700; }
.codm-logo-text { font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.codm-logo-text small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; }
.codm-search { flex: 1; min-width: 0; display: flex; background: var(--bg); border: 2px solid var(--green); border-radius: 12px; overflow: hidden; }
.codm-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; height: 46px; font: 16px var(--font); color: var(--ink); outline: 0; }
.codm-search button { border: 0; background: var(--green); color: #fff; width: 54px; cursor: pointer; display: grid; place-items: center; }
.codm-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 10px 12px; border-radius: 10px; flex: none; }
.codm-cart:hover { background: var(--bg); }
.codm-cart-count { position: absolute; top: 2px; left: 26px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.codm-cart-count[hidden] { display: none; }

.codm-nav { background: var(--green); color: #fff; }
.codm-nav .codm-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.codm-nav .codm-wrap::-webkit-scrollbar { display: none; }
.codm-nav a { white-space: nowrap; padding: 11px 12px; font-size: 14px; font-weight: 600; border-radius: 0; }
.codm-nav a:hover { background: rgba(255, 255, 255, .14); }
.codm-nav-all { background: var(--yellow); color: #111 !important; display: inline-flex; align-items: center; gap: 6px; font-weight: 800 !important; }
.codm-nav-all:hover { background: var(--yellow-d) !important; }

/* ───────── Main ───────── */
.codm-main { display: block; padding: 20px 0 48px; }
.codm-home { padding-top: 0; }
.codm-section { padding: 28px 0 4px; }
.codm-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.codm-section-head h2 { font-size: 24px; font-weight: 800; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.codm-more { margin-left: auto; font-weight: 700; color: var(--green); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.codm-more:hover { text-decoration: underline; }

/* ───────── Hero ───────── */
.codm-hero { background: radial-gradient(1200px 500px at 85% 0%, #13b257 0%, transparent 60%), linear-gradient(135deg, #063d22 0%, #0a8f43 100%); color: #fff; padding: 34px 0 40px; }
.codm-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.codm-kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: #111; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin: 0 0 14px; }
.codm-hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; }
.codm-hero-text { font-size: 17px; max-width: 52ch; color: rgba(255, 255, 255, .92); }
.codm-hero-actions { margin: 20px 0 16px; }
.codm-hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.codm-hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.codm-hero-points .codm-icon { color: var(--yellow); }
.codm-hero-art img { border-radius: 18px; background: #fff; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.codm-hero-product { position: relative; display: block; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); padding: 14px; color: var(--ink); transform: rotate(1.2deg); transition: transform .2s; }
.codm-hero-product:hover { transform: rotate(0); }
.codm-hero-product img { border-radius: 10px; }
.codm-hero-tag { position: absolute; left: -10px; bottom: 22px; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 12px; max-width: 78%; box-shadow: var(--shadow); transform: rotate(-2.4deg); }
.codm-hero-tag small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.codm-hero-tag strong { display: block; font-size: 15px; line-height: 1.2; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.codm-hero-tag .price { font-size: 20px; font-weight: 900; color: var(--yellow); }
.codm-hero-tag .price del { color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; }
.codm-hero-tag .price ins { text-decoration: none; }

/* ───────── Deals strip ───────── */
.codm-deals .codm-section-head { background: var(--red); color: #fff; padding: 12px 16px; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 0; }
.codm-deals .codm-section-head h2 .codm-icon { color: var(--yellow); }
.codm-deals .codm-more { color: #fff; }
.codm-deals .woocommerce { background: var(--card); padding: 14px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.codm-clock { margin: 0; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.codm-clock span { margin-right: 4px; opacity: .9; }
.codm-clock b { background: #111; color: #fff; border-radius: 6px; min-width: 32px; padding: 4px 6px; text-align: center; font-variant-numeric: tabular-nums; }

/* ───────── Product grid and card ───────── */
.codm .woocommerce ul.products, .codm ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0 0 8px; padding: 0; }
.codm ul.products::before, .codm ul.products::after { display: none !important; }
.codm ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 12px; position: relative; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s, border-color .15s; }
.codm ul.products li.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd4de; }
.codm ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.codm ul.products li.product a img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; background: #fff; border-radius: 8px; margin: 0 0 10px !important; }
.codm ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; font-weight: 600; line-height: 1.3; padding: 0 !important; margin: 0 0 6px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.codm ul.products li.product .price { color: var(--ink) !important; font-size: 18px !important; font-weight: 800; margin: 0 0 4px !important; display: block; }
.codm ul.products li.product .price del { color: var(--ink-3); font-size: 13px; font-weight: 500; opacity: 1; display: inline; margin-right: 6px; }
.codm ul.products li.product .price ins { text-decoration: none; color: var(--red); font-weight: 800; }
.codm ul.products li.product .star-rating { margin: 0 0 6px; font-size: 12px; }
.codm-cod { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--green-d); background: var(--green-soft); padding: 3px 8px; border-radius: 999px; align-self: flex-start; margin: 2px 0 10px; }
.codm ul.products li.product .button { width: 100%; margin: auto 0 0 !important; min-height: 42px; padding: 10px 12px; font-size: 14px; }
.codm ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--green); padding-top: 8px; }
.codm .onsale, .codm ul.products li.product .onsale { position: absolute; top: 8px !important; left: 8px !important; right: auto !important; margin: 0 !important; min-width: 0 !important; min-height: 0 !important; line-height: 1 !important; background: var(--red) !important; color: #fff !important; font-size: 13px !important; font-weight: 800 !important; padding: 6px 8px !important; border-radius: 8px !important; z-index: 2; }
.codm .outofstock-note, .codm ul.products li.product.outofstock a img { opacity: .55; }

/* ───────── Buy now: the short order form ───────── */
.codm-buy { background: #fff; border: 2px solid var(--yellow); border-radius: 14px; padding: 16px; margin: 14px 0; display: grid; gap: 12px; box-shadow: var(--shadow); }
.codm-buy-title { font-size: 18px !important; font-weight: 800; margin: 0 !important; }
.codm-buy label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
.codm-buy label b { color: var(--red); }
.codm-buy input[type="text"], .codm-buy input[type="tel"], .codm-buy input[type="number"], .codm-buy select, .codm-buy textarea { width: 100%; min-height: 50px; font-size: 16px; font-weight: 500; }
.codm-buy textarea { min-height: 72px; resize: vertical; }
.codm-buy-qty { grid-template-columns: 1fr 110px !important; align-items: center; }
.codm-buy-qty input { text-align: center; font-weight: 800 !important; }
.codm-buy .codm-btn { width: 100%; font-size: 18px !important; min-height: 58px; }
.codm-buy-note { margin: 0; font-size: 14px; font-weight: 600; color: var(--green-d); display: flex; align-items: center; gap: 8px; justify-content: center; }
.codm-buy-error { margin: 0; background: #fdecea; border-left: 5px solid var(--red); color: #8a1410; font-weight: 700; padding: 10px 12px; border-radius: 8px; }
.codm-buy-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#codm-order { display: block; position: relative; top: -110px; visibility: hidden; }

/* ───────── The product's story: the landing page's order, block by block ───────── */
.codm-offer-flag { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 10px; margin: 0 0 10px; }
.codm-offer-flag .codm-icon { color: var(--yellow); }
.codm-offer-flag .codm-clock b { background: rgba(0, 0, 0, .35); min-width: 28px; padding: 2px 5px; font-size: 13px; }
.codm-story, .codm-offer-again, .codm-delivery { grid-column: 1 / -1; }
.codm-story { max-width: 760px; margin: 12px auto 0; width: 100%; }
.codm-story .codm-block { padding: 22px 0 6px; text-align: center; }
.codm-story h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; margin: 0 0 6px; }
.codm-story h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--yellow); margin: 12px auto 14px; }
.codm-story p { font-size: 17px; color: var(--ink-2); margin: 0 auto 14px; max-width: 60ch; }
.codm-story img, .codm-story video { width: 100%; height: auto; border-radius: 14px; background: var(--bg); margin: 4px 0 10px; display: block; }
.codm-story video { max-height: 82vh; background: #0b0f16; }
.codm-story .codm-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.codm-story .codm-pics img { margin: 0; }
.codm-story ul.codm-ticks { list-style: none; padding: 0; margin: 0 auto 14px; display: grid; gap: 10px; text-align: left; max-width: 46ch; font-size: 17px; font-weight: 600; }
.codm-story ul.codm-ticks li { padding-left: 34px; position: relative; }
.codm-story ul.codm-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.codm-story .codm-block-cta { margin: 6px 0 4px; }
.codm-story .codm-block-cta .codm-btn { min-width: min(100%, 320px); }
.codm-offer-again { text-align: center; background: linear-gradient(135deg, #063d22 0%, #0a8f43 100%); color: #fff; border-radius: 18px; padding: 28px 18px; margin-top: 14px; }
.codm-offer-again h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.codm-offer-before { font-size: 18px; margin: 0 0 4px; opacity: .9; }
.codm-offer-now { font-size: clamp(34px, 6vw, 52px); font-weight: 900; color: var(--yellow) !important; margin: 0 0 16px !important; line-height: 1.05; }
.codm-offer-now del { font-size: .45em; color: rgba(255, 255, 255, .75); font-weight: 600; margin-right: 8px; }
.codm-offer-now ins { text-decoration: none; }
.codm-offer-again .codm-btn { min-width: min(100%, 320px); }
.codm-offer-call { margin: 14px 0 0; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.codm-offer-call .codm-icon { color: var(--yellow); }
.codm-delivery { padding: 22px 0 6px; }
.codm-delivery h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; text-align: center; margin-bottom: 14px; }
.codm-delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.codm-delivery-grid > div { background: var(--green-soft); border: 1px solid #cfe9da; border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.codm-delivery-grid .codm-icon { color: var(--green-d); }
.codm-delivery-grid p { margin: 0; font-size: 15px; color: var(--ink-2); }
.codm.single-product .woocommerce-product-details__short-description { font-size: 18px; font-weight: 600; color: var(--ink); }
.codm.single-product .woocommerce-product-details__short-description ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* ───────── One product at a time (a small shop's home page) ───────── */
.codm-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding-top: 22px; padding-bottom: 22px; box-shadow: var(--shadow); }
.codm-feature.is-flipped .codm-feature-art { order: 2; }
.codm-feature-art { position: relative; display: block; }
.codm-feature-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bg); }
.codm-feature-art .onsale { font-size: 16px !important; padding: 8px 12px !important; top: 12px !important; left: 12px !important; }
.codm-feature-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.codm-feature-points { color: var(--ink-2); font-size: 16px; }
.codm-feature-points ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.codm-feature-points li { padding-left: 28px; position: relative; }
.codm-feature-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.codm-feature-price { font-size: 34px !important; font-weight: 900; margin: 6px 0 14px !important; color: var(--ink); }
.codm-feature-price del { font-size: 18px; color: var(--ink-3); font-weight: 500; margin-right: 8px; }
.codm-feature-price ins { text-decoration: none; color: var(--red); }
.codm-feature-copy .codm-cod { margin: 12px 0 0 12px; vertical-align: middle; }
.codm-fee-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.codm-fee-note .codm-icon, .codm-checkout-note .codm-icon { flex: none; margin-top: 1px; }

/* ───────── Choosing a colour or model ───────── */
.codm.single-product form.variations_form { display: block; }
.codm.single-product table.variations { width: 100%; margin: 0 0 12px; border: 0; }
.codm.single-product table.variations th, .codm.single-product table.variations td { display: block; padding: 0 0 6px; text-align: left; border: 0; }
.codm.single-product table.variations label { font-weight: 700; font-size: 15px; }
.codm.single-product table.variations select { width: 100%; min-height: 50px; font-weight: 600; }
.codm.single-product .reset_variations { font-size: 13px; color: var(--ink-3); }
.codm.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.codm.single-product .woocommerce-variation-price { margin-bottom: 10px; }

/* ───────── Categories ───────── */
.codm-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.codm-cats a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; height: 100%; transition: box-shadow .15s, border-color .15s; }
.codm-cats a:hover { box-shadow: var(--shadow); border-color: var(--green); }
.codm-cat-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--bg); overflow: hidden; display: grid; place-items: center; margin-bottom: 4px; }
.codm-cat-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.codm-cats strong { font-size: 13px; line-height: 1.2; }
.codm-cats small { font-size: 11px; color: var(--ink-3); }

/* ───────── How it works ───────── */
.codm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.codm-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.codm-steps b { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; font-weight: 900; margin-bottom: 6px; box-shadow: 0 2px 0 #c9a700; }
.codm-steps strong { font-size: 17px; }
.codm-steps span { color: var(--ink-2); font-size: 14px; }

/* ───────── Trust strip and footer ───────── */
.codm-trust { background: var(--green-soft); border-top: 1px solid #cfe9da; }
.codm-trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.codm-trust-row div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.codm-trust-row .codm-icon { grid-row: span 2; color: var(--green-d); }
.codm-trust-row strong { font-size: 15px; }
.codm-trust-row span { font-size: 13px; color: var(--ink-2); }
.codm-footer { background: var(--navy); color: #c9d2e0; font-size: 14px; }
.codm-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
.codm-footer h2 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.codm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.codm-footer a:hover { color: #fff; text-decoration: underline; }
.codm-footer li { display: flex; align-items: center; gap: 7px; }
.codm-logo-footer { margin-bottom: 12px; }
.codm-logo-footer .codm-logo-text { color: #fff; }
.codm-logo-footer .codm-logo-text small { color: #9fb0c8; }
.codm-footer-end { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; padding-bottom: 20px; font-size: 13px; color: #9fb0c8; }
.codm-wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 40; }

/* ───────── Pages ───────── */
.codm-page { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding-top: 22px; padding-bottom: 26px; }
.codm-page-title, .codm .woocommerce-products-header__title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 14px; }
.codm-content { max-width: 100%; }
.codm-content > p, .codm-content > ul, .codm-content > ol { max-width: 70ch; }
.codm-404 { text-align: center; padding-top: 48px; padding-bottom: 48px; }

/* ───────── Shop and category pages ───────── */
.codm .woocommerce-breadcrumb { font-size: 13px; color: var(--ink-3) !important; margin: 0 0 12px !important; }
.codm .woocommerce-breadcrumb a { color: var(--ink-2) !important; }
.codm .woocommerce-result-count { color: var(--ink-2); font-size: 14px; margin: 6px 0 14px !important; }
.codm .woocommerce-ordering { margin: 0 0 14px !important; }
.codm .woocommerce-ordering select, .codm select, .codm input[type="text"], .codm input[type="tel"], .codm input[type="email"], .codm input[type="number"], .codm input[type="password"], .codm textarea {
	border: 1.5px solid #cfd4de; border-radius: 10px; padding: 11px 12px; font: 16px var(--font); color: var(--ink); background: #fff; max-width: 100%;
}
.codm select:focus, .codm input:focus, .codm textarea:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 3px rgba(10, 143, 67, .15); }
.codm .woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; margin-top: 18px !important; }
.codm .woocommerce-pagination ul li { border: 0 !important; }
.codm .woocommerce-pagination ul li a, .codm .woocommerce-pagination ul li span { border: 1px solid var(--line); border-radius: 8px; min-width: 40px; padding: 10px !important; background: #fff !important; font-weight: 700; color: var(--ink) !important; }
.codm .woocommerce-pagination ul li span.current { background: var(--green) !important; color: #fff !important; border-color: var(--green); }
.codm .woocommerce-message, .codm .woocommerce-info, .codm .woocommerce-error { border: 0 !important; border-left: 5px solid var(--green) !important; background: #fff !important; border-radius: 10px; box-shadow: var(--shadow); color: var(--ink) !important; padding: 14px 16px 14px 46px !important; margin-bottom: 16px !important; }
.codm .woocommerce-error { border-left-color: var(--red) !important; }
.codm .woocommerce-message::before, .codm .woocommerce-info::before { color: var(--green) !important; }
.codm .woocommerce-message .button { min-height: 38px; padding: 8px 14px; }

/* ───────── Product page ───────── */
.codm.single-product div.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; position: relative; }
.codm.single-product div.product::before, .codm.single-product div.product::after { display: none !important; }
.codm.single-product div.product .woocommerce-product-gallery, .codm.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.codm.single-product div.product .woocommerce-tabs, .codm.single-product div.product .related, .codm.single-product div.product .upsells { grid-column: 1 / -1; }
.codm.single-product .woocommerce-product-gallery__image img { border-radius: 10px; background: #fff; }
.codm.single-product .product_title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.codm.single-product .summary .price { color: var(--ink) !important; font-size: 34px !important; font-weight: 900; margin: 0 0 12px; }
.codm.single-product .summary .price del { color: var(--ink-3); font-size: 18px; font-weight: 500; opacity: 1; margin-right: 8px; }
.codm.single-product .summary .price ins { text-decoration: none; color: var(--red); }
.codm.single-product .woocommerce-product-details__short-description { color: var(--ink-2); }
.codm.single-product form.cart { display: flex; gap: 10px; align-items: stretch; margin: 16px 0 !important; flex-wrap: wrap; }
.codm.single-product form.cart .quantity { float: none !important; margin: 0 !important; }
.codm.single-product form.cart .quantity .qty { width: 76px; height: 54px; text-align: center; font-weight: 700; }
.codm.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; float: none !important; }
.codm.single-product .stock { font-weight: 700; color: var(--green-d) !important; margin: 0 0 8px; }
.codm.single-product .stock.out-of-stock { color: var(--red) !important; }
.codm-promise { list-style: none; margin: 14px 0; padding: 14px; background: var(--green-soft); border: 1px solid #cfe9da; border-radius: var(--radius); display: grid; gap: 10px; font-size: 14px; }
.codm-promise li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.codm-promise .codm-icon { color: var(--green-d); margin-top: 2px; }
.codm-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important; font-weight: 700; padding: 12px 16px; border-radius: 10px; }
.codm.single-product .product_meta { font-size: 13px; color: var(--ink-3); margin-top: 14px; display: grid; gap: 4px; }
.codm.single-product .product_meta a { color: var(--green-d); font-weight: 600; }
.codm.single-product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 16px !important; border-bottom: 2px solid var(--line); display: flex; gap: 4px; overflow-x: auto; }
.codm.single-product .woocommerce-tabs ul.tabs::before, .codm.single-product .woocommerce-tabs ul.tabs li::before, .codm.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.codm.single-product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.codm.single-product .woocommerce-tabs ul.tabs li a { padding: 12px 16px !important; font-weight: 700; color: var(--ink-2) !important; border-bottom: 3px solid transparent; margin-bottom: -2px; display: block; }
.codm.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; border-bottom-color: var(--green); }
.codm.single-product .woocommerce-Tabs-panel { max-width: 80ch; }
.codm.single-product .woocommerce-Tabs-panel h2:first-child { display: none; }
.codm.single-product .woocommerce-Tabs-panel img { border-radius: 10px; margin: 10px 0; }
.codm.single-product .related > h2, .codm.single-product .upsells > h2 { font-size: 22px; font-weight: 800; margin: 8px 0 14px; }
.codm-orderbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 26, 43, .1); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: none; align-items: center; gap: 12px; z-index: 45; }
.codm-orderbar-price { font-size: 20px; font-weight: 900; flex: 1; min-width: 0; }
.codm-orderbar-price del { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-right: 6px; }
.codm-orderbar-price ins { text-decoration: none; color: var(--red); }
.codm-orderbar .codm-btn { min-height: 48px; }

/* ───────── Basket and checkout ───────── */
.codm table.shop_table { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; border-collapse: separate; overflow: hidden; width: 100%; background: #fff; }
.codm table.shop_table th, .codm table.shop_table td { padding: 12px !important; border-color: var(--line) !important; }
.codm table.shop_table th { font-weight: 700; background: var(--bg); text-align: left; }
.codm table.cart img { width: 72px !important; border-radius: 8px; }
.codm table.cart td.product-name a { font-weight: 600; }
.codm table.cart td.actions .coupon { display: none; }
.codm .cart-collaterals .cart_totals { float: none !important; width: 100% !important; max-width: 460px; margin-left: auto; }
.codm .cart_totals h2, .codm #order_review_heading, .codm .woocommerce-billing-fields h3, .codm .woocommerce-additional-fields h3 { font-size: 20px; font-weight: 800; }
.codm .wc-proceed-to-checkout { padding: 12px 0 0 !important; }
.codm .wc-proceed-to-checkout .checkout-button { width: 100%; display: flex; margin: 0 !important; }
.codm form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.codm form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.codm form.checkout #customer_details .col-1, .codm form.checkout #customer_details .col-2 { float: none !important; width: 100% !important; }
.codm form.checkout #order_review_heading { grid-column: 2; margin: 0; }
.codm form.checkout #order_review { grid-column: 2; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.codm form.checkout .form-row { padding: 0 !important; margin: 0 0 12px !important; }
.codm form.checkout .form-row label { font-weight: 600; font-size: 14px; margin-bottom: 4px; display: block; }
.codm form.checkout .form-row input.input-text, .codm form.checkout .form-row textarea, .codm form.checkout .form-row select { width: 100%; }
.codm .select2-container .select2-selection--single { height: 48px; border: 1.5px solid #cfd4de; border-radius: 10px; }
.codm .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 12px; }
.codm .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.codm #payment { background: transparent !important; border-radius: 0 !important; }
.codm #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 12px 0 !important; }
.codm #payment ul.payment_methods li { background: #fff; border: 1.5px solid var(--green); border-radius: 10px; padding: 12px !important; font-weight: 700; }
.codm #payment div.payment_box { background: var(--green-soft) !important; color: var(--ink-2) !important; border-radius: 8px; font-weight: 500; margin: 10px 0 0 !important; }
.codm #payment div.payment_box::before { display: none !important; }
.codm #payment .place-order { padding: 0 !important; margin: 0 !important; }
.codm #place_order { width: 100%; float: none !important; }
.codm-checkout-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--green-d); margin: 12px 0; }
.codm .woocommerce-privacy-policy-text { font-size: 12px; color: var(--ink-3); }
.codm .woocommerce-form-coupon-toggle, .codm .woocommerce-form-login-toggle { display: none; }
.codm .woocommerce-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.codm .woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; color: var(--green-d); }
.codm ul.order_details { padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.codm ul.order_details li { float: none !important; border: 1px solid var(--line) !important; border-radius: 10px; padding: 10px 12px !important; margin: 0 !important; }

/* ───────── Tablets ───────── */
@media (max-width: 1020px) {
	.codm .woocommerce ul.products, .codm ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.codm-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.codm-footer-grid { grid-template-columns: 1fr 1fr; }
	.codm-trust-row, .codm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── Phones ───────── */
@media (max-width: 720px) {
	.codm-hide-s { display: none !important; }
	.codm-promisebar .codm-wrap { gap: 14px; }
	.codm-header-row { flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.codm-menu-btn { display: inline-grid; place-items: center; }
	.codm-logo { margin-right: auto; }
	.codm-logo-mark { font-size: 17px; padding: 7px 9px; }
	.codm-logo-text { font-size: 19px; }
	.codm-cart-label { display: none; }
	.codm-search { order: 3; flex-basis: 100%; }
	.codm-nav { display: none; }
	.codm-nav.is-open { display: block; }
	.codm-nav .codm-wrap { flex-direction: column; gap: 0; padding-top: 6px; padding-bottom: 8px; overflow: visible; }
	.codm-nav a { padding: 12px 4px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.codm-nav-all { border-radius: 8px; padding: 12px !important; margin-bottom: 4px; }
	.codm-hero { padding: 24px 0 28px; }
	.codm-hero-grid { grid-template-columns: 1fr; gap: 22px; }
	.codm-hero-text { font-size: 16px; }
	.codm-hero-actions .codm-btn { width: 100%; }
	.codm-hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
	.codm-hero-tag { left: -4px; }
	.codm-section { padding-top: 22px; }
	.codm-section-head h2 { font-size: 20px; }
	.codm-deals .codm-more { display: none; }
	.codm-clock { margin-left: auto; }
	.codm .woocommerce ul.products, .codm ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.codm ul.products li.product { padding: 8px 8px 10px; }
	.codm ul.products li.product .price { font-size: 16px !important; }
	.codm-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.codm-cats a { padding: 8px 4px; }
	.codm-cats strong { font-size: 11px; }
	.codm-cats small { display: none; }
	.codm-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
	.codm-trust-row { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
	.codm-trust-row span { display: none; }
	.codm-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
	.codm-footer-grid > div:first-child { grid-column: 1 / -1; }
	.codm.single-product div.product { grid-template-columns: 1fr; padding: 12px; gap: 16px; }
	.codm.single-product .summary .price { font-size: 28px !important; }
	.codm.single-product form.cart .single_add_to_cart_button { min-width: 0; }
	.codm-orderbar.is-on { display: flex; }
	.codm-feature-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; padding-bottom: 18px; }
	.codm-delivery-grid { grid-template-columns: 1fr; }
	.codm-story p, .codm-story ul.codm-ticks { font-size: 16px; }
	.codm-story .codm-block-cta .codm-btn, .codm-offer-again .codm-btn { width: 100%; }
	.codm-feature.is-flipped .codm-feature-art { order: 0; }
	.codm-feature-copy .codm-btn { width: 100%; }
	.codm-feature-copy .codm-cod { margin: 12px 0 0; }
	.codm-feature-price { font-size: 28px !important; }
	.codm.single-product .codm-wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.codm.single-product .codm-main { padding-bottom: 96px; }
	.codm form.checkout { grid-template-columns: 1fr; }
	.codm form.checkout .form-row-first, .codm form.checkout .form-row-last { width: 100% !important; float: none !important; }
	.codm form.checkout #customer_details, .codm form.checkout #order_review_heading, .codm form.checkout #order_review { grid-column: 1; grid-row: auto; }
	.codm table.cart thead { display: none; }
	.codm .cart-collaterals .cart_totals { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
	.codm *, .codm *::before, .codm *::after { transition: none !important; scroll-behavior: auto !important; }
	.codm-hero-product, .codm-hero-tag { transform: none; }
}
