/*
 * CEREBRO site sections (homepage blocks + footer) - same palette as the product page and cards.
 */
.cb-sec,
.cb-footer {
	--s-ink: var(--cb-ink, #010101);
	--s-text: #1f1f1f;
	--s-muted: var(--cb-muted, #5c5c5c);
	--s-link: var(--cb-link, #1c7bc4);
	--s-link-hover: #155f98;
	--s-line: var(--cb-line, #e6e6e6);
	--s-soft: #f5f5f5;
	--s-hover: var(--cb-hover, #fafafa);
	--s-btn: #3d3d3d;
	--s-btn-hover: #262626;
	--s-font: var(--cb-font, Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif);

	font-family: var(--s-font);
	color: var(--s-text);
	-webkit-font-smoothing: antialiased;
}

.cb-sec *,
.cb-footer * {
	box-sizing: border-box;
}

.cb-sec :where(h2, h3, p, ul),
.cb-footer :where(h2, p, ul) {
	margin: 0;
}

.cb-sec .cb-ico,
.cb-footer .cb-ico {
	flex: none;
	width: 14px;
	height: 14px;
}

/* -------------------------------------------------------------- Sections */
.cb-sec {
	margin: 64px 0;
}

.cb-sec:first-child {
	margin-top: 24px;
}

.cb-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.cb-sec .cb-sec__title {
	font-family: var(--s-font);
	font-size: 28px;
	font-weight: 800;
	line-height: 34px;
	letter-spacing: -.015em;
	color: var(--s-ink);
	text-transform: none;
}

.cb-sec__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cb-sec .cb-sec__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-right: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--s-link);
	text-decoration: none;
	white-space: nowrap;
}

.cb-sec .cb-sec__more:hover {
	color: var(--s-link-hover);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cb-sec button.cb-round {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	padding: 0;
	color: var(--s-ink);
	background: #fff;
	border: 1px solid #d6d6d6;
	border-radius: 50%;
	box-shadow: none;
	transition: border-color .15s ease, opacity .15s ease;
}

.cb-sec button.cb-round:hover {
	border-color: var(--s-ink);
}

.cb-sec button.cb-round:disabled {
	opacity: .35;
	cursor: default;
}

/* --------------------------------------------------------- Category grid */
.cb-catgrid__list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding: 0;
	overflow: hidden;
	list-style: none;
	border-top: 1px solid var(--s-line);
	border-left: 1px solid var(--s-line);
	border-radius: 8px;
}

.cb-catgrid__list li {
	margin: 0;
	border-right: 1px solid var(--s-line);
	border-bottom: 1px solid var(--s-line);
}

.cb-sec .cb-catgrid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 22px 16px 20px;
	color: var(--s-ink);
	text-align: center;
	text-decoration: none;
	background: #fff;
	transition: background-color .15s ease;
}

.cb-sec .cb-catgrid__item:hover {
	background: var(--s-hover);
}

.cb-catgrid__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 96px;
}

.cb-catgrid__img img {
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .2s ease;
}

.cb-catgrid__item:hover .cb-catgrid__img img {
	transform: scale(1.04);
}

.cb-catgrid__name {
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
}

/* ------------------------------------------------------- Featured tabs */
.cb-feat {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 64px;
	align-items: center;
}

.cb-feat__label {
	margin-bottom: 18px !important;
	font-size: 14px;
	font-weight: 700;
	color: var(--s-ink);
}

.cb-feat__tabs {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 28px;
}

.cb-sec button.cb-feat__tab {
	min-height: 0;
	padding: 0 0 4px;
	font-family: var(--s-font);
	font-size: 34px;
	font-weight: 800;
	line-height: 42px;
	letter-spacing: -.02em;
	color: #b8b8b8;
	text-align: left;
	text-transform: none;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	box-shadow: none;
	transition: color .15s ease;
}

.cb-sec button.cb-feat__tab:hover {
	color: #8a8a8a;
}

.cb-sec button.cb-feat__tab[aria-selected="true"] {
	color: var(--s-ink);
	border-bottom-color: var(--s-ink);
}

.cb-feat__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px !important;
	padding: 0;
	list-style: none;
}

.cb-feat__thumbs li {
	margin: 0;
}

.cb-feat__thumbs a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--s-line);
	border-radius: 8px;
	transition: border-color .15s ease;
}

.cb-feat__thumbs a:hover {
	border-color: var(--s-ink);
}

.cb-feat__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cb-feat__desc {
	max-width: 540px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--s-muted);
}

.cb-feat__desc p {
	margin: 0;
}

.cb-sec .cb-btn-dark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--s-btn);
	border-radius: 8px;
	transition: background-color .15s ease;
}

.cb-sec .cb-btn-dark:hover {
	color: #fff;
	background: var(--s-btn-hover);
}

.cb-feat__media {
	display: grid;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: var(--s-soft);
	border-radius: 12px;
}

.cb-feat__img {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity .3s ease;
}

.cb-feat__img.is-active {
	opacity: 1;
}

.cb-feat__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --------------------------------------------------------- Product rows */
.cb-prow__track {
	display: grid;
	grid-auto-columns: minmax(200px, calc((100% - 4 * 12px) / 5));
	grid-auto-flow: column;
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cb-prow__track::-webkit-scrollbar {
	display: none;
}

.cb-prow__item {
	min-width: 0;
	scroll-snap-align: start;
}

.cb-prow__item .cb-card {
	border-color: var(--s-line);
	border-radius: 8px;
}

/* ------------------------------------------------- Hero: stories + deal */
.cb-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: 0;
}

.cb-hero--wide {
	grid-template-columns: minmax(0, 1fr);
}

/* Without a deal the stories span the row: keep them banner-height */
.cb-hero--wide .cb-stories {
	padding-right: 0;
}

.cb-hero--wide .cb-story__img {
	aspect-ratio: 3 / 1;
}

.cb-sec .cb-hero__title {
	margin-bottom: 16px;
	font-family: var(--s-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
	color: var(--s-ink);
	text-transform: none;
}

.cb-stories {
	min-width: 0;
	padding-right: 32px;
}

.cb-hero:not(.cb-hero--wide) .cb-stories {
	border-right: 1px solid var(--s-line);
}

.cb-stories__track {
	display: grid;
}

.cb-sec .cb-story {
	display: flex;
	flex-direction: column;
	grid-area: 1 / 1;
	color: var(--s-ink);
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility 0s linear .45s;
}

.cb-sec .cb-story.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .45s ease;
}

.cb-story__img {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 18px;
	background: var(--s-soft);
	border-radius: 12px;
}

.cb-story__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.cb-story:hover .cb-story__img img {
	transform: scale(1.02);
}

.cb-story__label {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--s-link);
}

.cb-story__title {
	font-size: 26px;
	font-weight: 500;
	line-height: 34px;
	letter-spacing: -.01em;
}

.cb-story:hover .cb-story__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.cb-stories__nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
}

.cb-stories__dots {
	display: flex;
	gap: 6px;
	margin-right: auto;
}

.cb-sec button.cb-dot {
	width: 24px;
	height: 4px;
	min-height: 0;
	padding: 0;
	background: #d6d6d6;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	transition: background-color .2s ease, width .2s ease;
}

.cb-sec button.cb-dot.is-active {
	width: 40px;
	background: var(--s-ink);
}

.cb-stories__toggle .cb-ico-play,
.cb-stories.is-paused .cb-stories__toggle .cb-ico-pause {
	display: none;
}

.cb-stories.is-paused .cb-stories__toggle .cb-ico-play {
	display: inline-flex;
}

.cb-deal {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-left: 32px;
}

.cb-deal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.cb-deal__date {
	padding: 2px 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	color: var(--s-ink);
	white-space: nowrap;
	border: 1px solid var(--s-line);
	border-radius: 6px;
}

.cb-sec .cb-deal__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	max-height: 320px;
	margin-bottom: 14px;
}

.cb-deal__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.cb-deal__stock {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 8px;
	font-size: 13px;
	line-height: 18px;
}

.cb-deal__badge {
	padding: 1px 6px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--cb-sale, #d8232a);
	border-radius: 3px;
}

.cb-deal__left {
	font-weight: 600;
	color: var(--s-ink);
}

.cb-deal__bar {
	flex: 1 1 100%;
	height: 4px;
	overflow: hidden;
	background: #ececec;
	border-radius: 2px;
}

.cb-deal__bar span {
	display: block;
	height: 100%;
	background: var(--cb-sale, #d8232a);
}

.cb-sec .cb-deal__cat {
	font-size: 14px;
	color: var(--s-link);
	text-decoration: none;
}

.cb-sec .cb-deal__cat:hover {
	text-decoration: underline;
}

.cb-sec .cb-deal__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 2px;
	font-size: 14px;
	color: var(--s-muted);
}

.cb-deal__price strong {
	font-size: 20px;
	font-weight: 800;
	color: var(--cb-sale, #d8232a);
}

.cb-sec .cb-deal__name {
	font-size: 17px;
	line-height: 22px;
	color: var(--s-ink);
	text-decoration: none;
}

.cb-sec .cb-deal__name:hover {
	text-decoration: underline;
}

.cb-deal__name strong {
	font-weight: 800;
}

.cb-sec .cb-deal__sub {
	margin-top: 2px;
	font-size: 14px;
	color: var(--s-muted);
}

.cb-sec .cb-deal__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--s-link);
	text-decoration: none;
}

.cb-sec .cb-deal__all:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------- Magazine */
.cb-mag__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.cb-mag__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cb-mag__label {
	margin-bottom: 10px !important;
	font-size: 15px;
	font-weight: 700;
	color: var(--s-ink);
}

.cb-sec .cb-mag__img {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 14px;
	background: var(--s-soft);
	border-radius: 12px;
}

.cb-mag__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.cb-mag__item:hover .cb-mag__img img {
	transform: scale(1.03);
}

.cb-sec .cb-mag__title {
	font-family: var(--s-font);
	font-size: 20px;
	font-weight: 500;
	line-height: 27px;
	text-transform: none;
}

.cb-sec .cb-mag__title a {
	color: var(--s-ink);
	text-decoration: none;
}

.cb-sec .cb-mag__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cb-mag__meta {
	margin-top: 6px !important;
	font-size: 13px;
	color: var(--s-muted);
}

/* ------------------------------------------------------------- Homepage */
.home .wd-page-title,
.home .page-title.page-title-default {
	display: none;
}

/* ----------------------------------------------------------------- Footer */
.cb-has-footer .wd-footer.footer-container {
	display: none;
}

.cb-footer {
	margin-top: 80px;
	background: var(--s-soft);
	border-top: 1px solid var(--s-line);
}

.cb-footer__inner {
	max-width: 1540px;
	margin: 0 auto;
	padding: 56px 15px 28px;
}

.cb-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 40px;
}

.cb-footer .cb-footer__logo {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--s-ink);
	text-decoration: none;
	text-transform: uppercase;
}

.cb-footer__brand p {
	max-width: 300px;
	font-size: 14px;
	line-height: 22px;
	color: var(--s-muted);
}

.cb-footer .cb-footer__title {
	margin-bottom: 14px;
	font-family: var(--s-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	color: var(--s-ink);
	text-transform: none;
}

.cb-footer .cb-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-footer .cb-footer__links li {
	margin: 0;
}

.cb-footer .cb-footer__links a {
	font-size: 14px;
	line-height: 20px;
	color: var(--s-text);
	text-decoration: none;
}

.cb-footer .cb-footer__links a:hover {
	color: var(--s-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cb-footer__pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 20px 0;
	border-top: 1px solid var(--s-line);
}

/* Partner badges (Árukereső backlink) - the partner's own markup, only positioned here. */
.cb-footer__badges {
	display: flex;
	padding: 0 0 20px;
}

.cb-footer__badges > div {
	margin: 0 !important;
}

.cb-footer__pay-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--s-ink);
}

.cb-footer__pay ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-footer__pay li {
	margin: 0;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	color: var(--s-muted);
	background: #fff;
	border: 1px solid var(--s-line);
	border-radius: 6px;
}

.cb-footer .cb-footer__legal {
	max-width: 980px;
	padding: 20px 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--s-muted);
	border-top: 1px solid var(--s-line);
}

.cb-footer__bottom {
	padding-top: 20px;
	font-size: 13px;
	color: var(--s-muted);
	border-top: 1px solid var(--s-line);
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1199px) {
	.cb-catgrid__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cb-feat {
		gap: 40px;
	}

	.cb-sec button.cb-feat__tab {
		font-size: 28px;
		line-height: 36px;
	}

	.cb-prow__track {
		grid-auto-columns: minmax(200px, calc((100% - 3 * 12px) / 4));
	}
}

@media (max-width: 1023px) {
	.cb-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.cb-stories,
	.cb-deal {
		padding: 0;
	}

	.cb-hero:not(.cb-hero--wide) .cb-stories {
		border-right: 0;
	}

	.cb-deal {
		display: grid;
		grid-template-columns: 160px minmax(0, 1fr);
		column-gap: 20px;
		align-content: start;
	}

	.cb-deal > * {
		grid-column: 2;
	}

	.cb-deal__head {
		grid-column: 1 / -1;
	}

	.cb-sec .cb-deal__media {
		grid-column: 1;
		grid-row: 2 / span 7;
		max-height: 160px;
	}

	.cb-mag__grid {
		gap: 20px;
	}

	.cb-feat {
		grid-template-columns: minmax(0, 1fr);
	}

	.cb-feat__media {
		order: -1;
	}

	.cb-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cb-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.cb-sec {
		margin: 44px 0;
	}

	.cb-sec .cb-sec__title {
		flex: 1 1 100%;
		font-size: 22px;
		line-height: 28px;
	}

	.cb-sec .cb-sec__more {
		font-size: 13px;
	}

	.cb-sec__tools .cb-round {
		display: none !important;
	}

	.cb-catgrid__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cb-sec .cb-catgrid__item {
		gap: 8px;
		padding: 14px 6px 12px;
	}

	.cb-catgrid__img {
		height: 56px;
	}

	.cb-catgrid__name {
		font-size: 12px;
		line-height: 16px;
	}

	.cb-feat__tabs {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 18px;
	}

	.cb-sec button.cb-feat__tab {
		font-size: 22px;
		line-height: 30px;
	}

	.cb-prow__track {
		grid-auto-columns: 62%;
	}

	.cb-story__title {
		font-size: 20px;
		line-height: 27px;
	}

	.cb-deal {
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 16px;
	}

	.cb-sec .cb-deal__media {
		max-height: 112px;
	}

	.cb-mag__grid {
		grid-template-columns: none;
		grid-auto-columns: 78%;
		grid-auto-flow: column;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.cb-mag__item {
		scroll-snap-align: start;
	}

	.cb-sec .cb-mag__title {
		font-size: 17px;
		line-height: 23px;
	}

	.cb-footer__inner {
		padding-top: 40px;
	}

	.cb-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cb-sec *,
	.cb-footer * {
		transition: none !important;
	}
}

/* ===================================================================
 * Header - WoodMart header builder layout, restyled in the same language
 * (white, hairline dividers, charcoal primary button, blue accents).
 * =================================================================== */

/* WoodMart's purple accent becomes the shop's link blue everywhere (counters, badges, active states). */
html:root {
	--wd-primary-color: #1c7bc4;
}

.whb-header {
	--wd-header-el-font: var(--cb-font, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif);
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--h-ink: var(--cb-ink, #010101);
	--h-muted: var(--cb-muted, #5c5c5c);
	--h-line: var(--cb-line, #e6e6e6);
	--h-soft: #f5f5f5;
	--h-link: var(--cb-link, #1c7bc4);
	--h-btn: #3d3d3d;
	--h-btn-hover: #262626;
}

/* Rows */
.whb-header .whb-top-bar {
	background-color: var(--h-soft);
	border-color: var(--h-line);
}

.whb-header .whb-general-header,
.whb-header .whb-header-bottom {
	background-color: #fff;
	box-shadow: inset 0 -1px 0 var(--h-line);
}

.whb-sticked .whb-general-header,
.whb-sticked .whb-header-bottom {
	box-shadow: inset 0 -1px 0 var(--h-line), 0 4px 16px rgba(0, 0, 0, .05);
}

/* Top bar: small, quiet */
.whb-top-bar .wd-header-text,
.whb-top-bar .wd-header-text p {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .02em;
	color: var(--h-muted);
}

.whb-top-bar .wd-nav > li > a {
	font-size: 12px;
	font-weight: 500;
	color: var(--h-muted);
}

.whb-top-bar .wd-nav > li > a:hover {
	color: var(--h-ink);
}

/* "Categories" menu button: charcoal, like Add to cart */
.whb-header-bottom .wd-header-secondary-nav .wd-nav-secondary > li > a {
	height: 42px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background-color: var(--h-btn);
	border-radius: 8px;
	transition: background-color .15s ease;
}

.whb-header-bottom .wd-header-secondary-nav .wd-nav-secondary > li > a:hover,
.whb-header-bottom .wd-header-secondary-nav .wd-nav-secondary > li:hover > a {
	color: #fff;
	background-color: var(--h-btn-hover);
}

/* Search: plain field with the magnifier on the left, no coloured button */
.whb-header .wd-header-search-form .searchform input[type="text"] {
	height: 44px;
	padding-left: 44px;
	padding-right: 16px;
	font-family: var(--cb-font, inherit);
	font-size: 15px;
	color: var(--h-ink);
	background-color: #fff;
	border: 1px solid #c4c4c4;
	border-radius: 8px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.whb-header .wd-header-search-form .searchform input[type="text"]::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

.whb-header .wd-header-search-form .searchform input[type="text"]:hover {
	border-color: #8a8a8a;
}

.whb-header .wd-header-search-form .searchform input[type="text"]:focus {
	border-color: var(--h-ink);
	box-shadow: 0 0 0 3px rgba(28, 123, 196, .18);
}

.whb-header .wd-header-search-form .searchform .searchsubmit {
	inset-inline-start: 3px;
	inset-inline-end: auto;
	width: 40px;
	height: 38px;
	color: var(--h-ink);
	background: transparent;
	border-radius: 6px;
}

.whb-header .wd-header-search-form .searchform .searchsubmit:hover {
	color: var(--h-link);
	background: transparent;
}

.whb-header .wd-header-search-form .searchform .searchsubmit::after {
	font-size: 18px;
}

/* Promo button ("Discounts"): outlined, secondary */
.whb-header .wd-button-wrapper .btn {
	height: 42px;
	min-height: 0;
	padding: 0 16px;
	font-family: var(--cb-font, inherit);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	color: var(--h-ink);
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	box-shadow: none;
}

.whb-header .wd-button-wrapper .btn:hover {
	color: var(--h-ink);
	background: var(--h-soft);
	border-color: var(--h-ink);
}

/* Account, compare, wishlist, cart: plain monochrome icons with a soft hover */
.whb-header .wd-tools-element .wd-tools-icon {
	color: var(--h-ink);
	background: transparent;
	border-radius: 8px;
	transition: background-color .15s ease;
}

.whb-header .wd-tools-element > a:hover .wd-tools-icon {
	color: var(--h-ink);
	background: var(--h-soft);
}

.whb-header .wd-header-cart.wd-design-7 .wd-tools-icon {
	color: var(--h-ink);
	background: transparent;
}

.whb-header .wd-tools-element .wd-tools-count {
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	color: #fff;
	background: var(--h-link);
	border-radius: 9px;
	box-shadow: 0 0 0 2px #fff;
}

/* Mobile header row */
.whb-general-header .wd-tools-element .wd-tools-icon {
	color: var(--h-ink);
}

/* Header builder writes per-element colours with id-class selectors; outrank them for the tool icons and counters. */
html body .whb-header .whb-row .wd-tools-element > a > .wd-tools-icon,
html body .whb-header .whb-row .wd-tools-element .wd-tools-inner {
	color: var(--h-ink);
	background-color: transparent;
}

html body .whb-header .whb-row .wd-tools-element > a:hover > .wd-tools-icon {
	background-color: var(--h-soft);
}

html body .whb-header .whb-row .wd-tools-element .wd-tools-count {
	color: #fff;
	background-color: var(--h-link);
}

/* ===================================================================
 * Categories mega menu (WoodMart "aside" dropdown) - white panel, hairline
 * dividers, soft grey active row, ink headings; blue only on hover.
 * =================================================================== */
html body .whb-header .wd-dropdown-menu.wd-design-aside {
	--m-ink: var(--cb-ink, #010101);
	--m-text: #3d3d3d;
	--m-muted: var(--cb-muted, #5c5c5c);
	--m-line: var(--cb-line, #e6e6e6);
	--m-soft: #f5f5f5;
	--m-link: var(--cb-link, #1c7bc4);
	--m-font: var(--cb-font, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp {
	overflow: hidden;
	background-color: #fff;
	border: 1px solid var(--m-line);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

/* Left column: category list */
html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu {
	padding: 8px 0;
	background-color: #fff;
	border-right: 1px solid var(--m-line);
	border-radius: 0;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li {
	margin: 0 12px;
	border-bottom: 1px solid var(--m-line);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li:last-child {
	border-bottom: 0;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li > a {
	gap: 12px;
	margin: 3px 0;
	padding: 10px 10px;
	font-family: var(--m-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
	color: var(--m-ink);
	text-transform: none;
	background-color: transparent;
	border-radius: 8px;
	transition: background-color .15s ease;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li:hover > a,
html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li.wd-opened > a {
	font-weight: 700;
	color: var(--m-ink);
	background-color: var(--m-soft);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li.menu-item-has-children > a::after {
	color: var(--m-muted);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li > a .wd-nav-img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

/* Right panel: Elementor menu lists */
html body .whb-header .wd-dropdown-menu.wd-design-aside .mega-menu-list > li > a {
	padding: 6px 0;
	font-family: var(--m-font);
	font-size: 16px;
	font-weight: 700;
	color: var(--m-ink);
	text-transform: none;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .mega-menu-list > li > a:hover {
	color: var(--m-link);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .mega-menu-list .sub-sub-menu > li > a {
	padding: 5px 0;
	font-family: var(--m-font);
	font-size: 14px;
	font-weight: 400;
	color: var(--m-text);
	text-transform: none;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .mega-menu-list .sub-sub-menu > li > a:hover {
	color: var(--m-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Promo card inside the panel */
html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-dropdown .elementor-widget-wd_banner,
html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-dropdown .e-con.e-child:last-child > .e-con-inner,
html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-dropdown [class*="promo"] {
	border-radius: 12px;
}

/* Lighter page dim behind open header menus */
.wd-close-side.wd-location-header.wd-close-side-opened {
	background-color: rgba(0, 0, 0, .35);
}

/* Product cards: thumbnails keep their own proportions now, so fit them into the square frame */
.cb-card .cb-card__media {
	overflow: hidden;
}

.cb-card .cb-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

/* ---------------------------------------------------------- Legal pages */
.cb-legal {
	max-width: 760px;
	margin: 8px auto 64px;
	font-size: 15px;
	line-height: 1.65;
	color: #3d3d3d;
}

.cb-legal .cb-legal__title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}

.cb-legal h2,
.cb-legal h3 {
	margin: 36px 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #000;
}

.cb-legal h3 {
	margin-top: 24px;
	font-size: 17px;
}

.cb-legal h2 strong,
.cb-legal h3 strong {
	font-weight: inherit;
}

.cb-legal p,
.cb-legal ul,
.cb-legal ol {
	margin: 0 0 14px;
}

.cb-legal ul,
.cb-legal ol {
	padding-left: 22px;
}

.cb-legal li {
	margin-bottom: 6px;
}

.cb-legal a {
	color: #1c7bc4;
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.cb-legal .cb-legal__title { font-size: 26px; }
	.cb-legal h2 { font-size: 18px; }
}

/* Categories menu with the shop's own categories: a compact list, subcategories fly out to the right
   (the demo layout reserved a full-width panel for promo blocks). */
html body .whb-header .wd-dropdown-menu.wd-design-aside {
	width: 300px !important;
	min-width: 0 !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp {
	width: 300px !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
	border-right: 0 !important;
	border-radius: 12px !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li {
	position: relative;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown {
	position: absolute !important;
	inset: -9px auto auto calc(100% + 13px) !important;
	width: 260px !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 8px 0 !important;
	overflow: visible !important;
	background: #fff !important;
	border: 1px solid var(--m-line);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown .sub-sub-menu {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	columns: auto !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown .sub-sub-menu li {
	display: block !important;
	width: auto !important;
	margin: 0 8px !important;
	padding: 0 !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown .sub-sub-menu a {
	display: block !important;
	padding: 9px 12px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 20px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--m-text) !important;
	border-radius: 8px;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown .sub-sub-menu a:hover {
	color: var(--m-ink) !important;
	background: var(--m-soft) !important;
}

html body .whb-header .wd-dropdown-menu.wd-design-aside .wd-sub-menu > li > .wd-dropdown .sub-sub-menu .sub-sub-menu {
	padding-left: 12px !important;
}

.cb-legal table {
	width: 100%;
	margin: 0 0 14px;
	border-collapse: collapse;
}

.cb-legal :is(th, td) {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e6e6e6;
}

.cb-legal thead th {
	font-weight: 700;
	color: #000;
	border-bottom-color: #000;
}

.cb-legal td:last-child,
.cb-legal th:last-child {
	text-align: right;
	white-space: nowrap;
}

@media print {
	.cb-legal { max-width: none; margin: 0; }
}
