/* ==========================================================================
   ORIGO Organic – main stylesheet
   Mobile-first · CSS variables (set from Customizer) · no frameworks
   ========================================================================== */

:root {
	--origo-primary: #2e7d32;
	--origo-accent: #f9a825;
	--origo-dark: #1b2a1c;
	--origo-container: 1280px;
	--origo-radius: 8px;
	--origo-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif;

	--c-bg: #ffffff;
	--c-surface: #f6f9f2;
	--c-surface-2: #eef5e6;
	--c-border: #e3e9dc;
	--c-text: var(--origo-dark);
	--c-muted: #5f6b5f;
	--c-sale: #d32f2f;
	--shadow: 0 6px 24px rgba(27, 42, 28, .08);
	--shadow-lg: 0 18px 50px rgba(27, 42, 28, .16);
}

[data-theme="dark"] {
	--c-bg: #121812;
	--c-surface: #1a221a;
	--c-surface-2: #212c21;
	--c-border: #2c392c;
	--c-text: #e8efe5;
	--c-muted: #a6b3a4;
	--shadow: 0 6px 24px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--origo-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	padding-bottom: 64px; /* mobile bottom nav */
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--origo-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--c-text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--origo-accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--origo-container); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; background: #fff; padding: 10px 16px; z-index: 9999; left: 8px; top: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.origo-hidden-field { display: none !important; }
.hide-sm { display: none !important; }
@media (min-width: 768px) { .hide-sm { display: inline-flex !important; } }
.origo-icon { flex-shrink: 0; vertical-align: middle; }

/* Buttons & forms ------------------------------------------------------- */
.btn, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border: 2px solid var(--origo-primary); border-radius: var(--origo-radius);
	background: var(--origo-primary); color: #fff; font-weight: 600; line-height: 1.2; cursor: pointer;
	text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { text-decoration: none; filter: brightness(1.07); box-shadow: var(--shadow); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--origo-primary); }
.btn-outline:hover { background: var(--origo-primary); color: #fff; }
.btn-accent { background: var(--origo-accent); border-color: var(--origo-accent); color: #1b1b1b; }
.btn-accent:hover { color: #1b1b1b; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { color: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt { background: var(--origo-primary); }
.woocommerce .button.alt:hover { background: var(--origo-primary); }
.link-btn { background: none; border: 0; color: var(--c-sale); cursor: pointer; font-size: .85rem; padding: 4px; }

input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], input[type=number], input[type=url], input[type=date], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--c-border); border-radius: var(--origo-radius);
	background: var(--c-bg); transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--origo-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--origo-primary) 18%, transparent); }
label { font-weight: 500; font-size: .95rem; }

.icon-btn {
	position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px; border: 0; background: none;
	color: var(--c-text); cursor: pointer; border-radius: 50%; text-decoration: none;
}
.icon-btn:hover { color: var(--origo-primary); text-decoration: none; }
.icon-btn.active, .js-wishlist.active { color: var(--c-sale); }
.js-wishlist.active svg { fill: currentColor; }
.bubble, .cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--origo-accent); color: #1b1b1b; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.bubble[data-count="0"], .cart-count[data-count="0"] { background: var(--c-border); color: var(--c-muted); }

/* Badges ---------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: .75rem; font-weight: 700; line-height: 1.4; }
.badge .origo-icon { width: 14px; height: 14px; }
.badge-sale { background: var(--c-sale); color: #fff; }
.badge-out { background: #616161; color: #fff; }
.badge-organic { background: #e8f5e9; color: #1b5e20; }

/* Announcement & header ------------------------------------------------- */
.announcement-bar { background: var(--origo-primary); color: #fff; font-size: .85rem; }
.announcement-bar .container { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 38px; text-align: center; }
.announcement-bar a { color: #fff; }
.announcement-contact { display: none; gap: 16px; }
.announcement-contact a { display: inline-flex; align-items: center; gap: 5px; }
.announcement-contact svg { width: 15px; height: 15px; }
@media (min-width: 992px) { .announcement-bar .container { justify-content: space-between; } .announcement-contact { display: flex; } }

.site-header { background: var(--c-bg); border-bottom: 1px solid var(--c-border); z-index: 100; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar.has-sticky-header .site-header { top: 32px; } }
.header-main { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
.menu-toggle { grid-area: menu; }
.site-branding { grid-area: logo; }
.header-search { grid-area: search; }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.header-actions .label { display: none; font-size: .85rem; font-weight: 600; }
@media (min-width: 992px) {
	.header-main { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search actions"; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
	.menu-toggle { display: none; }
	.header-actions { gap: 10px; }
	.header-actions .label { display: inline; }
	.header-cart { border-radius: var(--origo-radius); background: var(--c-surface); padding: 8px 14px; }
}
.custom-logo { max-height: 56px; width: auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: 8px; font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; color: var(--origo-primary); text-decoration: none; }
.site-logo-text:hover { text-decoration: none; }
.logo-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--origo-primary); color: #fff; }
.logo-mark svg { width: 22px; height: 22px; }

.header-search { position: relative; display: flex; }
.header-search input { border-radius: var(--origo-radius) 0 0 var(--origo-radius); border-right: 0; background: var(--c-surface); }
.header-search button { padding: 0 18px; border: 0; border-radius: 0 var(--origo-radius) var(--origo-radius) 0; background: var(--origo-primary); color: #fff; cursor: pointer; }
.search-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--origo-radius); box-shadow: var(--shadow-lg); z-index: 200; overflow: hidden; }
.search-suggestions a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-border); }
.search-suggestions a:hover, .search-suggestions a.is-active { background: var(--c-surface); }
.search-suggestions img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.search-suggestions .s-price { margin-left: auto; color: var(--origo-primary); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.search-suggestions .s-all { justify-content: center; font-weight: 600; color: var(--origo-primary); }

.main-nav { display: none; border-top: 1px solid var(--c-border); }
@media (min-width: 992px) { .main-nav { display: block; } }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.primary-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.primary-menu > li { position: relative; }
.primary-menu a { display: block; padding: 14px 12px; color: var(--c-text); font-weight: 600; font-size: .95rem; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--origo-primary); text-decoration: none; }
.primary-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--origo-radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 150; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { padding: 8px 18px; font-weight: 500; }
.cat-dropdown { position: relative; }
.cat-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border: 0; background: var(--origo-primary); color: #fff; font-weight: 700; cursor: pointer; min-width: 240px; }
.cat-panel { position: absolute; top: 100%; left: 0; width: 260px; background: var(--c-bg); border: 1px solid var(--c-border); border-top: 0; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .2s; z-index: 160; }
.cat-dropdown:hover .cat-panel, .cat-dropdown:focus-within .cat-panel, .cat-dropdown.open .cat-panel { opacity: 1; visibility: visible; }
.cat-panel ul { list-style: none; margin: 0; padding: 6px 0; }
.cat-panel li { position: relative; }
.cat-panel a { display: block; padding: 9px 18px; color: var(--c-text); font-weight: 500; }
.cat-panel a:hover { background: var(--c-surface); color: var(--origo-primary); text-decoration: none; }
.cat-panel .children { position: absolute; left: 100%; top: 0; width: 240px; background: var(--c-bg); border: 1px solid var(--c-border); box-shadow: var(--shadow-lg); display: none; }
.cat-panel li:hover > .children { display: block; }
.nav-hotline { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text); font-weight: 700; }
.nav-hotline small { display: block; font-size: .7rem; font-weight: 500; color: var(--c-muted); line-height: 1; }
.nav-hotline svg { color: var(--origo-primary); }

/* Drawers (mobile menu & side cart) ------------------------------------- */
.drawer { position: fixed; top: 0; bottom: 0; width: min(400px, 90vw); background: var(--c-bg); z-index: 1000; display: flex; flex-direction: column; transition: transform .3s ease; box-shadow: var(--shadow-lg); visibility: hidden; }
.mobile-drawer { left: 0; transform: translateX(-100%); }
.side-cart { right: 0; transform: translateX(100%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--c-border); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 999; }
.mobile-menu { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--c-border); color: var(--c-text); font-weight: 600; }
.mobile-menu .sub-menu, .mobile-menu .children { list-style: none; padding-left: 14px; }
body.drawer-open { overflow: hidden; }

/* Side cart / mini cart */
.side-cart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.side-cart .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 12px 28px 12px 0; border-bottom: 1px solid var(--c-border); font-size: .92rem; }
.side-cart .woocommerce-mini-cart-item img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; float: none !important; margin: 0 !important; }
.side-cart .woocommerce-mini-cart-item a:not(.remove) { color: var(--c-text); font-weight: 600; display: contents; }
.side-cart .remove { position: absolute; right: 0; top: 12px; color: var(--c-sale) !important; font-size: 1.3rem; text-decoration: none; }
.side-cart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; font-size: 1.05rem; padding: 14px 0; margin: 0; }
.side-cart .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.side-cart .woocommerce-mini-cart__buttons .button { width: 100%; }
.side-cart .woocommerce-mini-cart__buttons .checkout { background: var(--origo-accent); border-color: var(--origo-accent); color: #1b1b1b; }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--c-muted); padding: 40px 0; }

.free-ship-bar { background: var(--c-surface); border: 1px dashed var(--origo-primary); border-radius: var(--origo-radius); padding: 12px 14px; margin-bottom: 16px; font-size: .92rem; }
.free-ship-bar p { margin: 0 0 8px; }
.free-ship-bar .bar { height: 8px; border-radius: 4px; background: var(--c-border); overflow: hidden; }
.free-ship-bar .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--origo-primary), var(--origo-accent)); border-radius: 4px; transition: width .4s; }

/* Breadcrumb */
.origo-breadcrumb, .woocommerce-breadcrumb { background: var(--c-surface); font-size: .88rem; color: var(--c-muted); padding: 12px 0; margin: 0 0 24px !important; }
.origo-breadcrumb a { color: var(--c-muted); }
.origo-breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* Sections -------------------------------------------------------------- */
.section { padding: 44px 0; }
@media (min-width: 992px) { .section { padding: 64px 0; } }
.section-alt { background: var(--c-surface); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; position: relative; }
.section-heading p { margin: 4px 0 0; color: var(--c-muted); }
.view-all { font-weight: 700; white-space: nowrap; }
.origo-empty { padding: 30px; text-align: center; background: var(--c-surface); border-radius: var(--origo-radius); color: var(--c-muted); }

/* Hero */
.hero { background: radial-gradient(ellipse at top right, #fff8e1 0%, transparent 50%), linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%); overflow: hidden; }
[data-theme="dark"] .hero { background: linear-gradient(135deg, #1a241a, #111811); }
.hero-inner { display: grid; gap: 30px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1.1fr 1fr; padding-top: 72px; padding-bottom: 72px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px; background: #fff; color: var(--origo-primary); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); margin-bottom: 16px; }
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.hero-text > p { font-size: 1.12rem; color: var(--c-muted); max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--origo-primary); font-size: .95rem; }
.hero-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 9/7; }
.hero-illustration { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-illustration span { display: grid; place-items: center; aspect-ratio: 1; font-size: clamp(2.5rem, 8vw, 4.5rem); background: #fff; border-radius: 24px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.hero-illustration span:nth-child(2n) { animation-delay: -2.5s; background: #fffde7; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-illustration span { animation: none; } * { scroll-behavior: auto !important; } }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 600px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .category-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
.category-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; color: var(--c-text); transition: .2s; }
.category-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--origo-primary); }
.category-img { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--c-bg); overflow: hidden; margin-bottom: 8px; }
.category-img img { width: 100%; height: 100%; object-fit: cover; }
.category-emoji { font-size: 2.6rem; }
.category-card strong { font-size: .95rem; line-height: 1.3; }
.category-card small { color: var(--c-muted); font-size: .8rem; }

/* Product grid & cards --------------------------------------------------- */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0 0 24px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) {
	ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
	ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
	ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
}
.woocommerce ul.products li.product, ul.products li.product {
	position: relative; width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column;
	background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 14px; padding: 12px; transition: box-shadow .2s, transform .2s;
}
ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
ul.products li.product a img { border-radius: 10px; margin: 0 0 10px !important; aspect-ratio: 1; object-fit: cover; background: var(--c-surface); }
ul.products li.product .woocommerce-loop-product__title { font-size: .98rem !important; font-weight: 600; color: var(--c-text); padding: 0 !important; margin: 0 0 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
ul.products li.product .price { color: var(--origo-primary) !important; font-weight: 800; font-size: 1.05rem !important; margin-bottom: 10px !important; }
ul.products li.product .price del { color: var(--c-muted); font-weight: 400; font-size: .88rem; opacity: .8; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .star-rating { font-size: .8rem; margin-bottom: 6px !important; color: var(--origo-accent); }
ul.products li.product .button { margin-top: auto !important; width: 100%; padding: 10px 12px; font-size: .9rem; }
ul.products li.product .added_to_cart { display: block; text-align: center; font-size: .85rem; padding-top: 6px; }
.card-weight { display: block; font-size: .82rem; color: var(--c-muted); margin-bottom: 4px; }
.card-badges { position: absolute; top: 18px; left: 18px; display: flex; flex-direction: column; gap: 4px; z-index: 2; align-items: flex-start; }
.card-actions { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.card-actions .icon-btn { background: var(--c-bg); box-shadow: var(--shadow); width: 36px; height: 36px; justify-content: center; padding: 0; }
.card-actions .icon-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (min-width: 992px) {
	.card-actions { opacity: 0; transform: translateX(8px); transition: .2s; }
	li.product:hover .card-actions, .card-actions:focus-within { opacity: 1; transform: none; }
}

/* Benefits */
.benefits-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card { padding: 26px 22px; background: var(--c-surface); border-radius: 18px; border: 1px solid var(--c-border); }
.benefit-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--c-bg); font-size: 1.9rem; margin-bottom: 14px; box-shadow: var(--shadow); }
.benefit-card p { color: var(--c-muted); margin: 0; font-size: .95rem; }

/* Promo */
.promo-banner { position: relative; border-radius: 24px; overflow: hidden; padding: 40px 24px; color: #fff; background: linear-gradient(110deg, rgba(27, 42, 28, .92) 0%, rgba(46, 125, 50, .85) 60%, rgba(46, 125, 50, .4) 100%), var(--promo-bg, linear-gradient(135deg, #2e7d32, #558b2f)) center / cover; }
@media (min-width: 768px) { .promo-banner { padding: 64px 56px; } }
.promo-text { max-width: 620px; }
.promo-banner h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.promo-tag { display: inline-block; background: var(--origo-accent); color: #1b1b1b; font-weight: 800; font-size: .8rem; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.sale-countdown { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; background: #fff3e0; color: #e65100; padding: 8px 14px; border-radius: var(--origo-radius); font-weight: 600; margin: 8px 0 16px; }
.sale-countdown b { font-size: 1.1rem; }
.sale-countdown.big { display: flex; background: transparent; color: #fff; gap: 12px; padding: 0; margin: 10px 0 24px; }
.sale-countdown.big div { display: grid; text-align: center; min-width: 70px; padding: 10px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; backdrop-filter: blur(4px); }
.sale-countdown.big b { font-size: 1.8rem; line-height: 1.1; }
.sale-countdown.big span { font-size: .75rem; opacity: .85; }

/* Reviews */
.reviews-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { margin: 0; padding: 26px; background: var(--c-surface); border-radius: 18px; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.review-card .stars { color: var(--origo-accent); letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 18px; font-size: 1rem; flex: 1; }
.review-card figcaption { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; align-items: center; }
.review-card .avatar { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--origo-primary); color: #fff; font-weight: 800; }
.review-card small { color: var(--c-muted); }

/* Blog cards */
.post-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-card-thumb img, .thumb-placeholder { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: grid; place-items: center; background: var(--c-surface); font-size: 3rem; }
.post-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-size: .8rem; color: var(--c-muted); }
.post-card-title { font-size: 1.1rem; margin: 4px 0 8px; }
.post-card-title a { color: var(--c-text); }
.post-card-body p { color: var(--c-muted); font-size: .93rem; }
.read-more { margin-top: auto; font-weight: 700; }

/* Newsletter */
.newsletter-box { display: grid; gap: 20px; align-items: center; padding: 36px 24px; border-radius: 24px; background: linear-gradient(135deg, var(--origo-primary), #1b5e20); color: #fff; }
@media (min-width: 900px) { .newsletter-box { grid-template-columns: 1fr 1fr; padding: 48px 56px; } }
.newsletter-box h2 { color: #fff; }
.newsletter-box p { margin: 0; opacity: .9; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1 1 220px; border: 0; }
.newsletter-thanks { font-size: 1.1rem; font-weight: 700; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #142014; color: #c9d6c6; margin-top: 40px; }
.site-footer a { color: #c9d6c6; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-features { background: #1b2a1c; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.features-grid > div { display: grid; grid-template-columns: 40px 1fr; gap: 0 10px; align-items: center; }
.features-grid svg { grid-row: span 2; width: 34px; height: 34px; color: var(--origo-accent); }
.features-grid strong { color: #fff; font-size: .95rem; }
.features-grid span { font-size: .82rem; }
.footer-grid { display: grid; gap: 30px; padding-top: 48px; padding-bottom: 36px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-about { grid-column: auto; } }
.footer-about .site-logo-text { color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .93rem; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--origo-accent); }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: .8rem; text-decoration: none; }
.social-links a:hover { background: var(--origo-primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-bottom p { margin: 0; }
.payment-strip { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.payment-strip li { background: #fff; color: #333; font-weight: 800; font-size: .72rem; padding: 4px 9px; border-radius: 4px; }
.payment-strip .bkash { color: #e2136e; } .payment-strip .nagad { color: #f6921e; } .payment-strip .rocket { color: #8c3494; }

.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-bg); border-top: 1px solid var(--c-border); box-shadow: 0 -4px 18px rgba(0, 0, 0, .06); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; color: var(--c-text); font-size: .72rem; font-weight: 600; }
.mobile-bottom-nav svg { width: 22px; height: 22px; }
@media (min-width: 992px) { .mobile-bottom-nav { display: none; } }
.whatsapp-float { position: fixed; right: 16px; bottom: 80px; z-index: 95; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--shadow-lg); }
.whatsapp-float svg { width: 28px; height: 28px; }
@media (min-width: 992px) { .whatsapp-float { bottom: 24px; } }
.origo-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--origo-dark); color: #fff; padding: 12px 22px; border-radius: 30px; z-index: 2000; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; }

/* Generic content ---------------------------------------------------------- */
.content-layout, .shop-layout { display: grid; gap: 30px; padding-bottom: 40px; }
@media (min-width: 992px) { .content-layout.has-sidebar, .shop-layout.has-sidebar { grid-template-columns: 1fr 300px; } .shop-layout.has-sidebar { grid-template-columns: 270px 1fr; } }
.shop-layout.has-sidebar .shop-sidebar { order: -1; }
.shop-main, .content-main { min-width: 0; }
.page-main { max-width: 900px; margin: 0 auto 40px; }
.page-main.is-wide { max-width: none; }
.page-header { margin-bottom: 24px; }
.entry-content { font-size: 1.04rem; }
.entry-content > * { max-width: 100%; }
.entry-content img { border-radius: 12px; }
.single-article { max-width: 780px; }
.entry-meta { color: var(--c-muted); font-size: .9rem; }
.entry-thumb img { border-radius: 16px; margin-bottom: 24px; width: 100%; }
.related-posts { margin: 40px 0; }
.widget { margin-bottom: 28px; padding: 18px; background: var(--c-surface); border-radius: 14px; }
.widget-title { font-size: 1.05rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 5px 0; }
.filter-toggle { width: 100%; }
@media (min-width: 992px) { .filter-toggle { display: none; } }
.shop-sidebar { display: none; }
.shop-sidebar.open { display: block; }
@media (min-width: 992px) { .shop-sidebar { display: block; } }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.nav-links, .woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 30px 0; border: 0 !important; }
.nav-links .page-numbers, .woocommerce-pagination .page-numbers li a, .woocommerce-pagination .page-numbers li span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: var(--origo-radius); border: 1px solid var(--c-border) !important; }
.nav-links .current, .woocommerce-pagination .page-numbers li span.current { background: var(--origo-primary) !important; color: #fff !important; border-color: var(--origo-primary) !important; }
.error-404 .error-box { text-align: center; padding: 60px 0 40px; }
.error-code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 900; color: var(--origo-primary); line-height: 1; opacity: .9; }
.error-404 .search-form { margin: 20px auto; }

.origo-faq details { border: 1px solid var(--c-border); border-radius: var(--origo-radius); margin-bottom: 10px; background: var(--c-bg); }
.origo-faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.origo-faq summary::-webkit-details-marker { display: none; }
.origo-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--origo-primary); }
.origo-faq details[open] summary::after { content: "−"; }
.origo-faq .faq-answer { padding: 0 18px 8px; color: var(--c-muted); }

.origo-contact { display: grid; gap: 30px; }
@media (min-width: 900px) { .origo-contact { grid-template-columns: 1fr 1.4fr; } }
.contact-info p { display: flex; align-items: center; gap: 10px; }
.contact-info svg { color: var(--origo-primary); }
.contact-form { background: var(--c-surface); padding: 24px; border-radius: 16px; }
.contact-form label { display: grid; gap: 6px; }
.origo-map { width: 100%; height: 380px; border: 0; border-radius: 16px; margin-top: 30px; }

/* Single product ------------------------------------------------------------ */
.single-product div.product { display: grid; gap: 30px; }
@media (min-width: 992px) { .single-product div.product { grid-template-columns: 1fr 1fr; gap: 50px; } .single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells, .single-product div.product > .recently-viewed { grid-column: 1 / -1; } }
.single-product div.product div.images, .single-product div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product div.images img { border-radius: 16px; }
.single-product .product_title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.single-product div.product p.price { color: var(--origo-primary); font-size: 1.7rem; font-weight: 800; }
.single-product div.product p.price del { font-size: 1.1rem; color: var(--c-muted); font-weight: 400; }
.single-product div.product p.price ins { text-decoration: none; }
.single-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.single-badges .badge { font-size: .8rem; padding: 5px 11px; }
.key-facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.key-facts li { background: var(--c-surface); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; font-size: .9rem; }
.key-facts span { color: var(--c-muted); font-size: .78rem; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 50px; font-size: 1.05rem; }
.single-product form.variations_form { display: block; }
.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--c-border); border-radius: var(--origo-radius); overflow: hidden; }
.quantity .qty { width: 54px !important; border: 0 !important; text-align: center; min-height: 46px; border-radius: 0; -moz-appearance: textfield; padding: 0; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: var(--c-surface); cursor: pointer; font-size: 1.2rem; font-weight: 700; color: var(--c-text); }
.qty-btn:hover { background: var(--c-surface-2); }
.single-extra-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.single-extra-actions .btn { padding: 9px 16px; font-size: .9rem; }
.single-extra-actions svg { width: 18px; height: 18px; }
.trust-row { list-style: none; padding: 16px; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--c-surface); border-radius: 14px; font-size: .86rem; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--origo-primary); width: 20px; height: 20px; }
.product_meta { font-size: .88rem; color: var(--c-muted); display: grid; gap: 4px; }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 0 0 20px !important; border-bottom: 2px solid var(--c-border); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px !important; font-weight: 700; color: var(--c-muted) !important; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--origo-primary) !important; border-color: var(--origo-primary); }
.origo-info-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.origo-info-table th, .origo-info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.origo-info-table th { width: 34%; background: var(--c-surface); font-weight: 600; }
.origo-info-table caption { text-align: left; color: var(--c-muted); padding-bottom: 8px; font-size: .88rem; }
.farmer-box { padding: 20px; border-radius: 14px; background: #fffde7; border: 1px solid #fff59d; }
[data-theme="dark"] .farmer-box { background: #2a2a18; border-color: #4a4a20; }
.farmer-box h3 { display: flex; align-items: center; gap: 8px; color: var(--origo-primary); }
.product-video { margin-top: 12px; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.product-video iframe { width: 100%; height: 100%; }
.related.products > h2, .upsells.products > h2, .recently-viewed > h2, .cross-sells > h2 { margin: 30px 0 18px; }

/* Cart & checkout ------------------------------------------------------------ */
.woocommerce-cart-form, .cart-collaterals { margin-bottom: 30px; }
.woocommerce table.shop_table { border-radius: 14px; border-collapse: separate; overflow: hidden; border: 1px solid var(--c-border); }
.woocommerce table.shop_table th { background: var(--c-surface); }
.woocommerce table.shop_table img { width: 64px; border-radius: 8px; }
@media (min-width: 992px) { .woocommerce .cart-collaterals .cart_totals { width: 420px; } }
.woocommerce .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce .coupon #coupon_code { width: 180px !important; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { background: var(--c-surface); padding: 22px; border-radius: 16px; }
@media (min-width: 992px) {
	form.woocommerce-checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 30px; align-items: start; }
	form.woocommerce-checkout > .woocommerce-NoticeGroup, form.woocommerce-checkout > .free-ship-bar { grid-column: 1 / -1; }
	form.woocommerce-checkout #customer_details { grid-row: span 3; }
	form.woocommerce-checkout #customer_details .col-1, form.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
	form.woocommerce-checkout #order_review_heading, form.woocommerce-checkout #order_review { position: sticky; top: 140px; }
}
#order_review_heading { margin-top: 20px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce-checkout #payment { background: transparent !important; border-radius: 12px; }
.woocommerce-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods li { background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--origo-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--origo-primary) 15%, transparent); }
.woocommerce-checkout #payment div.payment_box { background: var(--c-surface) !important; border-radius: 8px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
#place_order { width: 100%; min-height: 56px; font-size: 1.15rem; background: var(--origo-accent); border-color: var(--origo-accent); color: #1b1b1b; }
.checkout-trust { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--c-muted); margin: 10px 0 14px; }
.checkout-trust svg { color: var(--origo-primary); width: 20px; }
.mb-logo { display: inline-block; color: #fff; font-weight: 800; font-size: .78rem; padding: 3px 9px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.origo-mb-box { border-left: 4px solid var(--mb); padding-left: 12px; }
.origo-mb-box .mb-number { font-size: 1.05rem; }
.mb-copy { margin-left: 6px; padding: 2px 10px; border: 1px solid var(--mb); background: transparent; color: var(--mb); border-radius: 4px; cursor: pointer; font-size: .8rem; }
.free-label { color: var(--origo-primary); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 10px; border-top-width: 0 !important; border-left: 4px solid var(--origo-primary); background: var(--c-surface) !important; }
.woocommerce-error { border-left-color: var(--c-sale); }

/* My account */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 992px) { .woocommerce-account .woocommerce { grid-template-columns: 260px 1fr; } .woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; } }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 8px; margin: 0; background: var(--c-surface); border-radius: 14px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--c-text); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--origo-primary); color: #fff; text-decoration: none; }

/* Tracking & compare */
.origo-tracking .tracking-form { display: grid; gap: 4px 16px; background: var(--c-surface); padding: 22px; border-radius: 16px; }
@media (min-width: 768px) { .origo-tracking .tracking-form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.origo-tracking .tracking-form label { display: grid; gap: 6px; }
.order-track-card { margin-top: 24px; padding: 24px; border: 1px solid var(--c-border); border-radius: 16px; }
.order-timeline { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: s; }
.order-timeline li { position: relative; text-align: center; font-size: .82rem; color: var(--c-muted); padding-top: 38px; }
.order-timeline li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 4px; background: var(--c-border); z-index: 0; }
.order-timeline li:first-child::before { display: none; }
.order-timeline .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--c-border); z-index: 1; border: 4px solid var(--c-bg); }
.order-timeline li.done { color: var(--c-text); font-weight: 600; }
.order-timeline li.done .dot, .order-timeline li.done::before { background: var(--origo-primary); }
.order-timeline li.current .dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--origo-primary) 25%, transparent); }
.courier-line { background: var(--c-surface); padding: 10px 14px; border-radius: 8px; }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 12px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.compare-table thead th { text-align: center; }
.compare-table thead img { width: 120px; border-radius: 10px; display: block; margin: 0 auto 8px; }
.compare-table tbody th { background: var(--c-surface); width: 150px; }
.compare-table .in { color: var(--origo-primary); font-weight: 600; } .compare-table .out { color: var(--c-sale); }

/* Hero product images (demo) */
.hero-illustration span { overflow: hidden; padding: 0; }
.hero-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-img img { border-radius: 50%; }

/* Brand logo & hero collage */
.site-logo-img { display: block; height: 52px; width: auto; }
.site-footer .site-logo-img { height: 72px; width: auto; }
.site-footer .site-logo--footer { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 14px; }
.hero-media img.hero-collage { aspect-ratio: 3 / 2; border-radius: 20px; }
.brand-banner { display: block; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow); }

/* Category banner */
.cat-banner { display: grid; overflow: hidden; border-radius: 18px; margin: 0 0 24px; background: var(--cat-bg); color: var(--cat-fg); }
@media (min-width: 768px) { .cat-banner { grid-template-columns: 1fr 1fr; min-height: 320px; } }
.cat-banner-media img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; display: block; }
.cat-banner-text { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 992px) { .cat-banner-text { padding: 40px 56px; } }
.cat-banner h2 { color: var(--cat-fg); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.cat-banner p { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 300; line-height: 1.45; margin: 0 0 22px; max-width: 460px; }
.cat-banner-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: .85rem; opacity: .9; }
.cat-banner-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .12em; border: 2px solid currentColor; border-radius: 30px; padding: 6px 14px; }
.cat-banner-mark svg { width: 18px; height: 18px; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.subcat-chips a { padding: 7px 14px; border: 1px solid var(--c-border); border-radius: 30px; background: var(--c-surface); color: var(--c-text); font-weight: 600; font-size: .9rem; }
.subcat-chips a:hover { background: var(--origo-primary); color: #fff; border-color: var(--origo-primary); text-decoration: none; }
.subcat-chips small { opacity: .6; font-weight: 500; }

/* ===== Left category sidebar ===== */
.cat-sidebar { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 14px; overflow: visible; }
.cat-sidebar-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; background: var(--origo-primary); color: #fff; font-size: 1rem; border-radius: 14px 14px 0 0; }
.cat-sidebar-title svg { width: 18px; height: 18px; }
.cat-list { list-style: none; margin: 0; padding: 6px 0; }
.cat-list > li { position: relative; }
.cat-list > li > a { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--c-text); font-weight: 600; font-size: .93rem; text-decoration: none; }
.cat-list > li > a:hover, .cat-list > li.is-active > a { background: var(--c-surface); color: var(--origo-primary); }
.cat-thumb { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--c-surface); display: grid; place-items: center; color: var(--origo-primary); }
.cat-thumb svg { width: 16px; height: 16px; }
.cat-name { flex: 1; line-height: 1.3; }
.cat-arrow { color: var(--c-muted); font-size: 1.2rem; }
.cat-sub { list-style: none; margin: 0; padding: 6px 0; }
.cat-sub a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 16px; color: var(--c-text); font-size: .9rem; text-decoration: none; }
.cat-sub a:hover, .cat-sub .is-active a { color: var(--origo-primary); background: var(--c-surface); }
.cat-sub small { color: var(--c-muted); }

/* Homepage: sidebar left of the hero, subcategories fly out to the right */
.hero-layout { display: grid; gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 24px; }
.hero-layout .hero-inner { padding: 0; }
.cat-sidebar--home { display: none; }
@media (min-width: 992px) {
	.hero-layout { grid-template-columns: 270px 1fr; }
	.hero-layout .hero-inner { padding-top: 24px; padding-bottom: 24px; }
	.cat-sidebar--home { display: block; position: relative; z-index: 20; }
	.cat-sidebar--home .cat-sub { position: absolute; left: 100%; top: 0; min-width: 240px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateX(6px); transition: .18s; }
	.cat-sidebar--home li:hover > .cat-sub, .cat-sidebar--home li:focus-within > .cat-sub { opacity: 1; visibility: visible; transform: none; }
	.hero-layout .hero-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Shop pages: subcategories open under the active parent (accordion) */
.cat-sidebar--shop { margin-bottom: 20px; }
.cat-sidebar--shop .cat-sub { display: none; background: var(--c-surface); }
.cat-sidebar--shop .is-active > .cat-sub { display: block; }
.cat-sidebar--shop .is-active > a .cat-arrow { transform: rotate(90deg); }
@media (min-width: 992px) {
	.shop-layout.has-sidebar .shop-sidebar { position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow-y: auto; }
}
.filter-toggle { gap: 8px; }
.filter-toggle svg { width: 18px; height: 18px; }
@media (min-width: 992px) { .hero-layout .hero h1, .hero-layout h1 { font-size: clamp(2rem, 3.2vw, 3rem); } }

/* ===== Fixed left category sidebar (all pages, desktop) ===== */
.site-sidebar-wrap { display: none; }
@media (min-width: 1200px) {
	.site-body.has-site-sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; }
	.site-sidebar-wrap { display: block; position: sticky; top: var(--origo-header-h, 0px); height: calc(100vh - var(--origo-header-h, 0px)); border-right: 1px solid var(--c-border); background: var(--c-bg); z-index: 50; }
	.admin-bar .site-sidebar-wrap { top: calc(var(--origo-header-h, 0px) + 32px); height: calc(100vh - var(--origo-header-h, 0px) - 32px); }
	body:not(.has-sticky-header) .site-sidebar-wrap { top: 0; height: 100vh; }
	.site-body.has-site-sidebar .site-content { min-width: 0; }
	.site-body.has-site-sidebar .container { max-width: min(var(--origo-container), 100%); }
}
.cat-sidebar--site { height: 100%; display: flex; flex-direction: column; border: 0; border-radius: 0; }
.cat-sidebar--site .cat-sidebar-title { border-radius: 0; flex-shrink: 0; }
.cat-sidebar--site .cat-list { overflow-y: auto; flex: 1; overscroll-behavior: contain; scrollbar-width: thin; }
.cat-quick { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--c-border); flex-shrink: 0; }
.cat-quick a { flex: 1; text-align: center; padding: 7px 6px; border-radius: 8px; background: var(--c-surface); color: var(--c-text); font-weight: 600; font-size: .85rem; text-decoration: none; }
.cat-quick a:hover { background: var(--origo-primary); color: #fff; }
.cat-sidebar--site .cat-list > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-border); }
.cat-sidebar--site .cat-list > li > a { flex: 1; min-width: 0; padding: 9px 4px 9px 14px; }
.cat-count { color: var(--c-muted); font-weight: 500; font-size: .78rem; }
.cat-toggle-sub { width: 38px; height: 38px; border: 0; background: none; color: var(--c-muted); font-size: 1.3rem; cursor: pointer; flex-shrink: 0; }
.cat-toggle-sub:hover { color: var(--origo-primary); }
.cat-sidebar--site li.open > .cat-toggle-sub span { display: inline-block; transform: rotate(45deg); }
.cat-sidebar--site .cat-sub { display: none; width: 100%; background: var(--c-surface); padding: 4px 0 8px; }
.cat-sidebar--site li.open > .cat-sub { display: block; }
.cat-sidebar--site .cat-sub a { padding-left: 56px; }
@media (min-width: 992px) { .hero-layout { grid-template-columns: 1fr; } }

/* ===== Live-site fixes (v1.2) ===== */
/* WooCommerce sets img{height:auto} on shop pages – keep the logo size fixed everywhere. */
.site-header .site-logo-img, .woocommerce .site-header .site-logo-img, .woocommerce-page .site-header .site-logo-img { height: 54px !important; width: auto !important; max-width: 200px; }
@media (max-width: 600px) { .site-header .site-logo-img, .woocommerce .site-header .site-logo-img { height: 40px !important; max-width: 150px; } }
.drawer-head .site-logo-img { height: 40px !important; width: auto !important; }
.site-header .custom-logo { max-height: 56px; width: auto; }
/* Category grid: all categories in one row on wide screens */
@media (min-width: 1100px) { .category-grid { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)) !important; gap: 12px; } .category-card { padding: 14px 6px; } .category-img { width: 72px; height: 72px; } .category-card strong { font-size: .86rem; } }
/* Stars & sale badge on homepage grids */
ul.products li.product .star-rating { float: none; margin: 0 0 6px; }
.woocommerce span.onsale, .woocommerce-page span.onsale { background: var(--c-sale); color: #fff; min-width: auto; min-height: auto; line-height: 1; padding: 6px 10px; border-radius: 20px; font-size: .8rem; font-weight: 700; top: 12px; left: 12px; }
ul.products li.product .onsale { display: none; } /* cards already show the % badge */
/* Uploaded logo (Customizer → Site Identity): same sizing rules as the theme logo */
.site-header .custom-logo-link img, .woocommerce .site-header .custom-logo-link img { height: 54px !important; width: auto !important; max-width: 200px; max-height: none; }
@media (max-width: 600px) { .site-header .custom-logo-link img { height: 40px !important; max-width: 150px; } }
.drawer-head .custom-logo-link img { height: 40px !important; width: auto !important; }
.site-footer .custom-logo-link { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 14px; }
.site-footer .custom-logo-link img { height: 64px !important; width: auto !important; }

/* New logo inside category banners */
.cat-banner-mark { background: #fff; border: 0 !important; padding: 6px 12px !important; border-radius: 12px !important; }
.cat-banner-mark img { display: block; height: 34px; width: auto; }
