/* ==========================================================================
   Lane H — Header (design Header.dc.html), mega menu, mobile drawer, side cart (MiniCart.dc.html).
   Breakpoints = the design's container queries on the page width: 1100 / 820 / 480.
   WoodMart switches to its mobile rows at 1024; 1025–1100 is handled here (burger on, nav row off).
   ========================================================================== */

:root {
	--ow-hdr-gap: clamp(12px, 2.4vw, 32px);
	--ow-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
	--ow-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-9-9.2C1.6 7.3 3.8 4 7.2 4c2 0 3.6 1.1 4.8 2.8C13.2 5.1 14.8 4 16.8 4c3.4 0 5.6 3.3 4.2 6.8C19 15.6 12 20 12 20z'/%3E%3C/svg%3E");
	--ow-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
	--ow-i-burger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E");
	--ow-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
	--ow-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	--ow-i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	--ow-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
	--ow-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23225A45' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
	--ow-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23225A45' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

/* Row heights / borders the header placeholder and sticky maths read (design: nav row 1px top border,
   header 1px bottom border; < 820: main row 72 and the search row instead of the nav). */
:root:root {
	--wd-header-bottom-brd-w: 2px;
}
@media (max-width: 1024px) {
	:root:root { --wd-header-bottom-sm-h: .00001px; --wd-header-bottom-brd-w: 1px; }
}
@media (max-width: 820px) {
	:root:root { --wd-header-general-sm-h: 72px; --wd-header-bottom-sm-h: 62px; }
}

/* ---------------------------------------------------------------- shell + glass */
.whb-header .whb-main-header {
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	border-bottom: 1px solid var(--ow-line);
	color: var(--ow-charcoal);
	font-family: var(--ow-font-text);
}
.whb-header .whb-main-header .whb-row:is(.whb-general-header, .whb-header-bottom) { background-color: transparent; }
.whb-header .whb-column { margin-inline: 0; }
.whb-header :is(.site-logo, .wd-header-html, .wd-header-nav, [class*=wd-header-search-form], .wd-tools-element > a) { padding-inline: 0; }

/* ---------------------------------------------------------------- top bar (.topbar) */
.whb-header .whb-top-bar { background-color: var(--ow-green-d); color: var(--ow-cream); }
.whb-header .whb-top-bar > .container { max-width: none; padding-inline: 0; }
.whb-header .whb-top-bar :is(.whb-flex-row, .whb-column) { max-width: 100%; }
.whb-header .whb-top-bar .wd-header-html { flex: 1 1 auto; width: 100%; }
.ow-topbar {
	display: flex; align-items: center; justify-content: center; gap: 22px;
	min-height: 40px; padding: 6px 16px; box-sizing: border-box;
	font-family: var(--ow-font-text); font-size: 13.5px; font-weight: 500; line-height: 1.75; text-align: center; color: var(--ow-cream);
}
.whb-header .wd-header-html { --wd-tags-mb: 0px; }
.whb-header .ow-topbar > p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.ow-topbar strong { color: var(--ow-caramel-on-deep); font-weight: 700; }
.ow-topbar .ow-tb-sep { opacity: .35; }

/* ---------------------------------------------------------------- main row (.hdr-top) */
.whb-header .whb-general-header .whb-flex-row { gap: var(--ow-hdr-gap); }
.whb-header .whb-general-header .whb-column { gap: var(--ow-hdr-gap); }
.whb-header .whb-general-header :is(.whb-col-left, .whb-col-right, .whb-mobile-left, .whb-mobile-right) { flex: 0 0 auto; }
.whb-header .whb-general-header :is(.whb-col-center, .whb-mobile-center) { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
.whb-header .whb-general-header :is(.whb-col-right, .whb-mobile-right) { gap: 2px; }

/* Logo (.logo img: 56 / 46 < 820 / 40 < 480) */
.whb-header .site-logo { flex: none; display: inline-flex; }
.whb-header .wd-logo { display: inline-flex; align-items: center; }
.whb-header .wd-logo img { height: 56px; width: auto; max-width: none !important; padding: 0; }

/* Icon buttons (.icon-btn 44 × 44, radius 12, stroke icons 22px) */
.whb-header .wd-tools-element:is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-mobile-nav) > a {
	position: relative; width: 44px; height: 44px; padding: 0; gap: 0; border-radius: 12px;
	color: var(--ow-charcoal); transition: background .3s;
}
.whb-header .wd-tools-element:is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-mobile-nav):hover > a { background: rgba(34, 90, 69, .08); color: var(--ow-charcoal); }
.whb-header .wd-tools-element > a:focus-visible { outline: 2px solid var(--ow-caramel); outline-offset: 3px; }
.whb-header .wd-tools-element .wd-tools-icon { position: static; margin: 0 !important; width: 22px; height: 22px; }
.whb-header .wd-tools-element .wd-tools-icon::before {
	content: ""; display: block; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--ow-i, none) center / 22px 22px no-repeat; mask: var(--ow-i, none) center / 22px 22px no-repeat;
}
.whb-header .wd-header-my-account { --ow-i: var(--ow-i-user); }
.whb-header .wd-header-wishlist { --ow-i: var(--ow-i-heart); }
.whb-header .wd-header-cart { --ow-i: var(--ow-i-bag); }
.whb-header .wd-header-mobile-nav { --ow-i: var(--ow-i-burger); }
.whb-header .wd-header-my-account .wd-dropdown { display: none; }

/* Cart badge (.badge) */
.whb-header .wd-header-cart .wd-cart-number {
	position: absolute; top: 2px; inset-inline-end: 0; z-index: 1;
	min-width: 19px; width: auto; height: 19px; padding: 0 5px; box-sizing: border-box; border-radius: 10px;
	display: grid; place-items: center; background: var(--ow-caramel); color: var(--ow-on-caramel);
	font-family: var(--ow-font-title); font-size: 11px; font-weight: 800; line-height: 1;
}
.whb-header .wd-header-cart .wd-cart-number > span { display: none; }
.whb-header .wd-header-cart .wd-cart-number.ow-bump-a { animation: ow-bumpA .7s var(--ow-e3); }
.whb-header .wd-header-cart .wd-cart-number.ow-bump-b { animation: ow-bumpB .7s var(--ow-e3); }
.whb-header .wd-header-cart.ow-shake-a .wd-tools-icon::before { animation: ow-shA .6s var(--ow-e3); }
.whb-header .wd-header-cart.ow-shake-b .wd-tools-icon::before { animation: ow-shB .6s var(--ow-e3); }
@keyframes ow-bumpA { 0% { transform: scale(1); } 35% { transform: scale(1.6); } 100% { transform: scale(1); } }
@keyframes ow-bumpB { 0% { transform: scale(1); } 35% { transform: scale(1.6); } 100% { transform: scale(1); } }
@keyframes ow-shA { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
@keyframes ow-shB { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }

/* Language button (.lang-btn) — Polylang switcher in an HTML Block */
.whb-header .wd-header-html:has(.ow-lang) { flex: none; margin-inline-start: 4px; }
.ow-lang ul { margin: 0; padding: 0; list-style: none; display: flex; }
.ow-lang li { margin: 0; }
.ow-lang li a { /* li: beats Polylang's .pll-switcher a (loaded later on some pages) */
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ow-line); background: transparent;
	font-family: var(--ow-font-title); font-weight: 700; font-size: 13px; line-height: 1; color: var(--ow-green);
	text-decoration: none; transition: all .3s;
}
.ow-lang a:hover { background: var(--ow-green); color: var(--ow-cream); }
.ow-lang a:focus-visible { outline: 2px solid var(--ow-caramel); outline-offset: 3px; }

/* Search (.search) — WoodMart AJAX search form */
.whb-header [class*=wd-header-search-form] { flex: 1 1 auto; min-width: 0; max-width: 560px; margin-inline: auto; --wd-search-form-width: 560px; }
.whb-header [class*=wd-header-search-form] input[type=text] { min-width: 0; }
.whb-header .searchform { position: relative; display: flex; --wd-form-height: 48px; }
.whb-header .searchform input.s {
	width: 100%; height: 48px; min-height: 48px; box-sizing: border-box; border-radius: 12px;
	border: 1px solid var(--ow-line); background: var(--ow-cream); padding-inline: 48px 18px;
	font-family: var(--ow-font-text); font-size: 15px; font-weight: 400; color: var(--ow-charcoal); box-shadow: none;
	transition: border-color .3s, box-shadow .3s, background .3s;
}
.whb-header .searchform input.s::placeholder { color: #757575; opacity: 1; }
.whb-header .searchform input.s:focus { outline: none; border-color: var(--ow-green); background: #fff; box-shadow: 0 0 0 4px rgba(34, 90, 69, .12); }
.whb-header .searchform .searchsubmit {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; inset-inline-end: auto; width: 48px; height: 48px;
	padding: 0; margin: 0; border: 0; background: none; color: var(--ow-brown); font-size: 0; cursor: pointer;
}
/* QA: visually hidden, not display:none — the text is the button's accessible name (axe button-name). */
.whb-header .searchform .searchsubmit > span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.whb-header .searchform .searchsubmit::before, .whb-header .searchform .searchsubmit::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 0; border-radius: 0;
	background: currentColor; animation: none; opacity: 1;
	-webkit-mask: var(--ow-i-search) center / 18px 18px no-repeat; mask: var(--ow-i-search) center / 18px 18px no-repeat;
}
.whb-header .searchform .searchsubmit::after { display: none; }
.whb-header .searchform.wd-search-loading .searchsubmit::before { opacity: .4; }
.whb-header .searchform .wd-clear-search { inset-inline-end: 6px; inset-inline-start: auto; }
.whb-header .wd-search-results { border-radius: 14px; border: 1px solid var(--ow-line); box-shadow: 0 30px 60px -30px rgba(46, 58, 61, .35); }

/* ---------------------------------------------------------------- nav row (.hdr-nav / .nl) */
.whb-header .whb-header-bottom { border-top: 1px solid var(--ow-line); }
.whb-header .whb-header-bottom-inner { height: auto; max-height: none; min-height: 52px; }
.whb-header .wd-header-main-nav { flex: 1 1 auto; }
.whb-header .wd-nav-main { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 2px; margin: 0; --nav-gap: 0px; }
.whb-header .wd-nav-main > li { margin: 0; }
.whb-header .wd-nav-main > li > a {
	position: relative; display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 14px;
	font-family: var(--ow-font-title); font-size: 15px; font-weight: 600; line-height: 1.75; color: var(--ow-charcoal);
	text-transform: none; letter-spacing: 0; white-space: nowrap; text-decoration: none;
}
.whb-header .wd-nav-main > li > a .nav-link-text { line-height: inherit; }
.whb-header .wd-nav-main > li > a::before {
	content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 2px; background: var(--ow-caramel);
	transform: scaleX(0); transition: transform .45s var(--ow-ease); opacity: 1; border: 0; width: auto;
}
.whb-header .wd-nav-main > li:is(:hover, .current-menu-item, .current-menu-ancestor):not(.ow-hot) > a,
.whb-header .wd-nav-main > li.ow-hot:hover > a { color: var(--ow-green); }
.whb-header .wd-nav-main > li:hover > a::before,
.whb-header .wd-nav-main > li:is(.current-menu-item, .current-menu-ancestor):not(.ow-hot) > a::before { transform: scaleX(1); }
.whb-header .wd-nav-main > li.ow-hot > a { color: var(--ow-caramel-ink); }
/* Categories chevron (design ic-sm 18px) */
.whb-header .wd-nav-main > li.menu-item-has-children > a::after {
	content: ""; display: block; flex: none; width: 18px; height: 18px; margin: 0; background: currentColor; font-size: 0;
	-webkit-mask: var(--ow-i-down) center / 18px 18px no-repeat; mask: var(--ow-i-down) center / 18px 18px no-repeat;
}

/* Mega menu (.mega / .mega-in) */
.whb-header .wd-nav-main > li.menu-mega-dropdown { position: static; }
.whb-header .whb-header-bottom .wd-nav-main > li > .wd-dropdown-menu.wd-design-full-width {
	inset-inline: 0; left: 0; right: 0; top: 100%; margin-top: 0 !important; padding: 0; width: auto; border-radius: 0;
	background: #fff; border-top: 1px solid var(--ow-line); box-shadow: 0 40px 60px -30px rgba(46, 58, 61, .3); z-index: 70;
	opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); filter: blur(6px);
	transition: opacity .4s var(--ow-ease), transform .4s var(--ow-ease), filter .4s var(--ow-ease), visibility .4s;
}
.whb-header .whb-header-bottom .wd-nav-main > li > .wd-dropdown-menu.wd-design-full-width::after { height: 2px; }
.whb-header .whb-header-bottom .wd-nav-main > li:is(:hover, :focus-within, .wd-opened) > .wd-dropdown-menu.wd-design-full-width {
	opacity: 1; visibility: visible; pointer-events: auto; transform: none; filter: none;
}
.whb-header .wd-dropdown-menu.wd-design-full-width > .container { padding-block: 0; --wd-tags-mb: 0; }
.ow-mega-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px; padding-block: 32px; margin: 0; text-align: start; }
.ow-mega-in > * { margin: 0 !important; }
.ow-mega-in .ow-mega-h { margin: 0 0 10px; font-family: var(--ow-font-title); font-size: 15px; font-weight: 800; line-height: 1.75; color: var(--ow-green); text-transform: none; }
.ow-mega-in .ow-mega-list { margin: 0; padding: 0; list-style: none; }
.ow-mega-in .ow-mega-list li { margin: 0; padding: 0; list-style: none; }
.ow-mega-in .ow-mega-list li::before { content: none; }
.ow-mega-in .ow-mega-list a {
	display: block; padding: 6px 0; text-decoration: none; color: var(--ow-charcoal); font-family: var(--ow-font-text);
	font-size: 15px; font-weight: 400; line-height: 1.75; transition: color .3s, padding .35s var(--ow-ease);
}
.ow-mega-in .ow-mega-list a:hover { color: var(--ow-green); padding-inline-start: 6px; }
.ow-mega-in .ow-mega-list .ow-sub a { padding-inline-start: 14px; font-size: 14px; color: var(--ow-brown); }
.ow-mega-in .ow-mega-list .ow-sub a:hover { color: var(--ow-green); padding-inline-start: 20px; }
.ow-mega-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.ow-mega-cards > * { margin: 0 !important; }
.ow-mega-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; margin: 0; }
.ow-mega-card > a { display: block; width: 100%; height: 100%; }
.ow-mega-card img { display: block; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0; transition: transform 1s var(--ow-ease); }
.ow-mega-card:hover img { transform: scale(1.07); }
.ow-mega-card figcaption {
	position: absolute; inset: auto 0 0 0; margin: 0; padding: 14px; pointer-events: none; text-align: start;
	background: linear-gradient(transparent, rgba(27, 74, 57, .85)); color: #fff;
	font-family: var(--ow-font-title); font-weight: 700; font-size: 16px; line-height: 1.75;
}

/* ---------------------------------------------------------------- burger + responsive */
.whb-header .whb-col-left .wd-header-mobile-nav { display: none; }
@media (max-width: 1100px) {
	.whb-header .whb-col-left .wd-header-mobile-nav { display: block; }
	.whb-header .whb-header-bottom .whb-col-left { display: none; }
}
@media (min-width: 821px) and (max-width: 1100px) {
	.whb-header .whb-header-bottom { display: none; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
	:root:root { --wd-header-bottom-h: .00001px; --wd-header-bottom-brd-w: 1px; }
}
/* 820–1024: WoodMart's mobile row = burger | logo + search | tools (same as the desktop row). */
@media (max-width: 1024px) {
	.whb-header .whb-mobile-center .wd-header-search-form-mobile { max-width: 560px; }
}
@media (max-width: 820px) {
	.whb-header .whb-general-header-inner { height: 72px; max-height: 72px; }
	.whb-header .whb-general-header .whb-mobile-center { justify-content: center; }
	.whb-header .whb-mobile-center .wd-header-search-form-mobile { display: none; }
	.whb-header .wd-logo img { height: 46px; }
	.whb-header .ow-topbar .ow-hide-m { display: none; }
	.whb-header .whb-header-bottom { border-top: 0; }
	.whb-header .whb-header-bottom-inner { height: 62px; max-height: 62px; min-height: 0; align-items: flex-start; }
	.whb-header .whb-header-bottom .whb-col-mobile { justify-content: stretch; }
	.whb-header .whb-header-bottom .wd-header-search-form-mobile { max-width: none; margin: 0; }
}
@media (max-width: 480px) {
	.whb-header .whb-mobile-right :is(.wd-header-my-account, .wd-header-wishlist) { display: none; }
	.whb-header .wd-logo img { height: 40px; }
}

/* ---------------------------------------------------------------- mobile drawer (.mnav)
   WoodMart's side menu, opened under the header like the design's menu (the burger turns into the X and
   toggles it), sliding in from the reading start: right in RTL, left in LTR. Full width on phones. */
.mobile-nav.wd-side-hidden {
	--ow-hdr-bottom: var(--wd-header-sm-h);
	top: var(--ow-hdr-bottom); bottom: 0; height: auto; width: min(420px, 100%); --wd-side-hidden-w: min(420px, 100vw);
	background: #fff; font-family: var(--ow-font-title); border-top: 1px solid var(--ow-line); z-index: 380;
}
@media (min-width: 1025px) { .mobile-nav.wd-side-hidden { --ow-hdr-bottom: var(--wd-header-h); } }
/* QA: the closed panel waits 420px past the viewport edge (counted by full-page captures / overlap tools and
   reachable by Tab). Hide it once the slide-out ends, like the side cart. */
.mobile-nav.wd-side-hidden:not(.wd-opened) { visibility: hidden; transition: transform .5s cubic-bezier(.19, 1, .22, 1), visibility 0s linear .5s; }
.mobile-nav.wd-side-hidden.wd-opened { visibility: visible; transition: transform .5s cubic-bezier(.19, 1, .22, 1), visibility 0s; }
body:has(.mobile-nav.wd-opened) .wd-close-side { top: var(--wd-header-sm-h); z-index: 379; }
@media (min-width: 1025px) { body:has(.mobile-nav.wd-opened) .wd-close-side { top: var(--wd-header-h); } }
.rtl .mobile-nav.wd-side-hidden.wd-right { right: 0; left: auto; }
body:not(.rtl) .mobile-nav.wd-side-hidden.wd-right { left: 0; right: auto; transform: translateX(-100%); }
body:not(.rtl) .mobile-nav.wd-side-hidden.wd-right.wd-opened { transform: none; }
.whb-header .wd-header-mobile-nav.wd-opened { --ow-i: var(--ow-i-x); }
.mobile-nav .wd-heading { justify-content: flex-end; padding: 14px 16px 6px; border: 0; }
.mobile-nav .wd-heading .close-side-widget > a { width: 44px; height: 44px; padding: 0; border-radius: 12px; display: grid; place-items: center; color: var(--ow-charcoal); }
.mobile-nav .wd-heading .close-side-widget > a:hover { background: rgba(34, 90, 69, .08); }
.mobile-nav .wd-heading .wd-action-text { display: none; }
.mobile-nav .wd-heading .wd-action-icon { font-size: 0; width: 22px; height: 22px; }
.mobile-nav .wd-heading .wd-action-icon::before {
	content: ""; display: block; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--ow-i-x) center / 22px 22px no-repeat; mask: var(--ow-i-x) center / 22px 22px no-repeat;
}
.mobile-nav .wd-nav-mobile { padding: 8px 16px 20px; animation: none; }
.mobile-nav.wd-opened .wd-nav-mobile { animation: ow-rv .6s var(--ow-ease) both; }
@keyframes ow-rv { from { opacity: 0; filter: blur(14px); transform: translateY(30px); } }
.mobile-nav .wd-nav-mobile > li > a {
	display: flex; justify-content: space-between; align-items: center; min-height: 0; padding: 14px 2px;
	border-bottom: 1px solid var(--ow-line); color: var(--ow-charcoal); font-family: var(--ow-font-title);
	font-size: 16px; font-weight: 600; line-height: 1.75; text-transform: none;
}
.mobile-nav .wd-nav-mobile > li > a:hover { color: var(--ow-green); }
/* Category pills (.msubs) — HTML Block on the "pills" item, always open */
.mobile-nav .wd-nav-mobile > li.ow-pills-item > a, .mobile-nav .wd-nav-mobile > li.ow-pills-item > .wd-nav-opener { display: none; }
.mobile-nav .wd-nav-mobile > li.ow-pills-item > .wd-sub-menu { display: block; }
.mobile-nav .wd-nav-mobile .wd-mob-nav-html-block { border-bottom: 1px solid var(--ow-line); max-width: none; overflow: visible; }
.ow-msubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 0 14px; margin: 0; }
.ow-msubs > * { margin: 0 !important; }
@media (max-width: 520px) { .ow-msubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ow-pill {
	position: relative; display: flex; align-items: center; gap: 10px; margin: 0; min-height: 52px; box-sizing: border-box;
	padding: 6px 10px 6px 6px; border: 1px solid var(--ow-line); border-radius: 12px; background: #fff;
}
.rtl .ow-pill { padding: 6px 6px 6px 10px; }
.ow-pill > a { flex: none; display: block; line-height: 0; }
.ow-pill > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ow-pill img { width: 38px !important; height: 38px !important; border-radius: 50%; object-fit: cover; flex: none; }
.ow-pill figcaption {
	margin: 0; padding: 0; text-align: start; color: var(--ow-charcoal); pointer-events: none;
	font-family: var(--ow-font-title); font-size: 14px; font-weight: 700; line-height: 1.3;
}
.ow-pill:hover { border-color: var(--ow-green); }
.ow-pill:hover figcaption { color: var(--ow-green); }

/* Shared side-panel overlay (.mc-ov) */
.wd-close-side { background: rgba(18, 30, 25, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity .5s var(--ow-e3), visibility .5s; }

/* ---------------------------------------------------------------- side cart (.mc) */
.cart-widget-side.ow-mc.ow-mc {
	width: min(430px, 100%); --wd-side-hidden-w: min(430px, 100vw); background: var(--ow-cream);
	box-shadow: none; color: var(--ow-charcoal); font-family: var(--ow-font-text); line-height: 1.6;
	visibility: hidden; transition: transform .65s var(--ow-e3), visibility 0s linear .65s, box-shadow .65s;
}
.cart-widget-side.ow-mc.wd-opened { visibility: visible; box-shadow: 0 0 60px -10px rgba(18, 30, 25, .4); transition: transform .65s var(--ow-e3), visibility 0s, box-shadow .3s; }
.mobile-nav.wd-side-hidden:not(.wd-opened) { box-shadow: none; }
.ow-mc.ow-mc .ow-mc-h {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; margin: 0;
	background: #fff; border-bottom: 1px solid var(--ow-line);
}
.ow-mc.ow-mc .ow-mc-h > div:first-child { display: block; flex: 0 1 auto; }
.ow-mc.ow-mc .ow-mc-h .title { display: inline; flex: none; margin: 0; font-family: var(--ow-font-title); font-size: 20px; font-weight: 800; line-height: 1.6; color: var(--ow-green); text-transform: none; }
.ow-mc.ow-mc .ow-mc-count { font-size: 13px; color: var(--ow-brown); margin-inline-start: 8px; }
.ow-mc.ow-mc .ow-mc-x > a { width: 44px; height: 44px; padding: 0; border-radius: 12px; display: grid; place-items: center; color: var(--ow-charcoal); transition: background .3s; }
.ow-mc.ow-mc .ow-mc-x > a:hover { background: rgba(34, 90, 69, .08); }
.ow-mc.ow-mc .ow-mc-x .wd-action-icon { font-size: 0; width: 22px; height: 22px; }
.ow-mc.ow-mc .ow-mc-x .wd-action-icon::before {
	content: ""; display: block; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--ow-i-x) center / 22px 22px no-repeat; mask: var(--ow-i-x) center / 22px 22px no-repeat;
}
.ow-mc.ow-mc .widget_shopping_cart { margin: 0; }
.ow-mc.ow-mc .widget_shopping_cart_content { background: var(--ow-cream); }
.ow-mc.ow-mc .wd-empty-mini-cart { display: none; }
.ow-mc.ow-mc .ow-mc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px; }
.ow-mc.ow-mc .ow-mc-empty img { width: 70px; height: auto; opacity: .85; }
.ow-mc.ow-mc .ow-mc-empty b { font-family: var(--ow-font-title); font-size: 19px; font-weight: 700; color: var(--ow-charcoal); }
.ow-mc.ow-mc .ow-mc-empty span { color: var(--ow-brown); }
.ow-mc.ow-mc .ow-mc-empty ~ .shopping-cart-widget-body, .ow-mc.ow-mc .ow-mc-empty ~ .shopping-cart-widget-footer.wd-cart-empty { display: none; }

/* Items (.mc-list / .mc-item) */
.ow-mc.ow-mc .shopping-cart-widget-body .wd-scroll-content { padding: 8px 20px; }
.ow-mc.ow-mc .woocommerce-mini-cart { margin: 0; padding: 0; }
.ow-mc.ow-mc .woocommerce-mini-cart .mini_cart_item {
	display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; align-items: start;
	padding: 14px 0; margin: 0; border-bottom: 1px solid var(--ow-line); background: none; position: relative;
}
.ow-mc.ow-mc .woocommerce-mini-cart .mini_cart_item:hover { background: none; }
.ow-mc.ow-mc .mini_cart_item .cart-item-link { z-index: 0; }
.ow-mc.ow-mc .mini_cart_item .cart-item-image { grid-column: 1; grid-row: 1 / span 2; position: relative; z-index: 1; margin: 0; }
.ow-mc.ow-mc .mini_cart_item .cart-item-image img { width: 76px; height: 76px; max-width: none; border-radius: 12px; object-fit: cover; background: var(--ow-sand); margin: 0; }
.ow-mc.ow-mc .mini_cart_item .cart-info { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 0; position: relative; z-index: 1; pointer-events: none; }
.ow-mc.ow-mc .mini_cart_item .cart-info > * { pointer-events: auto; }
.ow-mc.ow-mc .mini_cart_item .wd-entities-title { grid-column: 1 / -1; font-family: var(--ow-font-title); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ow-charcoal); margin: 0; }
.ow-mc.ow-mc .mini_cart_item .variation { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 12.5px; color: var(--ow-brown); line-height: 1.6; }
.ow-mc.ow-mc .mini_cart_item .variation li { margin: 0; padding: 0; display: inline; list-style: none; }
.ow-mc.ow-mc .mini_cart_item .variation li + li::before { content: "\00a0·\00a0"; }
.ow-mc.ow-mc .mini_cart_item .variation :is(dt, .item-variation-name) { display: none; }
.ow-mc.ow-mc .mini_cart_item .variation :is(dd, .item-variation-value) { margin: 0; padding: 0; font-weight: 400; color: inherit; }
.ow-mc.ow-mc .mini_cart_item .variation p { margin: 0; display: inline; }
.ow-mc.ow-mc .mini_cart_item .quantity:not(.ow-mc-price) {
	grid-column: 1; margin: 8px 0 0; display: inline-flex; align-items: center; border: 1px solid var(--ow-line); border-radius: 10px; background: #fff; vertical-align: middle;
}
.ow-mc.ow-mc .mini_cart_item .quantity :is(.minus, .plus) {
	width: 36px; height: 36px; min-height: 36px; padding: 0; border: 0; background: center / 18px 18px no-repeat; color: transparent; font-size: 0; cursor: pointer; box-shadow: none;
}
.ow-mc.ow-mc .mini_cart_item .quantity .minus { background-image: var(--ow-i-minus); }
.ow-mc.ow-mc .mini_cart_item .quantity .plus { background-image: var(--ow-i-plus); }
.ow-mc.ow-mc .mini_cart_item .quantity input.qty {
	width: 22px; min-width: 22px; height: 36px; padding: 0; border: 0; background: none; text-align: center; box-shadow: none;
	font-family: var(--ow-font-title); font-size: 14px; font-weight: 800; color: var(--ow-charcoal); -moz-appearance: textfield;
}
.ow-mc.ow-mc .mini_cart_item .ow-mc-price { grid-column: 2; justify-self: end; margin: 8px 0 0; font-family: var(--ow-font-title); font-weight: 800; color: var(--ow-green); font-size: 16px; }
.ow-mc.ow-mc .mini_cart_item .ow-mc-price .amount { color: inherit; font-weight: inherit; }
.ow-mc.ow-mc .mini_cart_item .ow-mc-price .woocommerce-Price-currencySymbol { font-size: 13px; }
.ow-mc.ow-mc .mini_cart_item .ow-mc-rm {
	grid-column: 2; grid-row: 2; justify-self: start; position: static; inset: auto; width: auto; height: auto; z-index: 1;
	padding: 4px 0; margin: 0; border: 0; background: none; color: var(--ow-brown); font-family: var(--ow-font-text);
	font-size: 12.5px; font-weight: 400; line-height: 1.6; text-decoration: underline; opacity: 1;
}
.ow-mc.ow-mc .mini_cart_item .ow-mc-rm::before, .ow-mc.ow-mc .mini_cart_item .ow-mc-rm::after { content: none; display: none; }
.ow-mc.ow-mc .mini_cart_item .ow-mc-rm:hover { color: var(--ow-danger); background: none; }
.cart-widget-side.ow-mc.wd-opened .mini_cart_item { animation: ow-up .7s var(--ow-e3) backwards; animation-delay: calc(.2s + var(--ow-mi, 0) * .07s); }
.ow-mc.ow-mc .mini_cart_item:nth-child(2) { --ow-mi: 1; } .ow-mc.ow-mc .mini_cart_item:nth-child(3) { --ow-mi: 2; } .ow-mc.ow-mc .mini_cart_item:nth-child(4) { --ow-mi: 3; }
.ow-mc.ow-mc .mini_cart_item:nth-child(5) { --ow-mi: 4; } .ow-mc.ow-mc .mini_cart_item:nth-child(n+6) { --ow-mi: 5; }
@keyframes ow-up { from { opacity: 0; filter: blur(8px); transform: translateY(34px); } }

/* Footer (.mc-f) */
.ow-mc.ow-mc .shopping-cart-widget-footer:not(.wd-cart-empty) {
	display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; background: #fff; border-top: 1px solid var(--ow-line);
}
.ow-mc.ow-mc .shopping-cart-widget-footer > * { padding-inline: 0; margin: 0; }
.ow-mc.ow-mc .woocommerce-mini-cart__total {
	display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 0; border: 0;
	font-family: var(--ow-font-title); font-weight: 800; font-size: 18px; color: var(--ow-charcoal);
}
.ow-mc.ow-mc .woocommerce-mini-cart__total strong { font-weight: 800; color: inherit; }
.ow-mc.ow-mc .woocommerce-mini-cart__total .amount { color: var(--ow-green); font-size: 22px; font-weight: 800; }
.ow-mc.ow-mc .woocommerce-mini-cart__total .woocommerce-Price-currencySymbol { font-size: 14px; }
.ow-mc.ow-mc .ow-mc-note { font-size: 12.5px; color: var(--ow-brown); margin: -6px 0 0; line-height: 1.6; }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin: 0; padding: 0 12px;
	border-radius: 12px; border: 1.5px solid transparent; font-family: var(--ow-font-title); font-size: 15px; font-weight: 700; line-height: 1;
	text-transform: none; white-space: nowrap; box-shadow: none; transition: background .3s, color .3s, border-color .3s, box-shadow .5s var(--ow-ease);
}
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--ow-green); border-color: rgba(34, 90, 69, .4); }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--ow-green); color: var(--ow-cream); border-color: var(--ow-green); }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button.checkout { background: var(--ow-green); color: var(--ow-cream); }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button.checkout:hover { background: var(--ow-green-d); box-shadow: 0 16px 32px -14px rgba(27, 74, 57, .7); }
.ow-mc.ow-mc .woocommerce-mini-cart__buttons .button.checkout::before {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: var(--ow-i-lock) center / 18px 18px no-repeat; mask: var(--ow-i-lock) center / 18px 18px no-repeat;
}
.ow-mc.ow-mc .ow-mc-pay { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.ow-mc.ow-mc .ow-mc-pay i { height: 26px; min-width: 44px; padding: 0 7px; box-sizing: border-box; border-radius: 6px; background: #fff; border: 1px solid var(--ow-line); display: inline-grid; place-items: center; }
.ow-mc.ow-mc .ow-mc-pay img { height: 13px; width: auto; }
.ow-mc.ow-mc .ow-mc-pay .ow-pay-visa img { height: 10px; }
.ow-mc.ow-mc .ow-mc-pay .ow-pay-mc img { height: 17px; }
.ow-mc.ow-mc .ow-mc-pay .ow-pay-ap img { height: 15px; }
.ow-mc.ow-mc .ow-mc-pay .ow-pay-tm img { height: 11px; }
.ow-mc.ow-mc .ow-mc-pay .ow-pay-tb { background: #3BFFC1; border-color: #3BFFC1; }
/* Free-shipping bar (Theme Settings, off by default) styled as .mc-ship */
.ow-mc.ow-mc .wd-free-progress-bar { padding: 14px 20px; margin: 0; background: #fff; border-bottom: 1px solid var(--ow-line); font-size: 13.5px; }
.ow-mc.ow-mc .wd-free-progress-bar .progress-bar { height: 8px; border-radius: 5px; background: var(--ow-sand); }
.ow-mc.ow-mc .wd-free-progress-bar .progress-bar > * { border-radius: 5px; background: var(--ow-green); }

@media (prefers-reduced-motion: reduce) {
	.whb-header .wd-cart-number, .whb-header .wd-tools-icon::before, .cart-widget-side.ow-mc.ow-mc .mini_cart_item, .mobile-nav .wd-nav-mobile { animation: none !important; }
	.whb-header .wd-dropdown-menu, .cart-widget-side.ow-mc, .ow-mega-card img { transition: none !important; }
}
