/* ==========================================================================
   Eurotrading – original eurotrading.bg colours
   Red #e41d22 for actions, dark red on hover, #333 text, light greys – as on the old site.
   ========================================================================== */

:root {
	--paper: #ffffff;
	--stone: #f4f4f4;   /* light grey for quiet sections */
	--birch: #ececec;   /* deeper grey: hero floor, "wood" sections */
	--oak: #333333;
	--accent: #e41d22;  /* eurotrading red – actions */
	--accent-d: #be0000;
	--accent-l: #fdecec;
	--ink: #333333;
	--muted: #666666;
	--line: #dddddd;
	--ok: #5a7d1c;      /* old in-stock green, darkened to stay legible */

	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Onest", "Segoe UI", Roboto, Arial, sans-serif;

	--r: 2px;
	--container: 1280px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; color: #fff; }

/* Small decor code shown with samples */
.chip-code { display: inline-block; font: 600 .75rem/1 var(--sans); letter-spacing: .03em; color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, a.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.5em; border: 1px solid transparent; border-radius: var(--r); cursor: pointer; text-decoration: none;
	font: 600 1rem/1.1 var(--sans); background: var(--accent); color: #fff;
}
.btn:hover, .button:hover { background: var(--accent-d); color: #fff; }
.btn--green { background: var(--accent); color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--birch); color: var(--accent-d); }
.btn--lg { padding: 1em 1.8em; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 40px; min-height: var(--header-h); }
.site-logo img { width: 200px; }
.site-nav { flex: 1; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li > a, .site-nav__trigger { white-space: nowrap;
	display: block; padding: 10px 14px; font: 500 1rem/1.2 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.site-nav__list > li > a:hover, .site-nav__trigger:hover { color: var(--accent); }
.site-nav__list > li > a[aria-current], .site-nav__trigger.is-current { color: var(--accent); text-decoration: underline; text-underline-offset: 8px; }
.site-nav__trigger::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.site-nav__trigger[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.site-nav__phones { display: none; }

/* Catalog panel */
.site-nav__catalog { position: static; }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 40px -28px rgb(51 51 51 / .35); padding: 28px max(32px, calc((100vw - var(--container)) / 2 + 32px)) 32px;
	display: none;
}
.mega.is-open { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; list-style: none; margin: 0 0 20px; padding: 0; }
.mega__grid a { display: flex; align-items: center; gap: 14px; padding: 8px; color: var(--ink); text-decoration: none; border-radius: var(--r); }
.mega__grid a:hover { background: var(--stone); }
.mega__grid img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r); }
.mega__all { font-weight: 600; }

.site-header__tools { display: flex; align-items: center; gap: 12px; }
.site-search { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.site-search input[type="search"] { width: 210px; border: 0; background: transparent; padding: .5em .2em; font: inherit; font-size: .95rem; }
.site-search input[type="search"]:focus { outline: none; }
.site-search:focus-within { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.site-search button { border: 0; background: none; color: var(--ink); padding: 4px; cursor: pointer; }
.site-search--inline { max-width: 480px; margin: 24px 0; }
.site-search--inline input[type="search"] { width: 100%; }
.site-header__cta { padding: .6em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--ink); cursor: pointer; }
.nav-toggle .et-icon { width: 26px; height: 26px; }

/* Home banners: managed in wp-admin → Банери --------------------------- */
/* The whole banner is always visible (text is often baked into the image);
   a blurred copy of it fills the sides when its shape differs from the frame. */
.banners { position: relative; overflow: hidden; background: #1d1d1d; touch-action: pan-y; }
.banners__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.banner { position: relative; flex: 0 0 100%; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; filter: blur(28px) brightness(.75); }
.banner__inner { position: relative; display: block; height: clamp(260px, 52vw, 640px); color: #fff; text-decoration: none; }
.banner__img { width: 100%; height: 100%; object-fit: contain; }
.banner--overlay .banner__img { object-fit: cover; }
.banner--overlay .banner__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .62), rgb(0 0 0 / .15) 60%, transparent); }
.banner__text { position: absolute; inset: auto 0 clamp(40px, 7vw, 88px); z-index: 1; padding-inline: max(96px, calc((100% - var(--container)) / 2 + 32px)); }
.banner:not(.banner--overlay) .banner__text { text-align: center; }
.banner__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.08; max-width: 16ch; margin: 0 0 .3em; }
.banner__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 44ch; margin: 0 0 1.4em; color: rgb(255 255 255 / .88); }
.banner__btn { box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
.banners__arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px -8px rgb(0 0 0 / .5); }
.banners__arrow svg { width: 24px; height: 24px; fill: currentColor; }
.banners__arrow:hover { background: #fff; color: var(--accent); }
.banners__arrow--prev { left: 20px; }
.banners__arrow--next { right: 20px; }
.banners__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.banners__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.banners__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .55); box-shadow: 0 0 0 1px rgb(0 0 0 / .2); transition: width .2s; }
.banners__dots button[aria-current="true"]::before { width: 26px; border-radius: 5px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .banners__track { transition: none; } }

/* Sections ----------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--wood { background: var(--birch); }
.section--stone { background: var(--stone); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0; }
.section__lead { flex-basis: 100%; color: var(--muted); margin: 0; max-width: 60ch; }
.section__more { font-weight: 600; }

/* Category mosaic ------------------------------------------------------------ */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; list-style: none; margin: 0; padding: 0; }
.mosaic { grid-auto-flow: dense; }
.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__item a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--stone); color: var(--ink); text-decoration: none; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic__item a:hover img { transform: scale(1.04); }
.mosaic__label { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; padding: 12px 16px; background: var(--paper); max-width: calc(100% - 24px); }
.mosaic__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.mosaic__item:nth-child(1) .mosaic__name { font-size: 1.6rem; }
.mosaic__count { color: var(--muted); font-size: .88rem; }
.mosaic__item a:hover .mosaic__name { color: var(--accent); }

/* How we work ---------------------------------------------------------------- */
.how { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.how__item { border-top: 1px solid rgb(51 51 51 / .25); padding-top: 18px; }
.how__item p { color: #555555; margin: 0; }

/* Offices -------------------------------------------------------------------- */
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.offices__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 24px; background: var(--paper); border-radius: var(--r); }
.offices__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 12px; }
.offices__phone { font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.offices__phone:hover { color: var(--accent); }
.offices__mail { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; text-decoration: none; margin-top: 6px; }
.offices__mail:hover { text-decoration: underline; }
.offices__map { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .95rem; }

/* CTA band ------------------------------------------------------------------- */
.cta-band { background: var(--accent); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta-band__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .25em; }
.cta-band p { margin: 0; color: #ffe1e1; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--birch); color: var(--accent-d); }

/* Footer --------------------------------------------------------------------- */
.site-footer { background: #2b2b2b; color: #c1c1c1; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 48px; }
.site-footer__logo { width: 180px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; overflow-wrap: anywhere; }
.site-footer__office li:last-child { font-size: .85rem; margin-top: 6px; }
.site-footer__office li:last-child a { color: #c1c1c1; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom .menu { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Pages ---------------------------------------------------------------------- */
.page-wrap { padding-block: 56px 96px; }
.page-head { margin-bottom: 32px; }
.page-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.prose { max-width: 70ch; }
.prose img { border-radius: var(--r); margin-block: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.page-404 { max-width: 720px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-card__media img { border-radius: var(--r); }
.post-card__body { padding-top: 14px; }
.post-card__title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }

/* Page hero (contacts, showrooms, about) ----------------------------------- */
.page-hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(48px, 7vw, 88px); }
.page-hero__title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin-bottom: .35em; }
.page-hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin: 0; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Map placeholder → iframe on click */
.map { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 260px; border-radius: var(--r); overflow: hidden;
	background: var(--stone) repeating-linear-gradient(45deg, rgb(0 0 0 / .03) 0 12px, transparent 12px 24px); }
.map__load { font: 600 1rem var(--sans); padding: .75em 1.3em; border: 1px solid var(--accent); border-radius: var(--r); background: var(--paper); color: var(--accent); cursor: pointer; }
.map__load:hover { background: var(--accent); color: #fff; }
.map__note { margin: 0; font-size: .85rem; color: var(--muted); }
.map.is-loaded { display: block; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }

/* Contacts */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding-block: 56px 96px; }
.contact__form { background: var(--stone); padding: 32px; border-radius: var(--r); }
.contact__form h2 { font-size: 1.8rem; margin-bottom: .2em; }
.contact__form > p { color: var(--muted); }
.contact__form .et-form { grid-template-columns: 1fr; }

/* Inquiry page */
.inquiry { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; padding-block: 56px 96px; }
.inquiry__form { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--r); padding: 36px; }
.inquiry__form textarea { min-height: 200px; }
.inquiry__side { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.inquiry__block { background: var(--stone); border-radius: var(--r); padding: 28px; }
.inquiry__block h2 { font-size: 1.5rem; margin-bottom: .5em; }
.inquiry__block p:last-child { margin: 0; }
.inquiry__list { margin: 0 0 1.2em; padding-left: 1.1em; }
.inquiry__list li { margin-bottom: 6px; }
.inquiry__list li::marker { color: var(--accent); }
.inquiry__hours { color: var(--muted); font-size: .95rem; }
.inquiry__phones { margin: 0; }
.inquiry__phones div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.inquiry__phones dt { color: var(--muted); }
.inquiry__phones dd { margin: 0; }
.inquiry__phones a { color: var(--ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inquiry__phones a:hover { color: var(--accent); }
.office-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding-block: 32px; border-top: 1px solid var(--line); }
.office-row:first-child { border-top: 0; padding-top: 0; }
.office-row__city { font-size: 1.7rem; margin-bottom: .4em; }
.office-row address { font-style: normal; margin-bottom: 14px; }
.office-row__contacts { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.office-row__contacts a { color: var(--muted); overflow-wrap: anywhere; }
.office-row__contacts .office-row__phone { color: var(--ink); font-weight: 600; font-size: 1.1rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.office-row__contacts .office-row__phone:hover { color: var(--accent); }
.office-row__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-weight: 600; }

/* Showrooms */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.perks__item { border-top: 2px solid var(--accent); padding-top: 18px; }
.perks__item h2 { font-size: 1.4rem; margin-bottom: .4em; }
.perks__item p { color: var(--muted); margin: 0; }
.showrooms { display: grid; gap: 24px; }
.showroom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); border-radius: var(--r); overflow: hidden; }
.showroom__photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.showroom--flip .showroom__photo { order: 2; }
.showroom__body { padding: clamp(28px, 4vw, 48px); align-self: center; }
.showroom__city { font-size: 2rem; margin-bottom: .4em; }
.showroom__body > p { color: var(--muted); }
.showroom address { font-style: normal; margin-bottom: 8px; }
.showroom__phones { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.showroom__phones a { color: var(--ink); text-decoration: none; }
.showroom__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 20px 0 0; font-weight: 600; }

/* Single showroom */
.office-hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.office-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 48px; }
.office-hero__back { margin-bottom: 1.2em; font-weight: 600; }
.office-hero__photo { width: 100%; border-radius: var(--r); aspect-ratio: 5 / 3; object-fit: cover; }
.office-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: stretch; }
.office-detail h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--muted); margin: 0 0 .4em; letter-spacing: 0; }
.office-detail address { font-style: normal; font-size: 1.1rem; }
.office-detail__gps { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.office-detail__info > p, .office-detail address { margin-bottom: 1.6em; }
.office-detail .map { min-height: 420px; }
.office-detail .map iframe { min-height: 420px; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split__media { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.split__body p { max-width: 60ch; }
.split--text { align-items: start; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.city-links a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.city-links a:hover { border-color: var(--accent); color: var(--accent); }
.callout { background: var(--paper); padding: 32px; border-radius: var(--r); }
.callout h2 { font-size: 1.6rem; }
.callout p { color: var(--muted); }
.callout__note { font-size: .9rem; margin: 10px 0 0; }
.more-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.more-link { display: flex; flex-direction: column; gap: 4px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.more-link:hover { border-color: var(--accent); }
.more-link__title { font-family: var(--serif); font-size: 1.6rem; }
.more-link:hover .more-link__title { color: var(--accent); }
.more-link__text { color: var(--muted); }

/* Forms ---------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
	font: inherit; color: var(--ink); width: 100%; padding: .75em .9em; border: 1px solid #cccccc; border-radius: var(--r); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
label { font-weight: 600; font-size: .92rem; }

/* Shop ------------------------------------------------------------------------ */
.shop-wrap { padding-block: 32px 96px; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumb-sep { margin: 0 8px; color: #c1c1c1; }

.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.shop-sidebar__toggle { display: none; }
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; color: var(--ink); text-decoration: none; font-size: .95rem; border-radius: var(--r); }
.cat-tree a:hover { background: var(--stone); color: var(--accent); }
.cat-tree .is-current > a { background: var(--accent-l); color: var(--accent-d); font-weight: 600; }
.cat-tree__count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; font-weight: 400; }
.cat-tree--sub { margin-left: 12px; }
.cat-tree > li > a { font-weight: 600; }
.cat-tree--sub > li > a { font-weight: 400; }

.woocommerce-products-header__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .3em; }
.term-description { color: var(--muted); max-width: 70ch; }

/* Groups: a row of tabs above the product grid */
.subcats { margin: 4px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.subcats__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.subcat { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.subcat:has(.subcat__img) { padding-left: 4px; }
.subcat__img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.subcat__count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.subcat:hover { border-color: var(--accent); color: var(--accent); }
.subcat.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.subcat.is-current .subcat__count { color: rgb(255 255 255 / .8); }
.shop-main .woocommerce-result-count { float: left; margin: 0; padding-top: .55em; color: var(--muted); font-size: .92rem; }
.shop-main .woocommerce-ordering { float: right; margin: 0 0 28px; }
.woocommerce-ordering select { width: auto; padding: .5em .8em; }
.shop-main ul.products { clear: both; }

/* Product tiles */
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; list-style: none; margin: 0 0 40px; padding: 0; }
.shop-main ul.products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce ul.products li.product-category, ul.products li.product, ul.products li.product-category { display: flex; flex-direction: column; margin: 0; width: auto; float: none; padding: 0; background: none; }
ul.products li a.woocommerce-LoopProduct-link, ul.products li.product-category > a { display: flex; flex-direction: column; flex: 1; color: var(--ink); text-decoration: none; }
.chip-media { position: relative; display: flex; flex-direction: column-reverse; gap: 12px; }
.chip-media img, ul.products li.product-category img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 !important; border-radius: var(--r); background: var(--stone); transition: transform .5s ease; }
.chip-media .chip-code { order: -1; }
ul.products li a:hover .chip-media img { transform: translateY(-4px); }
ul.products li .woocommerce-loop-product__title, ul.products li .woocommerce-loop-category__title { font-family: var(--sans); font-size: .98rem; font-weight: 500; line-height: 1.4; padding: 4px 0 6px; margin: 0; }
ul.products li.product-category .woocommerce-loop-category__title { padding-top: 12px; font-family: var(--serif); font-size: 1.15rem; }
ul.products li a:hover .woocommerce-loop-product__title { color: var(--accent); }
ul.products li.product-category mark.count { background: none; color: var(--muted); font-weight: 400; font-family: var(--sans); font-size: .9rem; }
.woocommerce ul.products li.product .price, ul.products li .price { display: block; margin-top: auto; font-weight: 600; color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
ul.products li .price small { font-weight: 400; color: var(--muted); font-size: .8rem; }
ul.products li .button { display: none; }
.onsale { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r); }

.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.woocommerce-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.woocommerce-pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* Single product -------------------------------------------------------------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; position: relative; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; width: auto !important; float: none !important; margin: 0; position: relative; }
.single-product div.product .summary { grid-column: 2; width: auto !important; float: none !important; margin: 0; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { border-radius: var(--r); background: var(--stone); width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: var(--r); cursor: pointer; opacity: .55; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }

.product-code { font-weight: 600; font-size: .95rem; letter-spacing: .03em; color: var(--oak); margin: 0 0 .5em; }
.product_title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.15; margin-bottom: .5em; }
.et-meta-list { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0 0 22px; padding: 0; color: var(--muted); font-size: .95rem; }
.et-meta-list strong { color: var(--ink); font-weight: 600; }
.et-meta-list a { color: var(--ink); }
.summary .price, .woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 2rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.summary .price small, .et-price-suffix { font-size: .95rem; font-weight: 400; color: var(--muted); }
.et-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; margin-bottom: 24px; }
.et-stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.et-stock--in { color: var(--ok); }
.et-stock--out { color: #9a5a00; }

.et-variants { margin: 0 0 28px; }
.et-variants__label { font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.et-variants ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.et-variants a, .et-variants span { display: flex; flex-direction: column; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.et-variants a:hover { border-color: var(--accent); }
.et-variants .is-active { border-color: var(--accent); background: var(--accent-l); }
.et-variants small { color: var(--muted); }

.et-inquiry { background: var(--stone); border-radius: var(--r); padding: 28px; margin-top: 8px; }
.et-inquiry h2, .et-inquiry h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: .2em; }
.et-inquiry > p { color: var(--muted); font-size: .95rem; }
.et-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.et-form .et-field { display: flex; flex-direction: column; gap: 5px; }
.et-form .et-field--full { grid-column: 1 / -1; }
.et-form .et-hp { position: absolute; left: -9999px; }
.et-form .et-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.et-form .et-consent input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.et-form button { grid-column: 1 / -1; justify-self: start; }
.et-notice { padding: 12px 16px; border-radius: var(--r); margin-bottom: 16px; font-weight: 600; }
.et-notice--ok { background: var(--accent-l); color: var(--accent-d); }
.et-notice--err { background: #fbe9e7; color: #9b2c1f; }
.et-call { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .92rem; }
.et-call a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.et-call a:hover { color: var(--accent); }
.et-call .et-icon { width: 14px; height: 14px; color: var(--accent); }

.woocommerce-tabs { margin-top: 48px; }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0 !important; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 22px 12px !important; font-weight: 600; color: var(--muted) !important; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li:first-child a { padding-left: 0 !important; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; border-bottom-color: var(--accent); }
.woocommerce-tabs .panel { padding: 28px 0; max-width: 70ch; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel img { border-radius: var(--r); }
.et-docs { list-style: none; padding: 0 !important; }
.related > h2, .upsells > h2 { font-size: 1.9rem; margin: 48px 0 24px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: var(--r); background: var(--stone); border-left: 3px solid var(--accent); margin: 0 0 24px; }
.woocommerce-info::before, .woocommerce-message::before { display: none; }

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1180px) {
	.site-header__inner { gap: 20px; }
	.site-search input[type="search"] { width: 120px; }
	.site-nav__list > li > a, .site-nav__trigger { padding: 10px; }
	.how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.how .section__title { grid-column: 1 / -1; }
	.offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.site-footer__about { grid-column: 1 / -1; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.container { padding-inline: 20px; }
	.site-logo img { width: 150px; }
	.site-header__inner { gap: 12px; }
	.site-header__tools { margin-left: auto; }
	.site-header .site-search { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 24px; max-height: calc(100vh - var(--header-h)); overflow: auto; display: none; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li > a, .site-nav__trigger { width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.mega { position: static; box-shadow: none; border: 0; padding: 8px 0 12px; }
	.mega__grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 8px; }
	.mega__grid img { width: 40px; height: 40px; }
	.site-nav__phones { display: block; margin-top: 20px; }
	.site-nav__phones p { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
	.site-nav__phones ul { list-style: none; margin: 0; padding: 0; }
	.site-nav__phones a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
	.site-nav__phones span { display: inline-block; min-width: 120px; color: var(--muted); font-weight: 400; }

	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
	.how { grid-template-columns: 1fr; gap: 24px; }
	.contact { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 72px; }
	.contact__form { position: static; padding: 24px; }
	.contact__offices { order: -1; }
	.inquiry { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 72px; }
	.inquiry__side { position: static; }
	.office-row { grid-template-columns: 1fr; gap: 16px; }
	.perks, .more-links { grid-template-columns: 1fr; gap: 24px; }
	.showroom { grid-template-columns: 1fr; }
	.showroom--flip .showroom__photo { order: 0; }
	.showroom__photo { min-height: 0; aspect-ratio: 5 / 3; }
	.office-hero__inner, .office-detail, .split, .split--text { grid-template-columns: 1fr; gap: 28px; }
	.office-detail .map, .office-detail .map iframe { min-height: 320px; }
	.shop-layout { grid-template-columns: 1fr; gap: 16px; }
	.shop-sidebar { position: static; max-height: none; }
	.shop-sidebar__toggle { display: flex; width: 100%; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--stone); font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; }
	.shop-sidebar__toggle::after { content: "+"; }
	.shop-sidebar__toggle[aria-expanded="true"]::after { content: "–"; }
	.shop-sidebar__body { display: none; padding-top: 8px; }
	.shop-sidebar__body.is-open { display: block; }
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product .summary, .single-product div.product .woocommerce-product-gallery { grid-column: 1; }
}

@media (max-width: 640px) {
	.banner__text { padding-inline: 16px; bottom: 36px; }
	.banner__lead { display: none; }
	.banner__title { font-size: 1.6rem; }
	.banners__arrow { display: none; }
	.banner__inner { height: 56vw; min-height: 220px; }
	.subcats__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.inquiry__form, .inquiry__block { padding: 20px; }
	body { font-size: 1rem; }
	.container { padding-inline: 16px; }
	.site-header__cta { display: none; }
	.mosaic__label { padding: 8px 10px; }
	.mosaic__name, .mosaic__item:nth-child(1) .mosaic__name { font-size: 1rem; }
	.offices, .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	ul.products, .shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.et-form { grid-template-columns: 1fr; }
	.et-inquiry { padding: 20px; }
	.shop-main .woocommerce-result-count, .shop-main .woocommerce-ordering { float: none; }
	.shop-main .woocommerce-ordering { margin: 8px 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
.shop-main { min-width: 0; }


/* Contact Form 7 inside .et-form */
.et-form .wpcf7-form-control-wrap { display: block; }
.et-form .hidden-fields-container { display: none; }
.et-form .wpcf7-not-valid { border-color: #9b2c1f; }
.et-form .wpcf7-not-valid-tip { color: #9b2c1f; font-size: .85rem; margin-top: 4px; }
.et-form .et-consent .wpcf7-form-control-wrap, .et-form .et-consent .wpcf7-list-item { display: block; margin: 0; }
.et-form .et-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.et-form .wpcf7-submit { grid-column: 1 / -1; justify-self: start; width: auto; }
.et-form .wpcf7-spinner { grid-column: 1 / -1; margin: 0; }
.et-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 12px 16px !important; border: 0 !important; border-radius: var(--r); font-weight: 600; background: #fbe9e7; color: #9b2c1f; }
.et-form.sent .wpcf7-response-output { background: var(--accent-l); color: var(--accent-d); }
.et-form .wpcf7-response-output:empty { display: none; }
@media (min-height: 1080px) and (min-width: 900px) { .contact__form { position: sticky; top: calc(var(--header-h) + 24px); } }
.et-sizes { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }

/* Social icons */
.social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); transition: color .15s, background-color .15s; }
.social a:hover { color: var(--accent); background: var(--accent-l); }
.social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social--nav { display: none; }
@media (max-width: 900px) {
	.social--header { display: none; }
	.social--nav { display: flex; margin-top: 16px; }
}

/* Product page: recommended decors / same decor in other products ------------- */
.combos { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; margin: 64px 0 16px; }
.combos__media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.combos__media img { width: 100%; height: 100%; object-fit: cover; }
.combos__head { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 120px; } /* the card row overlaps the last 120px */
.combos__head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: .4em; }
.combos__head p { color: var(--muted); margin: 0; }
.combos__nav { display: flex; gap: 4px; align-self: flex-end; margin-top: 28px; }
.combos__nav[hidden] { display: none; }
.combos__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--accent); cursor: pointer; border-radius: 50%; }
.combos__btn svg { width: 22px; height: 22px; }
.combos__btn:hover:not(:disabled) { background: var(--accent-l); }
.combos__btn:disabled { color: #f0b4b5; cursor: default; }
.combos__btn:focus-visible, .combos__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.combos__track { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 32px; list-style: none; margin: -120px 0 0; padding: 0 0 28px 16%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16%; scrollbar-width: none; position: relative; z-index: 1; }
.combos__track::-webkit-scrollbar { display: none; }
.combo { flex: 0 0 268px; scroll-snap-align: start; }
.combo a { display: flex; flex-direction: column; height: 100%; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 6px 14px -6px rgba(51, 51, 51, .25); }
.combo__media { display: block; aspect-ratio: 268 / 150; overflow: hidden; background: var(--stone); }
.combo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.combo a:hover .combo__media img { transform: scale(1.04); }
.combo__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 24px; }
.combo__name { font-size: .9rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.combo__code { font-weight: 600; font-size: 1.1rem; letter-spacing: .01em; }
.combo a:hover .combo__code { color: var(--accent); }
@media (max-width: 900px) {
	.combos { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
	.combos__head { grid-column: 1; grid-row: 2; margin-top: 20px; padding-bottom: 0; }
	.combos__nav { margin-top: 12px; }
	.combos__track { grid-row: 3; margin: 16px 0 0; padding-left: 0; scroll-padding-left: 0; gap: 16px; }
	.combo { flex-basis: 72%; }
}
@media (prefers-reduced-motion: reduce) { .combo__media img { transition: none; } .combos__track { scroll-behavior: auto; } }
