/*
Theme Name: OrderGate Flagship Flash
Theme URI: https://ordergate.local/
Author: OrderGate
Author URI: https://ordergate.local/
Description: অর্ডারগেট ফ্ল্যাগশিপ ফ্ল্যাশ — কাউন্টডাউন ফ্ল্যাশ ডিল, প্রাইস-ব্যান্ড শেলফ ও ক্লিয়ারেন্স অফারকেন্দ্রিক মাল্টি-ভেন্ডর মার্কেটপ্লেস থিম, বাংলাদেশের বাজারের জন্য। Deal-driven multi-vendor marketplace theme for Bangladesh: countdown flash deals, price-band shelves, vendor deals, commissions, switchable in-theme templates.
Version: 1.0.0-beta.3
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary — OrderGate commercial license required.
License URI: https://ordergate.local/license
Text Domain: ordergate-flash
Domain Path: /languages
Tags: e-commerce, woocommerce, bangla, mobile-first, cod, multi-vendor, marketplace, customizer
*/


/* ============================================================
   OrderGate Shop — flagship stylesheet (mobile-first, 360px)
   WCAG 2.2 AA basics: visible focus, 4.5:1 body-text contrast,
   48px touch targets, labelled controls.
   ============================================================ */

:root {
	--og-primary: #0e2a52;
	--og-primary-dark: #091d3b;
	--og-primary-darker: #040c1a;
	--og-primary-ink: #ffffff;
	--og-accent: #d92323;
	--og-accent-dark: #b91c1c;
	--og-accent-ink: #ffffff;
	--og-sale: #d92323;
	--og-sale-dark: #b91c1c;
	--og-sale-soft: #fdf0f0;
	--og-ink: #1c1c1c;
	--og-muted: #565656;
	--og-border: #e2e2e2;
	--og-bg: #ffffff;
	--og-surface: #f5f7fa;
	--og-danger: #b3261e;
	--og-success: #0f7a3a;
	--og-radius: 10px;
	--og-radius-lg: 16px;
	--og-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	--og-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--og-maxw: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* UX audit H2 safety net: no page element may widen the document.
   overflow-x: clip (not hidden) so the sticky header keeps working;
   hidden is the fallback for engines without clip support. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
	html { overflow-x: hidden; }
}
body {
	margin: 0;
	font-family: var(--og-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--og-ink);
	background: var(--og-bg);
}
h1, h2, h3, h4, h5, h6 { line-height: 1.35; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--og-primary); }
a:hover { color: var(--og-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
hr { border: none; border-top: 1px solid var(--og-border); margin: 24px 0; }
blockquote { border-right: 4px solid var(--og-accent); margin: 1em 0; padding: 12px 16px; background: var(--og-surface); border-radius: 0 var(--og-radius) var(--og-radius) 0; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: 15px; }
th, td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--og-border); }
th { background: var(--og-surface); font-weight: 700; }

/* Visible keyboard focus everywhere (AA) */
:focus-visible {
	outline: 3px solid var(--og-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

button, input, select, textarea { font: inherit; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--og-border);
	border-radius: var(--og-radius);
	background: #fff;
	color: var(--og-ink);
	min-height: 48px; /* touch target */
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--og-primary); outline: 2px solid rgba(217, 35, 35, 0.25); }
label { display: block; margin-bottom: 6px; font-weight: 600; }
fieldset { border: 1.5px solid var(--og-border); border-radius: var(--og-radius); padding: 16px; margin-bottom: 16px; }
legend { padding: 0 8px; font-weight: 700; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--og-primary); flex-shrink: 0; }

.og-wrap { max-width: var(--og-maxw); margin: 0 auto; padding: 0 16px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.og-btn, .button, button[type="submit"], input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	background: var(--og-primary);
	color: var(--og-primary-ink);
	border: none;
	border-radius: var(--og-radius);
	padding: 13px 26px;
	min-height: 48px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.3;
}
.og-btn:hover, .button:hover, button[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--og-primary-dark);
	color: #fff;
	text-decoration: none;
}
.og-btn--accent, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--og-accent); color: var(--og-accent-ink); }
.og-btn--accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--og-accent-dark); color: #1a1a1a; }
.og-btn--ghost { background: transparent; color: var(--og-primary); border: 2px solid var(--og-primary); }
.og-btn--ghost:hover { background: var(--og-primary); color: #fff; }
.og-btn--sm { padding: 9px 18px; min-height: 40px; font-size: 14px; }
.og-btn--lg { padding: 16px 34px; font-size: 18px; }
.og-btn--block { display: flex; width: 100%; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled:hover,
.woocommerce button.button.disabled, .woocommerce button.button.disabled:hover {
	background: #9a9a9a; cursor: not-allowed; color: #fff;
}

/* ---------- Notices ---------- */
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error,
.og-notice {
	border-radius: var(--og-radius);
	border: 1.5px solid var(--og-border);
	padding: 14px 16px;
	margin-bottom: 20px;
	background: #fff;
	list-style: none;
}
.woocommerce .woocommerce-message { border-color: var(--og-primary); background: #eef3fa; }
.woocommerce .woocommerce-info { border-color: var(--og-accent); background: #fdf0f0; }
.woocommerce .woocommerce-error { border-color: var(--og-danger); background: #fdecea; color: var(--og-danger); }
/* Audit V-3: on small screens the notice icon (::before, absolutely
   positioned by WooCommerce) overlapped the notice text — the theme's
   compact padding leaves it no room at mobile widths. Restore the
   icon gutter under 480px only; desktop rendering is unchanged. */
@media (max-width: 480px) {
	.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
		padding-left: 3.4em;
	}
}

/* ---------- Breadcrumbs ---------- */
.og-crumbs, .woocommerce .woocommerce-breadcrumb {
	font-size: 14px;
	color: var(--og-muted);
	margin: 0 0 16px;
	padding: 12px 0;
}
.og-crumbs a, .woocommerce .woocommerce-breadcrumb a { color: var(--og-primary); text-decoration: none; }
.og-crumbs .sep, .woocommerce .woocommerce-breadcrumb .delimiter { margin: 0 6px; color: var(--og-border); }

/* ---------- Announcement + topbar ---------- */
.og-announce {
	background: var(--og-accent);
	color: var(--og-accent-ink);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 9px 16px;
}
.og-topbar {
	background: var(--og-primary-darker);
	color: #fff;
	font-size: 14px;
	padding: 8px 0;
}
.og-topbar .og-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.og-topbar a { color: #fff; text-decoration: none; }
.og-topbar a:hover { text-decoration: underline; }
.og-topbar .og-phone { font-weight: 700; white-space: nowrap; }

/* ---------- Header ---------- */
.og-header {
	background: #fff;
	border-bottom: 1px solid var(--og-border);
	position: sticky;
	top: 0;
	z-index: 60;
	transition: box-shadow 0.2s ease;
}
.og-header.is-scrolled { box-shadow: var(--og-shadow); }
.og-header-inner {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 16px;
	max-width: var(--og-maxw); margin: 0 auto;
}
/* UX audit H2: min-width: 0 lets the logo shrink inside the flex row
   (its nowrap min-content width otherwise forces the whole header —
   and the document — wider than a phone viewport); the title
   truncates with an ellipsis instead of pushing the actions out. */
.og-logo { font-size: 21px; font-weight: 800; color: var(--og-primary); text-decoration: none; white-space: nowrap; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.og-logo span { color: var(--og-accent-dark); }
.og-logo:hover { color: var(--og-primary-dark); text-decoration: none; }
.og-search { flex: 1; display: none; max-width: 480px; }
.og-search form { position: relative; }
.og-search input { margin: 0; padding-left: 44px; border-radius: 24px; background: var(--og-surface); border-color: transparent; }
.og-search input:focus { background: #fff; border-color: var(--og-primary); }
.og-search .og-search-btn {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; min-height: 0; padding: 0;
	border-radius: 50%; font-size: 17px;
}
.og-header-actions { display: flex; align-items: center; gap: 8px; margin-right: auto; flex-shrink: 0; }
.og-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--og-border);
	color: var(--og-ink); text-decoration: none; font-size: 20px; background: #fff;
}
.og-icon-btn:hover { border-color: var(--og-primary); color: var(--og-primary); text-decoration: none; }
.og-cart-count {
	position: absolute; top: -6px; left: -6px; background: var(--og-accent); color: var(--og-accent-ink);
	font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px;
	display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.og-lang-toggle {
	font-size: 14px; font-weight: 700; text-decoration: none;
	border: 1.5px solid var(--og-border); border-radius: 20px;
	padding: 10px 14px; color: var(--og-ink); white-space: nowrap; min-height: 44px;
	display: inline-flex; align-items: center;
}
.og-account-link { font-size: 14px; font-weight: 600; color: var(--og-ink); text-decoration: none; white-space: nowrap; display: none; }
.og-account-link:hover { color: var(--og-primary); }

/* Mobile nav: slide-in drawer */
.og-nav-toggle {
	display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
	background: none; border: 1.5px solid var(--og-border); border-radius: 10px;
	font-size: 22px; color: var(--og-ink); cursor: pointer; flex-shrink: 0;
}
.og-drawer-overlay {
	position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45);
	opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
	z-index: 70;
}
.og-drawer-overlay.show { opacity: 1; visibility: visible; }
/* UX audit H2: the closed drawer also gets visibility: hidden (the
   overlay above already uses this pattern) — its transformed box
   otherwise still counts toward the page's scrollable width on some
   engines, and its links stay in the keyboard tab order while
   off-screen. The delayed visibility transition lets it slide out
   before vanishing; opening shows it immediately. */
.og-nav {
	position: fixed; top: 0; bottom: 0; right: 0; width: min(320px, 86vw);
	background: #fff; z-index: 71;
	transform: translateX(100%); visibility: hidden;
	transition: transform 0.28s ease, visibility 0s 0.28s;
	display: flex; flex-direction: column;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.og-nav.open { transform: translateX(0); visibility: visible; transition: transform 0.28s ease; }
.og-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--og-border); }
.og-nav-head strong { font-size: 17px; color: var(--og-primary); }
.og-nav-close { width: 44px; height: 44px; border: 1.5px solid var(--og-border); background: #fff; border-radius: 10px; font-size: 20px; cursor: pointer; }
.og-nav ul { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; flex: 1; }
.og-nav li { border-bottom: 1px solid var(--og-surface); }
.og-nav a { display: block; padding: 13px 20px; color: var(--og-ink); text-decoration: none; font-weight: 600; }
.og-nav a:hover { background: var(--og-surface); color: var(--og-primary); }
.og-nav .sub-menu { padding-right: 16px; }
body.og-drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.og-hero {
	background: linear-gradient(135deg, var(--og-primary) 0%, var(--og-primary-darker) 100%);
	color: #fff; padding: 48px 0; position: relative; overflow: hidden;
}
.og-hero::after {
	content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px;
	border-radius: 50%; background: rgba(255, 255, 255, 0.06);
}
.og-hero h1 { font-size: 30px; margin-bottom: 12px; color: #fff; }
.og-hero p { font-size: 17px; opacity: 0.95; max-width: 34em; }
.og-hero .og-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.og-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.og-hero-stat strong { display: block; font-size: 24px; color: var(--og-accent); }
.og-hero-stat span { font-size: 14px; opacity: 0.9; }

/* ---------- Sections ---------- */
.og-section { padding: 40px 0; }
.og-section--tint { background: var(--og-surface); }
.og-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.og-section-title { font-size: 24px; margin-bottom: 6px; }
.og-section-head .og-section-title { margin: 0; text-align: right; }
.og-section-sub { color: var(--og-muted); margin-bottom: 28px; }
.og-section-head .og-section-sub { margin: 4px 0 0; }
.og-more-link { font-weight: 700; white-space: nowrap; }

/* ---------- Category tiles ---------- */
.og-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.og-cat-tile {
	position: relative; border-radius: var(--og-radius-lg); overflow: hidden;
	background: var(--og-primary-dark); color: #fff; min-height: 120px;
	display: flex; align-items: flex-end; text-decoration: none;
}
.og-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.og-cat-tile .og-cat-name {
	position: relative; z-index: 1; width: 100%; padding: 12px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
	font-weight: 700; color: #fff; font-size: 16px;
}
.og-cat-tile:hover .og-cat-name { text-decoration: underline; }

/* ---------- Product cards ---------- */
.og-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.og-product-card {
	border: 1px solid var(--og-border); border-radius: var(--og-radius); overflow: hidden;
	background: #fff; display: flex; flex-direction: column; transition: box-shadow 0.2s ease, transform 0.2s ease;
	position: relative;
}
.og-product-card:hover { box-shadow: var(--og-shadow); transform: translateY(-2px); }
.og-product-card .og-pimg { aspect-ratio: 1; background: var(--og-surface); overflow: hidden; position: relative; }
.og-product-card .og-pimg img { width: 100%; height: 100%; object-fit: cover; }
.og-product-card .og-pbody { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.og-product-card h3 { font-size: 15px; margin: 0; line-height: 1.5; }
.og-product-card h3 a { color: var(--og-ink); text-decoration: none; }
.og-product-card h3 a:hover { color: var(--og-primary); }
.og-price { font-weight: 800; font-size: 17px; color: var(--og-primary); }
.og-price del { color: var(--og-muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
.og-price ins { text-decoration: none; }
.og-badge {
	display: inline-block; background: var(--og-accent); color: var(--og-accent-ink);
	font-size: 12px; font-weight: 700; border-radius: 20px; padding: 4px 10px; width: fit-content;
}
.og-ribbon {
	position: absolute; top: 10px; right: -32px; transform: rotate(-45deg);
	background: var(--og-danger); color: #fff; font-size: 12px; font-weight: 700;
	padding: 4px 36px; z-index: 2;
}
.og-authentic { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--og-primary-dark); }
.og-rating { color: var(--og-accent-dark); font-size: 14px; letter-spacing: 1px; }
.og-card-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.og-card-foot .og-btn { flex: 1; padding: 10px 12px; min-height: 44px; font-size: 14px; }

/* Product carousel (horizontal scroll, snap) */
.og-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-right: 16px; padding-left: 16px; }
.og-carousel .og-product-card { scroll-snap-align: start; }
.og-carousel::-webkit-scrollbar { height: 6px; }
.og-carousel::-webkit-scrollbar-thumb { background: var(--og-border); border-radius: 3px; }

/* ---------- Trust strip ---------- */
.og-trust { display: grid; grid-template-columns: 1fr; gap: 12px; }
.og-trust-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 14px; }
.og-trust-item .og-ico { font-size: 26px; line-height: 1; flex-shrink: 0; }
.og-trust-item strong { display: block; margin-bottom: 2px; }
.og-trust-item p { margin: 0; font-size: 14px; color: var(--og-muted); }
.og-trust--band { background: var(--og-primary-darker); color: #fff; border-radius: var(--og-radius-lg); padding: 24px; }
.og-trust--band .og-trust-item { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.og-trust--band .og-trust-item p { color: #d5e5dc; }
.og-trust--band .og-trust-item strong { color: #fff; }

/* ---------- Testimonials ---------- */
.og-testis { display: grid; grid-template-columns: 1fr; gap: 14px; }
.og-testi { background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-radius-lg); padding: 20px; }
.og-testi blockquote { border: none; background: none; padding: 0; margin: 0 0 12px; font-size: 16px; }
.og-testi .og-testi-who { display: flex; align-items: center; gap: 10px; }
.og-testi .og-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--og-surface); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--og-primary); }
.og-testi .og-testi-who strong { display: block; font-size: 15px; }
.og-testi .og-testi-who span { font-size: 13px; color: var(--og-muted); }

/* ---------- COD explainer ---------- */
.og-cod-steps { display: grid; grid-template-columns: 1fr; gap: 12px; counter-reset: ogstep; }
.og-cod-step { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 16px; }
.og-cod-step::before {
	counter-increment: ogstep; content: counter(ogstep);
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
	background: var(--og-primary); color: #fff; font-weight: 800;
	display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.og-cod-step strong { display: block; margin-bottom: 2px; }
.og-cod-step p { margin: 0; font-size: 14px; color: var(--og-muted); }

/* ---------- Newsletter / CTA band ---------- */
.og-cta-band { background: linear-gradient(135deg, var(--og-accent) 0%, var(--og-accent-dark) 100%); color: var(--og-accent-ink); border-radius: var(--og-radius-lg); padding: 32px 24px; text-align: center; }
.og-cta-band h2 { color: #1a1a1a; margin-bottom: 8px; }
.og-cta-band p { margin-bottom: 16px; }
.og-cta-band .og-btn { background: #1a1a1a; color: #fff; }
.og-cta-band .og-btn:hover { background: #000; }

/* ---------- Blog cards ---------- */
.og-blog-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.og-blog-card { border: 1px solid var(--og-border); border-radius: var(--og-radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.og-blog-card .og-bimg { aspect-ratio: 16/9; background: var(--og-surface); overflow: hidden; }
.og-blog-card .og-bimg img { width: 100%; height: 100%; object-fit: cover; }
.og-blog-card .og-bbody { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.og-blog-card h3 { font-size: 18px; margin: 0; }
.og-blog-card h3 a { color: var(--og-ink); text-decoration: none; }
.og-blog-card h3 a:hover { color: var(--og-primary); }
.og-blog-card .og-excerpt { font-size: 15px; color: var(--og-muted); margin: 0; }
.og-meta { font-size: 14px; color: var(--og-muted); margin-bottom: 10px; }
.og-meta a { color: var(--og-primary); }

/* Single post */
.og-article { max-width: 780px; margin: 0 auto; }
.og-article h1 { font-size: 30px; }
.og-article .og-featured { border-radius: var(--og-radius-lg); overflow: hidden; margin: 20px 0; }
.og-author-box { display: flex; gap: 14px; align-items: center; background: var(--og-surface); border-radius: var(--og-radius); padding: 16px; margin: 28px 0; }
.og-author-box .og-avatar { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: var(--og-primary); flex-shrink: 0; }
.og-related { margin-top: 32px; }
.og-related h2 { font-size: 22px; margin-bottom: 16px; }

/* Comments */
.og-comments { margin-top: 36px; }
.og-comments h2, .og-comments h3 { font-size: 20px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 16px; margin-bottom: 14px; }
.comment-list .children { list-style: none; margin: 14px 14px 0 0; padding: 0; }
.comment-author { font-weight: 700; margin-bottom: 4px; }
.comment-metadata { font-size: 13px; color: var(--og-muted); margin-bottom: 8px; }
.comment-reply-link { font-weight: 700; font-size: 14px; }
#respond { margin-top: 24px; }
.comment-form { display: grid; gap: 12px; }
.comment-form .comment-form-author, .comment-form .comment-form-email { margin: 0; }

/* ---------- Content / archive ---------- */
.og-content { padding: 32px 0; }
.og-post { border-bottom: 1px solid var(--og-border); padding: 20px 0; }
.og-post h2 { font-size: 22px; margin-bottom: 8px; }
.og-post h2 a { color: var(--og-ink); text-decoration: none; }
.og-post h2 a:hover { color: var(--og-primary); }
.og-pagination { display: flex; gap: 8px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.og-pagination a, .og-pagination span { border: 1.5px solid var(--og-border); border-radius: 8px; padding: 10px 16px; text-decoration: none; color: var(--og-ink); min-width: 48px; text-align: center; }
.og-pagination a:hover { border-color: var(--og-primary); color: var(--og-primary); }
.og-pagination .current { background: var(--og-primary); color: #fff; border-color: var(--og-primary); }

/* ---------- Sidebar / widgets ---------- */
.og-layout { display: grid; gap: 32px; }
.og-sidebar .widget { border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 18px; margin-bottom: 18px; background: #fff; }
.og-sidebar .widget-title { font-size: 17px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--og-accent); }
.og-sidebar ul { list-style: none; margin: 0; padding: 0; }
.og-sidebar li { padding: 8px 0; border-bottom: 1px solid var(--og-surface); }
.og-sidebar li:last-child { border: none; }
.og-sidebar a { color: var(--og-ink); text-decoration: none; }
.og-sidebar a:hover { color: var(--og-primary); }

/* ---------- WooCommerce: archive toolbar ---------- */
.og-shop-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin-bottom: 20px; padding: 12px 14px; background: var(--og-surface);
	border-radius: var(--og-radius); border: 1px solid var(--og-border);
}
.og-shop-toolbar .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--og-muted); }
.og-shop-toolbar .woocommerce-ordering { margin: 0; }
.og-shop-toolbar .woocommerce-ordering select { width: auto; min-height: 44px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; color: var(--og-ink); }
.woocommerce ul.products li.product .price { color: var(--og-primary); font-weight: 800; font-size: 17px; }
.woocommerce ul.products li.product .price del { color: var(--og-muted); font-weight: 400; }
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce span.onsale {
	background: var(--og-accent); color: var(--og-accent-ink);
	font-weight: 700; border-radius: 20px; padding: 4px 12px; min-height: 0; line-height: 1.6;
}
.woocommerce .star-rating { color: var(--og-accent-dark); }

/* ---------- WooCommerce: single product ---------- */
.og-single { display: grid; gap: 24px; padding: 24px 0; }
.woocommerce div.product div.images { margin-bottom: 0; }
.woocommerce div.product .product_title { font-size: 26px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--og-primary); font-size: 24px; font-weight: 800; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--og-muted); font-size: 18px; }
.og-cod-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: #f0faf5; border: 1.5px solid var(--og-primary); color: var(--og-primary-dark);
	border-radius: var(--og-radius); padding: 10px 14px; font-weight: 700; font-size: 15px; margin: 12px 0;
}
.woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin: 16px 0; }
.woocommerce div.product form.cart .quantity input { width: 76px; text-align: center; }
.woocommerce div.product .og-trust { margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs { margin-top: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1.5px solid var(--og-border); background: #fff; border-radius: var(--og-radius) var(--og-radius) 0 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--og-primary); border-color: var(--og-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--og-ink); font-weight: 600; padding: 10px 18px; }
.woocommerce div.product .woocommerce-tabs .panel { border: 1.5px solid var(--og-border); border-top: none; border-radius: 0 0 var(--og-radius) var(--og-radius); padding: 20px; margin: 0; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: 22px; margin: 32px 0 16px; }

/* ---------- WooCommerce: cart ---------- */
.woocommerce table.shop_table { border: 1.5px solid var(--og-border); border-radius: var(--og-radius); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--og-surface); }
.woocommerce table.shop_table .product-thumbnail img { width: 64px; border-radius: 8px; }
.woocommerce table.shop_table .product-quantity input { width: 64px; text-align: center; }
.woocommerce .cart-collaterals .cart_totals { background: var(--og-surface); border-radius: var(--og-radius); padding: 20px; border: 1.5px solid var(--og-border); }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; }
.woocommerce a.remove { color: var(--og-danger) !important; font-size: 22px; }
.woocommerce a.remove:hover { background: var(--og-danger) !important; color: #fff !important; }

/* ---------- WooCommerce: checkout (COD-first) ---------- */
.woocommerce-checkout .col2-set { display: grid; gap: 24px; }
#order_review_heading { margin-top: 24px; }
.woocommerce-checkout #payment { background: var(--og-surface); border-radius: var(--og-radius); }
.woocommerce-checkout #payment ul.payment_methods { padding: 16px; border-bottom: 1px solid var(--og-border); }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--og-radius); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
/* COD-first: highlight the COD gateway */
.og-cod-highlight { border: 2px solid var(--og-primary); border-radius: var(--og-radius); padding: 12px; background: #f0faf5; }
.og-cod-highlight label { font-weight: 800; color: var(--og-primary-dark); }
.og-advance-notice { background: #fff8e6; border: 1.5px solid var(--og-accent); border-radius: var(--og-radius); padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce form .form-row .required { color: var(--og-danger); }
#place_order { width: 100%; font-size: 18px; padding: 16px; }

/* ---------- WooCommerce: my account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--og-surface); border: 1.5px solid var(--og-border); border-radius: var(--og-radius); padding: 8px; margin-bottom: 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--og-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: #fff; color: var(--og-primary); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--og-primary); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1.5px solid var(--og-border); border-radius: var(--og-radius); padding: 20px; }
.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th { font-size: 14px; }

/* ---------- WooCommerce: page layout variants (beta.35) ----------
   Merchant picks per page in Customizer → ডিজাইন ও রেডিমেড টেমপ্লেট.
   "classic" = the layout above, untouched: no rules key off it, so a
   store that never picks a variant renders byte-identically. Each
   variant below only rearranges the same WooCommerce markup — same
   hooks, fields and plugin additions in every variant. */

/* Product — shared groundwork for the non-classic variants: the
   classic composition keeps the product in the left column of the
   .og-single content/sidebar grid; the other variants are full-width
   compositions, so they take the whole row. Also take the
   gallery/summary out of WooCommerce's float layout and pin the sale
   badge to the product corner in every arrangement. */
@media (min-width: 768px) {
	body.og-pl-product-split .og-single,
	body.og-pl-product-editorial .og-single,
	body.og-pl-product-bold .og-single { grid-template-columns: 1fr; }
}
.og-pl-product-split div.product,
.og-pl-product-editorial div.product,
.og-pl-product-bold div.product { position: relative; }
.og-pl-product-split div.product > span.onsale,
.og-pl-product-editorial div.product > span.onsale,
.og-pl-product-bold div.product > span.onsale { position: absolute; top: 14px; left: 14px; z-index: 6; }
body.og-pl-product-split div.product div.images,
body.og-pl-product-editorial div.product div.images,
body.og-pl-product-bold div.product div.images { float: none; width: 100%; }
body.og-pl-product-split div.product div.summary,
body.og-pl-product-editorial div.product div.summary,
body.og-pl-product-bold div.product div.summary { float: none; width: auto; }

/* Product variant 2 — Split hero: wide gallery, sticky buy panel.
   The panel carries title, price, the COD badge, the cart form and
   the trust strip (all standard summary content) and stays in view
   while the gallery and details scroll. */
body.og-pl-product-split div.product div.summary {
	background: #fff; border: 1.5px solid var(--og-border);
	border-radius: var(--og-radius-lg); padding: 22px; box-shadow: var(--og-shadow);
}
@media (min-width: 768px) {
	body.og-pl-product-split div.product {
		display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 32px; align-items: start;
	}
	body.og-pl-product-split div.product div.images { margin: 0; }
	body.og-pl-product-split div.product div.summary {
		margin: 0; position: sticky; top: 24px; padding: 26px;
	}
	body.og-pl-product-split div.product .woocommerce-tabs,
	body.og-pl-product-split div.product .related,
	body.og-pl-product-split div.product .upsells { grid-column: 1 / -1; }
}

/* Product variant 3 — Centered editorial: full-width gallery on top,
   a centered reading column for the summary, and the detail tabs
   re-arranged into an accordion by theme.js (without JS the standard
   tabs remain — the accordion rules key off .og-acc-on, which only
   the script adds). */
body.og-pl-product-editorial div.product { display: flex; flex-direction: column; }
body.og-pl-product-editorial div.product div.images { width: 100%; max-width: 880px; margin: 0 auto; }
body.og-pl-product-editorial div.product div.summary {
	width: 100%; max-width: 680px; margin: 26px auto 0; text-align: center;
}
body.og-pl-product-editorial div.product div.summary form.cart { justify-content: center; }
body.og-pl-product-editorial div.product .product_title { font-size: 32px; }
body.og-pl-product-editorial div.product .woocommerce-tabs { width: 100%; max-width: 880px; margin-left: auto; margin-right: auto; }
body.og-pl-product-editorial div.product .woocommerce-tabs.og-acc-on ul.tabs { display: none; }
body.og-pl-product-editorial div.product .woocommerce-tabs.og-acc-on .panel { border: 0; border-radius: 0; padding: 0; margin: 0; }
.og-acc { border: 1.5px solid var(--og-border); border-radius: var(--og-radius); overflow: hidden; background: #fff; }
.og-acc-item + .og-acc-item { border-top: 1.5px solid var(--og-border); }
.og-acc-head {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
	background: var(--og-surface); border: 0; padding: 16px 20px; cursor: pointer;
	font: inherit; font-size: 17px; font-weight: 700; color: var(--og-ink); text-align: left;
}
.og-acc-head::after { content: "+"; font-size: 24px; line-height: 1; color: var(--og-primary); }
.og-acc-item.is-open .og-acc-head::after { content: "–"; }
.og-acc-panel { display: none; padding: 6px 20px 20px; }
.og-acc-item.is-open .og-acc-panel { display: block; }

/* Product variant 4 — Bold band: gallery strip across the top, then
   the whole summary (title, price, COD badge, cart form, trust) set
   as one strong band in the store's primary colour. */
body.og-pl-product-bold div.product { display: flex; flex-direction: column; }
body.og-pl-product-bold div.product div.images { width: 100%; margin: 0; }
body.og-pl-product-bold div.product div.images .flex-control-thumbs {
	display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 0;
}
body.og-pl-product-bold div.product div.images .flex-control-thumbs li { width: 84px; float: none; margin: 0; }
body.og-pl-product-bold div.product div.summary {
	width: 100%; margin: 20px 0 0; background: var(--og-primary); color: #fff;
	border-radius: var(--og-radius-lg); padding: 26px;
}
body.og-pl-product-bold div.product .product_title { color: #fff; font-size: 30px; }
body.og-pl-product-bold div.product p.price,
body.og-pl-product-bold div.product span.price { color: var(--og-accent); font-size: 30px; }
body.og-pl-product-bold div.product p.price del,
body.og-pl-product-bold div.product span.price del { color: rgba(255, 255, 255, 0.65); }
body.og-pl-product-bold div.product .woocommerce-product-details__short-description { color: rgba(255, 255, 255, 0.92); }
body.og-pl-product-bold div.product .og-cod-badge {
	background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff;
}
body.og-pl-product-bold div.product form.cart .single_add_to_cart_button {
	background: var(--og-accent); color: var(--og-accent-ink); font-size: 17px; padding: 14px 26px;
}
body.og-pl-product-bold div.product .og-authentic { color: #fff; }
body.og-pl-product-bold div.product .og-trust-item { color: var(--og-ink); }
body.og-pl-product-bold div.product .product_meta { color: rgba(255, 255, 255, 0.85); }
body.og-pl-product-bold div.product .product_meta a { color: #fff; }
body.og-pl-product-bold div.product .woocommerce-tabs { width: 100%; }
@media (max-width: 767px) {
	body.og-pl-product-bold div.product div.summary { padding: 20px; }
	body.og-pl-product-bold div.product .product_title { font-size: 25px; }
	body.og-pl-product-bold div.product p.price,
	body.og-pl-product-bold div.product span.price { font-size: 25px; }
}

/* Cart variant 2 — Card list + sticky summary rail. The classic
   table is re-arranged into one card per item (rules scoped to the
   cart form's own table so the totals table keeps its layout); the
   collaterals (totals + cross-sells) ride in a sticky rail beside
   the list. */
.og-pl-cart-cards table.woocommerce-cart-form__contents { border: 0; border-radius: 0; overflow: visible; background: transparent; }
.og-pl-cart-cards table.woocommerce-cart-form__contents thead { display: none; }
.og-pl-cart-cards table.woocommerce-cart-form__contents tbody { display: block; }
.og-pl-cart-cards table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
	display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
	grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal";
	gap: 4px 14px; align-items: center;
	background: #fff; border: 1.5px solid var(--og-border);
	border-radius: var(--og-radius); padding: 14px; margin-bottom: 12px;
}
.og-pl-cart-cards table.woocommerce-cart-form__contents tr td { display: block; padding: 0; border: 0; text-align: left; }
.og-pl-cart-cards td.product-thumbnail { grid-area: thumb; }
.og-pl-cart-cards td.product-thumbnail img { width: 84px; border-radius: 8px; }
.og-pl-cart-cards td.product-name { grid-area: name; font-weight: 700; }
.og-pl-cart-cards td.product-remove { grid-area: remove; justify-self: end; }
.og-pl-cart-cards td.product-price { grid-area: price; color: var(--og-muted); }
.og-pl-cart-cards td.product-quantity { grid-area: qty; }
.og-pl-cart-cards td.product-quantity::before {
	content: attr(data-title) ": "; font-size: 13px; color: var(--og-muted); font-weight: 600;
}
.og-pl-cart-cards td.product-subtotal {
	grid-area: subtotal; justify-self: end; font-weight: 800; font-size: 17px; color: var(--og-primary);
}
.og-pl-cart-cards table.woocommerce-cart-form__contents tr:last-child { display: block; }
.og-pl-cart-cards .cart-collaterals .cart_totals,
.og-pl-cart-cards .cart-collaterals .cross-sells { float: none; width: auto; }
@media (min-width: 900px) {
	/* The cart template override nests form + collaterals in its own
	   .og-content wrap inside the shortcode's .woocommerce div, and
	   the page article is a 780px prose column — the rail layout
	   takes the full container width and grids that inner wrap. */
	.og-pl-cart-cards .og-article { max-width: 1200px; }
	.og-pl-cart-cards .woocommerce > .og-content {
		display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 28px; align-items: start;
	}
	.og-pl-cart-cards .cart-collaterals { position: sticky; top: 24px; }
}
@media (max-width: 767px) {
	.og-pl-cart-cards table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item { grid-template-columns: 60px minmax(0, 1fr) auto; padding: 12px; }
	.og-pl-cart-cards td.product-thumbnail img { width: 60px; }
}

/* Cart variant 3 — Minimal: one calm column, totals as a band with
   the checkout action beside the figures. */
.og-pl-cart-minimal .woocommerce-cart-form { max-width: 880px; margin: 0 auto; }
.og-pl-cart-minimal .cart-collaterals { max-width: 880px; margin: 26px auto 0; }
.og-pl-cart-minimal .cart-collaterals .cart_totals {
	float: none; width: auto; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center;
}
.og-pl-cart-minimal .cart_totals h2 { width: 100%; margin: 0 0 4px; }
.og-pl-cart-minimal .cart_totals table { flex: 1 1 300px; margin: 0; }
.og-pl-cart-minimal .cart_totals .wc-proceed-to-checkout { flex: 1 1 240px; padding: 0; }
.og-pl-cart-minimal .cart_totals .wc-proceed-to-checkout a { width: 100%; text-align: center; box-sizing: border-box; }

/* Checkout variant 2 — Single column, stepped: the details and the
   order/payment sections become numbered step cards (১ তথ্য →
   ২ পেমেন্ট; সম্পন্ন follows on the thank-you page). */
.og-pl-checkout-steps form.checkout { max-width: 780px; margin: 0 auto; counter-reset: ogstep; }
.og-pl-checkout-steps .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
.og-pl-checkout-steps .col2-set .col-1,
.og-pl-checkout-steps .col2-set .col-2 { float: none; width: auto; }
.og-pl-checkout-steps #customer_details {
	background: #fff; border: 1.5px solid var(--og-border);
	border-radius: var(--og-radius-lg); padding: 24px;
}
.og-pl-checkout-steps #order_review {
	background: #fff; border: 1.5px solid var(--og-border);
	border-radius: var(--og-radius-lg); padding: 24px;
}
.og-pl-checkout-steps .woocommerce-billing-fields > h3::before,
.og-pl-checkout-steps #order_review_heading::before {
	counter-increment: ogstep; content: counter(ogstep, bengali);
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%; margin-right: 10px;
	background: var(--og-primary); color: #fff; font-size: 16px; font-weight: 800;
	vertical-align: middle;
}
@media (max-width: 767px) {
	.og-pl-checkout-steps #customer_details,
	.og-pl-checkout-steps #order_review { padding: 16px; }
}

/* Checkout variant 3 — Split view: form column on the left, the
   order summary + payment (including the COD trust note, which
   renders inside the review block) as a sticky rail on the right. */
@media (min-width: 900px) {
	.og-pl-checkout-split .og-article { max-width: 1200px; }
	.og-pl-checkout-split form.checkout {
		display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 28px; align-items: start;
	}
	.og-pl-checkout-split .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
	.og-pl-checkout-split .col2-set { grid-column: 1; grid-row: 1 / span 2; }
	.og-pl-checkout-split .col2-set .col-1,
	.og-pl-checkout-split .col2-set .col-2 { float: none; width: auto; }
	.og-pl-checkout-split #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
	.og-pl-checkout-split #order_review {
		grid-column: 2; grid-row: 2; position: sticky; top: 24px;
		max-height: calc(100vh - 48px); overflow-y: auto;
		background: var(--og-surface); border: 1.5px solid var(--og-border);
		border-top: 4px solid var(--og-primary);
		border-radius: var(--og-radius-lg); padding: 20px;
	}
	.og-pl-checkout-split #order_review table.shop_table { background: #fff; }
}

/* ---------- Trending cards (B14) ---------- */
/* Rank pill on the standard loop card (UX audit H5). Static flow, so
   it can never overlap the sale badge or card actions. */
.og-trending-badge { display: inline-block; background: #e4572e; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.2; padding: 5px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- WooCommerce: order received ---------- */
.woocommerce-order-received .woocommerce-order { background: #fff; border: 1.5px solid var(--og-border); border-radius: var(--og-radius-lg); padding: 24px; }
.woocommerce ul.order_details { display: grid; gap: 10px; background: var(--og-surface); border-radius: var(--og-radius); padding: 16px; margin-bottom: 20px; }
.woocommerce ul.order_details li { border: none; margin: 0; padding: 0; font-size: 14px; }
.woocommerce ul.order_details li strong { display: block; font-size: 16px; }
.og-thankyou-hero { text-align: center; padding: 24px 0; }
.og-thankyou-hero .og-big-tick { font-size: 56px; display: block; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.og-footer { background: #123c2e; color: #e8f2ed; margin-top: 48px; }
.og-footer a { color: #fff; text-decoration: none; }
.og-footer a:hover { text-decoration: underline; }
.og-footer-cols { display: grid; gap: 28px; padding: 40px 0 28px; }
.og-footer h3 { font-size: 17px; color: #fff; margin-bottom: 14px; }
.og-footer ul { list-style: none; margin: 0; padding: 0; }
.og-footer li { margin-bottom: 9px; font-size: 15px; }
.og-footer p { font-size: 15px; color: #cfe3d8; }
.og-pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.og-pay-badge {
	border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 8px;
	padding: 6px 12px; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap;
}
.og-license-line { font-size: 14px; color: #bcd8cc; margin-top: 10px; }
.og-copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 16px 0; font-size: 14px; color: #bcd8cc;
	display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.og-powered { white-space: nowrap; }
.og-powered a { color: #fff; font-weight: 700; }

/* ---------- Policy generator ---------- */
.og-policy { background: var(--og-surface); border-radius: var(--og-radius); padding: 20px; }
.og-policy h2 { font-size: 20px; }

/* ---------- Search / 404 ---------- */
.og-404 { text-align: center; padding: 60px 0; }
.og-404 h1 { font-size: 64px; color: var(--og-primary); margin: 0; }
.og-404 p { color: var(--og-muted); }
.og-search-results .og-post { display: grid; gap: 8px; }
mark, .search-highlight { background: #fff3c4; padding: 0 2px; border-radius: 3px; }

/* ---------- Onboarding admin ---------- */
.og-onboard-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.og-step { flex: 1 1 140px; border: 1.5px solid var(--og-border); border-radius: var(--og-radius); padding: 14px; background: #fff; }
.og-step.done { border-color: var(--og-primary); background: #f0faf5; }
.og-step h3 { font-size: 15px; margin: 0 0 6px; }
.og-checklist { list-style: none; margin: 0; padding: 0; }
.og-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--og-surface); }
.og-checklist input[type="checkbox"] { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
	.og-search { display: block; }
	.og-carousel { grid-auto-columns: 46%; }
	.og-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
	h1 { font-size: 36px; }
	.og-hero { padding: 64px 0; }
	.og-hero h1 { font-size: 42px; }
	.og-products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.og-trust { grid-template-columns: repeat(3, 1fr); }
	.og-testis { grid-template-columns: repeat(3, 1fr); }
	.og-cod-steps { grid-template-columns: repeat(3, 1fr); }
	.og-blog-grid { grid-template-columns: repeat(3, 1fr); }
	.og-footer-cols { grid-template-columns: repeat(4, 1fr); }
	.og-nav-toggle { display: none; }
	.og-drawer-overlay { display: none; }
	.og-nav {
		position: static; transform: none; width: auto; z-index: auto;
		box-shadow: none; border-top: 1px solid var(--og-border); display: block;
		visibility: visible; transition: none;
	}
	.og-nav-head { display: none; }
	.og-nav ul { display: flex; gap: 4px; padding: 0 16px; max-width: var(--og-maxw); margin: 0 auto; overflow: visible; }
	.og-nav li { border: none; position: relative; }
	.og-nav a { padding: 12px 14px; white-space: nowrap; }
	.og-nav .sub-menu {
		display: none; position: absolute; top: 100%; right: 0; min-width: 200px;
		background: #fff; border: 1px solid var(--og-border); border-radius: 0 0 var(--og-radius) var(--og-radius);
		box-shadow: var(--og-shadow); z-index: 65; padding: 8px 0;
	}
	.og-nav li:hover > .sub-menu, .og-nav li:focus-within > .sub-menu { display: block; }
	.og-nav .sub-menu a { padding: 10px 18px; white-space: normal; }
	.og-single { grid-template-columns: 1fr 1fr; }
	.og-article h1 { font-size: 38px; }
	.woocommerce-checkout .col2-set { grid-template-columns: 1.1fr 1fr; }
	/* UX audit H1: the account nav/content are direct children of the
	   page article (WooCommerce's my-account template has no
	   .woocommerce wrapper for the old rule to match, so it never
	   fired and WC's float layout squeezed the page into the 780px
	   reading column). Lay the account out on the article itself at
	   full container width, and neutralise the WC floats. */
	/* UX audit H1: proper account layout. The nav/content are grid
	   items of .woocommerce next to a notices wrapper, so placement
	   must be EXPLICIT (auto-placement put the nav in the content
	   column and pushed the content to a second row); the article
	   also leaves the 780px reading column. Scoped to .logged-in so
	   the guest login/register columns keep their own layout. */
	.woocommerce-account.logged-in .og-article { max-width: none; }
	.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 8px 24px; align-items: start; }
	.woocommerce-account.logged-in .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-account.logged-in .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; float: none; width: auto; margin-bottom: 0; }
	.woocommerce-account.logged-in .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; float: none; width: auto; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; }
	.woocommerce ul.order_details { grid-template-columns: repeat(4, 1fr); }
	.og-layout { grid-template-columns: 1fr 300px; }
	.og-account-link { display: inline; }
}
@media (min-width: 1024px) {
	.og-products, .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
	.og-section { padding: 56px 0; }
	.og-cats { grid-template-columns: repeat(4, 1fr); }
	.og-carousel { grid-auto-columns: 31%; }
}
@media (min-width: 1200px) {
	.og-hero h1 { font-size: 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Hero layouts (setup-wizard variants) ---------- */
.og-hero--split .og-hero-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 768px) {
	.og-hero--split .og-hero-split { grid-template-columns: 1.15fr .85fr; }
}
.og-hero-visual {
	position: relative; min-height: 240px; border-radius: var(--og-radius-lg);
	background: linear-gradient(135deg, var(--og-accent) 0%, var(--og-primary) 100%);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.og-hero-taka { font-size: 120px; font-weight: 800; color: rgba(255,255,255,.85); line-height: 1; }
.og-hero-visual-stats { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 12px; }
.og-hero-visual-stats div { background: rgba(255,255,255,.92); border-radius: 8px; padding: 8px 12px; flex: 1; }
.og-hero-visual-stats strong { display: block; font-size: 18px; color: var(--og-primary); }
.og-hero-visual-stats span { font-size: 12px; color: var(--og-ink); }
.og-hero--minimal { padding: 32px 0; text-align: center; }
.og-hero--minimal h1 { font-size: 26px; }
.og-hero--minimal p { margin-left: auto; margin-right: auto; }
.og-hero--minimal .og-hero-ctas { justify-content: center; }
.og-hero-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 768px) {
	.og-hero-strip { grid-template-columns: repeat(4, 1fr); }
}
.og-hero-prod { background: #fff; border-radius: 10px; padding: 12px; text-decoration: none; color: var(--og-ink); display: block; }
.og-hero-prod:hover { transform: translateY(-2px); }
.og-hero-prod-img img { width: 100%; height: auto; border-radius: 6px; }
.og-hero-prod-name { display: block; font-weight: 700; font-size: 14px; margin: 8px 0 4px; }
.og-hero-prod-price { font-size: 14px; color: var(--og-primary); font-weight: 700; }

/* ---------- Rounded font variant ---------- */
body.og-font-rounded { --og-font: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif; }

/* ---------- Landing page (B16 form + Batch 18 composition) ---------- */
.og-landing { max-width: 760px; margin: 0 auto; }
.og-landing__hero { text-align: center; margin-bottom: 20px; }
.og-landing__image img { max-width: 100%; height: auto; border-radius: var(--og-radius-lg); }
.og-landing__price { font-size: 22px; color: var(--og-lp-primary, var(--og-primary)); }
.og-landing__price del { color: var(--og-muted); font-weight: 400; margin-right: 8px; }
.og-landing__offer { font-weight: 700; color: var(--og-lp-primary, var(--og-primary)); }
.og-landing__error { background: #fdecec; border: 1.5px solid var(--og-danger); border-radius: var(--og-radius); padding: 12px 14px; }
.og-landing__field { margin-bottom: 14px; }
.og-landing__field label, .og-landing__choices legend { font-weight: 600; display: block; margin-bottom: 6px; }
.og-landing__choices { border: 1.5px solid var(--og-border); border-radius: var(--og-radius); padding: 12px 14px; margin: 0 0 14px; }
.og-landing__choice { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--og-surface); cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.og-landing__choice:last-child { border-bottom: none; }
.og-landing__choice input { width: 20px; height: 20px; flex-shrink: 0; }
.og-landing__choice-label { flex: 1; }
.og-landing__choice-price { font-weight: 800; color: var(--og-lp-primary, var(--og-primary)); }
.og-landing__total { font-size: 18px; }
.og-landing-page { max-width: 960px; }
.og-lp-section { padding: 28px 0; }
.og-lp-title { font-size: 24px; text-align: center; margin-bottom: 18px; }
.og-lp-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.og-lp-badge { border: 1.5px solid var(--og-lp-accent, var(--og-accent)); color: var(--og-lp-primary, var(--og-primary)); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; background: #fff; }
.og-lp-benefit-list { max-width: 640px; margin: 0 auto; list-style: none; padding: 0; }
.og-lp-benefit-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--og-surface); }
.og-lp-benefit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--og-lp-primary, var(--og-primary)); font-weight: 800; }
.og-lp-offer { text-align: center; background: var(--og-surface); border-radius: var(--og-radius-lg); }
.og-lp-offer-price { font-size: 30px; color: var(--og-lp-primary, var(--og-primary)); margin: 0 0 6px; }
.og-lp-offer-price del { color: var(--og-muted); font-size: 20px; margin-right: 10px; }
.og-lp-offer-line { font-weight: 700; margin: 0; }
.og-lp-whyus-grid { display: grid; gap: 12px; }
.og-lp-whyus-item { background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 14px; }
.og-lp-whyus-item p { margin: 4px 0 0; color: var(--og-muted); font-size: 14px; }
.og-lp-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.og-lp-gallery-item { margin: 0; }
.og-lp-gallery-item img { width: 100%; height: auto; border-radius: var(--og-radius); display: block; }
.og-lp-review-list { display: grid; gap: 12px; }
.og-lp-review { background: #fff; border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 14px; margin: 0; }
.og-lp-review p { margin: 6px 0; }
.og-lp-review footer { font-weight: 700; font-size: 14px; }
.og-lp-stars { color: var(--og-lp-accent, var(--og-accent-dark)); letter-spacing: 2px; }
.og-lp-faq-item { border: 1px solid var(--og-border); border-radius: var(--og-radius); padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.og-lp-faq-item summary { font-weight: 700; cursor: pointer; }
.og-lp-faq-a { margin-top: 8px; color: var(--og-muted); }
@media (min-width: 768px) {
	.og-lp-whyus-grid { grid-template-columns: repeat(3, 1fr); }
	.og-lp-gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.og-lp-review-list { grid-template-columns: repeat(3, 1fr); }
}
/* Sticky mobile order bar (Batch 18) */
.og-landing-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 10px; background: var(--og-lp-primary, #111); color: #fff; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.18); transition: transform .25s ease, opacity .25s ease; }
.og-landing-bar--hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.og-landing-bar__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 14px; }
.og-landing-bar__price { font-weight: 800; white-space: nowrap; }
.og-landing-bar__cta { background: var(--og-lp-accent, #f5a623); color: #111; font-weight: 800; text-decoration: none; border-radius: 8px; padding: 10px 16px; white-space: nowrap; }
@media (min-width: 768px) {
	.og-landing-bar { display: none; }
}


/* ============================================================
   Flagship Flash chrome (mega menu, marketplace, MV) — overrides
   and additions on top of the inherited flagship system.
   ============================================================ */


/* ============================================================
   OrderGate Flagship Flash — design system (scaffold scope:
   header + mega menu + marketplace chrome; full section system
   lands in Milestone 2 with the flagship inheritance merge).
   Mobile-first, WCAG 2.2 AA basics: visible focus, 48px
   targets, 4.5:1 body contrast.
   ============================================================ */

:root {
	--og-navy-950: #040c1a;
	--og-navy-900: #091d3b;
	--og-navy-800: #0e2a52;
	--og-navy-700: #173b6e;
	--og-gold-600: #a87f1f;
	--og-gold-500: #c9a227;
	--og-gold-400: #ddb84f;
	--og-buy: #0f7a3a;
	--og-ink: #1b2430;
	--og-muted: #66738c;
	--og-line: #e4e8f0;
	--og-paper: #f7f9fc;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Hind Siliguri", "Inter", system-ui, sans-serif; color: var(--og-ink); background: #fff; }
a { color: var(--og-navy-800); }
:focus-visible { outline: 3px solid var(--og-gold-500); outline-offset: 2px; }

/* ---------- topbar + header ---------- */
.ogfl-topbar { background: var(--og-navy-900); color: #c9d4e6; font-size: 13.5px; }
.ogfl-topbar-in { max-width: 1280px; margin: 0 auto; padding: 7px 16px; display: flex; justify-content: space-between; gap: 16px; }
.ogfl-topbar b { color: #ff8a7a; font-weight: 600; }
.ogfl-topbar a { color: inherit; text-decoration: none; margin-left: 18px; }

.ogfl-header { max-width: 1280px; margin: 0 auto; padding: 14px 16px 12px; display: flex; align-items: center; gap: 20px; }
.ogfl-logo { font-size: 28px; font-weight: 800; color: var(--og-navy-900); letter-spacing: -0.5px; text-decoration: none; white-space: nowrap; }
.ogfl-logo i { color: var(--og-sale); font-style: normal; }
.ogfl-logo small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.28em; color: #8a94a6; }
.ogfl-search { flex: 1; display: flex; border: 2px solid var(--og-navy-900); border-radius: 10px; overflow: hidden; min-height: 48px; }
.ogfl-search input { flex: 1; border: 0; padding: 0 14px; font: inherit; font-size: 15.5px; min-width: 0; }
.ogfl-search button { background: var(--og-navy-900); color: #fff; border: 0; font: inherit; font-weight: 600; padding: 0 26px; cursor: pointer; }
.ogfl-icons { display: flex; gap: 20px; }
.ogfl-icons a { color: #33415c; text-decoration: none; font-size: 12.5px; text-align: center; }

/* ---------- nav + mega menu ---------- */
.ogfl-nav { border-top: 1px solid var(--og-line); border-bottom: 1px solid var(--og-line); position: relative; }
.ogfl-nav-in { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: stretch; gap: 4px; }
.ogfl-allcat { background: var(--og-sale); color: #ffffff; font-weight: 700; font-size: 16px; border: 0; padding: 12px 22px; margin-top: 6px; border-radius: 8px 8px 0 0; cursor: pointer; font-family: inherit; }
.ogfl-nav a.ogfl-link { display: flex; align-items: center; padding: 0 16px; font-size: 15.5px; font-weight: 500; color: #26324a; text-decoration: none; }
.ogfl-nav-in li { display: flex; align-items: center; list-style: none; }
.ogfl-nav-in li a { display: flex; align-items: center; padding: 0 16px; font-size: 15.5px; font-weight: 500; color: #26324a; text-decoration: none; }
.ogfl-nav a.ogfl-join { margin: 7px 0 7px auto; display: flex; align-items: center; border: 1.6px solid var(--og-sale); color: var(--og-sale-dark); font-weight: 700; font-size: 14.5px; border-radius: 8px; padding: 0 16px; text-decoration: none; }

.ogfl-mega { display: none; max-width: 1248px; margin: 0 auto; background: #fff; border: 1.6px solid #e0d5ae; border-top: 3px solid var(--og-sale); border-radius: 0 0 14px 14px; box-shadow: 0 24px 50px rgba(9, 29, 59, 0.16); }
.ogfl-mega.is-open { display: flex; }
.ogfl-rail { width: 280px; flex: none; background: var(--og-paper); border-right: 1px solid var(--og-line); padding: 10px 0; border-radius: 0 0 0 14px; }
.ogfl-rail a { display: flex; justify-content: space-between; padding: 11px 20px; font-size: 15.5px; color: #26324a; text-decoration: none; }
.ogfl-rail a.is-active { background: #fff; font-weight: 700; color: var(--og-navy-900); border-left: 4px solid var(--og-gold-500); padding-left: 16px; }
.ogfl-rail small { color: #98a2b5; }
.ogfl-cols { flex: 1; display: flex; gap: 12px; padding: 22px 26px; }
.ogfl-col { flex: 1; }
.ogfl-col h4 { font-size: 15px; color: var(--og-navy-900); border-bottom: 2px solid #f0e7c8; padding-bottom: 7px; margin: 0 0 10px; }
.ogfl-col a { display: block; font-size: 14.5px; color: #4a5872; padding: 4.5px 0; text-decoration: none; }
.ogfl-spot { width: 288px; flex: none; border-left: 1px solid var(--og-line); padding: 22px; background: linear-gradient(180deg, #fffdf4, #fff); border-radius: 0 0 14px 0; }
.ogfl-spot .tag { font-size: 11.5px; letter-spacing: 0.16em; color: var(--og-gold-600); font-weight: 700; }
.ogfl-spot h3 { font-size: 19px; color: var(--og-navy-900); margin: 10px 0 4px; }
.ogfl-spot .meta { font-size: 13.5px; color: var(--og-muted); line-height: 1.55; }
.ogfl-spot .btn { display: block; background: var(--og-buy); color: #fff; text-align: center; font-weight: 700; border-radius: 8px; padding: 10px 0; margin-top: 12px; text-decoration: none; }
.ogfl-chips { display: flex; gap: 8px; margin-top: 12px; }
.ogfl-chips span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 6px 0; background: var(--og-paper); color: var(--og-navy-800); border: 1px solid var(--og-line); }

/* ---------- vendor strip + generic sections ---------- */
.ogfl-vendors { max-width: 1280px; margin: 0 auto; padding: 26px 16px; }
.ogfl-vendor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.ogfl-vendor-card { border: 1px solid var(--og-line); border-radius: 14px; padding: 18px; }
.ogfl-vendor-card h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--og-navy-900); }
.ogfl-vendor-card .cat { font-size: 13px; color: var(--og-muted); }
.ogfl-vendor-card a.visit { display: block; border: 1.5px solid var(--og-navy-900); color: var(--og-navy-900); text-align: center; font-weight: 700; font-size: 14px; border-radius: 8px; padding: 8px 0; margin-top: 12px; text-decoration: none; }
.ogfl-vendor-name { font-size: 12.5px; color: var(--og-gold-600); font-weight: 600; }

/* ---------- mobile drawer + bottom nav ---------- */
.ogfl-burger { display: none; background: none; border: 0; font-size: 22px; color: var(--og-navy-900); cursor: pointer; padding: 8px; }
.ogfl-drawer { display: none; }
.ogfl-bottomnav { display: none; }

@media (max-width: 860px) {
	.ogfl-search { order: 3; flex-basis: 100%; }
	.ogfl-header { flex-wrap: wrap; }
	.ogfl-burger { display: block; }
	.ogfl-nav { display: none; }
	.ogfl-mega { display: none !important; }
	.ogfl-drawer { display: block; position: fixed; inset: 0 auto 0 0; width: min(320px, 88vw); background: #fff; z-index: 90; box-shadow: 20px 0 50px rgba(9, 29, 59, 0.25); transform: translateX(-105%); transition: transform 0.25s ease; overflow-y: auto; padding: 16px; }
	.ogfl-drawer.is-open { transform: none; }
	.ogfl-drawer a.cat { display: flex; justify-content: space-between; padding: 12px 4px; border-top: 1px solid #eef1f6; color: #26324a; text-decoration: none; font-size: 15px; }
	.ogfl-drawer .join-card { background: var(--og-navy-900); color: #fff; border-radius: 12px; padding: 16px; margin-top: 14px; }
	.ogfl-drawer .join-card a { display: block; background: var(--og-gold-500); color: var(--og-navy-900); font-weight: 800; text-align: center; border-radius: 8px; padding: 9px 0; margin-top: 10px; text-decoration: none; }
	.ogfl-bottomnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--og-line); z-index: 80; }
	.ogfl-bottomnav a { flex: 1; text-align: center; font-size: 12px; color: var(--og-muted); padding: 9px 0 11px; text-decoration: none; }
	.ogfl-bottomnav a.is-on { color: var(--og-navy-900); font-weight: 700; }
	body { padding-bottom: 52px; }
}

.ogfl-footer { background: var(--og-navy-950); color: #b9c6dc; margin-top: 40px; }
.ogfl-footer-in { max-width: 1280px; margin: 0 auto; padding: 34px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; font-size: 14px; }
.ogfl-footer h4 { color: #fff; margin: 0 0 10px; font-size: 15.5px; }
.ogfl-footer a { color: inherit; text-decoration: none; display: block; padding: 3px 0; }

.ogfl-main { max-width: 1280px; margin: 0 auto; padding: 20px 16px; }

/* --- M2: vendor strip / flash (home) --- */
.ogfl-vendor-strip, .ogfl-flash { padding: 40px 0; }
.ogfl-vendor-strip h2, .ogfl-flash h2 { font-size: 24px; margin: 0 0 18px; color: var(--og-navy-900); }
.ogfl-vendor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ogfl-vendor-card { background: #fff; border: 1px solid var(--og-line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ogfl-vendor-card strong { font-size: 16px; color: var(--og-navy-900); }
.ogfl-vendor-area { color: var(--og-muted); font-size: 13px; }
.ogfl-vendor-rating { color: var(--og-gold-600); font-size: 13px; font-weight: 600; }
.ogfl-vendor-visit { margin-top: 8px; font-weight: 700; color: var(--og-navy-800); }
.ogfl-flash-products .woocommerce ul.products { margin: 0; }
@media (max-width: 900px) { .ogfl-vendor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ogfl-vendor-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ogfl-vendor-card { padding: 12px; } }

/* --- M2: storefront --- */
.ogfl-store-banner { background: var(--og-navy-900); color: #fff; padding: 28px 0; }
.ogfl-store-banner h1 { margin: 0 0 6px; font-size: 28px; }
.ogfl-store-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #dbe4f2; }
.ogfl-store-about { padding: 18px 0 0; max-width: 760px; }
.ogfl-store-products { padding: 24px 0 40px; }
/* M3 fix: vendor-storefront product grid. The storefront template renders the WooCommerce loop without a .woocommerce wrapper, so the shop-loop rules never match there; these store-scoped rules mirror them (Minimal pattern). */
.ogfl-store-products ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.ogfl-store-products ul.products li.product { display: flex; flex-direction: column; margin: 0; width: 100%; position: relative; }
.ogfl-store-products ul.products li.product .woocommerce-loop-product__title { font-size: 15px; color: var(--og-ink); }
.ogfl-store-products ul.products li.product .price { color: var(--og-primary); font-weight: 800; font-size: 17px; }
.ogfl-store-products ul.products li.product .onsale { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--og-accent); color: var(--og-accent-ink); font-weight: 700; font-size: 13px; border-radius: 20px; padding: 4px 12px; line-height: 1.6; }
@media (min-width: 900px) { .ogfl-store-products ul.products { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ogfl-store-rating { color: var(--og-gold-400); font-weight: 700; }
.ogfl-sold-by { font-size: 13px; color: var(--og-muted); }
.ogfl-sold-by a { font-weight: 600; color: var(--og-navy-800); }

/* --- M2: apply form + vendor dashboard --- */
.ogfl-apply-form { max-width: 640px; margin: 24px auto; background: #fff; border: 1px solid var(--og-line); border-radius: 12px; padding: 24px; }
.ogfl-apply-form h2 { margin-top: 0; }
.ogfl-apply-form .ogfl-field { display: block; margin-bottom: 14px; }
.ogfl-apply-form .ogfl-field span { display: block; font-weight: 600; margin-bottom: 6px; }
.ogfl-apply-form input[type="text"], .ogfl-apply-form input[type="tel"], .ogfl-apply-form input[type="email"],
.ogfl-apply-form select, .ogfl-apply-form textarea { width: 100%; border: 1px solid var(--og-line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.ogfl-card-note { max-width: 640px; margin: 24px auto; background: #fff; border: 1px solid var(--og-line); border-radius: 12px; padding: 24px; text-align: center; }
.ogfl-notice { max-width: 640px; margin: 16px auto; border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.ogfl-notice-ok { background: #e8f6ec; border: 1px solid #9ed3ab; }
.ogfl-notice-error { background: #fdeeee; border: 1px solid #f0b4b4; }
.ogfl-mv-dash .ogfl-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 24px; }
.ogfl-mv-dash .ogfl-stat { background: #fff; border: 1px solid var(--og-line); border-radius: 12px; padding: 16px; }
.ogfl-mv-dash .ogfl-stat strong { display: block; font-size: 20px; color: var(--og-navy-900); }
.ogfl-mv-dash .ogfl-stat span { font-size: 13px; color: var(--og-muted); }
.ogfl-mv-table { width: 100%; border-collapse: collapse; background: #fff; }
.ogfl-mv-table th, .ogfl-mv-table td { border: 1px solid var(--og-line); padding: 8px 10px; text-align: left; font-size: 14px; }
.ogfl-mv-form { background: #fff; border: 1px solid var(--og-line); border-radius: 12px; padding: 18px; margin: 18px 0; }
.ogfl-mv-form .ogfl-field { display: block; margin-bottom: 12px; }
.ogfl-mv-form .ogfl-field span { display: block; font-weight: 600; margin-bottom: 6px; }
.ogfl-mv-form input, .ogfl-mv-form select, .ogfl-mv-form textarea { width: 100%; border: 1px solid var(--og-line); border-radius: 8px; padding: 9px 11px; font: inherit; }
.ogfl-btn { display: inline-block; background: var(--og-buy); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font-weight: 700; font: inherit; cursor: pointer; }
.ogfl-btn-ghost { background: #fff; color: var(--og-navy-900); border: 1px solid var(--og-line); }
@media (max-width: 700px) { .ogfl-mv-dash .ogfl-stat-grid { grid-template-columns: repeat(2, 1fr); } .ogfl-mv-table { display: block; overflow-x: auto; } }

/* ============================================================
   Flagship Flash — deal layer (Model 7): red sale accents on
   navy/white, countdown-led sections, price-band shelves.
   ============================================================ */
.ogfl-flash { background: var(--og-sale-soft); border-top: 3px solid var(--og-sale); border-bottom: 1px solid #f3d2d2; }
.ogfl-flash .ogfl-sec-head h2 { color: var(--og-sale-dark); }
.ogfl-countdown { display: inline-flex; gap: 6px; align-items: center; background: var(--og-navy-900); color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ogfl-countdown b { background: var(--og-sale); border-radius: 5px; padding: 1px 7px; }
.ogfl-band-shelves { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.ogfl-band-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.6px solid var(--og-sale); border-radius: 99px; color: var(--og-sale-dark); font-weight: 700; text-decoration: none; background: #fff; }
.ogfl-band-chip:hover { background: var(--og-sale); color: #fff; }
.woocommerce span.onsale, .ogfl-sale-badge { background: var(--og-sale) !important; color: #fff !important; font-weight: 800; border-radius: 6px; }
/* §5g palette discipline: hero is SOLID navy (the only gradient this
   theme ships is the metallic-gold band below); deal CTA is sale red,
   hero stats are gold. */
.og-hero { background: var(--og-navy-900); }
.og-hero-stat strong { color: var(--og-gold-400); }
.og-hero .og-btn, .og-hero .button { background: var(--og-sale); color: #fff; }
.og-hero .og-btn:hover, .og-hero .button:hover { background: var(--og-sale-dark); color: #fff; }
.og-gold-band { background: linear-gradient(100deg, #a87f1f 0%, #ddb84f 38%, #f4e3ac 50%, #ddb84f 62%, #a87f1f 100%); }
/* §5g card integrity: no card content may spill outside its cell. */
.woocommerce ul.products li.product { min-width: 0; overflow: hidden; box-sizing: border-box; }
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.ogfl-sold-by { overflow-wrap: anywhere; }
.ogfl-tpl-flash-grid-99 .ogfl-flash { background: #fff; }
.ogfl-tpl-flash-clearance .ogfl-sec-head h2 { color: var(--og-sale-dark); }
/* §5f layout integrity: the deal section's children and the vendor
   storefront banner must sit inside the same 1280px container as the
   rest of the theme — without this the deal heading/cards run to the
   viewport edge and the banner text clips at the left. */
.ogfl-flash > * { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
/* Classic checkout variant: WooCommerce's floated 48% columns inside
   the grid col2-set squeeze the billing column to the right on
   desktop widths; normalise to a single full-width column (the
   Minimal finish's reset, §5f). */
.og-pl-checkout-classic .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
.og-pl-checkout-classic .col2-set .col-1,
.og-pl-checkout-classic .col2-set .col-2 { float: none; width: auto; }
.ogfl-store-banner { display: flex; gap: 20px; align-items: flex-start; padding: 28px 24px; border-radius: 12px; }
.ogfl-store-tile { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; background: var(--og-gold-400); color: #141414; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; line-height: 1; }
.ogfl-store-head { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) { .ogfl-store-banner { padding: 22px 16px; gap: 14px; } .ogfl-store-tile { flex-basis: 52px; width: 52px; height: 52px; font-size: 24px; border-radius: 12px; } }
.ogfl-spot--deal { border: 1.6px solid var(--og-sale); }
.ogfl-spot--deal .ogfl-spot-badge { background: var(--og-sale); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
