/* =========================================================
   Mega Kitchens — stylesheet
   Identity: the logo's mauve block with one rounded corner
   (top-left) is the recurring shape across the site.
   ========================================================= */

:root {
  --mauve: #957B9C;
  --mauve-deep: #7A5C85;
  --purple: #5B3F68;
  --aubergine: #2D1E33;
  --lilac: #F4EFF6;
  --lilac-2: #E9E0EC;
  --line: #E5DCE8;
  --slate: #5F6884;
  --white: #FFFFFF;
  --danger: #B3261E;

  --font: "Alexandria", "Segoe UI", Tahoma, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-hero: clamp(2.125rem, 1.2rem + 3.4vw, 4rem);

  --corner: 28px;
  --corner-md: 18px;
  --corner-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 80px;
  --shadow: 0 24px 48px -24px rgba(45, 30, 51, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--aubergine);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--mauve-deep); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--mauve-deep); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 300; background: var(--aubergine); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--slate); font-size: var(--fs-sm); }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  font-weight: 500; font-size: var(--fs-base); line-height: 1.3;
  border: 1.5px solid transparent;
  border-radius: 0; border-top-left-radius: var(--corner-sm);
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .ic { width: 20px; height: 20px; }
.btn-solid { background: var(--mauve-deep); color: var(--white); border-color: var(--mauve-deep); }
.btn-solid:hover { background: var(--purple); border-color: var(--purple); }
.btn-line { background: transparent; color: var(--mauve-deep); border-color: var(--mauve-deep); }
.btn-line:hover { background: var(--lilac); }
.btn-white { background: var(--white); color: var(--purple); border-color: var(--white); }
.btn-white:hover { background: var(--lilac); border-color: var(--lilac); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 50%; color: var(--aubergine);
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--lilac); }
.icon-btn-light { color: var(--white); border: 1px solid rgba(255, 255, 255, .45); }
.icon-btn-light:hover { background: rgba(255, 255, 255, .15); }

.badge {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  padding: 4px 12px; font-size: var(--fs-xs); font-weight: 500;
  background: var(--white); color: var(--purple);
  border-top-left-radius: 8px;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--aubergine); color: #DCD0E1; font-size: var(--fs-xs); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; gap: 24px; }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info .ic { width: 16px; height: 16px; color: var(--mauve); }
.topbar a { color: var(--white); white-space: nowrap; }
.topbar-offer { color: var(--white); font-weight: 500; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a { display: grid; place-items: center; width: 32px; height: 32px; color: #DCD0E1; }
.topbar-social a:hover { color: var(--white); }
.topbar-social .ic { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(45, 30, 51, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 62px; height: auto; }
.logo-block { fill: var(--mauve); }
.logo-line { fill: none; stroke: var(--white); stroke-width: 3.2; }
.logo-type { display: flex; flex-direction: column; direction: ltr; line-height: 1; color: var(--slate); }
.logo-type b { font-weight: 700; font-size: 1.125rem; letter-spacing: .05em; }
.logo-type span { font-weight: 200; font-size: 1.125rem; letter-spacing: .09em; margin-top: 3px; }
.logo-invert .logo-type { color: var(--white); }

.nav { margin-inline-start: auto; height: 100%; }
.nav-list { display: flex; height: 100%; }
.nav-item { display: flex; align-items: center; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: 100%; padding-inline: 13px;
  color: var(--aubergine); font-size: var(--fs-sm); font-weight: 500;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 13px; bottom: -1px; height: 2px;
  background: var(--mauve-deep); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega:hover > .nav-link::after, .has-mega:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--mauve-deep); }
.nav-chev { width: 16px; height: 16px; transition: transform .2s; }
.has-mega:hover .nav-chev, .has-mega:focus-within .nav-chev, .has-mega.is-open .nav-chev { transform: rotate(180deg); }

.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(45, 30, 51, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s, transform .2s var(--ease), visibility 0s;
}
.mega-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 36px 40px; }
.mega-col h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--slate); margin-bottom: 14px; }
.mega-col li a {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 7px; color: var(--aubergine); font-size: var(--fs-sm);
}
.mega-col li a:hover { color: var(--mauve-deep); }
.mega-col small { color: var(--slate); font-size: var(--fs-xs); }
.mega-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-col .mega-plans li a {
  flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px; background: var(--lilac); border-top-left-radius: var(--corner-sm);
}
.mega-plans .plan { width: 64px; }
.mega-col .mega-plans li a:hover { background: var(--lilac-2); }
.mega-feature { position: relative; display: block; overflow: hidden; border-top-left-radius: var(--corner-md); }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature-text {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(45, 30, 51, .85), transparent);
  color: var(--white); display: flex; flex-direction: column; font-size: var(--fs-xs);
}
.mega-feature-text strong { font-size: var(--fs-md); }
.mega-inner-ap { grid-template-columns: 3fr 1fr; align-items: center; }
.mega-ap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.mega-ap a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px;
  background: var(--lilac); border-top-left-radius: var(--corner-sm);
  color: var(--aubergine); font-size: var(--fs-xs); text-align: center;
}
.mega-ap a:hover { background: var(--lilac-2); }
.mega-note h3 { font-size: var(--fs-md); }
.mega-note p { color: var(--slate); font-size: var(--fs-sm); margin: 6px 0 16px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .btn { margin-inline-start: 10px; }
.quote-wrap { position: relative; }
.quote-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding-inline: 12px; border-radius: 22px;
  color: var(--aubergine); font-size: var(--fs-sm); font-weight: 500;
  transition: background-color .2s;
}
.quote-link:hover { background: var(--lilac); }
.quote-pop {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 120;
  width: 340px; padding: 20px;
  background: var(--white); border: 1px solid var(--line); border-top-left-radius: var(--corner-md);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
@media (hover: hover) {
  .quote-wrap:hover .quote-pop, .quote-wrap:focus-within .quote-pop {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s, transform .2s var(--ease), visibility 0s;
  }
}
.qp-title { font-weight: 600; margin-bottom: 8px; }
.qp-empty { color: var(--slate); font-size: var(--fs-xs); line-height: 1.7; }
.qp-list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); }
.qp-list strong { white-space: nowrap; color: var(--purple); }
.qp-more { font-size: var(--fs-xs); color: var(--slate); padding-top: 6px; }
.qp-total { display: flex; justify-content: space-between; margin: 12px 0 14px; font-size: var(--fs-sm); }
.qp-total strong { color: var(--purple); }
.quote-count {
  min-width: 20px; height: 20px; padding-inline: 6px;
  display: grid; place-items: center;
  background: var(--mauve-deep); color: var(--white);
  font-size: 11px; font-weight: 600; border-radius: 10px; line-height: 1;
}
.quote-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop, .search-backdrop, .lightbox-backdrop { position: absolute; inset: 0; background: rgba(45, 30, 51, .55); animation: fade .2s; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0;
  width: min(380px, 88vw); background: var(--white);
  display: flex; flex-direction: column; overflow-y: auto;
  animation: slideIn .3s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-list { padding: 8px 20px; }
.drawer-list > li { border-bottom: 1px solid var(--line); }
.drawer-list a, .drawer-list summary {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 15px; color: var(--aubergine); font-weight: 500; cursor: pointer; list-style: none;
}
.drawer-list summary::-webkit-details-marker { display: none; }
.drawer-list summary .ic { transition: transform .2s; }
.drawer-list details[open] summary .ic { transform: rotate(180deg); }
.drawer-list details ul { padding-bottom: 10px; }
.drawer-list details a { padding-block: 9px; padding-inline-start: 14px; font-weight: 400; font-size: var(--fs-sm); color: var(--slate); }
.drawer-list a[aria-current="page"] { color: var(--mauve-deep); }
.drawer-foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 210; }
.search-panel { position: relative; background: var(--white); padding-block: 24px 32px; animation: drop .25s var(--ease); max-height: 85vh; overflow-y: auto; }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--aubergine); padding-bottom: 10px; }
.search-form > .ic { width: 26px; height: 26px; color: var(--mauve-deep); }
.search-form input { flex: 1; border: 0; outline: 0; font-size: clamp(1.125rem, 1rem + 1vw, 1.5rem); padding: 8px 0; min-width: 0; background: none; }
.search-results { margin-top: 18px; }
.search-results ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.search-results a {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  color: var(--aubergine); border-top-left-radius: var(--corner-sm);
}
.search-results a:hover, .search-results a:focus-visible { background: var(--lilac); }
.search-results img, .sr-thumb { width: 64px; height: 48px; object-fit: cover; flex: none; border-top-left-radius: 8px; background: var(--lilac); display: grid; place-items: center; }
.sr-thumb .ic { color: var(--mauve-deep); }
.search-results strong { display: block; font-weight: 500; font-size: var(--fs-sm); }
.search-results .s { display: block; color: var(--slate); font-size: var(--fs-xs); line-height: 1.5; }
.search-hint { color: var(--slate); font-size: var(--fs-sm); }
.search-hint button { background: var(--lilac); border: 0; padding: 4px 12px; margin: 4px; border-radius: 99px; font-size: var(--fs-xs); }
.search-hint button:hover { background: var(--lilac-2); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--purple); min-height: 360px; display: flex; align-items: flex-end; }
.page-hero-compact { min-height: 260px; }
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(45, 30, 51, .92) 0%, rgba(91, 63, 104, .72) 45%, rgba(91, 63, 104, .25) 100%);
}
.page-hero-inner { padding-block: 56px 48px; }
.page-hero h1 { font-size: var(--fs-hero); font-weight: 800; margin-top: 14px; }
.page-hero p { max-width: 40em; margin-top: 10px; color: #EEE6F1; font-size: 1.0625rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .6; }
.page-hero .crumbs a { color: #E3D7E8; }
.page-hero .crumbs a:hover { color: var(--white); }
.product .crumbs { color: var(--slate); margin-bottom: 24px; }
.product .crumbs a { color: var(--slate); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(40px, 5vw, 64px) var(--section-y); }
.section-tint { background: var(--lilac); }
.section-dark { background: var(--aubergine); color: var(--white); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { font-size: var(--fs-xl); font-weight: 700; }
.sec-head p { margin-top: 10px; max-width: 38em; color: var(--slate); }
.section-dark .sec-head p { color: #CFC2D5; }
.link-more { flex: none; font-weight: 500; font-size: var(--fs-sm); padding-bottom: 2px; border-bottom: 1.5px solid currentColor; }
.link-more:hover { color: var(--purple); }

/* ---------- Home hero slider ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--aubergine); }
.hero-slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; overflow: hidden; min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide-img { transform: scale(1); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to left, rgba(45, 30, 51, .9) 0%, rgba(91, 63, 104, .6) 42%, rgba(45, 30, 51, .05) 75%);
}
.slide-content { position: relative; z-index: 1; padding-block: 80px 140px; }
.slide-title { font-size: var(--fs-hero); font-weight: 800; line-height: 1.2; max-width: 13em; }
.slide-text { max-width: 32em; margin-top: 18px; font-size: 1.125rem; color: #EEE6F1; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slide.is-active .slide-title, .slide.is-active .slide-text, .slide.is-active .slide-actions { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-text { animation-delay: .1s; }
.slide.is-active .slide-actions { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-controls { position: absolute; inset-inline: 0; bottom: 96px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 56px; height: 28px; padding: 0; background: none; border: 0; display: flex; align-items: center; }
.hero-dot span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: right; }
.hero-dot[aria-selected="true"] span::after { transform: scaleX(1); transition: transform .4s var(--ease); }
.hero-arrows { display: flex; gap: 8px; }

/* ---------- Trust bar ---------- */
.trust { position: relative; z-index: 3; }
.trust-float { margin-top: -64px; }
.trust-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); box-shadow: var(--shadow);
  border-top-left-radius: var(--corner);
}
.trust-list li { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.trust-list li + li { border-inline-start: 1px solid var(--line); }
.trust-list .ic { width: 44px; height: 44px; padding: 10px; color: var(--mauve-deep); background: var(--lilac); border-top-left-radius: 10px; stroke-width: 1.5; }
.trust-list strong { display: block; font-weight: 600; font-size: var(--fs-sm); }
.trust-list span { display: block; color: var(--slate); font-size: var(--fs-xs); line-height: 1.6; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.cat { position: relative; display: block; overflow: hidden; isolation: isolate; color: var(--white); min-height: 260px; border-top-left-radius: var(--corner); }
.cat-lg { grid-row: span 2; min-height: 540px; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(45, 30, 51, .94) 0%, rgba(45, 30, 51, .7) 32%, rgba(45, 30, 51, .15) 62%, rgba(45, 30, 51, 0) 80%); }
.cat-text { position: absolute; inset: auto 0 0 0; padding: 28px; display: flex; flex-direction: column; text-shadow: 0 1px 12px rgba(45, 30, 51, .45); }
.cat-text strong { font-size: var(--fs-lg); font-weight: 700; }
.cat-text span { color: #E6DCEA; font-size: var(--fs-sm); }
.cat-text::after {
  content: "تسوّق الآن"; align-self: flex-start; margin-top: 14px;
  font-size: var(--fs-xs); font-weight: 500; padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .6); border-top-left-radius: 8px;
  transition: background-color .2s, color .2s;
}
.cat:hover .cat-text::after { background: var(--white); color: var(--purple); }

/* ---------- Shapes (plans) ---------- */
.shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shape {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 28px; background: var(--white); color: var(--aubergine);
  border: 1px solid transparent; border-top-left-radius: var(--corner);
  transition: border-color .2s, transform .3s var(--ease);
}
.shape:hover { border-color: var(--mauve); transform: translateY(-3px); }
.shape .plan { width: 100%; max-width: 180px; margin-bottom: 18px; }
.shape strong { font-size: var(--fs-md); font-weight: 600; }
.shape span { color: var(--slate); font-size: var(--fs-sm); }
.plan-room { fill: none; stroke: var(--mauve); stroke-width: 1; stroke-dasharray: 4 4; }
.plan-unit { fill: var(--white); stroke: var(--mauve-deep); stroke-width: 1.6; }
.shape .plan-unit, .mega-plans .plan-unit, .f-plan .plan-unit, .thumb-plan .plan-unit { fill: var(--lilac-2); }

/* ---------- Tabs ---------- */
.tab-list { display: flex; gap: 6px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tab-list [role="tab"] {
  flex: none; padding: 12px 20px; background: none; border: 0;
  font-weight: 500; font-size: var(--fs-sm); color: var(--slate);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-list [role="tab"][aria-selected="true"] { color: var(--aubergine); border-bottom-color: var(--mauve-deep); }
.tab-list [role="tab"]:hover { color: var(--aubergine); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.p-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { display: flex; flex-direction: column; }
.p-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--lilac); border-top-left-radius: var(--corner); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-plan {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  width: 58px; padding: 6px; background: rgba(255, 255, 255, .94); border-top-left-radius: 8px;
}
.p-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tags li { font-size: 12px; padding: 2px 10px; background: var(--lilac); color: var(--purple); border-radius: 99px; }
.p-card h3 { font-size: 1.1875rem; font-weight: 600; margin-top: 10px; }
.p-card h3 a { color: var(--aubergine); }
.p-card h3 a:hover { color: var(--mauve-deep); }
.p-finish { color: var(--slate); font-size: var(--fs-sm); line-height: 1.6; margin-top: 2px; }
.p-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 14px; }
.p-card .p-foot { border-top: 1px solid var(--line); margin-top: 14px; }
.price { display: flex; flex-direction: column; line-height: 1.35; }
.price small { color: var(--slate); font-size: 12px; }
.price strong { font-size: 1.1875rem; font-weight: 700; color: var(--purple); }
.add-btn { background: var(--lilac); color: var(--purple); border-radius: 0; border-top-left-radius: 10px; }
.add-btn:hover { background: var(--mauve-deep); color: var(--white); }
.add-btn.is-added { background: var(--mauve-deep); color: var(--white); }

/* ---------- Split banner ---------- */
.split-banner { display: grid; grid-template-columns: 1fr 1fr; background: var(--purple); color: var(--white); }
.split-media { position: relative; min-height: 460px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-content { padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); align-self: center; }
.split-content h2 { font-size: var(--fs-xl); }
.split-content > p { color: #E6DCEA; margin-top: 12px; max-width: 34em; }
.split-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0 32px; }
.split-cats a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: rgba(255, 255, 255, .08); color: var(--white); font-size: var(--fs-sm);
  border: 1px solid rgba(255, 255, 255, .14); border-top-left-radius: var(--corner-sm);
  transition: background-color .2s;
}
.split-cats a:hover { background: rgba(255, 255, 255, .16); }
.split-cats .ap-art { width: 36px; flex: none; }
.split-cats .ap-art .a-w { fill: rgba(255, 255, 255, .12); stroke: var(--white); }
.split-cats .ap-art .a-d { fill: rgba(255, 255, 255, .35); stroke: var(--white); }
.split-cats .ap-art .a-g { fill: rgba(255, 255, 255, .2); stroke: var(--white); }
.split-cats .ap-art .a-k { fill: var(--white); }
.split-cats .ap-art .a-h, .split-cats .ap-art .a-r { stroke: var(--white); }

/* ---------- Complete kitchen (elevation) ---------- */
.complete-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.complete-copy h2 { font-size: var(--fs-xl); }
.complete-copy > p { color: var(--slate); margin-top: 12px; }
.zone-caption { margin-top: 28px; padding: 22px 24px; min-height: 150px; background: var(--lilac); border-top-left-radius: var(--corner-md); }
.zone-hint { color: var(--slate); font-size: var(--fs-sm); }
.zone-caption h3 { font-size: var(--fs-md); }
.zone-caption p { color: var(--slate); margin-top: 4px; font-size: var(--fs-sm); }
.zone-caption a { display: inline-block; margin-top: 8px; font-weight: 500; font-size: var(--fs-sm); border-bottom: 1.5px solid currentColor; }
.elevation { margin: 0; background: var(--mauve); border-top-left-radius: var(--corner); padding: clamp(14px, 3vw, 32px); }
.elevation-canvas { position: relative; }
.elevation-svg { width: 100%; height: auto; overflow: visible; }
.elevation-svg .draw {
  fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.elevation.is-drawn .draw { animation: draw 1.2s cubic-bezier(.6, 0, .3, 1) forwards; }
.elevation.is-drawn .z-kitchen .draw { animation-delay: .25s; }
.elevation.is-drawn .z-dressing .draw { animation-delay: .9s; }
.elevation.is-drawn .z-builtin .draw { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.z { transition: opacity .3s; }
.elevation[data-active="dressing"] .z:not(.z-dressing),
.elevation[data-active="kitchen"] .z:not(.z-kitchen),
.elevation[data-active="builtin"] .z:not(.z-builtin) { opacity: .25; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y);
  width: 38px; height: 38px; margin: -19px 0 0 -19px; padding: 0;
  border-radius: 50%; background: var(--white); border: 0;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .28);
  opacity: 0; transition: transform .2s, background-color .2s;
}
.elevation.is-drawn .hotspot { animation: appear .4s 2.4s both; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.hotspot::before, .hotspot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--mauve-deep); transition: transform .2s;
}
.hotspot::after { transform: rotate(90deg); }
.hotspot:hover { transform: scale(1.1); }
.hotspot[aria-expanded="true"] { background: var(--aubergine); }
.hotspot[aria-expanded="true"]::before { background: var(--white); transform: rotate(45deg); }
.hotspot[aria-expanded="true"]::after { background: var(--white); transform: rotate(135deg); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .22); }
.step-num { display: block; font-size: 3.5rem; font-weight: 200; line-height: 1; color: var(--mauve); margin-bottom: 18px; }
.steps h3 { font-size: var(--fs-md); font-weight: 600; }
.steps p { color: #CFC2D5; font-size: var(--fs-sm); margin-top: 8px; }
.step-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 4px 12px; font-size: var(--fs-xs); border: 1px solid rgba(255, 255, 255, .3); border-top-left-radius: 8px; }
.step-time .ic { width: 15px; height: 15px; }

/* ---------- Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 16px; }
.mosaic-item { position: relative; overflow: hidden; display: block; color: var(--white); isolation: isolate; }
.mosaic-lg { grid-row: span 2; border-top-left-radius: var(--corner); }
.mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(45, 30, 51, .9), rgba(45, 30, 51, .35) 40%, transparent 65%); }
.mosaic-text { position: absolute; inset: auto 0 0 0; padding: 18px 20px; display: flex; flex-direction: column; }
.mosaic-text strong { font-weight: 600; }
.mosaic-text span { font-size: var(--fs-xs); color: #E6DCEA; }

/* ---------- Stats & reviews ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lilac-2); border-bottom: 1px solid var(--lilac-2); }
.stats li { padding: 32px 20px; text-align: center; }
.stats li + li { border-inline-start: 1px solid var(--lilac-2); }
.stats strong { display: block; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 800; color: var(--purple); line-height: 1.2; }
.stats span { color: var(--slate); font-size: var(--fs-sm); }
.stats + .sec-head { margin-top: 72px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { display: flex; flex-direction: column; padding: 30px; background: var(--white); border-top-left-radius: var(--corner); }
.stars { display: flex; gap: 2px; color: #C9A23F; }
.stars .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review blockquote { margin: 16px 0 22px; line-height: 1.9; }
.review-by { margin-top: auto; display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); }
.review-by strong { font-weight: 600; }
.review-by span { color: var(--slate); font-size: var(--fs-xs); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--mauve-deep); color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 56px; }
.cta-band h2 { font-size: var(--fs-xl); }
.cta-band p { color: #EDE4F0; margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.footer { background: var(--aubergine); color: #CFC2D5; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr 1.5fr; gap: 40px; padding-block: 72px 48px; }
.footer h3 { color: var(--white); font-size: var(--fs-base); font-weight: 600; margin-bottom: 18px; }
.footer-about p { margin: 20px 0; line-height: 1.9; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; transition: background-color .2s; }
.footer-social a:hover { background: var(--mauve-deep); border-color: var(--mauve-deep); }
.footer-social .ic { width: 18px; height: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-contact a { color: #CFC2D5; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--mauve); margin-top: 3px; }
.news-form { display: flex; gap: 6px; margin-top: 14px; }
.news-form input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); text-align: right; }
.news-form input::placeholder { color: #A898AE; }
.news-msg { margin-top: 10px; color: var(--white); }
.footer :focus-visible { outline-color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-xs); }
.pay-note { display: flex; align-items: center; gap: 8px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; }
.pay-note .ic { width: 18px; height: 18px; }

.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 30px; height: 30px; stroke-width: 1.8; }

.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 250; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; background: var(--aubergine); color: var(--white);
  font-size: var(--fs-sm); border-top-left-radius: var(--corner-sm); box-shadow: var(--shadow);
  animation: toastIn .3s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast a { color: #D9C6E1; font-weight: 500; white-space: nowrap; border-bottom: 1px solid currentColor; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Catalogue ---------- */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: var(--fs-md); }
.filters-close, .filters-open, .filters-apply { display: none; }
.f-group { padding-block: 18px; border-bottom: 1px solid var(--line); }
.f-group legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 10px; float: right; width: 100%; }
.f-group legend + * { clear: both; }
.f-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border: 1px solid var(--line); border-top-left-radius: var(--corner-sm); cursor: pointer; font-size: var(--fs-xs); transition: border-color .2s, background-color .2s; }
.f-plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.f-plan .plan { width: 56px; }
.f-plan:has(input:checked) { border-color: var(--mauve-deep); background: var(--lilac); }
.f-plan:has(input:focus-visible) { outline: 3px solid var(--mauve-deep); outline-offset: 2px; }
.f-check { display: flex; align-items: center; gap: 10px; padding-block: 6px; cursor: pointer; font-size: var(--fs-sm); }
.f-check input { width: 18px; height: 18px; accent-color: var(--mauve-deep); margin: 0; }
.f-check small { margin-inline-start: auto; color: var(--slate); font-size: var(--fs-xs); }
.f-price-out { display: block; font-weight: 600; color: var(--purple); margin-bottom: 4px; clear: both; }
.filters-actions { display: flex; gap: 8px; margin-top: 18px; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.result-count { color: var(--slate); font-size: var(--fs-sm); }
.result-count strong { color: var(--aubergine); }
.sort { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; font-size: var(--fs-sm); color: var(--slate); }
select {
  min-height: 44px; padding: 8px 14px 8px 36px;
  border: 1px solid #CBBCD1; background-color: var(--white); border-radius: 2px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5C85' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: left 12px center;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 12px; font-size: var(--fs-xs); background: var(--lilac); border: 0; border-radius: 99px; color: var(--purple); }
.af-chip .ic { width: 14px; height: 14px; }
.af-chip:hover { background: var(--lilac-2); }
.empty { text-align: center; padding: 64px 24px; background: var(--lilac); border-top-left-radius: var(--corner); }
.empty > .ic { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--mauve-deep); }
.empty h2, .empty h3 { font-size: var(--fs-md); }
.empty p { color: var(--slate); margin: 6px auto 20px; max-width: 30em; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Product page ---------- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lilac); border-top-left-radius: var(--corner); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery-main img.is-hidden { opacity: 0; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--lilac); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--mauve-deep); }
.thumb-plan { display: grid; place-items: center; padding: 10px; }
.product-info h1 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem); font-weight: 800; margin-top: 12px; }
.product-finish { color: var(--slate); }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding: 16px 0; border-block: 1px solid var(--line); }
.product-price strong { font-size: var(--fs-lg); font-weight: 700; color: var(--purple); }
.product-price small { color: var(--slate); font-size: var(--fs-sm); }
.product-desc { margin-top: 18px; line-height: 1.9; }
.opt { margin-top: 24px; }
.opt legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 10px; }
.opt legend span { font-weight: 400; color: var(--slate); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch-opt { position: relative; cursor: pointer; }
.swatch-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch-opt input + span { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.swatch-opt input:checked + span { outline-color: var(--mauve-deep); }
.swatch-opt input:focus-visible + span { outline: 3px solid var(--aubergine); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill > span {
  display: flex; flex-direction: column; justify-content: center; min-height: 46px; padding: 8px 18px;
  border: 1px solid #CBBCD1; border-top-left-radius: var(--corner-sm); font-size: var(--fs-sm); line-height: 1.4;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pill small { font-size: 11px; color: var(--slate); }
.pill input:checked + span { border-color: var(--mauve-deep); background: var(--lilac); box-shadow: inset 0 0 0 1px var(--mauve-deep); }
.pill input:focus-visible + span { outline: 3px solid var(--mauve-deep); outline-offset: 2px; }
.calc { margin-top: 24px; padding: 20px; background: var(--lilac); border-top-left-radius: var(--corner-md); }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-row label { font-weight: 600; font-size: var(--fs-sm); }
.stepper { display: flex; align-items: center; background: var(--white); border: 1px solid #CBBCD1; }
.stepper button { width: 42px; height: 42px; display: grid; place-items: center; background: none; border: 0; color: var(--purple); }
.stepper button:hover { background: var(--lilac); }
.stepper .ic { width: 18px; height: 18px; }
.stepper input { width: 64px; height: 42px; text-align: center; border: 0; border-inline: 1px solid var(--line); -moz-appearance: textfield; font-weight: 600; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lilac-2); }
.calc-total strong { font-size: var(--fs-lg); color: var(--purple); }
.calc-note { font-size: var(--fs-xs); color: var(--slate); margin-top: 4px; }
.product-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 22px; }
.product-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.product-assure li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; text-align: center; font-size: var(--fs-xs); border: 1px solid var(--line); }
.product-assure .ic { color: var(--mauve-deep); }
.product-tabs { margin-top: var(--section-y); }
.product-tabs .tab-panel { max-width: 860px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.spec-table th { width: 38%; font-weight: 500; color: var(--slate); background: var(--lilac); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding-block: 7px; }
.check-list .ic { width: 20px; height: 20px; color: var(--mauve-deep); margin-top: 3px; stroke-width: 2; }
.tab-panel .muted { margin-top: 14px; }

/* ---------- Dressing ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type-card { display: flex; flex-direction: column; }
.type-card img { aspect-ratio: 5 / 6; object-fit: cover; width: 100%; border-top-left-radius: var(--corner); }
.type-body { padding-top: 16px; }
.type-body h3 { font-size: var(--fs-md); font-weight: 600; }
.type-body p { color: var(--slate); font-size: var(--fs-sm); margin-top: 4px; }

.dressing-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dressing-copy h2 { font-size: var(--fs-xl); }
.dressing-copy > p { color: var(--slate); margin-top: 12px; }
.planner-control { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 16px; margin-top: 32px; }
.planner-control label { font-weight: 600; }
.planner-control output { font-size: var(--fs-lg); font-weight: 700; color: var(--purple); }
.planner-control input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--mauve); }
input[type="range"]::-moz-range-track { height: 3px; background: var(--mauve); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; background: var(--white); border: 3px solid var(--mauve-deep); border-radius: 50%; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--white); border: 3px solid var(--mauve-deep); border-radius: 50%; }
.planner-summary { margin: 20px 0 28px; }
.planner-summary div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--lilac-2); font-size: var(--fs-sm); }
.planner-summary dt { color: var(--slate); }
.planner-summary dd { margin: 0; font-weight: 600; text-align: end; }
.planner-figure { background: var(--white); border-top-left-radius: var(--corner); padding: clamp(20px, 3vw, 36px); }
#planner-svg { width: 100%; height: auto; max-height: 420px; }
.pl-frame { stroke: var(--aubergine); stroke-width: 2; }
.pl-line { fill: none; stroke: var(--aubergine); stroke-width: 1.4; }
.pl-fill-hang { fill: var(--lilac); }
.pl-fill-shelf { fill: #E8DEEC; }
.pl-fill-drawer { fill: #D9CADF; }
.pl-fill-shoe { fill: #C7B3CF; }
.pl-filler { fill: var(--lilac); stroke: var(--mauve); stroke-dasharray: 3 3; }
.pl-dim { font: 400 13px var(--font); fill: var(--slate); }
.pl-dimline { stroke: var(--mauve); stroke-width: 1; }
.planner-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: var(--fs-xs); color: var(--slate); }
.planner-legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border: 1px solid var(--aubergine); }
.lg-hang { background: var(--lilac); }
.lg-shelf { background: #E8DEEC; }
.lg-drawer { background: #D9CADF; }
.lg-shoe { background: #C7B3CF; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.features-4 { grid-template-columns: repeat(4, 1fr); }
.features li { background: var(--white); padding: 32px 28px; }
.features .ic { width: 48px; height: 48px; padding: 10px; color: var(--mauve-deep); background: var(--lilac); border-top-left-radius: 12px; stroke-width: 1.4; margin-bottom: 18px; }
.features h3 { font-size: 1.125rem; font-weight: 600; }
.features p { color: var(--slate); font-size: var(--fs-sm); margin-top: 6px; }

/* ---------- Chips, projects & lightbox ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  font-size: var(--fs-sm); background: var(--white); color: var(--aubergine);
  border: 1px solid var(--line); border-radius: 99px; transition: background-color .2s, border-color .2s, color .2s;
}
.chip small { font-size: 11px; color: var(--slate); background: var(--lilac); padding: 0 7px; border-radius: 99px; }
.chip:hover { border-color: var(--mauve); }
.chip[aria-pressed="true"] { background: var(--aubergine); border-color: var(--aubergine); color: var(--white); }
.chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .18); color: var(--white); }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 22px; }
.pr-open { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; aspect-ratio: 4 / 3; border-top-left-radius: var(--corner); background: var(--lilac); }
.pr-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pr-open:hover img { transform: scale(1.05); }
.pr-zoom { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--purple); opacity: 0; transition: opacity .2s; }
.pr-open:hover .pr-zoom, .pr-open:focus-visible .pr-zoom { opacity: 1; }
.pr-body { padding-top: 14px; }
.pr-type { font-size: var(--fs-xs); color: var(--mauve-deep); font-weight: 500; }
.pr-body h3 { font-size: 1.125rem; font-weight: 600; }
.pr-body p:last-child { color: var(--slate); font-size: var(--fs-sm); margin-top: 4px; }

.lightbox { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 20px; }
.lightbox-panel { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 40px); background: var(--white); display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: drop .25s var(--ease); }
.lightbox-img { width: 100%; height: 100%; max-height: 72vh; object-fit: cover; }
.lightbox-info { padding: 18px 24px 22px; }
.lightbox-info h2 { font-size: var(--fs-md); }
.lightbox-info p:last-child { color: var(--slate); font-size: var(--fs-sm); }
.lightbox-close { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--white); }
.lightbox-prev, .lightbox-next { position: absolute; top: 36%; background: var(--white); }
.lightbox-prev { inset-inline-start: 12px; }
.lightbox-next { inset-inline-end: 12px; }
.lightbox .icon-btn:hover { background: var(--lilac); }

/* ---------- Appliances ---------- */
.why-ap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.why-ap li { display: flex; gap: 16px; padding: 24px; background: var(--lilac); border-top-left-radius: var(--corner-md); }
.why-ap .ic { width: 30px; height: 30px; color: var(--mauve-deep); }
.why-ap h3 { font-size: var(--fs-base); font-weight: 600; }
.why-ap p { color: var(--slate); font-size: var(--fs-sm); margin-top: 2px; }
.ap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ap-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top-left-radius: var(--corner); overflow: hidden; transition: border-color .2s, box-shadow .3s; }
.ap-card:hover { border-color: var(--mauve); box-shadow: var(--shadow); }
.ap-card:target { border-color: var(--mauve-deep); box-shadow: 0 0 0 2px var(--mauve-deep); }
.ap-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--lilac), var(--lilac-2)); }
.ap-art { width: 52%; }
.ap-art .a-w { fill: var(--white); stroke: var(--purple); stroke-width: 1.6; }
.ap-art .a-d { fill: #3A2C40; stroke: var(--purple); stroke-width: 1.6; }
.ap-art .a-g { fill: #4B3A52; stroke: var(--purple); stroke-width: 1.6; }
.ap-art .a-k { fill: var(--mauve); stroke: none; }
.ap-art .a-h { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; }
.ap-art .a-r { fill: none; stroke: #CBB9D3; stroke-width: 1.6; }
.mega-ap .ap-art { width: 54px; }
.ap-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ap-cat { font-size: var(--fs-xs); color: var(--mauve-deep); font-weight: 500; }
.ap-card h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 2px; }
.ap-specs { margin-top: 10px; }
.ap-specs li { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--slate); padding-block: 2px; }
.ap-specs .ic { width: 15px; height: 15px; color: var(--mauve-deep); stroke-width: 2.2; }
.ap-niche { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 8px 12px; background: var(--lilac); font-size: var(--fs-xs); }
.ap-niche span { color: var(--slate); }
.ap-niche strong { font-weight: 600; white-space: nowrap; }
.ap-card .p-foot { padding-top: 16px; }
.ap-card .btn.is-added { background: var(--mauve-deep); color: var(--white); }

.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.niche-grid h2 { font-size: var(--fs-xl); }
.niche-grid p { color: var(--slate); margin-top: 12px; }
.niche-grid .btn { margin-top: 26px; }
.niche-fig { margin: 0; padding: 32px; background: var(--white); border-top-left-radius: var(--corner); }
.n-cab { fill: var(--lilac); stroke: var(--purple); stroke-width: 2; }
.n-hole { fill: #FFF; stroke: var(--mauve); stroke-width: 1.5; stroke-dasharray: 5 4; }
.n-oven { fill: var(--white); stroke: var(--purple); stroke-width: 2; }
.n-glass { fill: #4B3A52; }
.n-line { stroke: var(--purple); stroke-width: 3; stroke-linecap: round; }
.n-dim { stroke: var(--mauve-deep); stroke-width: 1.3; fill: none; }
.n-txt { font: 600 14px var(--font); fill: var(--purple); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-rev .story-media { order: 2; }
.story-media img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-top-left-radius: 48px; }
.story-copy h2 { font-size: var(--fs-xl); margin-bottom: 18px; }
.story-copy p { color: var(--slate); line-height: 1.95; }
.story-copy p + p { margin-top: 14px; }
.story-copy .check-list { margin: 18px 0 26px; }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-top-left-radius: var(--corner); }
.form-card h2 { font-size: var(--fs-xl); }
.form-card > p { color: var(--slate); margin-top: 6px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin-top: 28px; }
.quote-summary .form { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 500; font-size: var(--fs-sm); }
.field label span, .field legend span { color: var(--mauve-deep); }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background-color: var(--white); border: 1px solid #CBBCD1; border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { padding-left: 36px; }
.field input[type="tel"] { text-align: right; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve-deep); box-shadow: 0 0 0 3px rgba(122, 92, 133, .2); }
.field.has-error input { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-actions .muted { flex: 1 1 220px; font-size: var(--fs-xs); }

.contact-cards { display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--lilac); border-top-left-radius: var(--corner-md); }
.contact-cards .ic { width: 44px; height: 44px; padding: 10px; flex: none; background: var(--white); color: var(--mauve-deep); border-radius: 50%; }
.contact-cards h3 { font-size: var(--fs-xs); font-weight: 500; color: var(--slate); }
.contact-cards a, .contact-cards p { color: var(--aubergine); font-weight: 500; font-size: var(--fs-sm); }
.branches { margin-top: 20px; padding: 24px; background: var(--purple); color: var(--white); border-top-left-radius: var(--corner); }
.branches h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.branches li { display: flex; flex-direction: column; padding-block: 12px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: var(--fs-sm); }
.branches li span { color: #E3D7E8; font-size: var(--fs-xs); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }

.faq-wrap { max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--mauve-deep); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding-bottom: 22px; max-width: 46em; }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.quote-list:not(:empty) { border-top: 2px solid var(--aubergine); }
.q-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.q-thumb { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lilac); border-top-left-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.q-thumb .ap-art { width: 60%; }
.q-info h3 { font-size: var(--fs-base); font-weight: 600; }
.q-info h3 a { color: var(--aubergine); }
.q-info p { color: var(--slate); font-size: var(--fs-xs); line-height: 1.6; }
.q-info .q-price { color: var(--purple); font-weight: 600; font-size: var(--fs-sm); margin-top: 4px; }
.q-actions { display: flex; align-items: center; gap: 8px; }
.q-actions .stepper input { width: 52px; }
.q-remove { color: var(--slate); }
.q-remove:hover { color: var(--danger); background: #FBEDEC; }
.quote-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; background: var(--lilac); border-top-left-radius: var(--corner); }
.quote-summary h2 { font-size: var(--fs-md); margin-bottom: 8px; }
.quote-summary dl { margin: 0; }
.quote-summary dl div { display: flex; justify-content: space-between; padding-block: 10px; border-bottom: 1px solid var(--lilac-2); }
.quote-summary dt { color: var(--slate); }
.quote-summary dd { margin: 0; font-weight: 700; color: var(--purple); }
.quote-summary .muted { margin-top: 10px; font-size: var(--fs-xs); }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.nf-mark { width: 140px; margin: 0 auto 28px; }
.nf-mark .logo-block { fill: var(--mauve); }
.nf-mark .logo-line { fill: none; stroke: var(--white); stroke-width: 3.2; }
.notfound h1 { font-size: var(--fs-xl); }
.notfound p { color: var(--slate); margin: 10px auto 28px; max-width: 30em; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-link { padding-inline: 9px; }
  .hide-md { display: none !important; }
  .ap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .footer-news { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
  .p-grid, .p-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0; z-index: 230;
    background: var(--white); padding: 20px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .filters-close, .filters-open, .filters-apply { display: inline-flex; }
  .filters-actions { position: sticky; bottom: -20px; background: var(--white); padding-block: 14px; }
  .filters-actions .btn { flex: 1; }
  .shapes, .types { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-inline-start: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic-lg { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .mosaic-item:not(.mosaic-lg) { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .features-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .complete-grid, .dressing-grid, .product-grid, .split-banner, .niche-grid, .story, .contact-grid, .quote-grid { grid-template-columns: 1fr; }
  .story-rev .story-media { order: 0; }
  .gallery, .quote-summary { position: static; }
  .split-media { min-height: 320px; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-lg { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .reviews { grid-template-columns: 1fr; }
  .pr-grid, .ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .why-ap { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--lilac-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .topbar-offer { display: none; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .logo-mark { width: 52px; }
  .logo-type b, .logo-type span { font-size: 1rem; }
  .p-grid, .p-grid-3, .pr-grid, .ap-grid, .types, .features, .features-4, .cats { grid-template-columns: 1fr; }
  .p-grid { gap: 36px; }
  .cat { min-height: 260px; }
  .cat-text { padding: 22px; }
  .quote-label { display: none; }
  .quote-link { padding-inline: 10px; gap: 4px; }
  .cat-lg { min-height: 320px; }
  .shapes { gap: 12px; }
  .shape { padding: 18px; }
  .shape strong { font-size: var(--fs-base); }
  .trust-float { margin-top: -40px; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding: 16px 20px; }
  .trust-list li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .slide { min-height: 600px; align-items: flex-end; }
  .slide::before { background: linear-gradient(to top, rgba(45, 30, 51, .95) 0%, rgba(91, 63, 104, .65) 55%, rgba(45, 30, 51, .1) 100%); }
  .slide-content { padding-block: 60px 150px; }
  .slide-actions .btn { flex: 1 1 100%; }
  .hero-controls { bottom: 70px; }
  .hero-dot { width: 36px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .mosaic { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split-cats { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; }
  .sort { width: 100%; margin-inline-start: 0; }
  .sort select { flex: 1; }
  .q-item { grid-template-columns: 80px minmax(0, 1fr); }
  .q-thumb { width: 80px; }
  .q-actions { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 300px; }
  .page-hero-compact { min-height: 220px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .lightbox { padding: 0; }
  .lightbox-panel { max-height: 100vh; height: 100%; grid-template-rows: 1fr auto; }
  .lightbox-img { max-height: none; object-fit: contain; background: var(--aubergine); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .elevation-svg .draw { stroke-dashoffset: 0; }
  .hotspot { opacity: 1; }
  .slide-img { transform: none !important; }
}

/* =========================================================
   Offers, favorites, compare, estimator, booking
   ========================================================= */
:root { --sale: #B4325E; }

.nav-offer { color: var(--sale); }
.nav-offer::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sale); margin-inline-end: 4px; }
.fav-count {
  position: absolute; top: 4px; inset-inline-end: 2px;
  min-width: 18px; height: 18px; padding-inline: 5px; display: grid; place-items: center;
  background: var(--sale); color: var(--white); font-size: 11px; font-weight: 600; border-radius: 9px; line-height: 1;
}
.badge-offer { background: var(--sale); color: var(--white); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price del { color: var(--slate); font-size: 13px; }
.product-price del { color: var(--slate); font-size: var(--fs-sm); }

/* Card tools: favorite + compare */
.p-media-link { display: block; height: 100%; }
.p-tools { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.tool-btn {
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--purple);
  box-shadow: 0 4px 12px -6px rgba(45, 30, 51, .45);
  transition: background-color .2s, color .2s, transform .2s;
}
.tool-btn .ic { width: 19px; height: 19px; }
.tool-btn:hover { transform: scale(1.08); }
.tool-btn[data-fav][aria-pressed="true"], .link-btn[data-fav][aria-pressed="true"] { color: var(--sale); }
.tool-btn[data-fav][aria-pressed="true"] .ic, .link-btn[data-fav][aria-pressed="true"] .ic { fill: currentColor; }
.tool-btn[data-compare][aria-pressed="true"] { background: var(--purple); color: var(--white); }
.product-tools { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0; background: none; border: 0; color: var(--aubergine); font-size: var(--fs-sm); font-weight: 500; }
.link-btn:hover { color: var(--mauve-deep); }
.link-btn[data-compare][aria-pressed="true"] { color: var(--mauve-deep); }
.link-btn[data-compare][aria-pressed="true"] .ic { fill: var(--lilac-2); }

/* Kitchen page: offer strip and colour preview */
.offer-strip {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px;
  background: #FBEFF3; color: var(--sale); border-top-left-radius: var(--corner-sm); font-size: var(--fs-xs);
}
.offer-strip span { color: var(--slate); line-height: 1.6; }
.offer-strip strong { display: block; color: var(--aubergine); font-size: var(--fs-sm); }
.door-preview { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: var(--fs-xs); color: var(--slate); }
.door-preview svg { width: 120px; flex: none; }
.dp-door { fill: var(--c); stroke: rgba(45, 30, 51, .3); stroke-width: 1.5; transition: fill .3s; }
.dp-handle { fill: none; stroke: #9E97A2; stroke-width: 3; stroke-linecap: round; }

/* Offers */
.offers-sec { padding-top: 0; }
.offers-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(260px, auto); gap: 20px; }
.offer { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 260px; color: var(--white); background: var(--purple); }
.offer-lg { grid-row: span 2; border-top-left-radius: var(--corner); }
.offers-grid > .offer:nth-child(4) { grid-column: span 2; }
.offer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.offer:hover > img { transform: scale(1.04); }
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(45, 30, 51, .95) 0%, rgba(45, 30, 51, .72) 45%, rgba(45, 30, 51, .2) 100%); }
.offer-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.offer-lg .offer-body { padding: clamp(24px, 3vw, 40px); }
.offer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--sale); font-size: var(--fs-xs); font-weight: 600; border-top-left-radius: 8px; }
.offer-badge .ic { width: 16px; height: 16px; }
.offer h3 { font-size: var(--fs-md); }
.offer-lg h3 { font-size: var(--fs-xl); }
.offer p { color: #E6DCEA; font-size: var(--fs-sm); max-width: 32em; }
.offer .offer-ends { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: #E6DCEA; }
.offer-ends .ic { width: 16px; height: 16px; }
.offer.is-ending .offer-ends { color: #FFD3E0; font-weight: 600; }
.offer .btn { margin-top: 10px; }
.offers-grid-page { grid-template-columns: 1fr 1fr; }
.offers-grid-page > .offer:nth-child(4) { grid-column: auto; }
.offers-grid-page .offer { min-height: 340px; border-top-left-radius: var(--corner); }
.terms-sec { padding-top: 0; }
.section-tint + .terms-sec, .section + .terms-sec { padding-top: clamp(40px, 5vw, 64px); }
.terms { max-width: 860px; }
.terms h2 { font-size: var(--fs-lg); margin-bottom: 10px; }

/* Home estimator */
.estimate { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.estimate-copy h2 { font-size: var(--fs-xl); }
.estimate-copy > p { color: var(--slate); margin: 12px 0 18px; }
.estimate-card { display: grid; gap: 24px; padding: clamp(22px, 3vw, 36px); background: var(--white); border-top-left-radius: var(--corner); box-shadow: var(--shadow); }
.est-step legend { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 12px; }
.est-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 13px; }
.est-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.est-len { display: flex; align-items: center; gap: 16px; }
.est-len input { flex: 1; }
.est-len output { min-width: 64px; font-weight: 700; color: var(--purple); font-size: var(--fs-md); text-align: end; }
.est-step .f-check { margin-top: 6px; }
.est-result { display: flex; flex-direction: column; padding: 18px 20px; background: var(--lilac); border-top-left-radius: var(--corner-md); }
.est-result span { color: var(--slate); font-size: var(--fs-sm); }
.est-result strong { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; color: var(--purple); }
.est-result small { color: var(--slate); font-size: var(--fs-xs); }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.est-actions .btn { flex: 1 1 200px; }

/* Booking day picker */
.field-hint { color: var(--slate); font-size: var(--fs-xs); margin-bottom: 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 8px; scrollbar-width: thin; }
.day { position: relative; flex: none; cursor: pointer; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day span {
  display: flex; flex-direction: column; align-items: center; width: 78px; padding: 10px 4px; line-height: 1.45;
  border: 1px solid #CBBCD1; border-top-left-radius: var(--corner-sm);
  transition: background-color .2s, border-color .2s, color .2s;
}
.day small { font-size: 11px; color: var(--slate); }
.day strong { font-size: 1.25rem; }
.day input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--white); }
.day input:checked + span small { color: #E6DCEA; }
.day input:focus-visible + span { outline: 3px solid var(--mauve-deep); outline-offset: 2px; }
.slots { margin-top: 12px; }

/* Compare bar */
.compare-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 95; background: var(--aubergine); color: var(--white); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .5); animation: barIn .3s var(--ease); }
@keyframes barIn { from { transform: translateY(100%); } }
.compare-inner { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.compare-title { flex: none; font-weight: 600; font-size: var(--fs-sm); }
.compare-items { display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; }
.compare-items li { display: flex; align-items: center; gap: 8px; flex: none; padding: 4px; background: rgba(255, 255, 255, .08); border-radius: 8px; font-size: var(--fs-xs); }
.compare-items img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; }
.compare-x { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: #CFC2D5; border-radius: 50%; }
.compare-x:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.compare-x .ic { width: 16px; height: 16px; }
.compare-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.compare-hint { font-size: var(--fs-xs); color: #CFC2D5; }
.compare-bar :focus-visible { outline-color: var(--white); }
body.has-compare { padding-bottom: 72px; }
body.has-compare .wa-float { bottom: 92px; }
body.has-compare .toast { bottom: 92px; }

/* Compare table */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-top-left-radius: var(--corner); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.compare-table thead th { vertical-align: bottom; }
.compare-table thead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; border-top-left-radius: var(--corner-sm); }
.compare-table thead a { color: var(--aubergine); font-weight: 700; font-size: var(--fs-md); }
.compare-table tbody th { width: 190px; color: var(--slate); font-weight: 500; background: var(--lilac); }
.compare-table tbody tr:first-child td { font-weight: 700; color: var(--purple); }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-cta .btn { margin: 0 0 8px 8px; }
.badge-inline { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; font-size: 11px; background: var(--sale); color: var(--white); border-radius: 99px; vertical-align: middle; }
.compare-note { margin-top: 16px; }
#fav-k-wrap:not([hidden]) ~ .fav-block { margin-top: 64px; }

@media (max-width: 1100px) {
  .est-plans { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .estimate { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr 1fr; }
  .offer-lg { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }
}
@media (max-width: 640px) {
  .offers-grid, .offers-grid-page { grid-template-columns: 1fr; }
  .offers-grid > .offer:nth-child(4) { grid-column: auto; }
  .est-plans { grid-template-columns: repeat(2, 1fr); }
  .compare-inner { flex-wrap: wrap; gap: 8px 12px; }
  .compare-items { order: 3; flex-basis: 100%; }
  .compare-items span { display: none; }
  .compare-actions { margin-inline-start: auto; }
  body.has-compare { padding-bottom: 120px; }
  body.has-compare .wa-float { bottom: 136px; }
  body.has-compare .toast { bottom: 136px; }
  .fav-link { width: 40px; }
}

/* Header fit: keep every nav label on one line now that the menu has 7 items */
.nav-link { white-space: nowrap; padding-inline: 11px; }
.nav-link::after { inset-inline: 11px; }
.header-inner { gap: 20px; }
@media (max-width: 1380px) {
  .nav-link { padding-inline: 8px; font-size: .875rem; }
  .nav-link::after { inset-inline: 8px; }
  .header-actions .btn { display: none; }
}
