/**
 * Merkstijl Zenartikelen.
 *
 * Zenartikelen is a copy of the Textielhuis shop with its own colours, texts and images.
 * Colours come from Site-instellingen > Huisstijl as tokens. The only arrangement that
 * differs from Textielhuis is the category tiles: three equal tiles instead of five.
 * Loaded last, only when Merkstijl = Zenartikelen; every rule is scoped to
 * body.th-brand-zenartikelen.
 */

/* ---- Logo: staand logo, op de logo-hoogte van de Textielhuis-header past het niet ---- */
.th-brand-zenartikelen .th-header__logo img { height: 64px; }

/* ---- Laadscherm: het staande logo wordt bij de basis-cap van 56px hoog maar ~45px breed ---- */
.th-brand-zenartikelen .sellabees-preloader .sellabees-preloader__logo { max-height: 120px; }
@media (max-width: 600px) {
	.th-brand-zenartikelen .sellabees-preloader .sellabees-preloader__logo { max-height: 96px; }
}

/* ---- Accentwoord in koppen: de kop is één kleur ---- */
.th-brand-zenartikelen .th-section__title .th-accent { color: inherit; }

/* ---- Categorietegels: drie gelijke tegels in plaats van het raster van vijf ---- */
.th-brand-zenartikelen .th-tiles { grid-template-columns: repeat(3, 1fr); }
.th-brand-zenartikelen .th-tiles .th-tile:nth-child(n) { grid-column: auto; }
.th-brand-zenartikelen .th-tile { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; }
@media (max-width: 981px) {
	.th-brand-zenartikelen .th-tiles { grid-template-columns: 1fr; grid-auto-rows: 300px; }
}

/* ---- Homepage: meer lucht rond "Uw vertrouwde adres" op tablet en mobiel ---- */
@media (max-width: 1024px) {
	.th-brand-zenartikelen .th-about__inner { padding-block: 56px; }
}

/* ---- Nieuwsbrief: kop die over twee regels breekt zonder groot gat ---- */
.th-brand-zenartikelen .th-newsletter__title { line-height: 1.15; }

/* ---- Footer: koptekst wit op olijf ---- */
.th-brand-zenartikelen .th-footer__title { color: #fff; }

/* ---- Kleuren die in de basis vast in goud of crème staan ---- */
.th-brand-zenartikelen .th-mediatext__badge .th-seal { color: var(--th-primary); }
.th-brand-zenartikelen .single-product .th-product-trust__ico,
.th-brand-zenartikelen .sellabees-toast__icon { background: #f5f5f5; }
.th-brand-zenartikelen a.th-contact__badge:hover .th-contact__badge-circle { background: #ececec; }
.th-brand-zenartikelen .th-404__code { background: linear-gradient(180deg, var(--th-primary) 0%, var(--th-primary) 55%, var(--th-primary-deep) 100%); -webkit-background-clip: text; background-clip: text; }
.th-brand-zenartikelen .th-404 { background: #fff; }
.th-brand-zenartikelen .th-404__search:focus-within { box-shadow: 0 6px 22px rgba(120, 136, 56, .18); }
.th-brand-zenartikelen .th-404__cats-list a:hover { border-color: var(--th-primary); background: #f5f5f5; color: var(--th-primary); }
.th-brand-zenartikelen .th-404__cats-label { color: var(--th-primary); }
.th-brand-zenartikelen .sellabees-filter__slider-range { background: var(--th-primary); }
/* Checkout: "Gratis verzending" in het besteloverzicht in de merkkleur i.p.v. goud. */
.th-brand-zenartikelen.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td.is-free-shipping,
.th-brand-zenartikelen.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td:has(input[value*="free_shipping"]),
.th-brand-zenartikelen.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td:has(input[value*="free_shipping"]) label { color: var(--th-primary); }
.th-brand-zenartikelen .sellabees-filter__slider-input::-webkit-slider-thumb { border-color: var(--th-primary); }
.th-brand-zenartikelen .sellabees-filter__slider-input::-moz-range-thumb { border-color: var(--th-primary); }

/* ---- Mega-menu kolommen: rijlijn los van de kolomlijnen ----
   De basis tekent per cel vanaf rij 2 een border-top naast de border-left, waardoor
   beide lijnen in de hoek samenkomen. Hier wordt de rijlijn een losse lijn die 48px
   voor de kolomlijn stopt. */
@media (min-width: 1440px) {
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w1 .th-nav__fsection:nth-child(n+2) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w1 .th-nav__fsection:nth-child(n+2)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w1 .th-nav__fsection:nth-child(1n+1):nth-child(n+2)::before { left: 0; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w2 .th-nav__fsection:nth-child(n+3) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w2 .th-nav__fsection:nth-child(n+3)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w2 .th-nav__fsection:nth-child(2n+1):nth-child(n+3)::before { left: 0; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w3 .th-nav__fsection:nth-child(n+4) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w3 .th-nav__fsection:nth-child(n+4)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w3 .th-nav__fsection:nth-child(3n+1):nth-child(n+4)::before { left: 0; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w4 .th-nav__fsection:nth-child(n+5) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w4 .th-nav__fsection:nth-child(n+5)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--w4 .th-nav__fsection:nth-child(4n+1):nth-child(n+5)::before { left: 0; }
}
@media (max-width: 1439px) {
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n1 .th-nav__fsection:nth-child(n+2) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n1 .th-nav__fsection:nth-child(n+2)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n1 .th-nav__fsection:nth-child(1n+1):nth-child(n+2)::before { left: 0; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n2 .th-nav__fsection:nth-child(n+3) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n2 .th-nav__fsection:nth-child(n+3)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n2 .th-nav__fsection:nth-child(2n+1):nth-child(n+3)::before { left: 0; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n3 .th-nav__fsection:nth-child(n+4) { position: relative; border-top-color: transparent; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n3 .th-nav__fsection:nth-child(n+4)::before { content: ""; position: absolute; top: -1px; left: 48px; right: 48px; height: 1px; background: #ececec; }
	.th-brand-zenartikelen .th-nav__filters--columns.th-nav__filters--n3 .th-nav__fsection:nth-child(3n+1):nth-child(n+4)::before { left: 0; }
}
