/*
Theme Name:   OnlineOffers
Theme URI:    https://onlineoffers.lk
Description:  Mobile-first WooCommerce child theme for OnlineOffers.lk (Merk Colombo Pvt Ltd). Built on Twenty Twenty-Five. Layout structure inspired by ido.lk; own code and OnlineOffers brand.
Author:       Merk Colombo Pvt Ltd
Template:     twentytwentyfive
Version:      0.26.9
Requires at least: 6.6
Requires PHP: 8.1
License:      GPL-2.0-or-later
Text Domain:  onlineoffers
*/

/* =========================================================
   0. Tokens & base
   ========================================================= */
:root {
	--oo-navy: var(--wp--preset--color--navy);
	--oo-blue: var(--wp--preset--color--brand);
	--oo-tint: #E8F6FE;          /* pale logo-blue: header & tinted sections */
	--oo-tint-2: #F4FAFE;
	--oo-line: var(--wp--preset--color--line);
	--oo-sale: var(--wp--preset--color--sale);
	--oo-muted: var(--wp--preset--color--muted);
	--oo-radius: 14px;
	--oo-bottom-nav-h: 60px;
}
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: #fff;
}
/* Sinhala: Quicksand has no Sinhala glyphs → device font (Noto Sans Sinhala / Sinhala Sangam). */
html, body { overflow-x: clip; } /* safety net only; root causes fixed below */

/* =========================================================
   1. Ticker ("Latest ›") — CSS-only, pauses for reduced motion
   ========================================================= */
.oo-ticker {
	display: flex;
	align-items: center;
	gap: 0;
	background: var(--oo-navy);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	height: 32px;
	overflow: hidden;
}
.oo-ticker-label {
	flex: 0 0 auto;
	background: var(--oo-blue);
	color: var(--oo-navy);
	font-weight: 700;
	padding: 0 12px;
	height: 100%;
	display: flex;
	align-items: center;
}
.oo-ticker-track { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.oo-ticker-run {
	display: inline-flex;
	gap: 40px;
	padding-left: 16px;
	white-space: nowrap;
	animation: oo-marquee 28s linear infinite;
}
@keyframes oo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .oo-ticker-run { animation: none; } }

/* =========================================================
   2. Masthead: menu · logo · account · cart, then full-width search
   ========================================================= */
.oo-masthead {
	background: linear-gradient(180deg, var(--oo-tint) 0%, var(--oo-tint-2) 100%);
	padding-top: 8px;
	padding-bottom: 12px;
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--oo-line);
}
body.admin-bar .oo-masthead { top: var(--wp-admin--admin-bar--height, 0px); }
.oo-bar { gap: 8px; }
.oo-bar-left { gap: 6px; align-items: center; }
.oo-masthead .wp-block-site-logo img { height: 40px; width: auto; }
.oo-icon-link { display: inline-flex; padding: 8px; color: var(--oo-navy); }
.oo-cart-link { position: relative; }
.oo-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
	border-radius: 999px; background: var(--oo-sale); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center;
}
.oo-cart-count[hidden] { display: none; }

/* Search: white field with navy "Search" button inside */
.oo-search { margin-top: 8px !important; }
.oo-search .wp-block-search__inside-wrapper {
	background: #fff;
	border: 1.5px solid var(--oo-line) !important;
	border-radius: 999px;
	padding: 4px !important;
	box-shadow: 0 1px 2px rgba(19, 38, 74, 0.05);
}
.oo-search .wp-block-search__input {
	border: 0 !important;
	background: transparent;
	padding: 8px 14px !important;
	font-size: 1rem; /* ≥16px: no iOS zoom on focus */
	min-width: 0;
}
.oo-search .wp-block-search__button {
	margin: 0 !important;
	border-radius: 999px !important;
	background: var(--oo-navy) !important;
	color: #fff !important;
	padding: 8px 18px !important;
	font-weight: 700;
	font-size: 0.9375rem;
}

/* Menu drawer (no JavaScript: <details>) */
.oo-menu > summary { list-style: none; cursor: pointer; display: inline-flex; padding: 8px 6px; color: var(--oo-navy); }
.oo-menu > summary::-webkit-details-marker { display: none; }
.oo-menu[open] > summary::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(11, 24, 48, 0.45);
	z-index: 90;
}
.oo-menu-panel {
	position: fixed;
	top: 0; left: 0; bottom: 0;
	width: min(84vw, 340px);
	background: #fff;
	z-index: 100;
	overflow-y: auto;
	padding: 16px 18px 32px;
	box-shadow: 4px 0 24px rgba(11, 24, 48, 0.18);
}
.oo-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1.125rem; color: var(--oo-navy); }
.oo-menu-close { font-size: 1.25rem; color: var(--oo-muted); }
.oo-menu-label { margin: 16px 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--oo-muted); }
.oo-menu-list { list-style: none; margin: 0; padding: 0; }
.oo-menu-list a { display: block; padding: 11px 2px; border-bottom: 1px solid var(--oo-line); color: var(--oo-navy); text-decoration: none; font-weight: 600; }

/* Trust strip */
.oo-trust-strip {
	list-style: none;
	margin: 0;
	padding: 8px 12px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	background: #fff;
	border-bottom: 1px solid var(--oo-line);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--oo-navy);
}
.oo-trust-strip li { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; line-height: 1.2; }
.oo-trust-strip li + li { border-left: 1px solid var(--oo-line); }
.oo-trust-strip svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--oo-blue); }
.oo-trust-strip a { color: inherit; text-decoration: none; }

/* =========================================================
   3. Home banner (text banner: fast LCP; image banners can come later)
   ========================================================= */
.oo-banner {
	margin-top: 4px !important;
	border-radius: 18px;
	padding: 22px 20px !important;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(10, 160, 234, 0.35) 0%, rgba(10, 160, 234, 0) 55%),
		linear-gradient(135deg, var(--oo-navy) 0%, #1B3A6B 100%);
	color: #fff;
}
.oo-banner .oo-banner-kicker { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8FD6FA; }
.oo-banner h1.oo-banner-title { color: #fff; margin: 0; font-size: clamp(1.625rem, 6.5vw, 2.5rem); line-height: 1.15; }
.oo-banner .oo-banner-si { margin: 0; color: #CFE9F8; font-size: 0.875rem; }
.oo-banner .oo-banner-cta .wp-block-button__link { background: var(--oo-blue); color: var(--oo-navy); font-weight: 700; border-radius: 999px; padding: 10px 20px; }

/* =========================================================
   4. Sections ("Title ……… View all ›")
   ========================================================= */
.oo-section { margin-top: 24px !important; }
.oo-section.is-tinted {
	background: var(--oo-tint-2);
	border: 1px solid var(--oo-line);
	border-radius: 18px;
	padding: 14px 12px 16px;
}
.oo-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.oo-section-head h2 { margin: 0; font-size: 1.375rem; }
.oo-viewall { flex: 0 0 auto; font-weight: 700; font-size: 0.875rem; color: var(--oo-blue); text-decoration: none; }
.oo-section .woocommerce { margin: 0; }

/* Shop by Category: 4-col tiles on phones */
.oo-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
.oo-cat-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--oo-navy); }
.oo-cat-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--oo-radius);
	background: #fff;
	border: 1px solid var(--oo-line);
	overflow: hidden;
}
.oo-cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.oo-cat-name { font-size: 0.75rem; font-weight: 700; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 782px) { .oo-cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; } .oo-cat-name { font-size: 0.875rem; } }

/* =========================================================
   5. Product cards (classic loop)
   ========================================================= */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 10px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--oo-line);
	border-radius: var(--oo-radius);
	padding: 8px 8px 10px;
	position: relative;
	min-width: 0;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: inherit; }
.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 10px;
	margin: 0 0 8px !important;
	background: #fff;
}
.oo-card-cat { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--oo-muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	padding: 0 !important;
	margin: 0 0 6px;
	color: var(--oo-navy);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}
/* Price: big red current price above the struck-through old price */
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; margin: auto 0 8px; color: var(--oo-navy); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.woocommerce ul.products li.product .price:has(del) { flex-direction: column-reverse; align-items: flex-start; }
.oo-from { font-size: 0.75rem; font-weight: 600; color: var(--oo-muted); }
.woocommerce ul.products li.product .price ins { color: var(--oo-sale); font-size: 1.0625rem; text-decoration: none; }
.woocommerce ul.products li.product .price del { color: var(--oo-muted); font-size: 0.8125rem; font-weight: 500; opacity: 1; }
.woocommerce ul.products li.product .price .screen-reader-text { position: absolute; }
.woocommerce ul.products li.product .onsale {
	top: 12px !important; left: 12px !important; right: auto !important;
	margin: 0 !important;
	min-height: 0; min-width: 0;
	line-height: 1;
	padding: 5px 8px;
	font-size: 0.6875rem;
}
.woocommerce ul.products li.product .button {
	margin-top: 0;
	width: 100%;
	text-align: center;
	font-size: 0.875rem;
	padding: 11px 6px;
	min-height: 42px;
}
@media (min-width: 782px) {
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
	.woocommerce ul.products li.product { padding: 12px 12px 14px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.9375rem; }
}

/* =========================================================
   6. Buttons & prices (global)
   ========================================================= */
.woocommerce .price del,
.wp-block-woocommerce-product-price del { color: var(--oo-muted); font-weight: 400; }
.woocommerce .price ins,
.wp-block-woocommerce-product-price ins { color: var(--oo-sale); text-decoration: none; font-weight: 700; }
.woocommerce span.onsale,
.wc-block-components-product-sale-badge {
	background: var(--oo-sale);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order {
	background: var(--oo-navy);
	color: #fff;
	border-radius: 10px;
	font-weight: 700;
	min-height: 48px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover { background: var(--wp--preset--color--navy-dark); color: #fff; }
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order { width: 100%; font-size: 1.0625rem; }
/* TT5 buttons are content-box + 36px padding: with width:100% they overflowed
   cards and widened the page on phones (fixed in 0.1.1 — keep). */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.wp-element-button { box-sizing: border-box; max-width: 100%; }
.woocommerce a.added_to_cart { display: block; text-align: center; font-size: 0.8125rem; font-weight: 700; margin-top: 6px; color: var(--oo-blue); }

/* =========================================================
   7. Product page
   ========================================================= */
.oo-trust { border: 1px solid var(--oo-line); border-radius: 12px; }
.oo-trust p { margin: 0; }
.oo-trust .oo-trust-row { display: flex; gap: 10px; align-items: flex-start; }
.oo-trust .oo-trust-ic { flex: 0 0 22px; color: var(--wp--preset--color--ok); font-weight: 700; }
.oo-si { font-size: 0.875rem; color: var(--oo-muted); }
.oo-product .product_meta,
.oo-product .wp-block-woocommerce-product-sku { font-size: 0.8125rem; color: var(--oo-muted); }
.woocommerce div.product form.cart { margin-bottom: 12px; }
.woocommerce div.product form.cart .variations select { min-height: 44px; border-radius: 8px; width: 100%; }
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; width: 100%; padding: 0; }
.woocommerce div.product form.cart .variations th.label { margin-bottom: 6px; font-weight: 700; }
.woocommerce div.product form.cart .variations tr { margin-bottom: 12px; }
.woocommerce div.product form.cart div.quantity .qty { min-height: 48px; border-radius: 10px; }

/* Gallery: one swipeable thumbnail row */
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar { display: none; }
.woocommerce div.product div.images .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 8px; }
/* CLS fixes (verified 0 in 0.1.4 — keep):
   first image only until FlexSlider init; square image; thumb-row reserve; square clipped viewport. */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) { display: none; }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image { display: block; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.woocommerce-product-gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image):not(:has(.flex-control-thumbs)) { padding-bottom: 72px; }
.woocommerce-product-gallery .flex-viewport { aspect-ratio: 1 / 1; overflow: hidden; }

/* Buy now bar */
.oo-buybar { display: none; }
.oo-buybar .wp-block-woocommerce-product-price { margin: 0; font-size: 1rem; line-height: 1.2; min-width: 0; }
.oo-buybar .wp-block-woocommerce-product-price del { display: block; font-size: 0.8125rem; }
.oo-buybar-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px !important;
	border-radius: 10px;
	background: var(--oo-navy);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
}
.oo-buybar-btn.is-busy { opacity: 0.6; pointer-events: none; }
.oo-attention { outline: 3px solid var(--oo-blue); outline-offset: 6px; border-radius: 8px; transition: outline-color 0.3s; }

/* =========================================================
   7b. Shop / category / search archives
   ========================================================= */
.oo-chips {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	margin: 0 calc(-1 * var(--wp--style--root--padding-left, 16px)); padding: 2px var(--wp--style--root--padding-left, 16px) 4px;
	-webkit-overflow-scrolling: touch;
}
.oo-chips::-webkit-scrollbar { display: none; }
.oo-chips a {
	flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
	border: 1px solid var(--oo-line); background: #fff;
	color: var(--oo-navy); font-size: 0.8125rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.oo-chips a[aria-current="page"] { background: var(--oo-navy); border-color: var(--oo-navy); color: #fff; }
.oo-archive .woocommerce-products-header__title { font-size: 1.5rem; margin: 4px 0 6px; color: var(--oo-navy); }
.oo-archive .term-description { font-size: 0.875rem; color: var(--oo-muted); }
.oo-archive .woocommerce-breadcrumb { font-size: 0.8125rem; margin-bottom: 4px; }
.oo-archive .woocommerce-result-count { float: left; margin: 0 0 14px; font-size: 0.8125rem; color: var(--oo-muted); line-height: 38px; }
.oo-archive .woocommerce-ordering { float: right; margin: 0 0 14px; }
.oo-archive .woocommerce-ordering select {
	height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--oo-line); border-radius: 10px;
	background-color: #fff; color: var(--oo-navy); font: inherit; font-size: 0.8125rem; font-weight: 600; max-width: 180px;
}
.oo-archive ul.products { clear: both; }
.oo-archive .woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; border: 0 !important; margin-top: 20px; }
.oo-archive .woocommerce-pagination ul li { border: 0 !important; }
.oo-archive .woocommerce-pagination a, .oo-archive .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px;
	border: 1px solid var(--oo-line); background: #fff; color: var(--oo-navy); font-weight: 700;
}
.oo-archive .woocommerce-pagination span.current { background: var(--oo-navy); color: #fff; border-color: var(--oo-navy); }
.oo-archive .woocommerce-info { border-radius: 12px; }

/* =========================================================
   7c. Cart (classic) — item cards on phones
   ========================================================= */
.woocommerce-cart .woocommerce-cart-form table.shop_table { border: 0; border-radius: 0; margin-bottom: 16px; }
.woocommerce-cart .cart_totals { box-sizing: border-box; width: 100%; background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius); padding: 14px 16px; }
.woocommerce-cart .cart_totals h2 { font-size: 1.125rem; margin: 0 0 8px; color: var(--oo-navy); }
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin: 0; }
.woocommerce-cart .cart_totals .order-total td, .woocommerce-cart .cart_totals .order-total th { font-size: 1.0625rem; color: var(--oo-navy); }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 1.0625rem; padding: 16px; margin-bottom: 0; border-radius: 12px; }
.woocommerce-cart td.actions { background: none !important; }
.woocommerce-cart td.actions .coupon { display: flex !important; gap: 8px; padding-bottom: 0 !important; }
.woocommerce-cart td.actions .coupon .input-text, .woocommerce-cart td.actions .coupon .button { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce-cart td.actions .coupon .button { flex: 0 0 auto; min-height: 44px; padding: 0 16px; }
.woocommerce-cart .cart_totals tr, .woocommerce-cart .cart_totals td, .woocommerce-cart .cart_totals th { background: none !important; }
.woocommerce-cart td.actions .coupon .input-text { flex: 1 1 auto; min-width: 0; height: 44px; border: 1px solid var(--oo-line); border-radius: 10px; padding: 0 12px; font: inherit; }
@media (max-width: 768px) {
	.woocommerce-cart table.shop_table_responsive tbody tr.cart_item {
		display: grid !important;
		grid-template-columns: 72px 1fr auto;
		grid-template-areas: "thumb name remove" "thumb price price" "thumb qty sub";
		gap: 4px 12px; align-items: center;
		padding: 12px; margin-bottom: 10px;
		background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius);
	}
	.woocommerce-cart table.shop_table_responsive tr.cart_item td {
		display: block !important; border: 0 !important; padding: 0 !important;
		text-align: left !important; background: none !important;
	}
	.woocommerce-cart table.shop_table_responsive tr.cart_item td::before { display: none !important; }
	.woocommerce-cart tr.cart_item td.product-thumbnail { grid-area: thumb; align-self: start; }
	.woocommerce-cart tr.cart_item td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--oo-line); }
	.woocommerce-cart tr.cart_item td.product-name { grid-area: name; font-weight: 700; font-size: 0.875rem; line-height: 1.3; }
	.woocommerce-cart tr.cart_item td.product-name a { color: var(--oo-navy); text-decoration: none; }
	.woocommerce-cart tr.cart_item td.product-name dl.variation { font-weight: 500; font-size: 0.75rem; color: var(--oo-muted); margin: 2px 0 0; }
	.woocommerce-cart tr.cart_item td.product-remove { grid-area: remove; align-self: start; text-align: right !important; }
	.woocommerce-cart tr.cart_item td.product-remove a.remove { display: grid; place-items: center; width: 28px; height: 28px; font-size: 1.25rem; color: var(--oo-muted) !important; border-radius: 50%; }
	.woocommerce-cart tr.cart_item td.product-price { grid-area: price; font-size: 0.8125rem; color: var(--oo-muted); }
	.woocommerce-cart tr.cart_item td.product-quantity { grid-area: qty; }
	.woocommerce-cart tr.cart_item td.product-quantity .qty { width: 64px; height: 38px; border: 1px solid var(--oo-line); border-radius: 8px; text-align: center; font: inherit; font-weight: 700; }
	.woocommerce-cart tr.cart_item td.product-subtotal { grid-area: sub; text-align: right !important; font-weight: 700; color: var(--oo-navy); white-space: nowrap; }
	.woocommerce-cart table.shop_table_responsive tbody tr:last-child { display: block; }
	.woocommerce-cart table.shop_table_responsive td.actions { display: block; border: 0 !important; padding: 0 !important; }
	.woocommerce-cart table.shop_table_responsive td.actions::before { display: none !important; }
	.woocommerce-cart td.actions > .button { width: 100%; margin-top: 8px; background: #fff; color: var(--oo-navy); border: 1px solid var(--oo-line); }
}

/* =========================================================
   7d. Generic pages & My account
   ========================================================= */
.oo-page .oo-page-title { font-size: 1.5rem; color: var(--oo-navy); margin: 0; }
.oo-page .wp-block-post-content > *:first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; margin-bottom: 16px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--oo-line); background: #fff;
	color: var(--oo-navy); font-size: 0.8125rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--oo-navy); border-color: var(--oo-navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius); padding: 16px; }
.woocommerce-account .woocommerce-MyAccount-content > *:last-child { margin-bottom: 0; }
.woocommerce form.login, .woocommerce form.register {
	background: #fff; border: 1px solid var(--oo-line) !important; border-radius: var(--oo-radius) !important; padding: 16px !important; margin: 0 0 16px !important;
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	min-height: 44px; border: 1px solid var(--oo-line); border-radius: 10px; padding: 0 12px; background: #fff; font: inherit;
}
.woocommerce form.login .button, .woocommerce form.register .button { width: 100%; min-height: 48px; margin-top: 8px; }

/* =========================================================
   7e. Checkout (focused header — no menus, no distractions)
   ========================================================= */
.oo-co-head { background: #fff; border-bottom: 1px solid var(--oo-line); padding-top: 10px; padding-bottom: 10px; }
.oo-co-head-in { align-items: center; }
.oo-co-head .wp-block-site-logo img { height: auto; }
.oo-co-secure { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--oo-ok, #1E8E3E); }
.oo-co-help { margin: 0; font-size: 0.8125rem; color: var(--oo-muted); }
.oo-co-help a { color: var(--oo-navy); font-weight: 700; }
.oo-co-foot { padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--oo-line); font-size: 0.75rem; color: var(--oo-muted); text-align: center; }
.oo-co-foot a { color: inherit; }

/* =========================================================
   8. Footer
   ========================================================= */
.oo-footer { background: var(--oo-tint-2); border-top: 1px solid var(--oo-line); padding-top: 20px; padding-bottom: 24px; margin-top: 0; }
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > main.wp-block-group { margin-block-start: 0; }
.oo-features {
	list-style: none; margin: 0 0 14px; padding: 12px 8px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
	background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius);
	font-size: 0.75rem; color: var(--oo-navy);
}
.oo-features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; line-height: 1.25; }
.oo-features svg { width: 22px; height: 22px; color: var(--oo-blue); }
.oo-features strong { display: block; font-size: 0.8125rem; }
.oo-features a { color: inherit; }
.oo-acc { background: #fff; border: 1px solid var(--oo-line); border-radius: 12px; margin-bottom: 8px; }
.oo-acc > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--oo-navy); display: flex; justify-content: space-between; }
.oo-acc > summary::-webkit-details-marker { display: none; }
.oo-acc > summary::after { content: "⌄"; color: var(--oo-muted); transition: transform 0.2s; }
.oo-acc[open] > summary::after { transform: rotate(180deg); }
.oo-acc > div, .oo-acc > ul { padding: 0 16px 10px; }
.oo-acc .oo-menu-label:first-child { margin-top: 0; }
.oo-contact-card {
	margin: 14px 0; padding: 16px;
	border-radius: var(--oo-radius);
	background: linear-gradient(135deg, var(--oo-navy), #1B3A6B);
	color: #fff;
}
.oo-contact-card p { margin: 0 0 4px; }
.oo-contact-name { font-weight: 700; color: #8FD6FA; }
.oo-contact-phone a { color: #fff; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.oo-contact-meta { font-size: 0.8125rem; color: #CFE9F8; }
.oo-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.oo-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.oo-btn-call { background: var(--oo-blue); color: var(--oo-navy); }
.oo-btn-mail { background: #fff; color: var(--oo-navy); }
.oo-btn-wa { grid-column: 1 / -1; gap: 8px; background: #25D366; color: #fff; }
.oo-btn-wa svg { width: 20px; height: 20px; }
.oo-wa-float {
	position: fixed; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(19, 38, 74, 0.25);
}
.oo-wa-float svg { width: 28px; height: 28px; }
@media (max-width: 781px) {
	.oo-wa-float { bottom: calc(var(--oo-bottom-nav-h) + 14px + env(safe-area-inset-bottom)); }
	body.single-product .oo-wa-float { bottom: calc(76px + 14px + env(safe-area-inset-bottom)); }
}
body.woocommerce-checkout .oo-wa-float { display: none; }
.oo-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.8125rem; color: var(--oo-muted); }
.oo-legal p { margin: 0; }
.oo-paychips { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.oo-paychips li { border: 1px solid var(--oo-line); background: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 700; color: var(--oo-navy); font-size: 0.75rem; }

/* =========================================================
   9. Mobile bottom navigation & per-page overrides
   ========================================================= */
.oo-bottom-nav { display: none; }
@media (max-width: 781px) {
	body { padding-bottom: calc(var(--oo-bottom-nav-h) + env(safe-area-inset-bottom)); }
	.oo-bottom-nav {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 50;
		height: calc(var(--oo-bottom-nav-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff;
		border-top: 1px solid var(--oo-line);
	}
	.oo-bottom-nav a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		color: var(--oo-navy); text-decoration: none; font-size: 0.6875rem; font-weight: 600;
	}
	.oo-bottom-nav svg { width: 22px; height: 22px; }

	/* Checkout: keep Place Order unobstructed. */
	body.woocommerce-checkout .oo-bottom-nav { display: none; }
	body.woocommerce-checkout { padding-bottom: 0; }

	/* Product pages: Buy now bar replaces the bottom nav. */
	body.single-product .oo-bottom-nav { display: none; }
	body.single-product .oo-buybar {
		display: flex !important;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		gap: 12px;
		align-items: center;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		margin: 0 !important;
		background: #fff;
		border-top: 1px solid var(--oo-line);
		box-shadow: 0 -4px 16px rgba(19, 38, 74, 0.08);
	}
	body.single-product { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 782px) {
	.oo-masthead .oo-search { max-width: 640px; }
}

/* =========================================================
   10. ido.lk-style refinements (0.4.0)
   ========================================================= */

/* Discount on category tiles: "Up to 60% off" (real, computed, rounded down) */
.oo-cat-img { position: relative; }
.oo-cat-off .oo-m { display: none; }
@media (max-width: 781px) {
	.oo-cat-off .oo-w { display: none; }
	.oo-cat-off .oo-m { display: inline; }
	.oo-cat-off { left: 3px !important; top: 3px !important; padding: 2px 4px !important; font-size: 0.625rem !important; }
}
.oo-cat-off {
	position: absolute; left: 4px; top: 4px; z-index: 1;
	padding: 3px 6px; border-radius: 6px;
	background: var(--oo-sale); color: #fff;
	font-size: 0.625rem; font-weight: 700; line-height: 1.1; white-space: nowrap;
}

/* Desktop-only pieces are hidden on phones */
.oo-head-phone, .oo-navbar { display: none; }

/* Homepage product rows: swipe sideways on phones (2 cards + a peek of the next) */
@media (max-width: 781px) {
	.oo-home .oo-section ul.products {
		display: flex !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		gap: 10px;
		padding-bottom: 6px !important;
		-webkit-overflow-scrolling: touch;
	}
	.oo-home .oo-section ul.products::-webkit-scrollbar { display: none; }
	.oo-home .oo-section ul.products li.product { flex: 0 0 44%; scroll-snap-align: start; }
}

/* Desktop header: logo · wide search · phone · account · cart on one row, then a category bar */
@media (min-width: 1024px) {
	.oo-masthead {
		display: flex; align-items: center; gap: 28px;
		padding: 14px max(24px, calc((100% - 1200px) / 2)) !important;
	}
	.oo-masthead > * { margin: 0 !important; max-width: none !important; }
	.oo-masthead .oo-bar { display: contents; }
	.oo-masthead .oo-bar-left { order: 1; flex: 0 0 auto; }
	.oo-masthead .oo-search { order: 2; flex: 1 1 auto; max-width: 640px !important; margin: 0 auto !important; }
	.oo-masthead .oo-bar-right { order: 3; flex: 0 0 auto; gap: 14px !important; align-items: center; }
	.oo-masthead .oo-menu { display: none; }
	.oo-masthead .wp-block-site-logo img { height: 48px; }

	.oo-head-phone {
		display: inline-flex; align-items: center; gap: 8px;
		color: var(--oo-navy); text-decoration: none; font-weight: 700; font-size: 0.9375rem; line-height: 1.15;
		padding-right: 14px; margin-right: 2px; border-right: 1px solid var(--oo-line);
	}
	.oo-head-phone svg { color: var(--oo-blue); }
	.oo-head-phone small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--oo-muted); }

	.oo-navbar { display: block; background: var(--oo-navy); }
	.oo-navbar ul {
		list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1200px;
		display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
	}
	.oo-navbar a {
		display: block; padding: 11px 14px; white-space: nowrap;
		color: #fff; text-decoration: none; font-size: 0.875rem; font-weight: 700;
		border-bottom: 3px solid transparent;
	}
	.oo-navbar a:hover, .oo-navbar a[aria-current="page"] { border-bottom-color: var(--oo-blue); color: #fff; }
	.oo-navbar a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

	/* The category bar already lists categories; the chip row is for phones/tablets */
	.oo-archive .oo-chips { display: none; }
}

/* Wide screens: 5 cards per row (20 per page / 10 per homepage row divide evenly) */
@media (min-width: 1100px) {
	.woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

/* =========================================================
   11. Product page refinements (0.5.0)
   ========================================================= */
.oo-visually-hidden {
	position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
	padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important;
}

/* Sale badge on the gallery: a pill inside the photo (was a large clipped circle) */
.woocommerce div.product span.onsale,
.oo-product .wp-block-woocommerce-product-image-gallery span.onsale {
	top: 12px !important; left: 12px !important; right: auto !important;
	min-width: 0; min-height: 0; margin: 0 !important;
	padding: 6px 10px; line-height: 1; font-size: 0.8125rem;
	border-radius: 999px; z-index: 5;
}

/* Option buttons */
.oo-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.oo-swatches button {
	min-height: 44px; padding: 8px 14px; border-radius: 10px;
	border: 1.5px solid var(--oo-line); background: #fff; color: var(--oo-navy);
	font: inherit; font-size: 0.875rem; font-weight: 700; line-height: 1.2; cursor: pointer; text-align: left;
}
.oo-swatches button:hover:not(:disabled) { border-color: var(--oo-blue); }
.oo-swatches button[aria-pressed="true"] { border-color: var(--oo-navy); background: var(--oo-navy); color: #fff; }
.oo-swatches button:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.oo-swatches button:focus-visible { outline: 3px solid var(--oo-blue); outline-offset: 2px; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: 0.8125rem; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin: 4px 0 10px; font-size: 1.25rem; font-weight: 700; }
.woocommerce div.product form.cart .woocommerce-variation-availability p { margin: 0 0 8px; font-size: 0.875rem; }

/* Quantity | Add to cart, then a full-width Buy now */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch;
}
.woocommerce div.product form.cart .quantity { float: none; margin: 0 !important; }
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 160px; width: auto; float: none; margin: 0 !important;
	background: #fff; color: var(--oo-navy); border: 2px solid var(--oo-navy);
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--oo-tint); color: var(--oo-navy); }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: 0.45; }
.oo-buynow-inline {
	flex: 1 1 100%; min-height: 52px; border-radius: 10px; margin: 0 !important;
	background: var(--oo-navy) !important; color: #fff !important; font-size: 1.0625rem; font-weight: 700;
}
.oo-buynow-inline:hover { background: var(--wp--preset--color--navy-dark) !important; }
.oo-buynow-inline.is-busy { opacity: 0.6; pointer-events: none; }

/* Quantity stepper */
.oo-stepper { display: inline-flex !important; align-items: stretch; border: 1.5px solid var(--oo-line); border-radius: 10px; overflow: hidden; background: #fff; }
.oo-stepper button { width: 40px; border: 0; background: var(--oo-tint); color: var(--oo-navy); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.oo-stepper button:hover { background: var(--oo-tint-2); }
.woocommerce div.product form.cart .oo-stepper .qty {
	width: 48px; min-height: 48px; border: 0 !important; border-radius: 0; text-align: center;
	font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.oo-stepper .qty::-webkit-outer-spin-button, .oo-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Tabs: one tidy row with an underline for the active tab */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex; gap: 4px; padding: 0 !important; margin: 0 0 16px !important;
	border-bottom: 1px solid var(--oo-line); overflow-x: auto; scrollbar-width: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: 10px 14px !important; white-space: nowrap;
	color: var(--oo-muted) !important; font-weight: 700; border-bottom: 3px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--oo-navy) !important; border-bottom-color: var(--oo-blue); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }

/* =========================================================
   12. Category pages: price chips, sold-out cards (0.6.0)
   ========================================================= */
.oo-pricebands { clear: both; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px; }
.oo-pricebands::-webkit-scrollbar { display: none; }
.oo-pricebands a {
	flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
	border: 1px dashed var(--oo-line); background: #fff; color: var(--oo-navy);
	font-size: 0.8125rem; font-weight: 600; text-decoration: none;
}
.oo-pricebands a[aria-current="true"] { border-style: solid; border-color: var(--oo-blue); background: var(--oo-tint); font-weight: 700; }

.woocommerce ul.products li.product.outofstock img { opacity: 0.5; filter: grayscale(0.6); }
.oo-soldout {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	padding: 5px 8px; border-radius: 999px; background: var(--oo-navy); color: #fff;
	font-size: 0.6875rem; font-weight: 700; line-height: 1;
}
.woocommerce ul.products li.product.outofstock .onsale { display: none; }
.woocommerce ul.products li.product.outofstock .button { background: #fff; color: var(--oo-muted); border: 1px solid var(--oo-line); }

/* =========================================================
   13. Instant search suggestions (0.7.0)
   ========================================================= */
.oo-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
	max-height: min(70vh, 460px); overflow-y: auto;
	background: #fff; border: 1px solid var(--oo-line); border-radius: 14px;
	box-shadow: 0 12px 32px rgba(19, 38, 74, 0.18); padding: 6px;
}
.oo-suggest[hidden] { display: none; }
.oo-suggest-item { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--oo-navy); }
.oo-suggest-item img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--oo-line); border-radius: 8px; background: #fff; }
.oo-suggest-item.is-soldout img { opacity: 0.5; }
.oo-suggest-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.oo-suggest-name { font-size: 0.875rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oo-suggest-price { font-size: 0.8125rem; font-weight: 700; color: var(--oo-navy); }
.oo-suggest-price ins { color: var(--oo-sale); text-decoration: none; }
.oo-suggest-price del { color: var(--oo-muted); font-weight: 500; margin-right: 4px; }
.oo-suggest-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.oo-suggest-so { font-size: 0.6875rem; font-weight: 700; color: var(--oo-muted); }
.oo-suggest-item:hover, .oo-suggest-item[aria-selected="true"],
.oo-suggest-all:hover, .oo-suggest-all[aria-selected="true"] { background: var(--oo-tint); }
.oo-suggest-all { display: block; padding: 10px 8px; border-top: 1px solid var(--oo-line); margin-top: 4px; font-size: 0.875rem; font-weight: 700; color: var(--oo-blue); text-decoration: none; border-radius: 0 0 10px 10px; }
.oo-suggest-none { margin: 0; padding: 12px 8px; font-size: 0.875rem; color: var(--oo-muted); }
.oo-search.is-searching .wp-block-search__button { opacity: 0.7; }

/* =========================================================
   14. Homepage banner slider (0.8.0) — 2560×586 desktop, 1080×540 phone
   ========================================================= */
.oo-banners { position: relative; margin: 0 0 4px; border-radius: var(--oo-radius); overflow: hidden; background: var(--oo-navy); }
.oo-banners-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.oo-banners-track::-webkit-scrollbar { display: none; }
.oo-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; margin: 0; padding: 0; }
.oo-slide picture, .oo-slide img { display: block; width: 100%; height: auto; aspect-ratio: var(--oo-banner-ar, 5 / 2); object-fit: cover; }
@media (max-width: 781px) {
	.oo-slide picture, .oo-slide img { aspect-ratio: var(--oo-banner-ar-m, var(--oo-banner-ar, 5 / 2)); }
}
.oo-banners-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.oo-banners-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.55); cursor: pointer; transition: width 0.2s; }
.oo-banners-dots button[aria-current="true"] { width: 22px; background: #fff; }
.oo-banners-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: rgba(255,255,255,0.85); color: var(--oo-navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: none;
}
.oo-banners-arrow.is-prev { left: 12px; } .oo-banners-arrow.is-next { right: 12px; }
@media (min-width: 782px) and (hover: hover) {
	.oo-banners-arrow { display: grid; place-items: center; opacity: 0; transition: opacity 0.2s; }
	.oo-banners:hover .oo-banners-arrow, .oo-banners-arrow:focus-visible { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .oo-banners-track { scroll-behavior: auto; } }

/* =========================================================
   15. Cart refinements (0.9.0)
   ========================================================= */
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-calculator { display: none !important; }
.woocommerce-cart .oo-stepper .qty { width: 44px; min-height: 40px; border: 0 !important; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.woocommerce-cart .oo-stepper .qty::-webkit-outer-spin-button, .woocommerce-cart .oo-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce-cart .oo-stepper button { width: 36px; }
.woocommerce-cart td.actions > button[name="update_cart"] { display: none; } /* updates automatically */
.oo-cart-assure { margin: 10px 0 0; font-size: 0.8125rem; color: var(--oo-muted); text-align: center; }
.oo-cartbar { display: none; }
@media (max-width: 781px) {
	.woocommerce-cart .oo-cartbar {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; left: 0; right: 0; z-index: 45;
		bottom: calc(var(--oo-bottom-nav-h) + env(safe-area-inset-bottom));
		padding: 10px 16px; background: #fff; border-top: 1px solid var(--oo-line);
		box-shadow: 0 -4px 16px rgba(19, 38, 74, 0.08);
	}
	.oo-cartbar-total { display: flex; flex-direction: column; font-size: 1.125rem; font-weight: 700; color: var(--oo-navy); line-height: 1.15; }
	.oo-cartbar-total small { font-size: 0.75rem; font-weight: 600; color: var(--oo-muted); }
	.oo-cartbar-btn { padding: 12px 28px; border-radius: 10px; background: var(--oo-navy); color: #fff !important; font-weight: 700; text-decoration: none; }
	body.woocommerce-cart { padding-bottom: calc(var(--oo-bottom-nav-h) + 72px + env(safe-area-inset-bottom)); }
	body.woocommerce-cart .oo-wa-float { bottom: calc(var(--oo-bottom-nav-h) + 86px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   16. Checkout refinements (0.9.0)
   ========================================================= */
.woocommerce-checkout #billing_country_field { display: none !important; } /* Sri Lanka only; value still submitted */
.oo-co-summary { display: none; }
@media (max-width: 781px) {
	.oo-co-summary { display: block; margin: 0 0 14px; background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius); }
	.oo-co-summary > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; color: var(--oo-navy); }
	.oo-co-summary > summary::-webkit-details-marker { display: none; }
	.oo-co-summary > summary > span:first-child::after { content: " ⌄"; color: var(--oo-muted); }
	.oo-co-summary[open] > summary > span:first-child::after { content: " ⌃"; }
	.oo-co-summary-total, .oo-co-summary-total *, .oo-co-summary li b, .oo-co-summary li b * { white-space: nowrap; }
	.oo-co-summary-total { font-size: 1.0625rem; }
	.oo-co-summary ul { list-style: none; margin: 0; padding: 0 16px 12px; border-top: 1px solid var(--oo-line); }
	.oo-co-summary li { display: grid; grid-template-columns: 44px minmax(0, 1fr) max-content; gap: 10px; align-items: center; padding: 10px 0; font-size: 0.8125rem; border-bottom: 1px solid var(--oo-line); }
	.oo-co-summary li:last-child { border-bottom: 0; }
	.oo-co-summary li img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--oo-line); border-radius: 8px; }
	.oo-co-summary li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--oo-navy); }
}
/* Order review table → tidy card with thumbnails */
.woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--oo-line); border-radius: var(--oo-radius); padding: 14px 16px; }
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table { border: 0; margin: 0 0 12px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border-left: 0 !important; border-right: 0 !important; padding: 10px 0 !important; background: none !important; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td.product-name { display: flex; gap: 10px; align-items: center; font-size: 0.875rem; color: var(--oo-navy); }
.woocommerce-checkout-review-order-table td.product-total { text-align: right; vertical-align: middle; white-space: nowrap; font-weight: 700; }
.oo-co-thumb { flex: 0 0 44px; width: 44px !important; height: 44px; object-fit: contain; border: 1px solid var(--oo-line); border-radius: 8px; }
.oo-co-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.125rem; color: var(--oo-navy); }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
/* WooCommerce gives price spans display:flow-root on checkout, which stacks "Rs" over the number. */
.oo-co-summary .woocommerce-Price-amount, .oo-co-summary .woocommerce-Price-currencySymbol { display: inline !important; }
/* Desktop checkout: details on the left, order summary in a sticky right column */
@media (min-width: 1024px) {
	form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 36px; align-items: start; }
	form.checkout.woocommerce-checkout > * { grid-column: 1; }
	form.checkout.woocommerce-checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	form.checkout.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	form.checkout.woocommerce-checkout #customer_details .col-1,
	form.checkout.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
	form.checkout.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
	form.checkout.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 16px; }
}

/* =========================================================
   17. Desktop: ido.lk-style layout in OnlineOffers colours (0.11.0)
   Phones/tablets (<1024px) are unchanged.
   ========================================================= */
.oo-topbar, .oo-cart-total { display: none; }
.oo-sidebar { display: none; }

@media (min-width: 1024px) {
	:root { --oo-wide: 1340px; --oo-link: #0B6CA8; }
	body { background: #F3F6F9; }

	/* Wider canvas, like ido.lk */
	.oo-home > *, .oo-product > *, .oo-page > *, .oo-checkout > * { max-width: var(--oo-wide) !important; }

	/* 1. Utility bar (replaces the ticker on desktop) */
	.oo-ticker { display: none; }
	.oo-topbar { display: block; background: #3069EE; color: #fff; font-size: 0.8125rem; }
	.oo-topbar-in { max-width: var(--oo-wide); margin: 0 auto; padding: 7px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
	.oo-topbar-left { margin: 0; }
	.oo-topbar-right { list-style: none; margin: 0; padding: 0; display: flex; }
	.oo-topbar-right li + li { border-left: 1px solid rgba(255, 255, 255, 0.35); }
	.oo-topbar-right a { padding: 0 12px; color: #fff; font-weight: 700; text-decoration: none; }
	.oo-topbar-right li:last-child a { padding-right: 0; }
	.oo-topbar-right a:hover { text-decoration: underline; }

	/* 2. Header row: white, wider; cart shows its total */
	.oo-masthead { background: #fff !important; padding: 16px max(24px, calc((100% - var(--oo-wide)) / 2)) !important; }
	.oo-masthead .oo-search { max-width: 720px !important; }
	.oo-masthead .oo-search .wp-block-search__button { background: var(--oo-blue) !important; color: var(--oo-navy) !important; font-weight: 700; }
	.oo-cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
	.oo-cart-count { left: 20px; right: auto; top: 0; }
	.oo-cart-total { display: inline; font-weight: 700; font-size: 0.9375rem; color: var(--oo-navy); white-space: nowrap; }
	.oo-cart-total .woocommerce-Price-amount { display: inline; }
	.oo-trust-strip { display: none; } /* the utility bar carries COD / delivery / phone */

	/* 3. Category bar: brand blue band, navy links */
	.oo-navbar { background: #3069EE; }
	.oo-navbar ul { max-width: var(--oo-wide); }
	.oo-navbar a { color: #fff !important; }
	.oo-navbar a:hover, .oo-navbar a[aria-current="page"] { border-bottom-color: #fff; }
	.oo-navbar a:focus-visible { outline-color: #fff; }

	/* 4. Homepage sections as panels with a coloured header bar */
	.oo-home .oo-banners { margin-top: 16px; border-radius: 10px; }
	.oo-home .oo-section, .oo-home .oo-section.is-tinted {
		background: #fff; border: 1px solid var(--oo-line); border-radius: 10px;
		padding: 0 !important; overflow: hidden; margin-top: 28px !important;
	}
	.oo-home .oo-section-head { background: var(--oo-navy); margin: 0; padding: 12px 18px; align-items: center; }
	.oo-home .oo-section-head h2 { color: #fff; font-size: 1.25rem; font-weight: 700; }
	.oo-home .oo-viewall { color: #9FDCFB; }
	.oo-home .oo-section:has(#oo-h-flash-deals) .oo-section-head { background: var(--oo-sale); }
	.oo-home .oo-section:has(#oo-h-flash-deals) .oo-viewall { color: #fff; }
	.oo-home .oo-cats .oo-cat-grid { padding: 18px; }
	.oo-home .oo-section ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 0 !important; }
	.oo-home .oo-section ul.products li.product:nth-child(6n) { border-right: 0 !important; }

	/* 5. Product cards, Electro/ido style: category → blue title → photo → big red price + round cart button */
	.woocommerce ul.products li.product {
		border: 0; border-radius: 0; border-right: 1px solid var(--oo-line); border-bottom: 1px solid var(--oo-line);
		padding: 16px 14px 18px; transition: box-shadow 0.15s;
	}
	.woocommerce ul.products li.product:hover { box-shadow: 0 6px 22px rgba(19, 38, 74, 0.16); z-index: 2; }
	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: contents; }
	.woocommerce ul.products li.product .oo-card-cat { order: 1; font-size: 0.75rem; color: var(--oo-muted); }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { order: 2; color: var(--oo-link); font-size: 0.875rem !important; line-height: 1.3; }
	.woocommerce ul.products li.product .onsale { position: relative !important; top: auto !important; left: auto !important; order: 3; align-self: flex-start; margin: 8px 0 -28px 4px !important; z-index: 1; }
	.woocommerce ul.products li.product .oo-soldout { position: relative; top: auto; right: auto; order: 3; align-self: flex-end; margin: 8px 4px -26px 0; z-index: 1; }
	.woocommerce ul.products li.product img { order: 4; margin: 8px 0 12px !important; }
	.woocommerce ul.products li.product .price { order: 5; margin-top: auto; padding-right: 46px; min-height: 42px; justify-content: flex-start; align-items: flex-end; }
	.woocommerce ul.products li.product .price:has(del) { justify-content: flex-end; align-items: flex-start; align-content: flex-start; }
	.woocommerce ul.products li.product .price ins, .woocommerce ul.products li.product .price > .woocommerce-Price-amount { font-size: 1.25rem; }
	.woocommerce ul.products li.product .button {
		position: absolute; right: 14px; bottom: 18px; width: 40px; height: 40px; min-height: 0; padding: 0; margin: 0;
		border-radius: 50%; font-size: 0; line-height: 0; overflow: hidden; background: var(--oo-tint); color: var(--oo-navy); border: 0;
	}
	.woocommerce ul.products li.product .button::before {
		content: ""; display: block; width: 20px; height: 20px; margin: 10px auto;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
		        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.woocommerce ul.products li.product .button:hover, .woocommerce ul.products li.product:hover .button:not(.disabled) { background: var(--oo-navy); color: #fff; }
	.woocommerce ul.products li.product .button.loading { opacity: 0.6; }
	.woocommerce ul.products li.product .button.added::before { -webkit-mask-image: none; mask-image: none; content: "✓"; background: none; color: inherit; font-size: 18px; line-height: 20px; text-align: center; }
	.woocommerce ul.products li.product .added_to_cart { display: none; }
	.woocommerce ul.products li.product.outofstock .button { background: #fff; color: var(--oo-muted); border: 1px solid var(--oo-line); }

	/* 6. Shop / category / search: left sidebar + panel grid */
	.oo-archive {
		display: grid !important; grid-template-columns: 250px minmax(0, 1fr); gap: 0 24px; align-items: start;
		padding-left: max(24px, calc((100% - var(--oo-wide)) / 2)) !important;
		padding-right: max(24px, calc((100% - var(--oo-wide)) / 2)) !important;
	}
	.oo-archive > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; grid-column: 2; }
	.oo-archive > .oo-sidebar { display: block; grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 16px; }
	.oo-side-box { background: #fff; border: 1px solid var(--oo-line); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
	.oo-side-box h2 { margin: 0; padding: 11px 16px; background: var(--oo-navy); color: #fff; font-size: 1rem; font-weight: 700; }
	.oo-side-box ul { list-style: none; margin: 0; padding: 6px 0; }
	.oo-side-box li a { display: block; padding: 7px 16px; color: var(--oo-navy); text-decoration: none; font-size: 0.875rem; font-weight: 600; }
	.oo-side-box li a span { color: var(--oo-muted); font-weight: 500; }
	.oo-side-box li a:hover { background: var(--oo-tint-2); color: var(--oo-link); }
	.oo-side-box li a[aria-current] { color: var(--oo-link); background: var(--oo-tint); box-shadow: inset 3px 0 0 var(--oo-blue); }
	.oo-side-help p { margin: 12px 16px; font-size: 0.875rem; line-height: 1.6; }
	.oo-side-help a { color: var(--oo-link); }
	.oo-side-cod { color: var(--oo-muted); font-size: 0.8125rem !important; }
	.oo-archive .oo-pricebands { display: none; } /* price filter lives in the sidebar */
	.oo-archive ul.products { background: #fff; border: 1px solid var(--oo-line); border-radius: 10px; overflow: hidden; gap: 0 !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.oo-archive ul.products li.product:nth-child(4n) { border-right: 0; }

	/* Product page: related products as a panel too */
	.oo-product ul.products { background: #fff; border: 1px solid var(--oo-line); border-radius: 10px; overflow: hidden; gap: 0 !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.oo-product ul.products li.product:nth-child(4n) { border-right: 0; }

}
/* Home rows: 6 across on wide screens (12 per section = two full rows) */
@media (min-width: 1024px) and (max-width: 1199px) {
	.oo-home .oo-section ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.oo-home .oo-section ul.products li.product:nth-child(6n) { border-right: 1px solid var(--oo-line) !important; }
	.oo-home .oo-section ul.products li.product:nth-child(4n) { border-right: 0 !important; }
	.oo-archive ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.oo-archive ul.products li.product:nth-child(4n) { border-right: 1px solid var(--oo-line); }
	.oo-archive ul.products li.product:nth-child(3n) { border-right: 0; }
}
/* Hero: slider + two live promo tiles on desktop */
.oo-hero-tiles { display: none; }
@media (min-width: 1024px) {
	.oo-home .oo-section .woocommerce { max-width: none !important; width: 100%; }
	.oo-hero { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
	.oo-home .oo-hero .oo-banners { margin: 0; }
	.oo-hero-tiles { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
	.oo-hero-tile {
		position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
		padding: 16px 18px; border-radius: 10px; overflow: hidden; text-decoration: none; color: #fff;
		background: linear-gradient(135deg, var(--oo-navy) 0%, #1B3A6B 100%);
	}
	.oo-hero-tile.is-deal { background: linear-gradient(135deg, #A50D25 0%, var(--oo-sale) 100%); }
	.oo-hero-tile-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; z-index: 1; }
	.oo-hero-tile strong { font-size: 1.25rem; line-height: 1.1; }
	.oo-hero-tile-off { font-size: 1.5rem; font-weight: 800; color: #FFE27A; line-height: 1.1; }
	.oo-hero-tile-sub { font-size: 0.875rem; opacity: 0.9; }
	.oo-hero-tile-cta { margin-top: 6px; font-size: 0.8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
	.oo-hero-tile-img { flex: 0 0 auto; width: auto !important; height: 100% !important; max-height: 130px; max-width: 42%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; box-sizing: border-box; }
	.oo-hero { align-items: start; }
	.oo-hero-tiles { align-self: stretch; grid-template-rows: repeat(2, minmax(0, 1fr)); }
	.oo-hero-tile { min-height: 0; }
	.oo-hero-tile:hover .oo-hero-tile-img { transform: scale(1.04); transition: transform 0.2s; }
}

/* =========================================================
   18. Desktop footer, ido.lk layout (0.12.0)
   ========================================================= */
.oo-fd { display: none; }
@media (min-width: 1024px) {
	.oo-footer { background: #F7FAFC !important; border-top: 3px solid var(--oo-blue) !important; padding: 0 !important; }
	.oo-footer > .oo-features, .oo-footer > .oo-acc, .oo-footer > .oo-contact-card, .oo-footer > .oo-legal { display: none !important; }
	.oo-footer > .oo-fd { display: block; max-width: none !important; margin: 0 !important; }
	.oo-fd-grid {
		max-width: var(--oo-wide); margin: 0 auto; padding: 44px 24px 36px;
		display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: 32px;
	}
	.oo-fd-logo img { width: 190px; height: auto; display: block; }
	.oo-fd-tag { margin: 12px 0 20px; color: var(--oo-navy); font-size: 0.9375rem; }
	.oo-fd-call {
		display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 22px;
		background: #fff; border: 1px solid var(--oo-line); border-radius: 12px; box-shadow: 0 2px 10px rgba(19, 38, 74, 0.06);
		color: var(--oo-navy); text-decoration: none;
	}
	.oo-fd-call svg { color: var(--oo-blue); flex: 0 0 auto; }
	.oo-fd-call small { display: block; font-size: 0.875rem; }
	.oo-fd-call strong { display: block; font-size: 1.625rem; line-height: 1.15; letter-spacing: 0.01em; }
	.oo-fd-h { margin: 0 0 14px; font-size: 1.125rem; font-weight: 700; color: var(--oo-navy); }
	.oo-fd-addr { margin: 0 0 16px; color: var(--oo-navy); line-height: 1.6; font-size: 0.9375rem; }
	.oo-fd-addr a { color: var(--oo-link); }
	.oo-fd-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
	.oo-fd-social a { color: var(--oo-navy); display: inline-flex; }
	.oo-fd-social a:hover { color: var(--oo-blue); }
	.oo-fd-col { padding-left: 28px; border-left: 1px solid var(--oo-line); }
	.oo-fd-col ul { list-style: none; margin: 0; padding: 0; }
	.oo-fd-col li a { display: block; padding: 7px 0; color: var(--oo-navy); text-decoration: none; font-size: 0.9375rem; }
	.oo-fd-col li a:hover { color: var(--oo-link); text-decoration: underline; }
	.oo-fd-pay { background: #fff; border: 1px solid var(--oo-line); border-radius: 12px; padding: 14px; text-align: center; align-self: start; }
	.oo-fd-pay-h { margin: 0 0 12px; padding: 9px; border-radius: 8px; background: var(--oo-navy); color: #fff; font-weight: 700; font-size: 1.0625rem; }
	.oo-fd-cod { margin: 0 0 14px; padding: 10px; border: 1px dashed var(--oo-blue); border-radius: 8px; color: var(--oo-navy); }
	.oo-fd-cod strong { display: block; font-size: 1rem; }
	.oo-fd-cod span { font-size: 0.8125rem; color: var(--oo-muted); }
	.oo-fd-qr { display: block; width: 132px; height: 132px; margin: 0 auto 10px; }
	.oo-fd-qr-t .oo-nw { white-space: nowrap; font-size: 0.9375rem; }
	.oo-fd-qr-t { margin: 0; font-size: 0.8125rem; color: var(--oo-navy); line-height: 1.45; }
	.oo-fd-bottom {
		background: #EEF2F6; border-top: 1px solid var(--oo-line);
		display: flex; justify-content: space-between; align-items: center; gap: 16px;
		padding: 14px max(24px, calc((100% - var(--oo-wide)) / 2));
	}
	.oo-fd-bottom p { margin: 0; color: var(--oo-navy); font-size: 0.875rem; }
	.oo-fd-badges { display: flex; gap: 8px; }
	.oo-fd-badge { padding: 6px 12px; border-radius: 6px; background: var(--oo-navy); color: #fff; font-size: 0.8125rem; font-weight: 700; }
}

/* =========================================================
   19. Product page: "Pay your way" + "How you'll get it" (0.13.0)
   ========================================================= */
.oo-pay, .oo-ship { --oo-save: #15803D; --oo-save-br: #22C55E; --oo-split: #6D28D9; }
.oo-pay, .oo-ship { display: block; }
.oo-pay {
	padding: 0 0 12px; border: 2px solid var(--oo-blue); border-radius: 16px;
	background: linear-gradient(180deg, var(--oo-tint) 0%, #fff 55%);
	box-shadow: 0 14px 32px -16px rgba(19, 38, 74, .45), 0 0 0 4px rgba(36, 160, 237, .10);
}
.oo-pay > :not(.oo-pay-head) { margin-left: 12px; margin-right: 12px; }
.oo-pay-head {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px;
	margin: 0 0 14px; padding: 11px 14px; border-radius: 13px 13px 0 0;
	background: linear-gradient(100deg, var(--oo-navy) 0%, #1F4A86 100%);
}
.oo-pay .oo-pay-head h2 { color: #fff; font-size: 1.0625rem; }
.oo-pay h2, .oo-ship h2 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--oo-navy); letter-spacing: -0.01em; }
.oo-pay-pill {
	position: relative; overflow: hidden; padding: 4px 10px; border-radius: 999px;
	background: #DCFCE7; color: var(--oo-save); font-size: 0.75rem; font-weight: 800;
}
.oo-pay-pill::after {
	content: ""; position: absolute; inset: 0; transform: translateX(-120%);
	background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.85) 50%, transparent 70%);
	animation: oo-shine 3.2s ease-in-out 1s infinite;
}
@keyframes oo-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .oo-pay-pill::after { animation: none; } }
.oo-pay-from { margin: -4px 0 8px; font-size: 0.75rem; color: var(--oo-muted); }
.oo-pay-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px 10px; }
@media (min-width: 560px) {
	.oo-pay-grid { grid-template-columns: 1fr 1fr; }
	.oo-pay-grid > .oo-pt.is-cod { grid-column: 1 / -1; }
}
.oo-pt {
	position: relative; display: flex; align-items: center; gap: 10px; min-width: 0;
	padding: 10px 10px 9px; border: 1.5px solid var(--oo-line); border-radius: 10px; background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}
.oo-pt:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(19, 38, 74, .08); }
.oo-pt-logo { flex: 0 0 auto; width: 40px; height: 30px; object-fit: contain; }
.oo-pt-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.oo-pt-label { white-space: nowrap; display: flex; align-items: center; gap: 5px; font-size: 0.625rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--oo-muted); }
.oo-pt-price { font-size: 1.0625rem; font-weight: 800; color: var(--oo-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.oo-pt-price small { font-size: 0.8125rem; font-weight: 700; }
.oo-pt-sub { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 0.6875rem; color: var(--oo-muted); }
.oo-pt-sub.is-green { white-space: nowrap; color: var(--oo-save); font-weight: 700; }
.oo-pt-soon { white-space: nowrap; padding: 1px 6px; border-radius: 999px; background: #F1F5F9; color: var(--oo-muted); font-size: 0.5625rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.oo-pt.is-save { border-color: var(--oo-save-br); background: linear-gradient(160deg, #F0FDF4 0%, #fff 70%); }
/* 10% OFF starburst */
.oo-pt.is-save { padding-right: 56px; }
.oo-pt-seal {
	position: absolute; top: -16px; right: -6px; width: 58px; height: 58px; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
	color: #fff; transform: rotate(-12deg); filter: drop-shadow(0 3px 5px rgba(190, 18, 60, .35));
	animation: oo-seal 4s ease-in-out 1.5s infinite;
}
.oo-pt-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #E11D48; }
.oo-pt-seal b, .oo-pt-seal small { position: relative; }
.oo-pt-seal b { font-size: 1.0625rem; font-weight: 900; letter-spacing: -0.02em; }
.oo-pt-seal small { font-size: 0.625rem; font-weight: 900; letter-spacing: .1em; }
@keyframes oo-seal { 0%, 80%, 100% { transform: rotate(-12deg) scale(1); } 88% { transform: rotate(-4deg) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .oo-pt-seal { animation: none; } }
/* Cash on Delivery: wide badge, first row */
.oo-pt.is-cod { border-color: #FDBA74; background: linear-gradient(160deg, #FFF7ED 0%, #fff 70%); gap: 14px; }
.oo-pt.is-cod .oo-pt-logo { width: 124px; height: 48px; }
.oo-pt.is-cod .oo-pt-label { display: none; }
.oo-pt.is-cod .oo-pt-price { font-size: 1.25rem; }
/* Pay in 3 */
.oo-pay-sub-h { margin: 12px 0 8px; font-size: 0.875rem; font-weight: 800; color: var(--oo-navy); }
.oo-pay-sub-h small { margin-left: 4px; color: var(--oo-split); font-size: 0.75rem; }
.oo-pay-split { grid-template-columns: 1fr; }
.oo-pay-split .oo-pt { border-color: #E4E0FA; background: linear-gradient(160deg, #F8F7FF 0%, #fff 70%); justify-content: space-between; }
.oo-pay-split .oo-pt-logo { width: 84px; height: 24px; object-position: left center; }
.oo-pay-split .oo-pt-body { align-items: flex-end; text-align: right; }
.oo-pay-split .oo-pt-price { color: var(--oo-split); }
@media (min-width: 600px) {
	.oo-pay-split { grid-template-columns: repeat(3, 1fr); }
	.oo-pay-split > .oo-pt:last-child:nth-child(odd) { grid-column: auto; }
	.oo-pt-price { font-size: 1.125rem; }
	.oo-pay-split .oo-pt { flex-direction: column; align-items: flex-start; gap: 8px; }
	.oo-pay-split .oo-pt-body { align-items: flex-start; text-align: left; }
}

/* How you'll get it */
.oo-ship { padding: 14px; border: 1px solid var(--oo-line); border-radius: 16px; background: #fff; }
.oo-ship ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.oo-ship li {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
	padding: 12px 6px 10px; border-radius: 12px; background: var(--oo-tint-2); border: 1px solid var(--oo-line);
}
.oo-ship-ic {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 4px;
	border-radius: 50%; background: #fff; color: var(--oo-blue); box-shadow: 0 2px 6px rgba(19, 38, 74, .08);
}
.oo-ship-ic svg { width: 22px; height: 22px; }
.oo-ship li b { font-size: 0.8125rem; color: var(--oo-navy); line-height: 1.2; }
.oo-ship li small { font-size: 0.6875rem; color: var(--oo-muted); line-height: 1.3; }
.oo-ship-more { margin: 10px 0 0; font-size: 0.8125rem; text-align: right; }
.oo-ship-more a { color: var(--oo-link); font-weight: 600; }


/* Product page: gallery fills its column, smaller gap to the buy column (0.15.0) */
.oo-product .wp-block-woocommerce-product-image-gallery { max-width: 600px; }
@media (min-width: 1024px) { .oo-product .wp-block-woocommerce-product-image-gallery { max-width: 690px; } }
.oo-product .woocommerce-product-gallery { width: 100% !important; max-width: none !important; float: none !important; }

/* =========================================================
   20. Product gallery thumbnails on the left (desktop) (0.16.0)
   ========================================================= */
@media (min-width: 1024px) {
	.oo-product .woocommerce-product-gallery:has(.flex-control-thumbs) {
		display: grid !important; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: start;
	}
	.oo-product .woocommerce-product-gallery .flex-viewport { grid-column: 2; grid-row: 1; border-radius: 12px; }
	.oo-product .wp-block-woocommerce-product-image-gallery:has(.flex-control-thumbs) > .onsale { left: 102px; }
	.woocommerce div.product.oo-p .flex-control-thumbs,
	.oo-product .woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px;
		height: 0; min-height: 100%; overflow-y: auto; overflow-x: hidden; margin: 0 !important; padding: 0 2px 0 0; scrollbar-width: thin;
	}
	.oo-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; width: 100% !important; }
	.oo-product .woocommerce-product-gallery .flex-control-thumbs li img {
		display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid var(--oo-line); border-radius: 10px; opacity: .75; cursor: pointer; transition: border-color .15s, opacity .15s;
	}
	.oo-product .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; }
	.oo-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { border-color: var(--oo-blue); opacity: 1; }
}

/* =========================================================
   21. Under Buy now: delivery estimate, Return & Warranty, confidence (0.16.0)
   ========================================================= */
.oo-assure { display: grid; gap: 12px; }
.oo-rw { padding: 12px 14px 6px; border-radius: 14px; background: #F8FAFC; border: 1px solid var(--oo-line); }
.oo-rw-h { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 700; color: var(--oo-muted); }
.oo-rw ul { list-style: none; margin: 0; padding: 0; }
.oo-rw li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.oo-rw li + li { border-top: 1px solid var(--oo-line); }
.oo-rw-ic { flex: 0 0 28px; display: grid; place-items: center; }
.oo-rw-ic svg { width: 26px; height: 26px; }
.oo-rw li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.oo-rw li b { font-size: 0.9375rem; font-weight: 600; color: var(--oo-navy); }
.oo-rw li small { font-size: 0.75rem; color: var(--oo-muted); }
.oo-rw li small a { color: var(--oo-link); }
.oo-conf {
	--c-b: #C7D2FE; --c-t: #1E3A8A; --c-g: #F5F8FF; --c-glow: #FEF9C3;
	padding: 14px; border-radius: 16px; border: 1px solid var(--c-b);
	background: radial-gradient(120% 90% at 100% 0%, var(--c-glow) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(180deg, var(--c-g) 0%, #fff 100%);
	box-shadow: 0 10px 24px -18px rgba(19, 38, 74, .5);
}
.oo-conf.is-blue { --c-b: #C7D2FE; --c-t: #3730A3; --c-g: #EEF2FF; --c-glow: #DBEAFE; }
.oo-conf.is-green { --c-b: #A7F3D0; --c-t: #065F46; --c-g: #ECFDF5; --c-glow: #D1FAE5; }
.oo-conf.is-orange { --c-b: #FED7AA; --c-t: #9A3412; --c-g: #FFF7ED; --c-glow: #FFEDD5; }
.oo-conf-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.125rem; font-weight: 800; color: var(--c-t); letter-spacing: -0.01em; }
.oo-conf-h svg { width: 34px; height: 34px; filter: drop-shadow(0 3px 5px rgba(19, 38, 74, .22)); }
.oo-conf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oo-conf li {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px;
	border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(19, 38, 74, .07);
	font-size: 0.9375rem; color: #334155; line-height: 1.35;
}
.oo-conf li svg { flex: 0 0 34px; width: 34px; height: 34px; }
.oo-conf li b { font-weight: 800; color: var(--c-t); }

/* =========================================================
   22. Buttons (Amazon-style colours), description under the gallery (0.17.0)
   ========================================================= */
.woocommerce div.product form.cart .single_add_to_cart_button {
	background: #FFD814 !important; color: #0F1111 !important; border: 1px solid #FCD200 !important;
	border-radius: 999px !important; font-weight: 700; box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #F7CA00 !important; }
.oo-buynow-inline, .oo-buybar-btn {
	background: #FFA41C !important; color: #0F1111 !important; border: 1px solid #FF8F00 !important;
	border-radius: 999px !important; box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
}
.oo-buynow-inline:hover, .oo-buybar-btn:hover { background: #FA8900 !important; }
.oo-pdetails { margin-top: 28px !important; }
@media (max-width: 781px) {
	.oo-product .oo-pcols { display: flex; flex-direction: column; }
	.oo-product .oo-pcol-media { display: contents; }
	.oo-product .oo-pcol-media > .wp-block-woocommerce-product-image-gallery { order: 1; }
	.oo-product .oo-pcol-buy { order: 2; }
	.oo-product .oo-pdetails { order: 3; margin-top: 8px !important; }
	.oo-product .oo-pcol-media > .wp-block-woocommerce-product-image-gallery,
	.oo-product .oo-pcol-buy,
	.oo-product .oo-pdetails { width: 100% !important; max-width: 100% !important; min-width: 0; flex-basis: auto !important; box-sizing: border-box; }
}

/* =========================================================
   23. Card variants: delivery date, buttons in brand blue (0.18.0)
   ========================================================= */
.oo-eta-date {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
	padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(19, 38, 74, .07);
}
.oo-eta-date b { font-size: 1.375rem; font-weight: 800; color: var(--c-t); letter-spacing: -0.01em; }
.oo-eta-date span { font-size: 0.8125rem; color: var(--oo-muted); }
.oo-ship2 .oo-ship-more { margin: 10px 2px 0; }
.woocommerce div.product form.cart .single_add_to_cart_button {
	background: #fff !important; color: #3069EE !important; border: 1.5px solid #3069EE !important;
	border-radius: 999px !important; font-weight: 600; box-shadow: none;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #EEF3FE !important; }
.oo-buynow-inline, .oo-buybar-btn {
	background: #3069EE !important; color: #fff !important; border: 1.5px solid #3069EE !important;
	border-radius: 999px !important; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(48, 105, 238, .7);
}
.oo-buynow-inline:hover, .oo-buybar-btn:hover { background: #2557D6 !important; border-color: #2557D6 !important; }

/* =========================================================
   24. Buy now: stronger highlight (0.18.2)
   ========================================================= */
.oo-buynow-inline, .oo-buybar-btn {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, #4C8BFF 0%, #3069EE 45%, #1D4ED8 100%) !important;
	border: 0 !important; color: #fff !important; font-weight: 800 !important; letter-spacing: .01em;
	box-shadow: 0 10px 22px -8px rgba(48, 105, 238, .75), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
	transition: transform .15s ease, box-shadow .15s ease;
}
.oo-buynow-inline { min-height: 58px !important; font-size: 1.1875rem !important; text-transform: uppercase; }
.oo-buynow-inline::before, .oo-buybar-btn::before {
	content: ""; flex: 0 0 auto; width: 18px; height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2L4 14h7l-1.5 8L20 9.5h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2L4 14h7l-1.5 8L20 9.5h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.oo-buynow-inline::after, .oo-buybar-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-130%);
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
	animation: oo-buy-shine 3.5s ease-in-out 1s infinite;
}
@keyframes oo-buy-shine { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.oo-buynow-inline:hover, .oo-buybar-btn:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #3B7BFF 0%, #2557D6 55%, #1E40AF 100%) !important;
	box-shadow: 0 14px 26px -8px rgba(48, 105, 238, .85) !important;
}
.oo-buynow-inline:active, .oo-buybar-btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .oo-buynow-inline::after, .oo-buybar-btn::after { animation: none; display: none; } }

/* =========================================================
   25. Sticky Buy now bar: slides in only while the main buttons
       are off-screen; frosted glass; thumbnail (+ title on desktop) (0.18.3)
   ========================================================= */
body.single-product .oo-buybar {
	display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	align-items: center; gap: 12px; margin: 0 !important;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-top: 1px solid rgba(48, 105, 238, .18); box-shadow: 0 -10px 30px -12px rgba(19, 38, 74, .35);
	transform: translateY(115%); visibility: hidden;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}
body.single-product.oo-bar-on .oo-buybar { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
body.single-product { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
.oo-buybar-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.oo-buybar-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid var(--oo-line); }
.oo-buybar-title { display: none; }
.oo-buybar-info .wp-block-woocommerce-product-price { margin: 0 !important; }
body.single-product .oo-buybar .oo-buybar-btn { flex: 0 0 auto; min-height: 50px !important; padding: 0 26px !important; font-size: 1rem !important; text-transform: uppercase; }
@media (min-width: 782px) {
	body.single-product .oo-buybar { padding: 10px max(24px, calc((100% - var(--oo-wide)) / 2)); }
	.oo-buybar-thumb { flex-basis: 52px; width: 52px; height: 52px; }
	.oo-buybar-title { display: block; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--oo-navy); font-size: 0.9375rem; }
	.oo-buybar-text { display: flex; flex-direction: column; min-width: 0; }
	body.single-product .oo-buybar .oo-buybar-btn { padding: 0 40px !important; min-height: 52px !important; }
}
/* WhatsApp bubble rides above the bar only while the bar is showing */
@media (max-width: 781px) {
	body.single-product .oo-wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); transition: bottom .35s cubic-bezier(.2, .8, .2, 1); }
	body.single-product.oo-bar-on .oo-wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 782px) {
	body.single-product .oo-wa-float { transition: bottom .35s cubic-bezier(.2, .8, .2, 1); }
	body.single-product.oo-bar-on .oo-wa-float { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { body.single-product .oo-buybar, body.single-product .oo-wa-float { transition: none !important; } }

/* Related products: the template already titles this "You may also like" */
.oo-product .related.products > h2 { display: none; }

/* =========================================================
   26. Checkout payment methods as cards (0.19.0)
   ========================================================= */
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 !important; border: 0 !important; margin: 0 0 14px !important; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li {
	list-style: none; margin: 0 !important; padding: 12px 14px !important; line-height: 1.3 !important;
	background: #fff; border: 1.5px solid var(--oo-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.woocommerce-checkout #payment ul.payment_methods li:has(> input:checked) {
	border-color: #3069EE; background: #F5F8FF; box-shadow: 0 0 0 3px rgba(48, 105, 238, .14);
}
.woocommerce-checkout #payment ul.payment_methods li > input { margin: 0 10px 0 0 !important; vertical-align: middle; accent-color: #3069EE; width: 18px; height: 18px; }
.woocommerce-checkout #payment ul.payment_methods li > label {
	display: inline-flex !important; align-items: center; gap: 8px; width: calc(100% - 32px); vertical-align: middle;
	font-weight: 700; color: var(--oo-navy); cursor: pointer; margin: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods li > label img {
	order: 3; margin: 0 0 0 auto !important; max-height: 22px !important; max-width: 88px; width: auto !important; height: auto; float: none !important; object-fit: contain;
}
.woocommerce-checkout #payment ul.payment_methods li.payment_method_oo_payhere > label::after,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs > label::after {
	content: "10% OFF"; order: 2; padding: 2px 7px; border-radius: 999px; background: #DCFCE7; color: #15803D;
	font-size: 0.6875rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}
.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 0 !important; padding: 10px 12px !important; background: #F1F5F9 !important; border-radius: 8px;
	font-size: 0.8125rem; color: var(--oo-muted);
}
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.woocommerce #place_order {
	background: linear-gradient(135deg, #4C8BFF 0%, #3069EE 45%, #1D4ED8 100%) !important; color: #fff !important; border: 0 !important;
	border-radius: 999px !important; min-height: 56px; font-weight: 800 !important; letter-spacing: .02em; text-transform: uppercase;
	box-shadow: 0 10px 22px -8px rgba(48, 105, 238, .75) !important;
}
.woocommerce #place_order:hover { background: linear-gradient(135deg, #3B7BFF 0%, #2557D6 55%, #1E40AF 100%) !important; }
/* Delivery choices */
.woocommerce-checkout #shipping_method { margin: 0; padding: 0; }
.woocommerce-checkout #shipping_method li { list-style: none; margin: 0 0 6px !important; }
.woocommerce-checkout #shipping_method li input { accent-color: #3069EE; }

/* =========================================================
   27. Checkout: Delivery method section (0.20.0)
   ========================================================= */
.oo-delivery { margin: 18px 0 16px; }
.oo-delivery-h, .woocommerce-checkout #payment::before { font-size: 1.0625rem; font-weight: 800; color: var(--oo-navy); }
.oo-delivery-h { margin: 0 0 10px; }
.oo-delivery-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oo-dm { position: relative; }
.oo-dm > input { position: absolute; opacity: 0; pointer-events: none; }
.oo-dm > label {
	display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; cursor: pointer;
	background: #fff; border: 1.5px solid var(--oo-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.oo-dm > input:checked + label { border-color: #3069EE; background: #F5F8FF; box-shadow: 0 0 0 3px rgba(48, 105, 238, .14); }
.oo-dm > input:focus-visible + label { outline: 2px solid #3069EE; outline-offset: 2px; }
.oo-dm > label::before {
	content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid #94A3B8; background: #fff; box-sizing: border-box;
}
.oo-dm > input:checked + label::before { border: 5px solid #3069EE; }
.oo-dm-ic { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #EFF6FF; }
.oo-dm-ic svg { width: 24px; height: 24px; }
.oo-dm-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.oo-dm-text b { color: var(--oo-navy); font-size: 0.9375rem; }
.oo-dm-text small { color: var(--oo-muted); font-size: 0.75rem; }
.oo-dm-price { flex: 0 0 auto; font-weight: 800; color: var(--oo-navy); white-space: nowrap; }
.oo-delivery-note { margin: 8px 2px 0; font-size: 0.75rem; color: var(--oo-muted); }
.oo-delivery-none { padding: 12px; border-radius: 10px; background: #FEF2F2; color: #991B1B; font-size: 0.875rem; }
.oo-ship-summary td { text-align: right; }
.oo-ship-summary-name { display: block; font-size: 0.75rem; color: var(--oo-muted); font-weight: 400; }
/* Label the payment block the same way */
.woocommerce-checkout #payment::before { content: "Payment method"; display: block; margin: 0 0 10px; }

/* Payment method rows: radio, name, tag and logo on one line at every width (0.20.2) */
.woocommerce-checkout #payment ul.payment_methods li { display: flex !important; flex-wrap: wrap; align-items: center; }
.woocommerce-checkout #payment ul.payment_methods li > input { flex: 0 0 18px; }
.woocommerce-checkout #payment ul.payment_methods li > label { flex: 1 1 0; width: auto !important; min-width: 0; }
.woocommerce-checkout #payment ul.payment_methods li > div.payment_box { flex: 0 0 100%; }

/* Cart page: delivery is chosen at checkout, so no Shipping row (0.20.3) */
.woocommerce-cart .cart_totals tr.shipping, .woocommerce-cart .cart_totals tr.woocommerce-shipping-totals { display: none !important; }
.woocommerce-cart .cart_totals tr.oo-cart-later td { font-size: 0.8125rem; color: var(--oo-muted); }

/* Checkout: amount to pay on each payment method (0.21.0) */
.woocommerce-checkout #payment ul.payment_methods li > .oo-gw-total {
	flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
	margin: 6px 0 0; padding-left: 28px; font-size: 0.875rem; color: var(--oo-navy);
}
.oo-gw-total b { font-weight: 800; font-variant-numeric: tabular-nums; }
.oo-gw-total span { font-size: 0.75rem; color: var(--oo-muted); }
.oo-gw-total.is-save b { color: #15803D; }
.oo-gw-total.is-save span { color: #15803D; font-weight: 700; }

/* =========================================================
   28. Checkout order summary: bigger product lines (0.22.0)
   ========================================================= */
.woocommerce-checkout-review-order-table tbody tr.cart_item td { padding: 12px 0 !important; border-bottom: 1px solid var(--oo-line); }
.woocommerce-checkout-review-order-table td.product-name { gap: 14px !important; align-items: center !important; }
.oo-co-media { position: relative; flex: 0 0 76px; width: 76px; height: 76px; }
.oo-co-media .oo-co-thumb {
	width: 76px !important; height: 76px !important; max-width: none; object-fit: contain; display: block;
	background: #fff; border: 1px solid var(--oo-line); border-radius: 12px; padding: 4px; box-sizing: border-box;
	box-shadow: 0 4px 12px -6px rgba(19, 38, 74, .25);
}
.oo-co-qty {
	position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box;
	display: grid; place-items: center; border-radius: 999px; background: var(--oo-navy); color: #fff;
	font-size: 0.75rem; font-weight: 800; border: 2px solid #fff;
}
.oo-co-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.woocommerce-checkout-review-order-table .oo-co-name {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--oo-navy);
}
.oo-co-var { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: #EEF2FF; color: #3730A3; font-size: 0.75rem; font-weight: 700; }
.oo-co-each { font-size: 0.75rem; color: var(--oo-muted); }
.oo-co-each .woocommerce-Price-amount { display: inline !important; }
.woocommerce-checkout-review-order-table td.product-total { font-size: 1rem; color: var(--oo-navy); padding-left: 10px !important; }
@media (max-width: 420px) {
	.oo-co-media, .oo-co-media .oo-co-thumb { width: 64px !important; height: 64px !important; flex-basis: 64px; }
}
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table { width: 100% !important; table-layout: auto; }
.woocommerce-checkout-review-order-table td.product-total { width: 1%; }
.oo-co-line { display: none; }
@media (max-width: 520px) {
	.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total { display: none !important; }
	.woocommerce-checkout-review-order-table tbody tr.cart_item { display: flex; width: 100%; border-bottom: 1px solid var(--oo-line); }
	.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name { flex: 1 1 auto; width: auto; border-bottom: 0 !important; }
	.oo-co-line { display: block; margin-top: 2px; font-size: 1rem; font-weight: 800; color: var(--oo-navy); }
	.oo-co-line .woocommerce-Price-amount { display: inline !important; }
}
@media (max-width: 520px) {
	.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table,
	.woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
	.woocommerce-checkout-review-order-table tbody tr.cart_item { width: 100% !important; }
	.woocommerce-checkout-review-order-table tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--oo-line); }
	.woocommerce-checkout-review-order-table tfoot th, .woocommerce-checkout-review-order-table tfoot td { border: 0 !important; }
	.oo-co-info { flex: 1 1 auto; }
}

/* =========================================================
   29. Pay your way: selectable tiles; price on top follows (0.23.0)
   ========================================================= */
.oo-pay-hint { margin: -6px 0 10px; font-size: 0.75rem; color: var(--oo-muted); }
.oo-pt[role="radio"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.oo-pt[role="radio"]:focus-visible { outline: 2px solid #3069EE; outline-offset: 2px; }
.oo-pt.is-picked {
	border-color: #3069EE !important; background: #F5F8FF !important;
	box-shadow: 0 0 0 3px rgba(48, 105, 238, .18), 0 6px 16px -8px rgba(48, 105, 238, .6) !important;
}
.oo-pt.is-picked::after {
	content: ""; position: absolute; left: -7px; top: -7px; width: 22px; height: 22px; border-radius: 50%;
	background: #3069EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
	box-shadow: 0 0 0 2px #fff;
}
/* Price on top when a method is picked */
.oo-pp-on { display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; }
.oo-pp { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.oo-pp del { color: var(--oo-muted); font-weight: 500; font-size: 0.75em; }
.oo-pp ins { text-decoration: none; color: #3069EE; font-weight: 800; }
.oo-pp-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #EEF2FF; color: #3730A3; font-size: 0.8125rem; font-weight: 700; }
.oo-pp-tag.is-save { background: #16A34A; color: #fff; }
.oo-buybar .oo-pp-on { gap: 0; }
.oo-buybar .oo-pp { gap: 6px; flex-direction: column; align-items: flex-start; }
.oo-buybar .oo-pp del { font-size: 0.8125rem; }

/* Checkout: "You pay" stands out, "You save" is a green badge */
.woocommerce-checkout #payment ul.payment_methods li > .oo-gw-total { align-items: center; }
.oo-gw-total b { font-size: 1rem; color: var(--oo-navy) !important; }
.oo-gw-total.is-save span {
	padding: 2px 9px; border-radius: 999px; background: #16A34A; color: #fff !important; font-size: 0.75rem; font-weight: 800; letter-spacing: .01em;
}
.oo-pcol-buy .oo-pp ins { font-size: clamp(1.625rem, 4vw, 2rem); line-height: 1.15; }
.oo-pcol-buy .oo-pp del { font-size: 1.125rem; }

/* =========================================================
   30. Bank Transfer: receipt page (order received / My Account) (0.24.0)
   ========================================================= */
.oo-receipt {
	margin: 0 0 24px; padding: 18px; border-radius: 16px; background: #fff;
	border: 2px solid #3069EE; box-shadow: 0 14px 32px -18px rgba(48, 105, 238, .55);
}
.oo-receipt h2 { margin: 0; font-size: 1.125rem; font-weight: 800; color: var(--oo-navy); }
.oo-receipt p { margin: 4px 0 0; font-size: 0.875rem; color: var(--oo-muted); }
.oo-receipt-head { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; }
.oo-receipt-head + .oo-receipt-head, .oo-bank-list + .oo-receipt-head, .oo-receipt-nobank + .oo-receipt-head { margin-top: 20px; }
.oo-receipt-step {
	flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
	background: #3069EE; color: #fff; font-weight: 800;
}
.oo-receipt-amount {
	display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
	padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #EEF4FF, #F8FAFF); border: 1px solid #C7D7FE;
}
.oo-receipt-amount > span { font-size: 0.8125rem; color: var(--oo-muted); }
.oo-receipt-amount > b { font-size: 1.75rem; font-weight: 800; color: #3069EE; line-height: 1.2; }
.oo-receipt-amount b .woocommerce-Price-amount { display: inline !important; }
.oo-bank-list { display: grid; gap: 10px; margin-top: 12px; }
.oo-bank { margin: 0; padding: 4px 14px; border-radius: 12px; border: 1px solid var(--oo-line); background: #F8FAFC; }
.oo-bank > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.oo-bank > div + div { border-top: 1px dashed var(--oo-line); }
.oo-bank dt { font-size: 0.8125rem; color: var(--oo-muted); }
.oo-bank dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--oo-navy); text-align: right; }
.oo-copy { padding: 3px 10px; border-radius: 999px; border: 1px solid #3069EE; background: #fff; color: #3069EE; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.oo-receipt-nobank { padding: 12px; border-radius: 10px; background: #FFF7ED; color: #9A3412 !important; }
.oo-receipt-form { display: grid; gap: 12px; }
.oo-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
	padding: 22px 14px; border: 2px dashed #93B4F7; border-radius: 14px; background: #F5F8FF; transition: background .15s, border-color .15s;
}
.oo-drop:hover, .oo-drop:focus-within { background: #EEF3FE; border-color: #3069EE; }
.oo-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.oo-drop b { color: var(--oo-navy); }
.oo-drop small { color: var(--oo-muted); font-size: 0.75rem; }
.oo-drop-name { font-size: 0.8125rem; font-weight: 700; color: #15803D; word-break: break-all; }
.oo-drop.has-file { border-style: solid; border-color: #16A34A; background: #F0FDF4; }
.oo-receipt-note { display: grid; gap: 4px; font-size: 0.8125rem; color: var(--oo-muted); }
.oo-receipt-note input { padding: 10px 12px; border: 1.5px solid var(--oo-line); border-radius: 10px; font-size: 0.9375rem; }
.oo-receipt-submit {
	min-height: 52px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
	background: linear-gradient(135deg, #4C8BFF 0%, #3069EE 45%, #1D4ED8 100%); box-shadow: 0 10px 22px -8px rgba(48, 105, 238, .75);
}
.oo-receipt-error { padding: 10px 12px; border-radius: 10px; background: #FEF2F2; color: #991B1B !important; font-weight: 600; }
.oo-receipt-foot { margin-top: 12px !important; font-size: 0.75rem !important; text-align: center; }
.oo-receipt-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 4px; }
.oo-receipt-done-ic { margin-bottom: 6px; }
.oo-receipt-meta { font-weight: 700; color: var(--oo-navy) !important; }
.oo-receipt-meta .woocommerce-Price-amount { display: inline !important; }
.oo-receipt-again { margin-top: 12px; width: 100%; text-align: left; }
.oo-receipt-again summary { cursor: pointer; font-size: 0.8125rem; color: var(--oo-link); text-align: center; }
.oo-receipt-again .oo-receipt-form { margin-top: 10px; }

/* =========================================================
   31. Product page: buy column floats right; description starts under the
       gallery and widens to full width once the right column ends (0.25.0)
   ========================================================= */
@media (min-width: 782px) {
	.oo-product .oo-pcols { display: flow-root !important; }
	.oo-product .oo-pcols > .oo-pcol-buy {
		float: right; width: calc(50% - 14px) !important; flex-basis: auto !important; margin: 0 0 24px 28px !important;
	}
	.oo-product .oo-pcols > .oo-pcol-media { display: block; width: auto !important; flex-basis: auto !important; margin: 0 !important; }
	.oo-product .oo-pcol-media > .wp-block-woocommerce-product-image-gallery { width: calc(50% - 14px); max-width: calc(50% - 14px) !important; clear: none !important; display: flow-root; }
	.oo-product .oo-pcol-media .woocommerce-product-gallery, .oo-product .oo-pdetails, .oo-product .oo-pdetails .woocommerce-tabs { clear: none !important; }
	/* Description wraps beside the buy column, then uses the full width below it. */
	.oo-product .oo-pdetails, .oo-product .oo-pdetails .woocommerce-tabs, .oo-product .oo-pdetails .woocommerce-Tabs-panel { display: block; overflow: visible; }
	.oo-product .oo-pdetails ul.tabs { display: inline-flex !important; width: auto; }
}

/* =========================================================
   32. Category plan: subcategories in the menu drawer, and the
       subcategory chip row on main/subcategory pages (0.26.0)
   ========================================================= */
.oo-menu-sub details > summary {
	display: flex; align-items: center; justify-content: space-between;
	padding: 11px 2px; border-bottom: 1px solid var(--oo-line);
	color: var(--oo-navy); font-weight: 600; cursor: pointer; list-style: none;
}
.oo-menu-sub details > summary::-webkit-details-marker { display: none; }
.oo-menu-sub details > summary::after {
	content: ""; width: 8px; height: 8px; margin-right: 4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .15s;
}
.oo-menu-sub details[open] > summary::after { transform: rotate(-135deg); }
.oo-menu-sub ul { list-style: none; margin: 0; padding: 0 0 4px 14px; border-left: 2px solid var(--oo-line); }
.oo-menu-sub ul a { padding: 9px 2px; font-weight: 500; font-size: 0.9375rem; }
.oo-menu-sub ul li:first-child a { font-weight: 700; color: var(--oo-blue); }
@media (prefers-reduced-motion: reduce) { .oo-menu-sub details > summary::after { transition: none; } }
/* The top bar lists main categories only, so the subcategory chips stay on desktop too. */
@media (min-width: 782px) { .oo-archive .oo-chips.oo-chips--sub { display: flex; flex-wrap: wrap; overflow: visible; margin: 0 0 6px; padding: 2px 0 4px; } }

/* =========================================================
   33. Mintpay / Koko instalment lines on product cards (plugin markup):
       below the price, small and muted (0.26.3)
   ========================================================= */
.woocommerce ul.products li.product > br { display: none; }
.woocommerce ul.products li.product .mintpay-price-breakdown,
.woocommerce ul.products li.product .product-price-installments-not-in-variation {
	font-size: 0.6875rem; line-height: 1.35; color: var(--oo-muted); font-weight: 400; margin: 0 0 2px;
}
.woocommerce ul.products li.product .mintpay-price-breakdown b,
.woocommerce ul.products li.product .product-price-installments-not-in-variation b { color: var(--oo-navy); font-weight: 600; }
.woocommerce ul.products li.product .mintpay-price-breakdown a { display: inline !important; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product .mintpay-price-breakdown img,
.woocommerce ul.products li.product .product-price-installments-not-in-variation img { display: inline-block !important; height: 11px !important; width: auto !important; margin: 0 1px !important; vertical-align: -1px; border-radius: 0 !important; }
.woocommerce ul.products li.product .product-price-installments-not-in-variation { margin-bottom: 8px; }
@media (min-width: 782px) {
	/* Card is one flex column ordered 1–5; the instalment lines come right after the price. */
	.woocommerce ul.products li.product .mintpay-price-breakdown { order: 6; height: 30px; overflow: hidden; }
	.woocommerce ul.products li.product .product-price-installments-not-in-variation { order: 7; height: 15px; overflow: hidden; white-space: nowrap; margin-bottom: 0; }
	.woocommerce ul.products li.product .price { margin-bottom: 4px; }
	/* Keep the round cart button beside the price, above the instalment lines. */
	.woocommerce ul.products li.product:has(.mintpay-price-breakdown) .button { bottom: 70px; }
	.woocommerce ul.products li.product:has(.product-price-installments-not-in-variation) .button { bottom: 41px; }
	.woocommerce ul.products li.product:has(.mintpay-price-breakdown):has(.product-price-installments-not-in-variation) .button { bottom: 72px; }
}
.woocommerce ul.products li.product .product-price-installments-not-in-variation *,
.woocommerce ul.products li.product .mintpay-price-breakdown * { font-size: inherit !important; line-height: inherit !important; }
.woocommerce ul.products li.product .product-price-installments-not-in-variation { font-size: 0.6875rem !important; line-height: 1.35 !important; color: var(--oo-muted) !important; }
/* Owner decision 2026-11-16: no plugin instalment lines on product cards (their amounts ignore the +7.5% BNPL price).
   Instalment details live in the product page's "Pay your way" panel. */
.woocommerce ul.products li.product .mintpay-price-breakdown,
.woocommerce ul.products li.product .product-price-installments-not-in-variation { display: none !important; }
.woocommerce ul.products li.product .button { bottom: 18px !important; }
/* Same on product pages (incl. the sticky buy bar): the "Pay your way" panel shows the correct instalments. */
.single-product .mintpay-price-breakdown,
.single-product .product-price-installments-not-in-variation,
.single-product .koko-installment-single,
.single-product [class*="product-price-installments-not-in-variation"] { display: none !important; }

/* Payzy plugin's own "or up to 4 X … with Payzy" line (amount excludes the +7.5% instalment price): hidden like Mintpay/Koko. */
.payzy-item-loop-display,
.woocommerce ul.products li.product .payzy-item-loop-display,
.single-product .payzy-item-loop-display { display: none !important; }
