/*
Theme Name:   WorkDepot (Best Shop Child)
Theme URI:    https://www.essentialsalliance.com/
Description:  WorkDepot by Essentials Alliance – frontend redesign as a child theme of Best Shop. Templates and styles only.
Author:       Essentials Alliance
Template:     best-shop
Version:      1.5.1
Requires PHP: 7.2
Text Domain:  workdepot
*/

/* ============ Design tokens ============ */
:root {
	--wd-red: #d0021b;
	--wd-red-dark: #b0101f;
	--wd-red-tint: #fdf0f1;
	--wd-red-line: #f3c6cb;
	--wd-navy: #050a2e;
	--wd-ink: #0b0f2a;
	--wd-text: #4a4f63;
	--wd-muted: #7a7f92;
	--wd-line: #e6e7ec;
	--wd-soft: #f6f7f9;
	--wd-green: #2e7d32;
	--wd-wa: #25d366;
	--wd-radius: 8px;
	--wd-shadow: 0 1px 2px rgba(11, 15, 42, .05);
	--wd-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wd-max: 1480px;
}

/* ============ Base (scoped to new templates) ============ */
.wd-theme { font-family: var(--wd-font); color: var(--wd-text); background: #fff; }
.wd-theme #page { overflow-x: clip; }
.wd-header, .wd-home, .wd-footer { font-family: var(--wd-font); }
.wd-header *, .wd-home *, .wd-footer * { box-sizing: border-box; }
.wd-header a, .wd-home a, .wd-footer a { text-decoration: none; }
.wd-header ul, .wd-home ul, .wd-footer ul { list-style: none; margin: 0; padding: 0; }
.wd-home h1, .wd-home h2, .wd-home h3, .wd-home p, .wd-footer h3, .wd-footer p { margin: 0; }
.wd-container { width: 100%; max-width: var(--wd-max); margin: 0 auto; padding: 0 24px; }
.wd-ico { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; }
.wd-ico path, .wd-ico circle, .wd-ico rect { fill: none; }
.wd-ico [fill="currentColor"] { fill: currentColor; }
.wd-ico [fill="#fff"] { fill: #fff; }
.wd-ico [fill="#0b0f2a"] { fill: #0b0f2a; }
.wd-ico [stroke="none"] { stroke: none; }
.wd-ico [stroke="#fff"] { stroke: #fff; }
.wd-ico [stroke="#0b0f2a"] { stroke: #0b0f2a; }
.wd-ico text { fill: currentColor; stroke: none; }
.wd-logo-mark, .wd-logo-mark * { fill: none !important; stroke: currentColor; }
.wd-skyline, .wd-skyline * { fill: currentColor; stroke: none; }
html.wd-lock { overflow: hidden; }

/* ============ Buttons ============ */
.wd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 42px; padding: 8px 22px; border-radius: 4px; border: 1.5px solid var(--wd-red);
	font: 600 14px/1.2 var(--wd-font); text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.wd-btn small { display: block; font-size: 11px; font-weight: 500; margin-top: 3px; }
.wd-btn--red { background: var(--wd-red); color: #fff !important; }
.wd-btn--red:hover { background: var(--wd-red-dark); border-color: var(--wd-red-dark); }
.wd-btn--outline { background: #fff; color: var(--wd-red) !important; }
.wd-btn--outline:hover { background: var(--wd-red-tint); }
.wd-btn--dark { background: #fff; color: var(--wd-ink) !important; border-color: #c9cbd4; text-align: left; }
.wd-btn--dark:hover { border-color: var(--wd-ink); }
.wd-btn--dark small { color: var(--wd-text); }
.wd-btn--ghost { background: #fff; color: var(--wd-ink) !important; border-color: #c9cbd4; font-weight: 600; min-height: 34px; padding: 6px 18px; font-size: 13px; }
.wd-btn--stack { flex-direction: column; gap: 0; }
.wd-btn--ico { flex-direction: row; gap: 10px; }
.wd-btn--ico .wd-ico { width: 26px; height: 26px; }
.wd-btn--ico span { display: flex; flex-direction: column; align-items: center; }
.wd-btn--ico small { font-size: 15px; font-weight: 700; }

/* ============ Header ============ */
.wd-header { position: relative; z-index: 50; background: #fff; }
.wd-topbar { background: var(--wd-navy); color: #fff; font-size: 12.5px; font-weight: 500; }
.wd-topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 34px; position: relative; }
.wd-topbar__list { display: flex; align-items: center; gap: 0; }
.wd-topbar__list li { display: flex; align-items: center; gap: 8px; padding: 0 24px; position: relative; white-space: nowrap; }
.wd-topbar__list li + li::before { content: ''; position: absolute; left: 0; top: 50%; height: 14px; margin-top: -7px; border-left: 1px solid rgba(255,255,255,.45); }
.wd-topbar__list .wd-ico { width: 17px; height: 17px; }
.wd-topbar__social { position: absolute; right: 24px; top: 0; bottom: 0; display: flex; align-items: center; gap: 8px; }
.wd-topbar__social span { margin-right: 4px; }
.wd-soc { color: #fff !important; display: inline-flex; }
.wd-soc .wd-ico { width: 18px; height: 18px; }

.wd-mainbar { border-bottom: 1px solid var(--wd-line); }
.wd-mainbar__inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.wd-burger { display: none; }
.wd-logo { display: flex; align-items: center; gap: 12px; color: var(--wd-ink) !important; flex: 0 0 auto; }
.wd-logo-mark { color: var(--wd-red); width: 50px; height: 50px; }
.wd-logo__text { display: flex; flex-direction: column; line-height: 1; }
.wd-logo__name { font-size: 35px; font-weight: 800; letter-spacing: -.5px; color: var(--wd-ink); }
.wd-logo__by { font-size: 14px; font-weight: 600; color: var(--wd-ink); margin-top: 6px; padding-left: 2px; }
.wd-logo__by i { font-style: normal; font-size: 12px; color: var(--wd-text); }

.wd-search { flex: 1 1 auto; display: flex; height: 40px; max-width: 650px; margin-left: 24px; }
.wd-search input[type="search"] {
	flex: 1; height: 40px; margin: 0; border: 1px solid #c9cbd4; border-right: 0; border-radius: 4px 0 0 4px;
	padding: 0 16px; font: 400 13.5px var(--wd-font); color: var(--wd-ink); background: #fff; box-shadow: none; outline: none;
}
.wd-search input[type="search"]:focus { border-color: var(--wd-red); }
.wd-search button { width: 44px; height: 40px; border: 0; border-radius: 0 4px 4px 0; background: var(--wd-red); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
.wd-search button .wd-ico { width: 20px; height: 20px; }

.wd-account { display: flex; align-items: center; gap: 10px; color: var(--wd-ink) !important; font-size: 13.5px; font-weight: 600; line-height: 1.35; flex: 0 0 auto; }
.wd-account__ico { width: 32px; height: 32px; }
.wd-account__chev { width: 16px; height: 16px; }
.wd-account__txt b { font-weight: 700; }

.wd-wa { display: flex; align-items: center; gap: 10px; color: var(--wd-ink) !important; flex: 0 0 auto; }
.wd-wa__ico { width: 38px; height: 38px; border-radius: 50%; background: var(--wd-wa); color: #fff; display: grid; place-items: center; }
.wd-wa__ico .wd-ico { width: 24px; height: 24px; }
.wd-wa__txt { display: flex; flex-direction: column; line-height: 1.3; }
.wd-wa__txt small { font-size: 11.5px; font-weight: 500; color: var(--wd-text); }
.wd-wa__txt b { font-size: 16px; font-weight: 700; letter-spacing: .2px; }

.wd-cart { display: flex; flex-direction: column; align-items: center; color: var(--wd-ink) !important; flex: 0 0 auto; margin-left: auto; }
.wd-cart__ico { position: relative; display: inline-flex; }
.wd-cart__ico .wd-ico { width: 32px; height: 32px; }
.wd-cart-count { position: absolute; top: -8px; right: -12px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--wd-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.wd-cart__lbl { font-size: 12.5px; font-weight: 600; margin-top: 2px; }

/* Category bar */
.wd-catbar { border-bottom: 1px solid var(--wd-line); background: #fff; }
.wd-catbar__inner { display: flex; align-items: center; gap: 16px; min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
.wd-allcats__btn {
	display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 18px 0 14px; border: 0; border-radius: 4px;
	background: var(--wd-red); color: #fff; font: 600 13.5px var(--wd-font); cursor: pointer; white-space: nowrap;
}
.wd-allcats__btn .wd-ico { width: 18px; height: 18px; }
.wd-catbar__list { flex: 1; display: flex; align-items: center; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.wd-catbar__list::-webkit-scrollbar { display: none; }
.wd-catbar__list li { flex: 0 0 auto; }
.wd-catbar__list a { display: block; padding: 2px 8px; font-size: 11.5px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--wd-ink) !important; }
.wd-catbar__list a:hover { color: var(--wd-red) !important; }

/* Drawer */
.wd-drawer { position: fixed; inset: 0; z-index: 99999; background: rgba(5,10,46,.45); }
.wd-drawer[hidden] { display: none; }
.wd-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; box-shadow: 8px 0 30px rgba(0,0,0,.15); }
.wd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--wd-red); color: #fff; font-size: 16px; }
.wd-drawer__close { background: none; border: 0; color: #fff; padding: 4px; cursor: pointer; display: inline-flex; }
.wd-drawer__list > li { border-bottom: 1px solid var(--wd-line); }
.wd-drawer__cat { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-weight: 600; font-size: 14px; color: var(--wd-ink) !important; }
.wd-drawer__cat .wd-ico { color: var(--wd-red); }
.wd-drawer__list ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 12px 54px; }
.wd-drawer__list ul a { display: inline-block; padding: 3px 10px; border: 1px solid var(--wd-line); border-radius: 20px; font-size: 12px; color: var(--wd-text) !important; }
.wd-drawer__list ul a:hover { border-color: var(--wd-red); color: var(--wd-red) !important; }

/* ============ Hero ============ */
.wd-home { padding-bottom: 8px; }
.wd-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .98fr) minmax(0, .8fr); gap: 28px; padding-top: 22px; padding-bottom: 18px; align-items: start; }
.wd-hero__main { padding: 4px 0 0 68px; }
.wd-hero__title { font-size: 27px; line-height: 1.22; font-weight: 700; color: var(--wd-ink); letter-spacing: -.2px; }
.wd-hero__title span { color: var(--wd-red); }
.wd-hero__lead { margin-top: 12px !important; font-size: 13.5px; line-height: 1.55; color: var(--wd-ink); max-width: 520px; }
.wd-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.wd-hero__ctas .wd-btn { min-height: 46px; padding: 8px 20px; }
.wd-hero__ctas .wd-btn--dark .wd-ico { width: 20px; height: 20px; }
.wd-hero__ctas .wd-btn--dark span { display: flex; flex-direction: column; font-size: 13px; }
.wd-hero__ctas .wd-btn--dark small { font-size: 10px; }

.wd-pin { margin-top: 18px; background: var(--wd-soft); border-radius: var(--wd-radius); padding: 14px 16px 16px; max-width: 520px; }
.wd-pin__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.wd-pin__row label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--wd-ink); margin: 0; }
.wd-pin__row label .wd-ico { color: var(--wd-red); }
.wd-pin__field { display: flex; flex: 1; min-width: 220px; }
.wd-pin__field input { flex: 1; height: 36px; margin: 0; border: 1px solid #d5d7de; border-right: 0; border-radius: 4px 0 0 4px; padding: 0 12px; font: 400 13px var(--wd-font); background: #fff; box-shadow: none; }
.wd-pin__field button { height: 36px; border: 0; border-radius: 0 4px 4px 0; background: var(--wd-red); color: #fff; padding: 0 18px; font: 600 13px var(--wd-font); cursor: pointer; }
.wd-pin__note { margin-top: 10px !important; font-size: 12px; color: var(--wd-ink); text-align: center; }
.wd-pin__note.is-ok { color: var(--wd-green); font-weight: 600; }
.wd-pin__note.is-err { color: var(--wd-red); font-weight: 600; }
.wd-pin__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.wd-pin__chips div { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--wd-line); border-radius: 6px; padding: 8px 10px; font-size: 11px; line-height: 1.3; color: var(--wd-ink); }
.wd-pin__chips .wd-ico { width: 28px; height: 28px; color: var(--wd-red); }
.wd-pin__chips b { font-weight: 600; }

.wd-trust { border: 1px solid var(--wd-line); border-radius: var(--wd-radius); padding: 14px 16px 16px; background: #fff; box-shadow: var(--wd-shadow); }
.wd-trust__title { font-size: 14.5px !important; font-weight: 600; color: var(--wd-ink); margin-bottom: 12px !important; }
.wd-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wd-trust__item { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--wd-line); border-radius: 6px; font-size: 12px; line-height: 1.35; font-weight: 500; color: var(--wd-ink); }
.wd-trust__item .wd-ico { width: 30px; height: 30px; color: var(--wd-red); }
.wd-trust__note { margin-top: 14px !important; font-size: 12px; color: var(--wd-ink); padding-left: 10px; }

.wd-brandcard { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--wd-red-tint) 100%); border: 1px solid #f6dfe2; border-radius: var(--wd-radius); padding: 16px 24px 0; text-align: center; min-height: 100%; }
.wd-brandcard__kicker { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--wd-ink); }
.wd-brandcard__name { font-size: 26px; font-weight: 800; color: var(--wd-red); line-height: 1.2; }
.wd-brandcard__by { font-size: 12px; font-weight: 600; color: var(--wd-ink); margin-top: 6px !important; }
.wd-brandcard__est { display: inline-block; margin: 14px auto 0; padding: 8px 24px; border: 1px solid var(--wd-red-line); border-radius: 4px; background: #fff; font-size: 12.5px; color: var(--wd-red); line-height: 1.35; }
.wd-brandcard__est b { font-weight: 600; }
.wd-brandcard__list { text-align: left; margin: 14px 0 0 !important; display: grid; gap: 8px; }
.wd-brandcard__list li { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.35; font-weight: 500; color: var(--wd-ink); }
.wd-brandcard__list .wd-ico { width: 15px; height: 15px; color: var(--wd-red); margin-top: 1px; }
.wd-skyline { display: block; width: 100%; height: 72px; margin-top: 6px; color: #f3b9bf; }

/* ============ Category tiles ============ */
.wd-tiles { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 8px; padding-top: 4px; padding-bottom: 8px; }
.wd-tile { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--wd-line); border-radius: 6px; background: #fff; padding: 8px 6px 10px; color: var(--wd-ink) !important; transition: border-color .15s, box-shadow .15s; }
.wd-tile:hover { border-color: var(--wd-red-line); box-shadow: 0 4px 14px rgba(208, 2, 27, .08); }
.wd-tile__img { width: 100%; aspect-ratio: 1 / .78; display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; }
.wd-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.wd-tile__ph { width: 46px; height: 46px; color: var(--wd-red); opacity: .85; }
.wd-tile__grid { width: 40px; height: 40px; color: var(--wd-red); }
.wd-tile b { font-size: 12px; font-weight: 600; line-height: 1.25; }
.wd-tile small { font-size: 10.5px; line-height: 1.35; color: var(--wd-text); margin-top: 3px; }
.wd-tile--all { justify-content: center; }
.wd-tile--all .wd-tile__img { aspect-ratio: auto; height: 60px; }

/* ============ Benefits strip ============ */
.wd-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border: 1px solid var(--wd-line); border-radius: 6px; background: var(--wd-soft); padding: 10px 6px; }
.wd-strip__item { display: flex; align-items: center; gap: 12px; padding: 4px 16px; font-size: 11.5px; line-height: 1.35; font-weight: 500; color: var(--wd-ink); position: relative; }
.wd-strip__item + .wd-strip__item::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #c9cbd4; }
.wd-strip__item .wd-ico { width: 30px; height: 30px; color: var(--wd-red); }

/* ============ Popular products ============ */
.wd-h2 { font-size: 20px !important; font-weight: 700; color: var(--wd-ink); margin: 18px 0 10px !important; }
.wd-popular__row { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 6px; }
.wd-pcard { display: flex; flex-direction: column; border: 1px solid var(--wd-line); border-radius: 6px; background: #fff; padding: 6px 6px 8px; min-width: 0; }
.wd-pcard__media { position: relative; display: block; aspect-ratio: 1 / .82; margin-bottom: 6px; }
.wd-pcard__media img, .wd-pcard__img { width: 100% !important; height: 100% !important; object-fit: contain; margin: 0 !important; }
.wd-badge { position: absolute; right: 0; bottom: 0; display: inline-block; padding: 1px 6px; border-radius: 3px; color: #fff; font-size: 9px; font-weight: 700; font-style: normal; line-height: 1.5; letter-spacing: .3px; }
.wd-badge--pan { background: var(--wd-green); }
.wd-badge--ncr { background: var(--wd-red); }
.wd-pcard__name { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--wd-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.wd-pcard__pack { font-size: 10px; color: var(--wd-text); min-height: 1.3em; margin-top: 1px; }
.wd-pcard__price { font-size: 15px; font-weight: 700; color: var(--wd-red); margin: 6px 0 6px; }
.wd-pcard__price .woocommerce-Price-amount { color: inherit; }
.wd-pcard__btns { display: grid; gap: 4px; margin-top: auto; }
.wd-btn-xs { display: block; text-align: center; padding: 3px 4px; border: 1px solid var(--wd-red); border-radius: 3px; background: #fff; color: var(--wd-red) !important; font-size: 10px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-btn-xs:hover { background: var(--wd-red); color: #fff !important; }
.wd-btn-xs--ghost { border-color: #c9cbd4; color: var(--wd-ink) !important; }
.wd-btn-xs--ghost:hover { background: var(--wd-ink); border-color: var(--wd-ink); }
.wd-btn-xs.added::after { content: ' ✓'; }
.wd-pcard .added_to_cart { display: block; text-align: center; font-size: 10px; color: var(--wd-green) !important; margin-top: 2px; }
.wd-popular__note { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 10px !important; font-size: 11px; color: var(--wd-text); }
.wd-popular__note span { display: inline-flex; align-items: center; gap: 6px; }
.wd-popular__note .wd-ico { width: 15px; height: 15px; }
.wd-popular__note .wd-badge { position: static; }

/* ============ Business CTA ============ */
.wd-cta { display: grid; grid-template-columns: auto minmax(0, 1.25fr) auto minmax(0, .7fr); align-items: center; gap: 24px; margin-top: 22px; padding: 18px 28px; background: var(--wd-red-tint); border: 1px solid #f6dfe2; border-radius: var(--wd-radius); }
.wd-cta__ico { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--wd-red); box-shadow: 0 2px 10px rgba(208,2,27,.12); }
.wd-cta__ico .wd-ico { width: 40px; height: 40px; }
.wd-cta__copy h2 { font-size: 20px !important; font-weight: 700; color: var(--wd-red); margin-bottom: 6px !important; }
.wd-cta__copy p { font-size: 13px; line-height: 1.5; color: var(--wd-ink); }
.wd-cta__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.wd-cta__btns .wd-btn { min-width: 200px; min-height: 52px; }
.wd-cta__side { border-left: 1px solid var(--wd-red-line); padding-left: 24px; }
.wd-cta__side b { font-size: 13px; font-weight: 600; color: var(--wd-ink); }
.wd-cta__side p { font-size: 11.5px; color: var(--wd-text); margin: 6px 0 10px !important; line-height: 1.4; }
.wd-cta__side .wd-btn { width: 100%; }

/* ============ Why ============ */
.wd-why { margin-top: 14px; border: 1px solid var(--wd-line); border-radius: var(--wd-radius); padding: 10px 18px 12px; }
.wd-why__title { font-size: 14px !important; font-weight: 700; color: var(--wd-ink); margin-bottom: 8px !important; }
.wd-why__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.wd-why__item { display: flex; align-items: center; gap: 12px; font-size: 11.5px; line-height: 1.35; font-weight: 500; color: var(--wd-ink); }
.wd-why__item .wd-ico { width: 34px; height: 34px; color: var(--wd-red); }
.wd-why__item.is-wa .wd-ico { color: var(--wd-wa); }

/* ============ Footer ============ */
.wd-footer { margin-top: 18px; background: #f7f7f9; border-top: 1px solid var(--wd-line); color: var(--wd-ink); }
.wd-footer__grid { display: grid; grid-template-columns: 1.45fr repeat(5, 1fr) 1.35fr; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.wd-logo--sm .wd-logo__name { font-size: 22px; }
.wd-logo--sm .wd-logo__by { font-size: 10.5px; margin-top: 4px; }
.wd-footer__brand p { margin-top: 12px !important; font-size: 11.5px; line-height: 1.4; }
.wd-footer__brand b { font-weight: 600; }
.wd-footer__col h3 { font-size: 13px !important; font-weight: 700; color: var(--wd-ink); margin-bottom: 6px !important; }
.wd-footer__col li { margin: 0 0 3px; font-size: 12px; line-height: 1.45; }
.wd-footer__col a { color: var(--wd-ink) !important; }
.wd-footer__col a:hover { color: var(--wd-red) !important; }
.wd-footer__touch h3 { font-weight: 500; }
.wd-footer__touch li { display: flex; align-items: center; gap: 8px; }
.wd-footer__touch .wd-ico { width: 15px; height: 15px; }
.wd-footer__bottom { border-top: 1px solid var(--wd-line); padding: 10px 0; font-size: 11.5px; color: var(--wd-muted); text-align: center; }

/* Hide parent's footer remnants if any plugin re-adds them */
.wd-theme .site-footer:not(.wd-footer) { display: none; }

/* ============ Inner pages (shop, product, cart…) light alignment ============ */
.wd-theme .page-header { background: var(--wd-soft); }
.wd-theme .page-header .page-title, .wd-theme .page-header h1 { font-family: var(--wd-font); color: var(--wd-ink); font-weight: 700; }
.wd-theme ul.products li.product { border: 1px solid var(--wd-line); border-radius: 6px; padding: 10px 10px 14px; background: #fff; }
.wd-theme ul.products li.product .woocommerce-loop-product__title { font-family: var(--wd-font); font-size: 13.5px; font-weight: 600; color: var(--wd-ink); }
.wd-theme ul.products li.product .price { color: var(--wd-red); font-weight: 700; }
.wd-theme ul.products li.product .button, .wd-theme ul.products li.product .added_to_cart { background: #fff !important; color: var(--wd-red) !important; border: 1.5px solid var(--wd-red) !important; border-radius: 4px; font-family: var(--wd-font); font-weight: 600; }
.wd-theme ul.products li.product .button:hover { background: var(--wd-red) !important; color: #fff !important; }
.wd-theme span.onsale, .wd-theme .onsale { background: var(--wd-red) !important; color: #fff !important; }
.wd-theme div.product p.price, .wd-theme div.product span.price { color: var(--wd-red); }
.wd-theme .single_add_to_cart_button, .wd-theme a.checkout-button, .wd-theme #place_order { background: var(--wd-red) !important; color: #fff !important; border-radius: 4px; font-family: var(--wd-font); }

/* ============ Refinements (pass 2) ============ */
.wd-hero { grid-template-columns: minmax(0, 578fr) minmax(0, 470fr) minmax(0, 385fr); gap: 26px; }
.wd-hero__main { padding-left: 50px; }
.wd-hero__title { font-size: 24.5px; }
.wd-hero__lead { font-size: 13px; }
.wd-hero__ctas { gap: 12px; flex-wrap: nowrap; }
.wd-hero__ctas .wd-btn { min-height: 44px; padding: 6px 13px; font-size: 12.5px; white-space: nowrap; }
.wd-hero__ctas .wd-btn--dark { gap: 8px; }
.wd-hero__ctas .wd-btn--dark span { font-size: 12px; }
.wd-hero__ctas .wd-btn--dark small { font-size: 9px; }
.wd-pin { padding: 12px 14px 14px; }
.wd-pin__row { flex-wrap: nowrap; gap: 12px; }
.wd-pin__row label { white-space: nowrap; font-size: 13px; }
.wd-pin__field { min-width: 0; }
.wd-pin__field input { min-width: 0; width: 100%; }
.wd-pin__field button { white-space: nowrap; padding: 0 16px; }
.wd-pin__chips { gap: 8px; }
.wd-pin__chips div { padding: 7px 8px; gap: 6px; font-size: 10.5px; }
.wd-pin__chips .wd-ico { width: 24px; height: 24px; }
.wd-trust { padding: 14px 12px 14px; }
.wd-trust__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; }
.wd-trust__item { gap: 8px; padding: 8px 8px; min-height: 54px; font-size: 11px; }
.wd-trust__item .wd-ico { width: 24px; height: 24px; }
.wd-hero__ctas { gap: 10px; }
.wd-strip__item { gap: 8px; padding: 4px 10px; font-size: 11px; }
.wd-strip__item .wd-ico { width: 26px; height: 26px; }
.wd-pcard__media { aspect-ratio: auto; height: 0; padding-bottom: 82%; overflow: hidden; }
.wd-pcard__media img, .wd-pcard__img { position: absolute; inset: 0; }
.wd-pcard__price { font-size: 13.5px; margin: 4px 0 5px; }
.wd-pcard__name { font-size: 10.5px; }
.wd-btn-xs { font-size: 8.5px; padding: 3px 2px; letter-spacing: -.1px; text-overflow: clip; }
.wd-why__row { grid-template-columns: 1fr 1fr 1.05fr 1.5fr 1fr .7fr 1.05fr 1fr; }
.wd-cta { grid-template-columns: auto minmax(0, 1.1fr) auto minmax(210px, .6fr); }
.wd-cta__btns { gap: 14px; flex-wrap: nowrap; }
.wd-cta__btns .wd-btn { min-width: 0; padding: 6px 18px; white-space: nowrap; }
.wd-cta__side .wd-btn { white-space: nowrap; padding: 6px 12px; font-size: 12px; }

.wd-theme ul.products li.product .button { padding: 8px 16px; box-shadow: none; }
.wd-theme .site-content > .container, .wd-theme .page-header > .container, .wd-theme #primary > .container, .wd-theme .woocommerce-page > .container { max-width: var(--wd-max); }
.wd-theme .woocommerce-pagination .page-numbers .current { background: var(--wd-red); color: #fff; }
/* ============ Popular products (pass 3: readable cards, 2 rows of 9) ============ */
.wd-popular__row { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.wd-pcard { padding: 10px 10px 12px; border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.wd-pcard:hover { border-color: var(--wd-red-line); box-shadow: 0 6px 18px rgba(11, 15, 42, .08); }
.wd-pcard__media { padding-bottom: 78%; margin-bottom: 10px; }
.wd-pcard__name { font-size: 12.5px; line-height: 1.35; min-height: 2.7em; }
.wd-pcard__pack { font-size: 11px; }
.wd-pcard__price { font-size: 16px; margin: 6px 0 10px; }
.wd-pcard__btns { gap: 6px; }
.wd-btn-xs { font-size: 11.5px; padding: 6px 6px; border-radius: 4px; letter-spacing: 0; text-overflow: ellipsis; }
.wd-badge { font-size: 10px; padding: 1px 7px; }
@media (max-width: 1280px) { .wd-popular__row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .wd-popular__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============ Inner pages theme (pass 4, CSS only) ============ */
/* Re-map the parent theme's colour variables (yellow -> WorkDepot red/navy) */
body.wd-theme {
	--gbl-primary-color: #d0021b;
	--gbl-secondary-color: #050a2e;
	--e-global-color-primary: #d0021b;
	--woo-bar-bg-color: #d0021b;
	--woo-bar-color: #ffffff;
	--gbl-secondary-font: 'Poppins', system-ui, sans-serif;
	--text-color: #0b0f2a;
}
.wd-theme, .wd-theme button, .wd-theme input, .wd-theme select, .wd-theme textarea { font-family: var(--wd-font); }
.wd-theme ::selection { background: var(--wd-red); color: #fff; }
.wd-theme .wd-burger, .wd-theme .wd-burger:hover, .wd-theme .wd-burger:focus, .wd-theme .wd-burger:active { background: none !important; color: var(--wd-ink) !important; box-shadow: none !important; }
.wd-theme .backtotop { background: var(--wd-red) !important; color: #fff !important; }
.wd-theme .backtotop svg, .wd-theme .backtotop path { fill: #fff !important; }

/* Shared button styles */
.wd-theme .single_add_to_cart_button,
.wd-theme a.checkout-button,
.wd-theme #place_order,
.wd-theme .woocommerce-cart-form button[name="update_cart"],
.wd-theme .coupon button,
.wd-theme .woocommerce-form-login button,
.wd-theme .woocommerce-form-register button,
.wd-theme .woocommerce-Button,
.wd-theme .woocommerce-message .button,
.wd-theme .woocommerce-info .button,
.wd-theme .return-to-shop .button,
.wd-theme .wpcf7-submit,
.wd-theme .wpforms-submit,
.wd-theme form.cart button[type="submit"] {
	background: var(--wd-red) !important; color: #fff !important; border: 1.5px solid var(--wd-red) !important;
	border-radius: 4px !important; font: 600 14px/1.2 var(--wd-font) !important; padding: 12px 24px !important;
	box-shadow: none !important; text-transform: none !important; height: auto !important; transition: background .15s, border-color .15s;
}
.wd-theme .single_add_to_cart_button:hover, .wd-theme .single_add_to_cart_button:focus, .wd-theme .single_add_to_cart_button:active,
.wd-theme a.checkout-button:hover, .wd-theme a.checkout-button:focus, .wd-theme a.checkout-button:active,
.wd-theme #place_order:hover, .wd-theme #place_order:focus, .wd-theme #place_order:active,
.wd-theme .woocommerce-cart-form button[name="update_cart"]:hover, .wd-theme .coupon button:hover,
.wd-theme .woocommerce-Button:hover, .wd-theme .woocommerce-message .button:hover, .wd-theme .woocommerce-info .button:hover,
.wd-theme .return-to-shop .button:hover, .wd-theme .wpcf7-submit:hover, .wd-theme .wpforms-submit:hover,
.wd-theme form.cart button[type="submit"]:hover, .wd-theme form.cart button[type="submit"]:focus, .wd-theme form.cart button[type="submit"]:active {
	background: var(--wd-red-dark) !important; border-color: var(--wd-red-dark) !important; color: #fff !important;
}
.wd-theme .woocommerce-cart-form button[name="update_cart"]:disabled { opacity: .5; }
.wd-theme .woocommerce-message .button, .wd-theme .woocommerce-info .button { padding: 8px 16px !important; font-size: 13px !important; }

/* Shop / category grid cards */
.wd-theme ul.products li.product { display: flex; flex-direction: column; align-items: center; text-align: center; transition: border-color .15s, box-shadow .15s; }
.wd-theme ul.products li.product:hover { border-color: var(--wd-red-line); box-shadow: 0 6px 18px rgba(11, 15, 42, .08); }
.wd-theme ul.products li.product .price del { color: var(--wd-muted); font-weight: 500; }
.wd-theme ul.products li.product .price ins { text-decoration: none; }
.wd-theme ul.products li.product .button,
.wd-theme ul.products li.product .button:visited {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	margin: 8px auto 0 !important; padding: 9px 22px !important; min-width: 150px;
	font-size: 13.5px !important; line-height: 1.2 !important; box-shadow: none !important; outline: none;
}
.wd-theme ul.products li.product .button:hover,
.wd-theme ul.products li.product .button:focus,
.wd-theme ul.products li.product .button:focus-visible,
.wd-theme ul.products li.product .button:active { background: var(--wd-red) !important; border-color: var(--wd-red) !important; color: #fff !important; }
.wd-theme ul.products li.product .button.loading { opacity: .7; }
.wd-theme ul.products li.product .button.added::after { margin-left: 6px; }
/* "View cart" link that appears after adding: shown as a neat link under the button */
.wd-theme ul.products li.product .added_to_cart,
.wd-theme .wd-pcard .added_to_cart {
	display: block !important; width: auto !important; min-width: 0 !important; margin: 8px auto 0 !important; padding: 0 !important;
	background: none !important; border: 0 !important; box-shadow: none !important;
	color: var(--wd-red) !important; font: 600 12.5px/1.3 var(--wd-font) !important; text-decoration: underline !important; text-underline-offset: 3px;
}
.wd-theme ul.products li.product .added_to_cart:hover, .wd-theme .wd-pcard .added_to_cart:hover { color: var(--wd-red-dark) !important; background: none !important; }
.wd-theme ul.products li.product .added_to_cart::after { content: ' \2192'; }

/* Single product page */
.wd-theme div.product .product_title { font-size: 26px !important; font-weight: 700; line-height: 1.3; color: var(--wd-ink); margin-bottom: 8px; }
.wd-theme div.product p.price, .wd-theme div.product span.price { font-family: var(--wd-font) !important; font-size: 24px !important; font-weight: 700; color: var(--wd-red) !important; margin: 6px 0 14px; }
.wd-theme div.product p.price del, .wd-theme div.product span.price del { color: var(--wd-muted) !important; font-size: 16px; font-weight: 500; margin-right: 8px; }
.wd-theme div.product p.price ins { text-decoration: none; }
.wd-theme div.product .woocommerce-product-details__short-description { font-size: 14px; line-height: 1.7; color: var(--wd-text); padding: 14px 0; border-top: 1px solid var(--wd-line); border-bottom: 1px solid var(--wd-line); margin-bottom: 18px; }
.wd-theme div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-bottom: 14px; }
.wd-theme div.product form.cart .quantity { margin: 0 !important; }
.wd-theme div.product form.cart .quantity input.qty { height: 46px; width: 76px; border: 1.5px solid #c9cbd4; border-radius: 4px; font: 600 15px var(--wd-font); color: var(--wd-ink); text-align: center; }
.wd-theme div.product form.cart .quantity input.qty:focus { border-color: var(--wd-red); outline: none; }
.wd-theme div.product form.cart .single_add_to_cart_button { min-height: 46px; padding: 0 34px !important; font-size: 15px !important; }
.wd-theme div.product form.variations_form table.variations td, .wd-theme div.product form.variations_form table.variations th { padding: 6px 0; }
.wd-theme div.product form.variations_form select { height: 42px; border: 1.5px solid #c9cbd4; border-radius: 4px; padding: 0 12px; }
/* Wishlist: secondary outline button (was yellow) */
.wd-theme a.add_to_wishlist, .wd-theme .single_add_to_wishlist, .wd-theme .yith-wcwl-add-button a {
	display: inline-flex !important; align-items: center; gap: 8px; background: #fff !important; color: var(--wd-ink) !important;
	border: 1.5px solid #c9cbd4 !important; border-radius: 4px !important; padding: 10px 20px !important;
	font: 600 14px/1.2 var(--wd-font) !important; box-shadow: none !important; text-decoration: none !important;
}
.wd-theme a.add_to_wishlist:hover, .wd-theme a.add_to_wishlist:focus, .wd-theme a.add_to_wishlist:active,
.wd-theme .yith-wcwl-add-button a:hover, .wd-theme .yith-wcwl-add-button a:focus, .wd-theme .yith-wcwl-add-button a:active {
	border-color: var(--wd-red) !important; color: var(--wd-red) !important; background: var(--wd-red-tint) !important;
}
.wd-theme .yith-wcwl-add-to-wishlist { margin-top: 4px; }
.wd-theme .yith-wcwl-wishlistaddedbrowse a, .wd-theme .yith-wcwl-wishlistexistsbrowse a { color: var(--wd-red) !important; font-weight: 600; }
.wd-theme div.product .product_meta { font-family: var(--wd-font); font-size: 13px; color: var(--wd-text); border-top: 1px solid var(--wd-line); padding-top: 14px; }
.wd-theme div.product .product_meta a { color: var(--wd-red); }
.wd-theme div.product .woocommerce-product-gallery { border: 1px solid var(--wd-line); border-radius: 8px; padding: 12px; background: #fff; }
.wd-theme div.product .woocommerce-product-gallery__trigger { background: #fff; border: 1px solid var(--wd-line); border-radius: 50%; }
.wd-theme div.product .flex-control-thumbs li img { border: 1px solid var(--wd-line); border-radius: 4px; opacity: .7; }
.wd-theme div.product .flex-control-thumbs li img.flex-active, .wd-theme div.product .flex-control-thumbs li img:hover { border-color: var(--wd-red); opacity: 1; }
/* Tabs */
.wd-theme .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--wd-line) !important; padding: 0 !important; margin: 30px 0 18px !important; display: flex; gap: 4px; overflow-x: auto; }
.wd-theme .woocommerce-tabs ul.tabs::before, .wd-theme .woocommerce-tabs ul.tabs li::before, .wd-theme .woocommerce-tabs ul.tabs li::after { display: none !important; }
.wd-theme .woocommerce-tabs ul.tabs li { background: #fff !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; height: auto !important; }
.wd-theme .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px !important; font: 600 14px var(--wd-font) !important; color: var(--wd-text) !important; }
.wd-theme .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--wd-red) !important; background: #fff !important; }
.wd-theme .woocommerce-tabs ul.tabs li.active a, .wd-theme .woocommerce-tabs ul.tabs li a:hover { color: var(--wd-red) !important; }
.wd-theme .woocommerce-tabs .panel { font-size: 14px; line-height: 1.7; color: var(--wd-text); }
.wd-theme .woocommerce-tabs .panel h2 { font-size: 18px; color: var(--wd-ink); }
.wd-theme .related > h2, .wd-theme .upsells > h2, .wd-theme .cross-sells > h2 { font-size: 20px !important; font-weight: 700; color: var(--wd-ink); }
.wd-theme .star-rating span::before, .wd-theme p.stars a { color: var(--wd-red) !important; }

/* Breadcrumb & page title bar */
.wd-theme .woocommerce-breadcrumb, .wd-theme .breadcrumbs, .wd-theme .page-header .breadcrumb { font-size: 13px; color: var(--wd-text); }
.wd-theme .woocommerce-breadcrumb a, .wd-theme .page-header a { color: var(--wd-text) !important; }
.wd-theme .woocommerce-breadcrumb a:hover, .wd-theme .page-header a:hover { color: var(--wd-red) !important; }

/* Forms, notices, cart & checkout */
.wd-theme input[type="text"]:focus, .wd-theme input[type="email"]:focus, .wd-theme input[type="tel"]:focus, .wd-theme input[type="password"]:focus,
.wd-theme input[type="number"]:focus, .wd-theme textarea:focus, .wd-theme select:focus { border-color: var(--wd-red) !important; outline: none; box-shadow: 0 0 0 3px rgba(208, 2, 27, .12) !important; }
.wd-theme .woocommerce-message, .wd-theme .woocommerce-info { border-top-color: var(--wd-red) !important; }
.wd-theme .woocommerce-message::before, .wd-theme .woocommerce-info::before { color: var(--wd-red) !important; }
.wd-theme table.shop_table { border-radius: 8px; border-color: var(--wd-line); }
.wd-theme table.shop_table th { font-family: var(--wd-font); color: var(--wd-ink); }
.wd-theme table.shop_table td.product-name a { color: var(--wd-ink); font-weight: 600; }
.wd-theme table.shop_table td.product-name a:hover, .wd-theme a.remove:hover { color: var(--wd-red) !important; }
.wd-theme .cart_totals h2, .wd-theme #order_review_heading, .wd-theme .woocommerce-billing-fields h3 { font-family: var(--wd-font); font-weight: 700; color: var(--wd-ink); }
.wd-theme .woocommerce-pagination ul.page-numbers li .page-numbers { border-radius: 4px; }
.wd-theme .woocommerce-pagination ul.page-numbers li span.current, .wd-theme .woocommerce-pagination ul.page-numbers li a:hover { background: var(--wd-red) !important; color: #fff !important; }
.wd-theme .widget_price_filter .ui-slider .ui-slider-range, .wd-theme .widget_price_filter .ui-slider .ui-slider-handle { background: var(--wd-red) !important; }
.wd-theme .woocommerce-MyAccount-navigation ul li.is-active a, .wd-theme .woocommerce-MyAccount-navigation ul li a:hover { color: var(--wd-red) !important; }

.wd-theme div.product p.price ins, .wd-theme div.product p.price ins .amount, .wd-theme div.product p.price > .amount, .wd-theme div.product p.price bdi { color: var(--wd-red) !important; font-weight: 700; }
.wd-theme div.product p.price del .amount, .wd-theme div.product p.price del bdi { color: var(--wd-muted) !important; font-weight: 500; }
.wd-theme ul.products li.product .price { margin-top: auto; }
.wd-theme ul.products li.product .woocommerce-loop-product__title { flex: 0 0 auto; }

/* Notices: keep icon clear of the text */
.wd-theme .woocommerce-error, .wd-theme .woocommerce-message, .wd-theme .woocommerce-info, .wd-theme .woocommerce-notices-wrapper ul {
	position: relative; padding: 14px 20px 14px 52px !important; margin: 0 0 16px !important; list-style: none !important;
	border-radius: 6px; background: var(--wd-soft); font-size: 14px; line-height: 1.6; color: var(--wd-ink);
}
.wd-theme .woocommerce-error::before, .wd-theme .woocommerce-message::before, .wd-theme .woocommerce-info::before {
	position: absolute !important; left: 18px !important; top: 15px !important; margin: 0 !important;
}
.wd-theme .woocommerce-error li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.wd-theme .woocommerce-error li + li { margin-top: 4px !important; }
.wd-theme .woocommerce-message a.restore-item, .wd-theme .woocommerce-message a:not(.button) { color: var(--wd-red); font-weight: 600; }

/* ============ Responsive ============ */
@media (max-width: 1440px) {
	.wd-hero__main { padding-left: 0; }
}
@media (max-width: 1280px) {
	.wd-topbar__social span { display: none; }
	.wd-mainbar__inner { gap: 18px; }
	.wd-search { margin-left: 0; }
	.wd-wa__txt small:nth-child(2) { display: none; }
	.wd-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.wd-brandcard { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; text-align: left; padding-bottom: 16px; }
	.wd-brandcard .wd-skyline { grid-column: 1 / -1; }
	.wd-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.wd-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
	.wd-cta { grid-template-columns: auto minmax(0, 1fr); }
	.wd-cta__btns, .wd-cta__side { grid-column: 1 / -1; }
	.wd-cta__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--wd-red-line); padding-top: 14px; }
	.wd-cta__side .wd-btn { width: auto; }
	.wd-why__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wd-footer__grid { grid-template-columns: repeat(4, 1fr); }
	.wd-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	.wd-topbar__list li:nth-child(n+3) { display: none; }
	.wd-topbar__social { display: none; }
	.wd-account__txt, .wd-account__chev, .wd-wa__txt { display: none; }
	.wd-catbar__list { justify-content: flex-start; gap: 4px; }
	.wd-hero { grid-template-columns: 1fr; }
	.wd-brandcard { display: block; text-align: center; }
	.wd-pin { max-width: none; }
	.wd-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.wd-container { padding: 0 16px; }
	.wd-topbar { font-size: 11px; }
	.wd-topbar__list li { padding: 0 10px; }
	.wd-topbar__list li:nth-child(n+2) { display: none; }
	.wd-mainbar__inner { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.wd-burger { display: inline-flex; background: none; border: 0; padding: 4px; color: var(--wd-ink); cursor: pointer; }
	.wd-burger .wd-ico { width: 26px; height: 26px; }
	.wd-logo { gap: 8px; }
	.wd-logo-mark { width: 34px; height: 34px; }
	.wd-logo__name { font-size: 24px; }
	.wd-logo__by { font-size: 10px; margin-top: 3px; }
	.wd-account { margin-left: auto; }
	.wd-account__ico, .wd-cart__ico .wd-ico { width: 26px; height: 26px; }
	.wd-wa__ico { width: 30px; height: 30px; }
	.wd-wa__ico .wd-ico { width: 18px; height: 18px; }
	.wd-cart { margin-left: 0; }
	.wd-cart__lbl { display: none; }
	.wd-search { order: 10; flex-basis: 100%; max-width: none; }
	.wd-catbar__inner { padding-left: 0; padding-right: 0; }
	.wd-allcats { display: none; }
	.wd-catbar__list { padding: 0 8px; }
	.wd-hero { padding-top: 16px; gap: 18px; }
	.wd-hero__title { font-size: 23px; }
	.wd-hero__ctas { gap: 10px; }
	.wd-hero__ctas .wd-btn { flex: 1 1 100%; }
	.wd-pin__row { gap: 10px; }
	.wd-pin__field { min-width: 0; flex-basis: 100%; }
	.wd-pin__chips { grid-template-columns: 1fr; }
	.wd-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wd-trust__item { padding: 8px 10px; gap: 8px; font-size: 11.5px; }
	.wd-trust__item .wd-ico { width: 24px; height: 24px; }
	.wd-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wd-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wd-strip__item { padding: 4px 10px; }
	.wd-strip__item::before { display: none; }
	.wd-popular__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.wd-pcard { scroll-snap-align: start; }
	.wd-popular__note { gap: 8px 16px; justify-content: flex-start; }
	.wd-cta { grid-template-columns: 1fr; padding: 18px 16px; text-align: center; }
	.wd-cta__ico { margin: 0 auto; }
	.wd-cta__btns .wd-btn { flex: 1 1 100%; min-width: 0; }
	.wd-cta__side { text-align: left; }
	.wd-cta__side .wd-btn { width: 100%; }
	.wd-why__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wd-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* Responsive overrides for pass 2 */
@media (max-width: 1280px) {
	.wd-hero__ctas, .wd-cta__btns { flex-wrap: wrap; }
	.wd-cta { grid-template-columns: auto minmax(0, 1fr); }
	.wd-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.wd-hero__main { padding-left: 0; }
}
@media (max-width: 1024px) {
	.wd-hero { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.wd-pin__row { flex-wrap: wrap; }
	.wd-cta { grid-template-columns: 1fr; }
	.wd-hero__ctas .wd-btn { white-space: normal; }
	.wd-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.wd-wa { display: none; }
	.wd-pcard__name { font-size: 12px; }
	.wd-pcard__price { font-size: 15px; }
	.wd-btn-xs { font-size: 11px; padding: 5px 4px; }
}
@media (max-width: 767px) {
	.wd-theme div.product .product_title { font-size: 21px !important; }
	.wd-theme div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; }
	.wd-theme ul.products li.product .button { min-width: 0; padding: 8px 14px !important; font-size: 12.5px !important; }
}
/* Cart: remove (x) button right-aligned on small screens only (WooCommerce stacked table) */
@media (max-width: 768px) {
	.wd-theme table.shop_table_responsive tr td.product-remove,
	.wd-theme table.cart tr td.product-remove { text-align: right !important; }
	.wd-theme table.shop_table_responsive tr td.product-remove a.remove,
	.wd-theme table.cart tr td.product-remove a.remove { display: block; margin-left: auto !important; margin-right: 0 !important; float: none !important; }
	.wd-theme table.shop_table_responsive tr td.product-remove::before { display: none; }
}

/* ============ Pass 5: uniform product cards everywhere + site-wide consistency (CSS only) ============ */
/* Product grids (shop, category, search, related, upsells, cross-sells, shortcodes) */
.wd-theme ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px !important; padding: 0 !important; list-style: none; }
.wd-theme ul.products::before, .wd-theme ul.products::after { display: none !important; content: none !important; }
.wd-theme ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wd-theme ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wd-theme ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wd-theme ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wd-theme ul.products li.product {
	width: auto !important; max-width: none !important; float: none !important; clear: none !important; margin: 0 !important;
	position: relative; display: flex !important; flex-direction: column; align-items: stretch; height: 100%;
	padding: 12px 12px 16px !important; box-sizing: border-box; overflow: hidden;
}
.wd-theme ul.products li.product a.woocommerce-LoopProduct-link { display: flex !important; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: inherit; }
/* Fixed square image box; image always fully visible inside */
.wd-theme ul.products li.product a img,
.wd-theme ul.products li.product img.attachment-woocommerce_thumbnail,
.wd-theme ul.products li.product img.wp-post-image {
	display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; object-position: center;
	margin: 0 0 12px !important; padding: 0 !important; background: #fff; border-radius: 6px; box-shadow: none !important;
}
/* Name: always exactly 2 lines tall */
.wd-theme ul.products li.product .woocommerce-loop-product__title,
.wd-theme ul.products li.product h2, .wd-theme ul.products li.product h3 {
	font-size: 14px !important; line-height: 1.4 !important; height: 2.8em; margin: 0 0 8px !important; padding: 0 !important;
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; text-align: center;
}
/* Price: pinned to the bottom of the link area, fixed height */
.wd-theme ul.products li.product .price {
	margin: auto 0 0 !important; min-height: 1.9em; display: flex !important; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px;
	font-size: 17px !important; line-height: 1.5 !important;
}
.wd-theme ul.products li.product .price del { font-size: 13px; opacity: 1; }
.wd-theme ul.products li.product .price ins { font-weight: 700; }
/* Button area: same position on every card */
.wd-theme ul.products li.product .custom-cart-btn { margin-top: 12px; display: flex; flex-direction: column; align-items: center; }
.wd-theme ul.products li.product .custom-cart-btn .button,
.wd-theme ul.products li.product > .button { margin: 0 auto !important; width: 100%; max-width: 200px; }
.wd-theme ul.products li.product .onsale {
	position: absolute !important; top: 14px !important; right: 14px !important; left: auto !important; margin: 0 !important; z-index: 2;
	min-width: 0; min-height: 0; padding: 3px 9px !important; border-radius: 4px !important; font: 600 11.5px/1.3 var(--wd-font) !important;
}
.wd-theme ul.products li.product .hover-area { z-index: 3; }

/* Homepage cards: same rules (fixed image box, 2-line name) */
.wd-pcard { height: 100%; }

/* Site-wide content consistency */
.wd-theme img { max-width: 100%; height: auto; }
.wd-theme .entry-content a:not(.button):not(.wd-btn), .wd-theme .widget a { color: var(--wd-red); }
.wd-theme .entry-content a:not(.button):not(.wd-btn):hover, .wd-theme .widget a:hover { color: var(--wd-red-dark); }
.wd-theme .entry-content, .wd-theme .entry-content p, .wd-theme .entry-content li { font-family: var(--wd-font); color: var(--wd-text); font-size: 14.5px; line-height: 1.75; }
.wd-theme .entry-content h1, .wd-theme .entry-content h2, .wd-theme .entry-content h3, .wd-theme .entry-content h4,
.wd-theme .page-title, .wd-theme .entry-title, .wd-theme .widget-title, .wd-theme .widget h2 { font-family: var(--wd-font) !important; color: var(--wd-ink); font-weight: 700; }
.wd-theme .widget-title, .wd-theme .widget h2 { font-size: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--wd-red); display: inline-block; }
.wd-theme .widget, .wd-theme .widget img { max-width: 100%; }
.wd-theme #secondary, .wd-theme .widget-area { overflow: hidden; }
.wd-theme .entry-content table { border-color: var(--wd-line); }
.wd-theme .entry-content input[type="text"], .wd-theme .entry-content input[type="email"], .wd-theme .entry-content input[type="tel"],
.wd-theme .entry-content textarea, .wd-theme .entry-content select { border: 1.5px solid #d5d7de; border-radius: 4px; font-family: var(--wd-font); }
.wd-theme .vc_btn3.vc_btn3-color-juicy-pink, .wd-theme .vc_btn3-style-flat { background-color: var(--wd-red) !important; color: #fff !important; }

@media (max-width: 1024px) {
	.wd-theme ul.products, .wd-theme ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 767px) {
	.wd-theme ul.products, .wd-theme ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.wd-theme ul.products li.product { padding: 8px 8px 12px !important; }
	.wd-theme ul.products li.product .woocommerce-loop-product__title, .wd-theme ul.products li.product h2 { font-size: 12.5px !important; }
	.wd-theme ul.products li.product .price { font-size: 14.5px !important; min-height: 2.9em; align-content: flex-end; }
	.wd-theme ul.products li.product .price del { font-size: 11.5px; }
	.wd-theme ul.products li.product .custom-cart-btn .button, .wd-theme ul.products li.product > .button { max-width: none; min-width: 0 !important; padding: 8px 6px !important; font-size: 12.5px !important; }
	.wd-theme ul.products li.product .onsale { top: 8px !important; right: 8px !important; font-size: 10px !important; padding: 2px 7px !important; }
	.wd-theme ul.products li.product .added_to_cart { font-size: 11.5px !important; }
}
@media (max-width: 360px) {
	.wd-theme ul.products, .wd-theme ul.products[class*="columns-"] { gap: 8px; }
}

/* Footer breathing room on medium & small screens only (desktop unchanged) */
@media (max-width: 1280px) {
	.wd-footer .wd-footer__grid { padding: 36px 40px 32px; gap: 28px 32px; }
	.wd-footer .wd-footer__bottom .wd-container { padding: 0 40px; }
	.wd-footer .wd-footer__col h3 { margin-bottom: 10px !important; }
	.wd-footer .wd-footer__col li { margin-bottom: 6px; }
}
@media (max-width: 767px) {
	.wd-footer .wd-footer__grid { padding: 28px 24px 24px; gap: 26px 20px; }
	.wd-footer .wd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wd-footer .wd-footer__touch { grid-column: 1 / -1; }
	.wd-footer .wd-footer__touch a, .wd-footer .wd-footer__touch span { overflow-wrap: anywhere; }
	.wd-footer .wd-footer__bottom { padding: 14px 0 18px; }
	.wd-footer .wd-footer__bottom .wd-container { padding: 0 24px; }
}
@media (max-width: 360px) {
	.wd-footer .wd-footer__grid { padding: 24px 18px 20px; }
}

/* ============ Contact address block (legacy [apus_address] shortcode) ============ */
.wd-address { display: flex; gap: 16px; align-items: flex-start; background: var(--wd-soft); border: 1px solid var(--wd-line); border-radius: 8px; padding: 22px 24px; margin: 0 0 24px; font-family: var(--wd-font); }
.wd-address__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--wd-red); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(208, 2, 27, .12); }
.wd-address__ico .wd-ico { width: 24px; height: 24px; }
.wd-address__inner { min-width: 0; }
.wd-address__title { font-size: 18px !important; font-weight: 700; color: var(--wd-ink); margin: 2px 0 8px !important; }
.wd-address__body p { margin: 0 0 6px !important; font-size: 14.5px; line-height: 1.6; color: var(--wd-text); }
.wd-address__body p:first-child { font-weight: 600; color: var(--wd-ink); }
.wd-address__body strong { color: var(--wd-ink); }
.wd-address__body a { color: var(--wd-red) !important; overflow-wrap: anywhere; }

/* ============ Blog / archive layout: content + sidebar side by side (CSS only) ============ */
@media (min-width: 992px) {
	.wd-theme .page-grid:has(> aside.widget-area) { display: grid !important; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
	.wd-theme.leftsidebar .page-grid:has(> aside.widget-area) { grid-template-columns: 300px minmax(0, 1fr); }
	.wd-theme.leftsidebar .page-grid:has(> aside.widget-area) > aside.widget-area { order: -1; }
}
.wd-theme .page-grid:has(> aside.widget-area) > main,
.wd-theme .page-grid:has(> aside.widget-area) > aside.widget-area { width: auto !important; max-width: none !important; flex: none !important; float: none !important; position: static !important; margin: 0 !important; left: auto !important; right: auto !important; }
@media (max-width: 991px) {
	.wd-theme .page-grid:has(> aside.widget-area) { display: block !important; }
	.wd-theme .page-grid:has(> aside.widget-area) > aside.widget-area { margin-top: 32px !important; }
}
/* Full-width banner sliders don't fit a 300px sidebar: hide them there (widget settings untouched) */
.wd-theme aside.widget-area .widget_revslider { display: none !important; }
.wd-theme aside.widget-area .widget { background: #fff; border: 1px solid var(--wd-line); border-radius: 8px; padding: 18px 20px; margin: 0 0 20px; font-size: 13.5px; line-height: 1.7; color: var(--wd-text); }
.wd-theme aside.widget-area .widget ul { margin: 0; padding: 0; list-style: none; }
.wd-theme aside.widget-area .widget li { padding: 6px 0; border-bottom: 1px solid var(--wd-line); }
.wd-theme aside.widget-area .widget li:last-child { border-bottom: 0; }

/* ============ Empty states (no posts / no search results) ============ */
.wd-empty { text-align: center; max-width: 640px; margin: 8px auto 40px; padding: 40px 32px; border: 1px solid var(--wd-line); border-radius: 10px; background: #fff; font-family: var(--wd-font); }
.wd-empty__ico { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--wd-red-tint); color: var(--wd-red); display: grid; place-items: center; }
.wd-empty__ico .wd-ico { width: 32px; height: 32px; }
.wd-empty__title { font-size: 22px !important; font-weight: 700; color: var(--wd-ink); margin: 0 0 10px !important; background: none !important; padding: 0 !important; }
.wd-empty__text { font-size: 14.5px; line-height: 1.7; color: var(--wd-text); margin: 0 auto 22px !important; max-width: 520px; }
.wd-empty__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wd-empty__search { max-width: 460px; margin: 0 auto 22px !important; }
.wd-empty__admin { margin: 22px 0 0 !important; padding-top: 16px; border-top: 1px dashed var(--wd-line); font-size: 12.5px; color: var(--wd-muted); }
.wd-empty__admin a { color: var(--wd-red) !important; font-weight: 600; }
@media (max-width: 767px) {
	.wd-address { padding: 18px 16px; gap: 12px; }
	.wd-address__ico { width: 38px; height: 38px; }
	.wd-empty { padding: 28px 18px; }
	.wd-empty__title { font-size: 19px !important; }
	.wd-empty__btns .wd-btn { flex: 1 1 100%; }
}
/* Empty state should use the full content column */
.wd-theme .content-wrap-main:has(> .wd-empty) { display: block !important; column-count: auto !important; grid-template-columns: none !important; }
.wd-theme .content-wrap-main > .wd-empty { max-width: none; width: 100%; margin: 0 0 40px; }
.wd-theme .content-wrap-main > .wd-empty .wd-empty__text { max-width: 560px; }
/* Sidebar widget titles: keep the parent theme's single underline */
.wd-theme aside.widget-area .widget-title, .wd-theme aside.widget-area .widget h2 { border-bottom: 0; display: block; padding-bottom: 0; font-size: 17px; }

/* ============ Forms (Contact Form 7 / WPForms / page forms): padding, spacing, full width ============ */
.wd-theme .wpcf7 form br { display: none; }
.wd-theme .wpcf7 form p { margin: 0 0 4px; }
.wd-theme .wpcf7 .wpcf7-form-control-wrap { display: block; width: 100%; margin: 0 0 14px; }
.wd-theme .wpcf7 input[type="text"], .wd-theme .wpcf7 input[type="email"], .wd-theme .wpcf7 input[type="tel"],
.wd-theme .wpcf7 input[type="url"], .wd-theme .wpcf7 input[type="number"], .wd-theme .wpcf7 select, .wd-theme .wpcf7 textarea,
.wd-theme .wpforms-form input[type="text"], .wd-theme .wpforms-form input[type="email"], .wd-theme .wpforms-form input[type="tel"],
.wd-theme .wpforms-form input[type="url"], .wd-theme .wpforms-form select, .wd-theme .wpforms-form textarea {
	display: block; width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin: 0 !important;
	padding: 13px 16px !important; min-height: 50px; border: 1.5px solid #d5d7de !important; border-radius: 6px !important;
	background: #fff; font: 400 14.5px/1.5 var(--wd-font) !important; color: var(--wd-ink); box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.wd-theme .wpcf7 textarea, .wd-theme .wpforms-form textarea { min-height: 170px; height: 170px; resize: vertical; }
.wd-theme .wpcf7 ::placeholder, .wd-theme .wpforms-form ::placeholder { color: #8a8fa0; opacity: 1; }
.wd-theme .wpcf7 input:focus, .wd-theme .wpcf7 textarea:focus, .wd-theme .wpcf7 select:focus,
.wd-theme .wpforms-form input:focus, .wd-theme .wpforms-form textarea:focus, .wd-theme .wpforms-form select:focus {
	border-color: var(--wd-red) !important; outline: none; box-shadow: 0 0 0 3px rgba(208, 2, 27, .12) !important;
}
.wd-theme .wpcf7 .wpcf7-submit { margin-top: 4px; min-width: 180px; padding: 14px 28px !important; }
.wd-theme .wpcf7 .wpcf7-not-valid-tip { font-size: 12.5px; color: var(--wd-red); margin-top: 6px; }
.wd-theme .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 16px; border-radius: 6px; font-size: 13.5px; }
@media (max-width: 767px) {
	.wd-theme .wpcf7 .wpcf7-submit { width: 100%; }
}

/* Categories drawer above the WordPress admin bar (only matters when an admin is logged in) */
.wd-drawer { z-index: 100000; }
html.wd-lock .wd-header { z-index: 100001; }
.admin-bar .wd-drawer__panel { padding-top: 0; }

/* ============ Pagination (shop/category/blog): clean, theme colours, no overlap on mobile ============ */
.wd-theme .woocommerce-pagination, .wd-theme .navigation.pagination, .wd-theme nav.pagination { margin: 8px 0 32px; text-align: center; }
.wd-theme .woocommerce-pagination ul.page-numbers, .wd-theme .nav-links {
	display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
	margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; white-space: normal;
}
.wd-theme .woocommerce-pagination ul.page-numbers::before, .wd-theme .woocommerce-pagination ul.page-numbers::after { display: none !important; }
.wd-theme .woocommerce-pagination ul.page-numbers li { display: block !important; float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: visible !important; background: none !important; width: auto !important; height: auto !important; min-width: 0 !important; border-radius: 0 !important; box-shadow: none !important; line-height: 1 !important; }
.wd-theme .woocommerce-pagination ul.page-numbers li::before, .wd-theme .woocommerce-pagination ul.page-numbers li::after { display: none !important; }
.wd-theme .woocommerce-pagination ul.page-numbers li .page-numbers, .wd-theme .nav-links .page-numbers {
	display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
	width: auto !important; min-width: 42px !important; height: 42px !important; max-height: none !important; line-height: 1 !important; padding: 0 12px !important; margin: 0 !important; border-radius: 6px !important;
	border: 1.5px solid var(--wd-line) !important; background: #fff !important; color: var(--wd-ink) !important;
	font: 600 14px/1 var(--wd-font) !important; text-decoration: none !important; box-shadow: none !important; transition: border-color .15s, color .15s, background .15s;
}
.wd-theme .woocommerce-pagination ul.page-numbers li a.page-numbers:hover, .wd-theme .nav-links a.page-numbers:hover { border-color: var(--wd-red) !important; color: var(--wd-red) !important; background: var(--wd-red-tint) !important; }
.wd-theme .woocommerce-pagination ul.page-numbers li span.current, .wd-theme .nav-links .page-numbers.current { background: var(--wd-red) !important; border-color: var(--wd-red) !important; color: #fff !important; }
.wd-theme .woocommerce-pagination ul.page-numbers li .dots, .wd-theme .nav-links .dots { border-color: transparent !important; background: transparent !important; min-width: 24px !important; padding: 0 !important; }
@media (max-width: 767px) {
	.wd-theme .woocommerce-pagination ul.page-numbers, .wd-theme .nav-links { gap: 5px; }
	.wd-theme .woocommerce-pagination ul.page-numbers li .page-numbers, .wd-theme .nav-links .page-numbers { min-width: 33px !important; height: 33px !important; padding: 0 6px !important; font-size: 12.5px !important; }
	.wd-theme .woocommerce-pagination ul.page-numbers li .dots, .wd-theme .nav-links .dots { min-width: 14px !important; }
}

/* Back-to-top button sits above the WhatsApp chat button (no overlap); still appears only after scrolling */
.wd-theme .backtotop {
	right: 20px !important; left: auto !important;
	/* Theme still controls show/hide via its inline "bottom" (-250px hidden / 25px visible); we only lift it 55px */
	transform: translateY(-55px);
	width: 40px !important; height: 40px !important; border-radius: 50% !important;
	box-shadow: 0 4px 12px rgba(208, 2, 27, .25); z-index: 9999 !important;
}
.wd-theme .backtotop:hover { opacity: 1 !important; }

/* ============ Single product page: compact layout + icon buttons (CSS only) ============ */
.wd-theme div.product { margin-top: 4px; }
.wd-theme div.product div.images.woocommerce-product-gallery { width: 44% !important; margin-bottom: 24px !important; }
.wd-theme div.product div.summary { width: 52% !important; display: grid !important; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 10px; align-items: center; margin-bottom: 24px !important; padding-top: 4px; }
.wd-theme div.product div.summary > * { grid-column: 1 / -1; min-width: 0; }
.wd-theme div.product div.summary > form.cart:not(.variations_form):not(.grouped_form) { grid-column: 1 / 2; }
.wd-theme div.product div.summary > form.cart:not(.variations_form):not(.grouped_form) ~ .yith-wcwl-add-to-wishlist { grid-column: 2 / 3; }
.wd-theme div.product div.summary > .yith-wcwl-add-to-wishlist { justify-self: start; }
.wd-theme div.product div.summary > p.stock { justify-self: start; }
.wd-theme div.product .product_title { font-size: 24px !important; line-height: 1.3 !important; margin: 0 0 6px !important; }
.wd-theme div.product div.summary p.price { margin: 0 0 8px !important; font-size: 26px !important; line-height: 1.3 !important; }
.wd-theme div.product div.summary .woocommerce-product-details__short-description { padding: 10px 0; margin-bottom: 12px; }
/* Stock: small green pill with a tick */
.wd-theme div.product div.summary p.stock { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px !important; padding: 4px 12px; border-radius: 20px; font: 600 12.5px/1.4 var(--wd-font); }
.wd-theme div.product div.summary p.stock.in-stock { background: #e8f5e9; color: var(--wd-green) !important; }
.wd-theme div.product div.summary p.stock.in-stock::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd-theme div.product div.summary p.stock.out-of-stock { background: var(--wd-red-tint); color: var(--wd-red) !important; }
/* Add to cart + wishlist on one row */
.wd-theme div.product div.summary form.cart { flex: 0 0 auto; margin: 0 0 10px !important; gap: 10px; }
.wd-theme div.product div.summary form.cart .quantity:has(input[type="hidden"]) { display: none !important; }
.wd-theme div.product div.summary form.cart::before, .wd-theme div.product div.summary form.cart::after { display: none !important; content: none !important; }
.wd-theme div.product div.summary form.cart.variations_form { flex: 0 0 100%; }
.wd-theme div.product div.summary .yith-wcwl-add-to-wishlist { flex: 0 0 auto; margin: 0 0 10px !important; }
.wd-theme div.product form.cart .single_add_to_cart_button { display: inline-flex !important; align-items: center; gap: 10px; min-height: 48px; padding: 0 28px !important; }
.wd-theme div.product form.cart .single_add_to_cart_button::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21 7.5H6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21 7.5H6'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd-theme div.product .yith-wcwl-add-to-wishlist a { min-height: 48px; padding: 0 22px !important; gap: 8px; }
.wd-theme div.product .yith-wcwl-add-to-wishlist a .yith-wcwl-icon, .wd-theme div.product .yith-wcwl-add-to-wishlist a svg, .wd-theme div.product .yith-wcwl-add-to-wishlist a img { display: none !important; }
.wd-theme div.product .yith-wcwl-add-to-wishlist a.add_to_wishlist::before, .wd-theme div.product .yith-wcwl-add-button a::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse, .wd-theme div.product .yith-wcwl-wishlistexistsbrowse { display: inline-flex; align-items: center; min-height: 48px; font-size: 13.5px; }
/* Meta, brand, bulk discount info */
.wd-theme div.product div.summary .product_meta { margin: 8px 0 0 !important; padding: 12px 0 0 !important; font-size: 12.5px; line-height: 1.8; }
.wd-theme div.product div.summary .product_meta > span { display: block; }
.wd-theme div.product div.summary .pwb-single-product-brands { margin: 6px 0 0 !important; font-size: 13px; }
.wd-theme div.product div.summary .pwb-single-product-brands::before { content: "Brand: "; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; color: var(--wd-text); text-transform: uppercase; margin-right: 4px; }
.wd-theme div.product div.summary .pwb-single-product-brands a { color: var(--wd-ink); font-weight: 600; }
.wd-theme div.product div.summary .productinfo-show-discounts { margin-top: 10px; font-size: 13px; }
/* Gallery zoom button (opens the full-size image): small circle with an "expand" icon */
.wd-theme div.product .woocommerce-product-gallery { position: relative; }
.wd-theme div.product .woocommerce-product-gallery__trigger {
	position: absolute !important; z-index: 5; top: 12px !important; right: 12px !important; left: auto !important;
	display: grid !important; place-items: center; width: 36px !important; height: 36px !important; padding: 0 !important;
	border-radius: 50% !important; background: #fff !important; border: 1px solid var(--wd-line) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08); font-size: 0 !important; line-height: 0 !important; color: var(--wd-ink) !important; overflow: hidden;
}
.wd-theme div.product .woocommerce-product-gallery__trigger > * { display: none !important; }
.wd-theme div.product .woocommerce-product-gallery__trigger::before { display: none !important; content: none !important; }
.wd-theme div.product .woocommerce-product-gallery__trigger::after {
	content: "" !important; display: block !important; position: static !important; width: 16px !important; height: 16px !important;
	border: 0 !important; border-radius: 0 !important; transform: none !important; background: currentColor !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wd-theme div.product .woocommerce-product-gallery__trigger:hover { border-color: var(--wd-red) !important; color: var(--wd-red) !important; }
@media (max-width: 767px) {
	.wd-theme div.product div.images.woocommerce-product-gallery, .wd-theme div.product div.summary { width: 100% !important; float: none !important; }
	.wd-theme div.product .product_title { font-size: 20px !important; }
	.wd-theme div.product div.summary p.price { font-size: 22px !important; }
	.wd-theme div.product div.summary { grid-template-columns: minmax(0, 1fr); }
	.wd-theme div.product div.summary > form.cart, .wd-theme div.product div.summary > form.cart ~ .yith-wcwl-add-to-wishlist { grid-column: 1 / -1 !important; }
	.wd-theme div.product div.summary > form.cart { display: flex !important; flex-wrap: nowrap; width: 100%; }
	.wd-theme div.product div.summary form.cart .single_add_to_cart_button { flex: 1 1 auto; justify-content: center; white-space: nowrap; padding: 0 16px !important; }
	.wd-theme div.product div.summary > .yith-wcwl-add-to-wishlist { justify-self: stretch; }
	.wd-theme div.product div.summary .yith-wcwl-add-to-wishlist a { width: 100%; justify-content: center; }
	.wd-theme div.product .yith-wcwl-add-to-wishlist a { padding: 0 16px !important; }
}

/* ============ Wishlist: header icon, "saved" button state, toast ============ */
.wd-wishlist { margin-left: auto; }
.wd-wishlist + .wd-cart { margin-left: -6px; }
.wd-wl-count { position: absolute; top: -8px; right: -12px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--wd-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.wd-wl-count.is-empty { display: none; }
.wd-wishlist .wd-cart__ico .wd-ico { width: 30px; height: 30px; }

/* Product page: after adding, show one clean "View wishlist" button instead of "Product added! Browse wishlist" */
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse { display: inline-flex !important; align-items: center; min-height: 0; margin: 0; }
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse .feedback,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse .feedback { display: none !important; }
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse a,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse a {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px !important;
	border: 1.5px solid var(--wd-red-line) !important; border-radius: 4px; background: var(--wd-red-tint) !important;
	color: var(--wd-red) !important; font-size: 0 !important; text-decoration: none !important; white-space: nowrap;
}
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse a::before,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse a::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse a::after,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse a::after { content: "View wishlist"; font: 600 14px/1.2 var(--wd-font); }
.wd-theme div.product .yith-wcwl-wishlistaddedbrowse a:hover,
.wd-theme div.product .yith-wcwl-wishlistexistsbrowse a:hover { background: var(--wd-red) !important; border-color: var(--wd-red) !important; color: #fff !important; }
.wd-theme div.product .yith-wcwl-add-to-wishlist .yith-wcwl-count, .wd-theme div.product .yith-wcwl-add-to-wishlist .count-add-to-wishlist { display: none !important; }

/* Toast */
.wd-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100002; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.wd-toast {
	pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 8px;
	background: var(--wd-ink); color: #fff; font: 500 14px/1.4 var(--wd-font); box-shadow: 0 8px 24px rgba(5, 10, 46, .25);
	opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s;
}
.wd-toast.is-in { opacity: 1; transform: translateY(0); }
.wd-toast svg { color: #ff5a6e; flex: 0 0 auto; }
.wd-toast a { color: #fff !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; margin-left: 4px; }
@media (max-width: 767px) {
	.wd-wishlist { margin-left: 0; }
	.wd-wishlist + .wd-cart { margin-left: 0; }
	.wd-wishlist .wd-cart__ico .wd-ico { width: 25px; height: 25px; }
	.wd-toasts { bottom: 16px; }
	.wd-theme div.product .yith-wcwl-wishlistaddedbrowse, .wd-theme div.product .yith-wcwl-wishlistexistsbrowse { display: flex !important; width: 100%; }
	.wd-theme div.product .yith-wcwl-wishlistaddedbrowse a, .wd-theme div.product .yith-wcwl-wishlistexistsbrowse a { width: 100%; }
}
/* Mobile header: room for account + wishlist + cart on one line */
@media (max-width: 767px) {
	.wd-mainbar__inner { column-gap: 10px; }
	.wd-logo__name { font-size: 22px; }
	.wd-logo-mark { width: 32px; height: 32px; }
}
@media (max-width: 359px) {
	.wd-logo__by { display: none; }
	.wd-logo__name { font-size: 20px; }
}

/* ============ Wishlist share buttons: brand colours, white icons ============ */
.wd-theme .yith-wcwl-share { margin: 18px 0 0; }
.wd-theme .yith-wcwl-share .yith-wcwl-share-title { font: 700 15px var(--wd-font); color: var(--wd-ink); margin: 0 0 10px; }
.wd-theme .yith-wcwl-share ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
.wd-theme .yith-wcwl-share li { margin: 0 !important; padding: 0 !important; list-style: none; }
.wd-theme .yith-wcwl-share li a {
	display: grid !important; place-items: center; width: 38px; height: 38px; margin: 0 !important; padding: 0 !important;
	border-radius: 50% !important; color: #fff !important; background: #6b7080 !important; text-decoration: none !important;
	transition: transform .15s, opacity .15s; box-shadow: none !important;
}
.wd-theme .yith-wcwl-share li a:hover { transform: translateY(-2px); opacity: .9; color: #fff !important; }
.wd-theme .yith-wcwl-share li a svg { width: 16px !important; height: 16px !important; color: #fff !important; }
.wd-theme .yith-wcwl-share li a svg path { fill: #fff !important; }
.wd-theme .yith-wcwl-share li a.facebook { background: #1877f2 !important; }
.wd-theme .yith-wcwl-share li a.twitter { background: #000 !important; }
.wd-theme .yith-wcwl-share li a.pinterest { background: #e60023 !important; }
.wd-theme .yith-wcwl-share li a.email { background: var(--wd-ink) !important; }
.wd-theme .yith-wcwl-share li a.whatsapp { background: #25d366 !important; }

/* ============ My Account + WooCommerce forms (account details, addresses, login/register, checkout) ============ */
/* Navigation */
.wd-theme .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 8px; border: 1px solid var(--wd-line); border-radius: 10px; background: #fff; }
.wd-theme .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.wd-theme .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 6px; font: 500 14px/1.3 var(--wd-font); color: var(--wd-ink) !important; text-decoration: none !important; }
.wd-theme .woocommerce-MyAccount-navigation li a:hover { background: var(--wd-soft); color: var(--wd-red) !important; }
.wd-theme .woocommerce-MyAccount-navigation li.is-active a { background: var(--wd-red-tint); color: var(--wd-red) !important; font-weight: 600; }
.wd-theme .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wd-text) !important; }
.wd-theme .woocommerce-MyAccount-content { font-family: var(--wd-font); color: var(--wd-text); font-size: 14.5px; line-height: 1.7; }

/* Labels and fields */
.wd-theme .woocommerce form .form-row { margin: 0 0 16px !important; padding: 0 !important; }
.wd-theme .woocommerce form .form-row label { display: block; margin: 0 0 6px !important; font: 600 13.5px/1.4 var(--wd-font); color: var(--wd-ink); }
.wd-theme .woocommerce form .form-row .required { color: var(--wd-red); text-decoration: none; }
.wd-theme .woocommerce form .form-row input.input-text,
.wd-theme .woocommerce form .form-row textarea,
.wd-theme .woocommerce form .form-row select,
.wd-theme .woocommerce form .form-row .select2-container .select2-selection--single {
	width: 100% !important; box-sizing: border-box; min-height: 48px; padding: 12px 14px !important; margin: 0 !important;
	border: 1.5px solid #d5d7de !important; border-radius: 6px !important; background: #fff !important;
	font: 400 14.5px/1.4 var(--wd-font) !important; color: var(--wd-ink) !important; box-shadow: none !important;
}
.wd-theme .woocommerce form .form-row .select2-container .select2-selection--single { display: flex; align-items: center; height: 48px; }
.wd-theme .woocommerce form .form-row .select2-selection__arrow { height: 46px !important; }
.wd-theme .woocommerce form .form-row input.input-text:focus, .wd-theme .woocommerce form .form-row textarea:focus { border-color: var(--wd-red) !important; box-shadow: 0 0 0 3px rgba(208, 2, 27, .12) !important; outline: none; }
.wd-theme .woocommerce form .form-row span em, .wd-theme .woocommerce form .form-row > span > em { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; color: var(--wd-muted); line-height: 1.5; }
/* Password fields with show/hide eye */
.wd-theme .woocommerce form .password-input { position: relative; display: block; width: 100%; }
.wd-theme .woocommerce form .password-input input.input-text { padding-right: 48px !important; }
.wd-theme .woocommerce form .show-password-input {
	position: absolute !important; top: 50% !important; right: 6px !important; transform: translateY(-50%); width: 36px; height: 36px;
	display: grid; place-items: center; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 6px;
	background: transparent !important; color: var(--wd-muted) !important; cursor: pointer; box-shadow: none !important;
}
.wd-theme .woocommerce form .show-password-input:hover { color: var(--wd-ink) !important; background: var(--wd-soft) !important; }
/* Password change box */
.wd-theme .woocommerce form fieldset { margin: 8px 0 20px !important; padding: 18px 18px 4px !important; border: 1px solid var(--wd-line) !important; border-radius: 10px; background: var(--wd-soft); }
.wd-theme .woocommerce form fieldset legend { padding: 0 8px !important; margin: 0 !important; font: 700 14.5px var(--wd-font); color: var(--wd-ink); background: #fff; border-radius: 4px; }
/* Two-column rows (first / last name) */
@media (min-width: 768px) {
	.wd-theme .woocommerce form .form-row-first, .wd-theme .woocommerce form .form-row-last { width: calc(50% - 8px) !important; }
}
@media (max-width: 767px) {
	.wd-theme .woocommerce form .form-row-first, .wd-theme .woocommerce form .form-row-last { width: 100% !important; float: none !important; }
}
/* Buttons in account/address/login forms */
.wd-theme .woocommerce-EditAccountForm button[type="submit"], .wd-theme .woocommerce-address-fields button[type="submit"],
.wd-theme .woocommerce-form-login button[type="submit"], .wd-theme .woocommerce-form-register button[type="submit"],
.wd-theme .woocommerce-ResetPassword button[type="submit"] { min-height: 48px; padding: 0 28px !important; }
@media (max-width: 767px) {
	.wd-theme .woocommerce-EditAccountForm button[type="submit"], .wd-theme .woocommerce-address-fields button[type="submit"],
	.wd-theme .woocommerce-form-login button[type="submit"], .wd-theme .woocommerce-form-register button[type="submit"] { width: 100%; }
	.wd-theme .woocommerce form fieldset { padding: 16px 14px 2px !important; }
}
/* Address cards */
.wd-theme .woocommerce-Addresses .woocommerce-Address { border: 1px solid var(--wd-line); border-radius: 10px; padding: 18px; margin-bottom: 16px; background: #fff; }
.wd-theme .woocommerce-Address-title h2, .wd-theme .woocommerce-Address-title h3 { font: 700 17px var(--wd-font); color: var(--wd-ink); }
.wd-theme .woocommerce-Address-title a.edit { color: var(--wd-red) !important; font-weight: 600; }

/* No italic text anywhere on the site (descriptions, notes, placeholders, plugin text) */
.wd-theme *, .wd-theme *::before, .wd-theme *::after, .wd-theme ::placeholder { font-style: normal !important; }

/* Min/Max quantity warnings (BeRocket plugin): show only on Cart and Checkout, not on every page */
body.wd-theme:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce-error li[data-minmax] { display: none !important; }
body.wd-theme:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce-error:not(:has(li:not([data-minmax]))) { display: none !important; }

/* ============ Header fit on laptops (1024–1536px) ============ */
/* Top bar: social icons in normal flow so the text can never run under them */
.wd-topbar__inner { justify-content: space-between; gap: 16px; }
.wd-topbar__list { flex: 1 1 auto; justify-content: center; min-width: 0; overflow: hidden; }
.wd-topbar__social { position: static; flex: 0 0 auto; }
@media (max-width: 1440px) {
	.wd-topbar__list li { padding: 0 14px; }
	.wd-topbar__social span { display: none; }
}
@media (max-width: 1280px) {
	.wd-topbar__list li:nth-child(4) { display: none; }
}
/* Category bar: tighter items; icon-only "All Categories" on smaller laptops; fade hint when it scrolls */
@media (max-width: 1536px) {
	.wd-catbar__list a { padding: 2px 5px; font-size: 11px; }
}
@media (max-width: 1366px) {
	.wd-allcats__btn { font-size: 0; gap: 0; padding: 0 10px; }
	.wd-allcats__btn .wd-ico { width: 20px; height: 20px; }
	.wd-catbar__list { -webkit-mask-image: linear-gradient(to right, #000 94%, transparent); mask-image: linear-gradient(to right, #000 94%, transparent); padding-right: 24px; }
}
@media (max-width: 767px) {
	.wd-catbar__list { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
}

/* ============ 404 page in WorkDepot style (CSS only) ============ */
.wd-theme .error-404 { max-width: 640px; margin: 24px auto 48px; }
.wd-theme .error-404 > .page-header { background: #fff !important; border: 1px solid var(--wd-line); border-radius: 10px; padding: 40px 32px !important; text-align: center; }
.wd-theme .error-404 .page-title { font: 700 22px/1.35 var(--wd-font) !important; color: var(--wd-ink) !important; margin: 0 0 10px !important; }
.wd-theme .error-404 .page-title span { display: block; font: 800 64px/1 var(--wd-font); color: var(--wd-red); margin-bottom: 10px; }
.wd-theme .error-404 .subtitle p { font-size: 14.5px; color: var(--wd-text); margin: 0 0 20px !important; }
.wd-theme .error-404 .search-form { display: flex; max-width: 440px; margin: 0 auto; }
.wd-theme .error-404 .search-form label { flex: 1; margin: 0; }
.wd-theme .error-404 .search-form input[type="search"] { width: 100%; height: 46px; margin: 0; border: 1.5px solid #d5d7de; border-right: 0; border-radius: 6px 0 0 6px; padding: 0 14px; font: 400 14px var(--wd-font); box-shadow: none; }
.wd-theme .error-404 .search-form input[type="search"]:focus { border-color: var(--wd-red); outline: none; }
.wd-theme .error-404 .search-form .search-submit { height: 46px; min-width: 52px; border: 0; border-radius: 0 6px 6px 0; background: var(--wd-red) !important; color: #fff; cursor: pointer; }
/* Empty breadcrumb item on 404 */
.wd-theme.error404 .breadcrumb-wrapper .current:empty, .wd-theme.error404 .breadcrumb-wrapper .current a:empty { display: none; }
@media (max-width: 767px) {
	.wd-theme .error-404 > .page-header { padding: 28px 18px !important; }
	.wd-theme .error-404 .page-title { font-size: 19px !important; }
	.wd-theme .error-404 .page-title span { font-size: 52px; }
}

/* Footer contact column: long emails wrap instead of being cut */
.wd-footer__touch li { min-width: 0; }
.wd-footer__touch a, .wd-footer__touch span { overflow-wrap: anywhere; min-width: 0; }
@media (min-width: 1281px) and (max-width: 1500px) {
	.wd-footer__grid { grid-template-columns: 1.3fr repeat(5, 1fr) 1.6fr; gap: 20px; }
}
.wd-theme .error-404 h2.page-title span { display: block !important; font-size: 64px !important; font-weight: 800 !important; line-height: 1 !important; color: var(--wd-red) !important; margin-bottom: 10px !important; }
.wd-theme .error-404 .search-form input[type="search"] { height: 46px !important; min-height: 0 !important; padding: 0 14px !important; background: #fff !important; border: 1.5px solid #d5d7de !important; border-right: 0 !important; border-radius: 6px 0 0 6px !important; }
.wd-theme .error-404 .search-form .search-submit { height: 46px !important; width: 52px !important; padding: 0 !important; border-radius: 0 6px 6px 0 !important; font-size: 0 !important; background: var(--wd-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.wd-theme .error-404 .search-form .search-submit:hover { background-color: var(--wd-red-dark) !important; }
@media (max-width: 767px) { .wd-theme .error-404 h2.page-title span { font-size: 52px !important; } }

/* ============ Block-editor content (pages converted from WPBakery) ============ */
.wd-theme .entry-content .wp-block-details { border: 1px solid var(--wd-line); border-radius: 8px; margin: 0 0 12px; background: #fff; overflow: hidden; }
.wd-theme .entry-content .wp-block-details > summary { position: relative; cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font: 700 15.5px/1.4 var(--wd-font); color: var(--wd-ink); background: var(--wd-soft); }
.wd-theme .entry-content .wp-block-details > summary::-webkit-details-marker { display: none; }
.wd-theme .entry-content .wp-block-details > summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--wd-line); color: var(--wd-red); font: 600 18px/22px var(--wd-font); text-align: center; }
.wd-theme .entry-content .wp-block-details[open] > summary { color: var(--wd-red); border-bottom: 1px solid var(--wd-line); }
.wd-theme .entry-content .wp-block-details[open] > summary::after { content: "\2212"; }
.wd-theme .entry-content .wp-block-details > :not(summary) { padding-left: 20px; padding-right: 20px; }
.wd-theme .entry-content .wp-block-details > :not(summary):first-of-type { padding-top: 14px; }
.wd-theme .entry-content .wp-block-details > :last-child { padding-bottom: 14px; }
.wd-theme .entry-content .wp-block-details ul { padding-left: 20px; margin: 8px 0 14px; }
.wd-theme .entry-content .wp-block-details strong { color: var(--wd-ink); display: inline-block; margin-top: 6px; }
.wd-theme .wd-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--wd-line); line-height: 0; }
.wd-theme .wd-map iframe { width: 100% !important; height: 380px; border: 0; }
.wd-theme .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--wd-line); margin: 28px 0; }
.wd-theme .entry-content .wp-block-columns { gap: 32px; }
/* stray <br> left over from the old WPBakery text */
.wd-theme .entry-content .wp-block-details ul > br, .wd-theme .entry-content .wp-block-details ol > br, .wd-theme .entry-content .wp-block-details p > br:last-child { display: none; }
.wd-theme .entry-content .wp-block-details li { margin: 0 0 6px; }
.wd-theme .entry-content .wp-block-details p { margin: 0 0 8px; }
@media (max-width: 767px) {
	.wd-theme .wd-map iframe { height: 260px; }
	.wd-theme .entry-content .wp-block-details > summary { padding: 14px 48px 14px 16px; font-size: 14.5px; }
}

/* ============ Category bar: categories come from admin; fit by width + "View all" ============ */
.wd-theme .wd-catbar__list { overflow: hidden; -webkit-mask-image: none !important; mask-image: none !important; padding-right: 0; }
.wd-theme .wd-catbar__list li[hidden] { display: none !important; }
.wd-theme .wd-catbar__list a { max-width: 9em; white-space: normal; text-wrap: balance; }
.wd-theme .wd-catbar__more a { display: inline-flex; align-items: center; gap: 2px; max-width: none; white-space: nowrap; color: var(--wd-red) !important; font-weight: 600; }
.wd-theme .wd-catbar__more .wd-ico { width: 14px; height: 14px; transform: rotate(-90deg); }
html { scroll-behavior: smooth; }
#wd-categories { scroll-margin-top: 16px; }
@media (max-width: 767px) {
	.wd-theme .wd-catbar__list { justify-content: flex-start; gap: 2px; }
}


/* ============ Category tiles: wider cards, columns adapt to screen width ============ */
.wd-theme .wd-tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 12px; }
.wd-theme .wd-tile { padding: 12px 10px 14px; }
.wd-theme .wd-tile__img { aspect-ratio: auto; height: 96px; }
.wd-theme .wd-tile--all .wd-tile__img { height: 96px; }
.wd-theme .wd-tile b { font-size: 13px; line-height: 1.3; }
.wd-theme .wd-tile small { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
	.wd-theme .wd-tiles { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important; gap: 8px; }
	.wd-theme .wd-tile { padding: 8px 6px 10px; }
	.wd-theme .wd-tile__img, .wd-theme .wd-tile--all .wd-tile__img { height: 72px; }
	.wd-theme .wd-tile b { font-size: 12px; }
	.wd-theme .wd-tile small { font-size: 10.5px; }
}
