@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

.homepage-slide-list { display: grid; gap: 1.25rem; }
.homepage-slide-editor { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.5fr); overflow: hidden; border: 1px solid var(--admin-line, #d8dde5); border-radius: 12px; background: #fff; }
.homepage-slide-preview { position: relative; min-height: 310px; background: #171717; }
.homepage-slide-preview img { width: 100%; height: 100%; object-fit: cover; }
.homepage-slide-preview span { position: absolute; top: 16px; left: 16px; padding: .45rem .7rem; border-radius: 999px; background: #f04a24; color: #fff; font-weight: 800; }
.homepage-slide-fields { padding: 1.35rem; }
.homepage-slide-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.homepage-slide-heading h2 { margin: 0; }
.homepage-slide-save { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1rem 1.25rem; border: 1px solid var(--admin-line, #d8dde5); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(20,25,35,.08); }
.admin-image-upload { position: relative; display: grid; gap: .25rem; margin: .25rem 0 1rem; padding: 1rem; border: 1px dashed #aaa39a; border-radius: 9px; background: #faf8f5; cursor: pointer; text-align: center; }
.admin-image-upload:hover { border-color: var(--orange); background: #fff3ed; }
.admin-image-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-image-upload span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.admin-image-upload small { color: var(--muted); }
.admin-image-upload.is-uploading { opacity: .55; pointer-events: none; }

@media (max-width: 850px) {
  .homepage-slide-editor { grid-template-columns: 1fr; }
  .homepage-slide-preview { min-height: 190px; }
  .homepage-slide-save { align-items: stretch; flex-direction: column; }
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-MediumItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/LEMONMILK-BoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --orange: #f04b23;
  --orange-dark: #c83a18;
  --ink: #151311;
  --ink-soft: #25211e;
  --paper: #f7f5f0;
  --white: #ffffff;
  --cream: #ece5d8;
  --sand: #f1ece4;
  --line: #ded8ce;
  --muted: #6c665f;
  --success: #187652;
  --warning: #ae6a09;
  --danger: #b62c2c;
  --shadow: 0 24px 70px rgba(24, 18, 12, 0.13);
  --radius: 3px;
  --font-display: "Lemon Milk", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
}

/* Privacyvriendelijke analytics en commercieel dashboard */
.cookie-consent { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: end center; padding: 24px; background: rgba(16,15,14,.52); backdrop-filter: blur(4px); }
.cookie-consent[hidden] { display: none; }
.cookie-consent-panel { box-sizing: border-box; width: min(920px, 100%); max-width: 100vw; max-height: calc(100vh - 48px); overflow: auto; overflow-x: hidden; padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.cookie-consent-panel h2 { margin: 4px 0 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cookie-consent-panel > div:first-child > p:last-child { max-width: 720px; color: #625d57; }
.cookie-categories { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.cookie-categories label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border: 1px solid #ded8d0; border-radius: 12px; }
.cookie-categories span { display: grid; gap: 3px; }
.cookie-categories small { color: #6d6760; line-height: 1.4; }
.cookie-categories input { width: 22px; height: 22px; accent-color: #ef4b23; flex: 0 0 auto; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cookie-link { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.site-footer .footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: filter .2s ease, transform .2s ease; }
.footer-socials a:hover { filter: brightness(1.1); transform: translateY(-3px); }
.footer-socials a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.footer-socials svg { width: 23px; height: 23px; }
.footer-socials .social-instagram { background: radial-gradient(circle at 30% 105%,#fdf497 0 8%,#fd5949 35%,#d6249f 62%,#285aeb 100%); }
.footer-socials .social-facebook { background: #1877f2; }
.footer-socials .social-linkedin { background: #0a66c2; }
.footer-socials .social-whatsapp { background: #25d366; }
.footer-collaboration { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 2.5rem 0 1.5rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.15); }
.footer-collaboration > div { display: grid; align-content: start; gap: .7rem; padding: clamp(1.25rem,3vw,2.25rem); background: #0d0d0c; }
.footer-collaboration span { color: var(--orange); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-collaboration strong { max-width: 520px; color: #fff; font-family: var(--font-display); font-size: clamp(1.15rem,2vw,1.65rem); line-height: 1.15; text-transform: uppercase; }
.footer-collaboration p { max-width: 590px; margin: 0; color: rgba(255,255,255,.68); line-height: 1.6; }
.footer-collaboration .btn { width: fit-content; margin-top: .25rem; }

.chatbot { position: fixed; z-index: 9000; right: 22px; bottom: 22px; font-family: var(--font-body); }
.chatbot-launcher { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 14px 40px rgba(20,15,10,.25); cursor: pointer; }
.chatbot-launcher span { font-size: 1.2rem; }
.chatbot-launcher b { font-family: var(--font-display); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.chatbot-panel { position: absolute; right: 0; bottom: 64px; width: min(390px, calc(100vw - 28px)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(20,15,10,.24); }
.chatbot-panel[hidden] { display: none; }
.chatbot-panel header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #181614; color: #fff; }
.chatbot-panel header > div { display: flex; align-items: center; gap: 11px; }
.chatbot-panel header span:not(.chatbot-avatar) { display: grid; gap: 2px; }
.chatbot-panel header strong { font-family: var(--font-display); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.chatbot-panel header small { color: rgba(255,255,255,.65); }
.chatbot-panel header button { border: 0; background: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.chatbot-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); font-family: var(--font-display); font-weight: 800; }
.chatbot-messages { display: flex; flex-direction: column; gap: 10px; height: 310px; padding: 18px; overflow-y: auto; background: #f7f4ef; }
.chatbot-message { max-width: 88%; padding: 11px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.48; white-space: pre-wrap; }
.chatbot-message.assistant { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; box-shadow: 0 4px 14px rgba(20,15,10,.06); }
.chatbot-message.user { align-self: flex-end; border-bottom-right-radius: 4px; background: #201d19; color: #fff; }
.chatbot-message a { display: inline-block; margin-top: 8px; color: var(--orange-dark); font-weight: 800; }
.chatbot-suggestions { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; }
.chatbot-suggestions button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .72rem; cursor: pointer; }
.chatbot-panel form { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding: 10px 14px; }
.chatbot-panel form input { min-width: 0; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.chatbot-panel form button { border: 0; border-radius: 12px; background: var(--orange); color: #fff; font-size: 1.25rem; cursor: pointer; }
.chatbot-whatsapp { display: block; margin: 0 14px 8px; padding: 9px; border-radius: 10px; background: #eaf8ef; color: #176b39; font-size: .76rem; font-weight: 800; text-align: center; }
.chatbot-note { display: block; padding: 0 14px 13px; color: var(--muted); font-size: .64rem; text-align: center; }
@media (max-width: 620px) { .chatbot { right: 12px; bottom: 12px; } .chatbot-panel { position: fixed; inset: 10px; width: auto; display: grid; grid-template-rows: auto 1fr auto auto auto; } .chatbot-panel[hidden] { display: none; } .chatbot-messages { height: auto; } .chatbot-launcher b { display: none; } .chatbot-launcher { width: 54px; padding: 0; justify-content: center; } }
.analytics-period { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; padding: 16px; border: 1px solid #e3ddd4; border-radius: 12px; background: #fff; }
.analytics-period label { display: grid; gap: 5px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.analytics-period select,.analytics-period input { min-height: 42px; padding: 8px 12px; border: 1px solid #d8d1c8; border-radius: 8px; background: #fff; }
.analytics-metrics { margin-bottom: 22px; }
.metric-delta { display: block; margin-top: 7px; color: #726b64; font-size: .72rem; font-weight: 700; }
.metric-delta.positive { color: #087d55; }
.metric-delta.negative { color: #b33125; }
.analytics-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.analytics-dashboard-grid .analytics-wide,.analytics-trend { grid-column: 1 / -1; }
.analytics-legend { display: flex; gap: 12px; font-size: .75rem; }
.analytics-legend span { display: flex; align-items: center; gap: 5px; }
.analytics-legend i { width: 10px; height: 10px; border-radius: 3px; background: #181715; }
.analytics-legend i.visitors { background: #ef4b23; }
.analytics-chart { display: flex; align-items: end; gap: 5px; height: 220px; padding-top: 22px; overflow-x: auto; border-bottom: 1px solid #d8d1c8; }
.analytics-bar-group { position: relative; display: flex; align-items: end; justify-content: center; gap: 2px; min-width: 25px; height: 180px; }
.analytics-bar { width: 8px; min-height: 3px; border-radius: 4px 4px 0 0; background: #181715; }
.analytics-bar.visitors { background: #ef4b23; }
.analytics-bar-group small { position: absolute; bottom: -20px; font-size: .58rem; color: #756f68; transform: rotate(-35deg); transform-origin: center; }
.analytics-ranking { display: grid; gap: 0; margin: 14px 0 0; padding-left: 28px; }
.analytics-ranking li { padding: 10px 4px; border-bottom: 1px solid #eee9e3; }
.analytics-ranking li::marker { color: #ef4b23; font-weight: 800; }
.analytics-ranking li span,.analytics-ranking li a { color: #25221f; }
.analytics-ranking li strong { float: right; }
.analytics-category-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.analytics-category { padding: 0 14px; border: 1px solid #e3ddd4; border-radius: 10px; }
.analytics-category summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; font-weight: 800; }
.analytics-category summary span { color: #7c756e; font-size: .75rem; font-weight: 600; }
.analytics-funnel { display: grid; gap: 12px; margin-top: 18px; }
.funnel-row { display: grid; grid-template-columns: 145px 1fr 45px; align-items: center; gap: 10px; font-size: .82rem; }
.funnel-row i { height: 14px; overflow: hidden; border-radius: 99px; background: #eee9e3; }
.funnel-row b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ef4b23,#ff7957); }
.funnel-row strong { text-align: right; }
.dashboard-section-title { margin: 34px 0 14px; }
@media (max-width: 760px) {
  .cookie-consent { padding: 0; place-items: end stretch; }
  .cookie-consent-panel { width: 100%; max-height: 92vh; padding: 20px; border-radius: 18px 18px 0 0; }
  .cookie-categories,.analytics-dashboard-grid,.analytics-category-list { grid-template-columns: 1fr; }
  .analytics-dashboard-grid .analytics-wide,.analytics-trend { grid-column: auto; }
  .cookie-actions .btn { width: 100%; }
  .analytics-period label { flex: 1 1 130px; }
  .funnel-row { grid-template-columns: 112px 1fr 38px; }
}

/* Customer service and policy centre */
.service-page-hero { padding-bottom: 52px; }
.service-page-hero > span { display: inline-block; margin-top: 22px; color: var(--muted); font-size: .78rem; }
.service-page-nav { position: sticky; top: var(--header-height,76px); z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(20px,4vw,64px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); scrollbar-width: thin; }
.service-page-nav a { flex: 0 0 auto; padding: 10px 15px; border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 800; text-decoration: none; }
.service-page-nav a:hover,.service-page-nav a.active { background: #181614; color: #fff; }
.service-content .faq-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.service-detail { padding: 0; overflow: clip; }
.service-detail summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; cursor: pointer; }
.service-detail summary::-webkit-details-marker { display: none; }
.service-detail summary h2 { margin: 0; font-size: 1.08rem; }
.service-detail summary span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f1ece5; color: var(--orange); font-size: 1.25rem; transition: transform .2s ease; }
.service-detail[open] summary span { transform: rotate(45deg); }
.service-detail > p { margin: 0; padding: 0 24px 24px; color: var(--muted); line-height: 1.7; }
@media (max-width: 720px) {
  .service-page-nav { top: 70px; padding-inline: 14px; }
  .service-content .faq-grid { grid-template-columns: 1fr; }
  .service-detail summary { padding: 20px; }
  .service-detail > p { padding: 0 20px 20px; }
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
.page-title,
.product-card h3,
.product-panel h1,
.section-heading h2,
.hero h1,
.hero h2,
.btn,
.eyebrow,
.main-nav,
.mobile-nav {
  font-family: var(--font-display);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  padding: 0.8rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.announcement {
  display: flex;
  align-items: center;
  min-height: 36px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
}

.announcement-track {
  min-width: max-content;
  animation: ticker 24s linear infinite;
}

.announcement-track span {
  margin-right: 4rem;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0 3vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(19, 17, 15, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.logo img {
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.35vw, 1.4rem);
  height: 76px;
}

.main-nav a,
.main-nav .nav-primary,
.header-actions a {
  position: relative;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav > a::after,
.nav-primary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.48rem;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after,
.nav-primary:hover::after,
.nav-primary.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .sale {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  height: 100%;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-primary svg {
  width: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.nav-submenu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: -1.1rem;
  display: grid;
  width: max-content;
  min-width: 235px;
  padding: 0.8rem;
  border: 1px solid rgba(20, 17, 14, 0.1);
  border-top: 3px solid var(--orange);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(18, 15, 12, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown-wide .nav-submenu {
  grid-template-columns: repeat(2, minmax(210px, 1fr));
}

.nav-submenu a {
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  font-size: 0.69rem;
  letter-spacing: 0.07em;
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: var(--sand);
  color: var(--orange-dark);
}

.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-dropdown.open .nav-primary svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-link svg {
  width: 24px;
  height: 24px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-lines {
  display: grid;
  width: 24px;
  gap: 5px;
}

.menu-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.78) 0%, rgba(12, 10, 9, 0.32) 54%, rgba(12, 10, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.18), transparent 50%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-promo::before {
  background:
    radial-gradient(circle at 47% 45%, transparent 0 24%, rgba(12, 10, 9, .12) 55%),
    linear-gradient(90deg, rgba(12, 10, 9, .9) 0%, rgba(12, 10, 9, .58) 32%, rgba(12, 10, 9, .08) 62%);
}

.hero-slide-promo .hero-content {
  width: min(690px, 88vw);
}

.hero-slide-promo .eyebrow {
  display: inline-flex;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 30px rgba(240, 74, 36, .45);
}

.hero-slide-promo .eyebrow-index {
  display: none;
}

.hero-slide-promo h1 {
  max-width: 680px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .55);
}

.hero-cinematic {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-cinematic-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
}

.hero-slide-cinematic.active .hero-cinematic-frame-1 {
  animation: morning-frame-one 7s ease both;
}

.hero-slide-cinematic.active .hero-cinematic-frame-2 {
  animation: morning-frame-two 7s ease both;
}

.hero-slide-cinematic.active .hero-cinematic-frame-3 {
  animation: morning-frame-three 7s ease both;
}

.hero-content-reveal {
  opacity: 0;
}

.hero-slide-cinematic.active .hero-content-reveal {
  animation: morning-copy-reveal 7s ease both;
}

.hero-slide-cinematic .hero-content {
  top: 62%;
  width: min(820px, 88vw);
}

.hero-slide-cinematic h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4vw, 4.35rem);
}

@keyframes morning-frame-one {
  0%, 27% { opacity: 1; transform: scale(1.025); }
  39%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes morning-frame-two {
  0%, 24% { opacity: 0; transform: scale(1.025); }
  36%, 57% { opacity: 1; transform: scale(1.01); }
  69%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes morning-frame-three {
  0%, 56% { opacity: 0; transform: scale(1.025); }
  70%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes morning-copy-reveal {
  0%, 61% { opacity: 0; transform: translateY(calc(-45% + 22px)); }
  74%, 100% { opacity: 1; transform: translateY(-45%); }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: clamp(1.5rem, 4vw, 5rem);
  z-index: 2;
  width: min(900px, 88vw);
  transform: translateY(-45%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
}

.eyebrow-index {
  margin-right: 1.25rem;
  color: var(--orange);
}

.hero h1 {
  max-width: 940px;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 670px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.65rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
}

.btn-small {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.67rem;
}

.hero-arrows {
  position: absolute;
  right: 3vw;
  bottom: 2rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(15, 13, 11, 0.2);
  color: var(--white);
  cursor: pointer;
}

.hero-dots {
  position: absolute;
  bottom: 2.4rem;
  left: 4vw;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 42px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--orange);
}

.section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 4vw, 5rem);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-header h2,
.page-title,
.admin-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  background: var(--white);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e7e1d7;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.product-card:hover img {
  transform: scale(1.025);
}

.stock-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.38rem 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.2rem 0 1.4rem;
}

.product-card-body .eyebrow {
  margin-bottom: 0.4rem;
}

.product-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-price {
  color: var(--ink);
  font-weight: 800;
}

.rug-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 14px 38px rgba(31, 25, 19, 0.07);
}

.rug-product-card > a:first-of-type {
  display: block;
}

.rug-card-options {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
  padding: 0 1.15rem 1.2rem;
}

.rug-card-options label,
.rug-detail-variant label {
  display: grid;
  gap: 0.4rem;
}

.rug-card-options label > span,
.rug-detail-variant label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rug-card-options select,
.rug-detail-variant select {
  width: 100%;
  min-height: 48px;
  padding: 0 2.6rem 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.rug-card-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.rug-card-price small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rug-card-price strong {
  flex: 0 0 auto;
  font-size: 1.2rem;
}

.rug-card-options .btn {
  width: 100%;
}

.rug-detail-variant {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #faf8f4;
}

.rug-detail-variant small {
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid-four .category-card {
  min-height: 390px;
}

.category-grid-four .category-card h3 {
  font-size: clamp(1.25rem, 2.15vw, 2.25rem);
  overflow-wrap: anywhere;
}

.customer-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.customer-project-card > div {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.customer-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.customer-project-card:hover img {
  transform: scale(1.025);
}

.customer-project-card p {
  margin: 1.15rem 0 0.25rem;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-project-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .category-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .category-grid-four,
  .customer-project-grid { grid-template-columns: 1fr; }
  .category-grid-four .category-card { min-height: 340px; }
}

.category-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  color: var(--white);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 13, 10, 0.78), transparent 65%);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card-content {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
}

.category-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.testimonial {
  min-height: 330px;
  padding: 2.2rem;
  background: var(--ink);
}

.stars {
  color: var(--orange);
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  margin: 1.8rem 0 2.5rem;
  font-size: 1.22rem;
  line-height: 1.45;
}

.testimonial footer {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.site-footer {
  padding: 4rem clamp(1.25rem, 4vw, 5rem) 2rem;
  background: #0b0a09;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img {
  width: 170px;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 0.22rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.page-hero {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 4vw, 5rem) 3.2rem;
  background: var(--cream);
}

.page-hero p {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-pill.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  min-height: calc(100vh - 112px);
  background: var(--white);
}

.product-gallery {
  position: sticky;
  top: 76px;
  align-self: start;
  height: calc(100vh - 76px);
  background: #ece5db;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-panel {
  padding: clamp(2rem, 4.5vw, 5rem);
}

.breadcrumbs {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.77rem;
}

.product-panel h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.sku {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1.6rem 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.tax-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
}

.calculator {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.calculator-title,
.field-label,
.summary-title {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.radio-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field input,
.field select,
.field textarea,
.table-input,
.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.table-input:focus {
  outline: 2px solid rgba(240, 75, 35, 0.24);
  border-color: var(--orange);
}

.helper {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.price-summary {
  margin-top: 1.6rem;
  padding: 1.35rem;
  background: var(--ink);
  color: var(--white);
}

.price-summary .summary-title {
  color: rgba(255, 255, 255, 0.75);
}

.summary-rows {
  padding: 0.8rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  font-size: 0.82rem;
}

.summary-row span:first-child {
  color: rgba(255, 255, 255, 0.68);
}

.summary-total {
  margin-top: 1rem;
}

.summary-total strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.summary-total small {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
}

.calculator-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cart-layout,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.cart-list,
.panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.2rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 0.4rem;
}

.cart-item p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-total,
.checkout-panel {
  position: sticky;
  top: 96px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-total h2,
.checkout-panel h2,
.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.total-line {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.total-line.grand {
  border-bottom: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  border: 1px dashed var(--line);
  background: var(--white);
}

.empty-state h2 {
  margin: 0 0 0.7rem;
}

.empty-state p {
  color: var(--muted);
}

.form-card {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field.full {
  grid-column: 1 / -1;
}

.success-card {
  padding: 2rem;
  border-left: 4px solid var(--success);
  background: #eef8f4;
}

.success-card h2 {
  margin-top: 0;
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3f4f6;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--white);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.admin-brand img {
  width: 120px;
}

.admin-brand span {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.admin-menu-toggle {
  display: none;
}

.admin-menu-toggle span {
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
}

.admin-nav-group {
  margin-top: 1.8rem;
}

.admin-nav-search { position: relative; margin: 1.15rem 1rem .3rem; }
.admin-nav-search span { position: absolute; top: 50%; left: .85rem; color: #9d9892; transform: translateY(-50%); pointer-events: none; }
.admin-nav-search input { width: 100%; min-height: 42px; padding: 0 .75rem 0 2.2rem; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; outline: none; background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .78rem; }
.admin-nav-search input:focus { border-color: var(--orange); background: rgba(255,255,255,.1); }
.admin-nav-search input::placeholder { color: #aaa49d; }

.admin-nav-title {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.2rem 0;
  padding: 0.72rem 0.8rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.87rem;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.admin-nav a.active {
  box-shadow: inset 3px 0 0 var(--orange);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 2rem;
  border-bottom: 1px solid #e2e5e9;
  background: var(--white);
}

.admin-topbar strong {
  font-size: 0.9rem;
}

.admin-topbar span {
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-page {
  padding: 2rem;
}

.admin-page h1 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.admin-subtitle {
  margin: 0.6rem 0 2rem;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  position: relative;
  min-height: 145px;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: var(--white);
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(240, 75, 35, 0.08);
}

.metric-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin-top: 0.55rem;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.admin-panel {
  padding: 1.25rem;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: var(--white);
}

.admin-panel h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #eaebed;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  background: #fafafa;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.table-product {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 220px;
}

.table-product img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 3px;
}

.table-input {
  min-width: 88px;
  min-height: 38px;
  padding: 0.48rem 0.55rem;
}

.table-price-stack {
  display: grid;
  min-width: 108px;
  gap: 0.5rem;
}

.table-price-stack label {
  display: grid;
  gap: 0.18rem;
}

.table-price-stack span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-table th,
.catalog-table td {
  padding-right: 0.55rem;
  padding-left: 0.55rem;
}

.catalog-table .table-input {
  min-width: 76px;
}

.catalog-table .table-product img {
  width: 44px;
  height: 44px;
}

.catalog-table .table-product {
  min-width: 175px;
  gap: 0.5rem;
}

.catalog-table .btn-small {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.catalog-row-actions {
  display: grid;
  gap: 0.45rem;
  min-width: 8.5rem;
}

.catalog-row-actions .integration-state {
  justify-self: start;
}

.catalog-row-actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.catalog-category-row th {
  background: #f1ece5;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  text-align: left;
  text-transform: uppercase;
}

.catalog-category-row th small {
  color: var(--muted);
  float: right;
  font-size: 0.68rem;
}

.catalog-filter-toolbar {
  grid-template-columns: minmax(210px, 1.7fr) repeat(4, minmax(130px, 1fr)) auto auto auto;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #eef1f4;
  color: #4c5662;
  font-size: 0.7rem;
  font-weight: 750;
}

.status-new {
  background: #fff1eb;
  color: var(--orange-dark);
}

.status-success {
  background: #e7f5ef;
  color: var(--success);
}

.status-warning {
  background: #fff5df;
  color: var(--warning);
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: start;
}

.settings-card {
  padding: 1.4rem;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: var(--white);
}

.settings-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.settings-card > p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.settings-card .field {
  margin-bottom: 0.9rem;
}

.link-health {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem;
  border: 1px solid #bde2d1;
  background: #eef8f4;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.link-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(24, 118, 82, 0.12);
}

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 200;
  max-width: min(410px, calc(100vw - 2.4rem));
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--orange);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--ink);
  color: var(--white);
}

.loading-mark {
  display: grid;
  gap: 1rem;
  place-items: center;
}

.loading-mark img {
  width: 180px;
}

.loading-bar {
  width: 180px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.loading-bar::after {
  content: "";
  display: block;
  width: 60px;
  height: 100%;
  background: var(--orange);
  animation: loading 900ms ease-in-out infinite alternate;
}

@keyframes loading {
  to {
    transform: translateX(120px);
  }
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.error-page strong {
  display: block;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 1rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a,
  .main-nav .nav-primary,
  .header-actions a {
    font-size: 0.66rem;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 1.2rem 1.5rem 1.7rem;
    background: var(--ink);
    height: auto;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-dropdown {
    display: block;
    height: auto;
  }

  .nav-primary {
    justify-content: space-between;
    width: 100%;
    height: auto;
    min-height: 42px;
  }

  .nav-submenu,
  .nav-dropdown-wide .nav-submenu {
    position: static;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    margin: 0 0 0.5rem;
    padding: 0.35rem;
    border: 0;
    border-left: 2px solid var(--orange);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown.open .nav-submenu {
    display: grid;
  }

  .nav-submenu a {
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-submenu a:hover,
  .nav-submenu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .header-actions {
    position: absolute;
    top: 18px;
    right: 4.5rem;
  }

  .header-actions .account-link {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .product-grid,
  .category-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid .testimonial:last-child {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: relative;
    top: 0;
    height: min(72vh, 700px);
  }

  .cart-layout,
  .form-layout,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .cart-total,
  .checkout-panel {
    position: static;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav-group {
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .logo img {
    width: 122px;
  }

  .header-actions {
    right: 4rem;
  }

  .hero-content {
    top: 48%;
    left: 1.25rem;
    width: calc(100% - 2.5rem);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button-row .btn {
    width: 100%;
  }

  .product-grid,
  .category-grid,
  .testimonial-grid,
  .metrics-grid,
  .admin-grid,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .testimonial-grid .testimonial:last-child {
    grid-column: auto;
  }

  .category-card {
    min-height: 360px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  .calculator-actions {
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item img {
    width: 80px;
    height: 80px;
  }

  .cart-item > :last-child {
    grid-column: 2;
  }

  .admin-page,
  .admin-topbar {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Calendly-style customer agenda and CRM availability controls */
.booking-page {
  width: min(1380px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.booking-heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.booking-heading h1 {
  margin: 0.25rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.booking-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(430px, 1.25fr) minmax(250px, 0.72fr);
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(24, 20, 18, 0.08);
}

.booking-types,
.booking-calendar,
.booking-time-panel {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.booking-types {
  color: #fff;
  background: #171310;
}

.booking-calendar {
  border-right: 1px solid var(--line);
}

.booking-time-panel {
  background: #fbfaf8;
}

.booking-step {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.booking-types .booking-step {
  color: rgba(255, 255, 255, 0.58);
}

.booking-type {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.95rem;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  color: #fff;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.booking-type.is-selected {
  border-color: var(--orange);
  background: rgba(231, 71, 25, 0.14);
  box-shadow: inset 3px 0 0 var(--orange);
}

.booking-type-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--orange);
  font-size: 1.15rem;
}

.booking-type strong,
.booking-type small {
  display: block;
}

.booking-type small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.62);
}

.booking-type-detail {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.booking-type-detail p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.booking-type-detail span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.booking-calendar-head h2 {
  margin: 0;
  text-align: center;
  text-transform: capitalize;
}

.booking-calendar-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.booking-calendar-head button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-weekdays,
.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.booking-weekdays {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.booking-day {
  display: grid;
  min-height: 58px;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #aaa29d;
  background: transparent;
}

.booking-day.has-slots {
  border-color: #e1d8d2;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.booking-day.has-slots:hover,
.booking-day.is-selected {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.booking-day small {
  color: var(--orange);
  font-size: 0.62rem;
  font-weight: 800;
}

.booking-day.is-selected small,
.booking-day.has-slots:hover small {
  color: #fff;
}

.booking-day.is-empty {
  min-height: 58px;
}

.booking-loading {
  margin: 1rem 0 0;
  color: var(--muted);
  text-align: center;
}

.booking-time-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.35;
  text-transform: capitalize;
}

.booking-times {
  display: grid;
  gap: 0.55rem;
  max-height: 440px;
  overflow: auto;
}

.booking-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d9d1cc;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 800;
  background: #fff;
  cursor: pointer;
}

.booking-time small {
  color: var(--muted);
  font-weight: 600;
}

.booking-time:hover,
.booking-time.is-selected {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.booking-time:hover small,
.booking-time.is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.booking-time-empty {
  display: grid;
  min-height: 340px;
  place-items: center;
  align-content: center;
  color: var(--muted);
  text-align: center;
}

.booking-time-empty span {
  color: var(--orange);
  font-size: 2.4rem;
}

.booking-details {
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.booking-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.booking-details-head h2 {
  margin: 0.2rem 0 0;
}

.booking-selection {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--orange);
  background: #fbf6f2;
}

.booking-selection span {
  color: var(--muted);
}

.booking-success {
  max-width: 760px;
  margin: 3rem auto;
}

.calendar-appointments {
  margin-bottom: 1rem;
}

.calendar-admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.appointment-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.calendar-heading { align-items: center; }
.calendar-heading .admin-heading-actions { justify-content: flex-end; }
.calendar-quick-guide {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #e0e2e5;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
}
.calendar-quick-guide strong { color: var(--ink); }
.calendar-quick-guide span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-quick-guide b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff0ea; color: var(--orange); font-size: .7rem; }

.appointment-type-card {
  padding: 1rem;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: #fafafa;
}

.appointment-type-card > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.appointment-type-card > summary::-webkit-details-marker { display: none; }
.appointment-type-card > summary span { display: grid; gap: 3px; }
.appointment-type-card > summary small { color: var(--muted); font-size: .76rem; }
.appointment-type-card > summary b { color: var(--orange); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.appointment-type-card[open] > summary { padding-bottom: 14px; border-bottom: 1px solid #e0e2e5; }
.appointment-type-card form { padding-top: 14px; }
.appointment-color-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--appointment-color); }
.appointment-switches { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 16px; }
.calendar-disclosure { margin-bottom: 16px; padding: 0; overflow: hidden; }
.calendar-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}
.calendar-disclosure > summary::-webkit-details-marker { display: none; }
.calendar-disclosure > summary span { display: grid; gap: 5px; }
.calendar-disclosure > summary strong { font-size: 1rem; }
.calendar-disclosure > summary small { color: var(--muted); }
.calendar-disclosure > summary b { color: var(--orange); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.calendar-disclosure[open] > summary { border-bottom: 1px solid #e0e2e5; }
.calendar-disclosure-body { padding: 20px; }

.appointment-type-card h3 {
  margin: 0.3rem 0;
}

.appointment-type-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-heading-actions,
.appointment-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.calendar-row-download {
  display: inline-flex;
  margin-top: 0.45rem;
}

.appointment-kind {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.appointment-settings-form,
.availability-add-form,
.availability-override-form {
  display: grid;
  align-items: end;
  gap: 0.75rem;
}

.appointment-settings-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.appointment-settings-form .btn {
  grid-column: 1 / -1;
}

.availability-add-form {
  grid-template-columns: 1.2fr 1fr 1fr auto;
  margin-top: 1rem;
}

.availability-override-form {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr 1.4fr auto;
  margin-bottom: 1rem;
}

.availability-add-form .field,
.availability-override-form .field,
.appointment-settings-form .field,
.appointment-type-card .field {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .booking-shell {
    grid-template-columns: 260px minmax(390px, 1fr);
  }

  .booking-time-panel {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .booking-time-empty {
    min-height: 150px;
  }

  .booking-times {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: none;
  }

  .availability-override-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .booking-shell,
  .calendar-admin-grid {
    grid-template-columns: 1fr;
  }

  .booking-calendar {
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .booking-type-detail {
    display: none;
  }

  .booking-times,
  .appointment-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-heading-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .admin-heading-actions .btn { justify-content: center; }
  .calendar-quick-guide { align-items: flex-start; flex-direction: column; gap: 9px; }

  .availability-add-form,
  .availability-override-form,
  .appointment-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .booking-page {
    width: min(100% - 1rem, 1380px);
    padding: 2rem 0;
  }

  .booking-types,
  .booking-calendar,
  .booking-time-panel,
  .booking-details {
    padding: 1rem;
  }

  .booking-calendar-grid,
  .booking-weekdays {
    gap: 0.2rem;
  }

  .booking-day,
  .booking-day.is-empty {
    min-height: 46px;
  }

  .booking-day small {
    display: none;
  }

  .booking-times,
  .appointment-type-grid,
  .availability-add-form,
  .availability-override-form,
  .appointment-settings-form {
    grid-template-columns: 1fr;
  }

  .booking-details-head {
    flex-direction: column;
  }

  .booking-selection {
    width: 100%;
  }

  .availability-add-form .btn,
  .availability-override-form .btn,
  .appointment-settings-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Refined storefront rhythm and recommendation experience */
main#main .btn,
main#main .filter-pill {
  border-radius: 999px;
}

main#main input,
main#main select,
main#main textarea {
  border-radius: 9px;
}

main#main :focus-visible {
  outline: 3px solid rgba(240, 75, 35, 0.42);
  outline-offset: 3px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 19, 17, 0.08);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.page-hero::before {
  top: -42%;
  right: 7%;
  width: clamp(180px, 27vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 75, 35, 0.28);
  border-radius: 50%;
}

.page-hero::after {
  right: clamp(1rem, 4vw, 5rem);
  bottom: -7px;
  width: clamp(70px, 12vw, 180px);
  height: 14px;
  border-radius: 999px 999px 0 0;
  background: var(--orange);
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(21, 19, 17, 0.07);
  border-radius: 15px;
  box-shadow: 0 14px 42px rgba(35, 26, 18, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  border-color: rgba(240, 75, 35, 0.22);
  box-shadow: 0 20px 54px rgba(35, 26, 18, 0.12);
  transform: translateY(-5px);
}

.product-card-body {
  padding: 1.2rem 1.15rem 1.35rem;
}

.product-compare {
  margin: 0 1.15rem 1.15rem;
  border-radius: 999px;
}

.stock-badge {
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(21, 19, 17, 0.08);
}

.category-card {
  border-radius: 22px 8px 22px 8px;
  box-shadow: 0 20px 55px rgba(24, 18, 12, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.category-card:nth-child(3n + 2) {
  border-radius: 8px 22px 8px 22px;
}

.category-card:hover {
  box-shadow: 0 26px 65px rgba(24, 18, 12, 0.18);
  transform: translateY(-5px);
}

.faq-card,
.form-card,
.cart-total,
.checkout-panel,
.empty-state {
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(32, 24, 17, 0.06);
}

.recommendation-showcase {
  position: relative;
  background-color: var(--ink);
  background-image: radial-gradient(circle at 92% 6%, rgba(240, 75, 35, 0.18), transparent 25%);
}

.recommendation-showcase::before {
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 4vw, 5rem);
  width: min(180px, 28vw);
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: var(--orange);
  content: "";
}

.recommendation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.8rem;
}

.recommendation-tabs button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.recommendation-tabs button span {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
}

.recommendation-tabs button[aria-selected="true"] {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.recommendation-tabs button[aria-selected="true"] span {
  background: var(--orange);
  color: var(--white);
}

.recommendation-panel-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.recommendation-panel-head > p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.recommendation-showcase .collection-product-card,
.cart-recommendations .collection-product-card {
  border-radius: 14px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.16);
}

.recommendation-reason {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: rgba(240, 75, 35, 0.1);
  color: var(--orange-dark);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-recommendations {
  padding: 0 clamp(1.25rem, 4vw, 5rem) clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background: var(--paper);
}

.cart-recommendations-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.cart-recommendations-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.cart-recommendations-head p:last-child {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.cart-recommendations .collection-slider-controls button {
  border-color: rgba(21, 19, 17, 0.26);
  color: var(--ink);
}

.cart-recommendations .collection-slider-controls button:hover:not(:disabled),
.cart-recommendations .collection-slider-controls button:focus-visible {
  color: var(--white);
}

@media (max-width: 700px) {
  .footer-collaboration { grid-template-columns: 1fr; }
  .footer-collaboration .btn { width: 100%; }
  .page-hero::before {
    right: -18%;
  }

  .page-hero::after {
    right: 1rem;
  }

  .recommendation-showcase .collection-showcase-title .brand-mark {
    width: 120px;
    height: 56px;
  }

  .recommendation-tabs {
    flex-wrap: nowrap;
    margin-right: -1.25rem;
    padding-right: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .recommendation-tabs::-webkit-scrollbar {
    display: none;
  }

  .recommendation-tabs button {
    flex: 0 0 auto;
  }

  .recommendation-panel-head,
  .cart-recommendations-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .recommendation-panel-head .collection-slider-controls,
  .cart-recommendations-head .collection-slider-controls {
    align-self: flex-end;
  }

  .cart-recommendations {
    padding-right: 1rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
  }

  .product-card-body {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Social media planner */
.social-platforms { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 1rem 0; padding: 1rem; border: 1px solid var(--admin-line, #d8dde5); }
.social-integration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.social-integration-card { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--admin-line,#d8dde5); border-radius: 11px; background: #faf9f7; }
.social-integration-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.social-integration-heading h3 { margin: .4rem 0 0; }
.social-integration-heading p { margin: .35rem 0 0; color: var(--muted); font-size: .85rem; }
.social-integration-compact { align-content: start; }
.social-technical-settings { border-top: 1px solid var(--admin-line,#ddd); padding-top: .75rem; }
.social-technical-settings > summary, .social-callback-help > summary { cursor: pointer; font-weight: 800; }
.social-technical-settings[open] { display: grid; gap: .75rem; }
.social-setup-note { display: grid; grid-template-columns: auto 1fr; gap: .35rem .7rem; padding: .8rem; border-radius: 8px; background: #fff3ed; font-size: .82rem; }
.social-setup-note strong { color: var(--orange); }
.social-callback-help { margin-top: 1rem; color: var(--muted); }
.social-platforms legend { padding: 0 .4rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.social-platforms label { display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.social-builder-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.65fr); gap: 1.5rem; align-items: start; }
.social-ad-builder form { display: grid; gap: 1rem; }
.social-ad-preview { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 16px; background: #181613; color: #fff; box-shadow: 0 18px 44px rgba(26,22,18,.2); }
.social-ad-preview > img { width: 100%; height: 100%; object-fit: cover; }
.social-ad-preview::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.9)); }
.social-ad-preview > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; justify-items: start; gap: .55rem; padding: 1.5rem; }
.social-ad-preview span { font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.social-ad-preview h2 { margin: 0; color: #fff; font-size: clamp(1.45rem,3vw,2.25rem); }
.social-ad-preview strong { padding: .55rem .75rem; border-radius: 12px 12px 12px 2px; background: var(--orange); font-size: 1.15rem; }
.social-ad-preview small { font-weight: 800; }
.social-plan-list { display: grid; gap: .65rem; }
.social-plan-card { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid var(--admin-line,#ddd); border-radius: 10px; }
.social-plan-card img { width: 72px; height: 72px; border-radius: 7px; object-fit: cover; }
.social-plan-summary { display: grid; gap: .2rem; }
.social-plan-card small { color: var(--orange); font-weight: 800; text-transform: uppercase; }
.social-plan-card span { color: var(--muted); font-size: .85rem; }
.social-plan-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.social-plan-delete { color: #9f2e1b; border-color: #efc6bd; }
.social-plan-editor { grid-column: 1 / -1; border-top: 1px solid var(--admin-line,#ddd); padding: 1rem .25rem .25rem; }
.social-plan-editor[hidden] { display: none; }
.social-plan-editor .social-platforms { margin: .8rem 0; }
.navigation-editor { display: grid; gap: 1rem; }
.navigation-group-editor { display: grid; gap: .45rem; padding: .7rem; border: 1px solid var(--admin-line,#ddd); border-radius: 10px; background: #fff; }
.navigation-editor-row { display: grid; grid-template-columns: 28px 145px minmax(150px,1fr) minmax(180px,1.2fr) auto auto; gap: .65rem; align-items: end; padding: .65rem; border: 1px solid #e2ded8; border-radius: 8px; background: #fff; }
.navigation-depth-1 { border-left: 5px solid var(--orange); background: #f6f1eb; }
.navigation-depth-2 { margin-left: 2rem; }
.navigation-depth-3 { margin-left: 4rem; background: #fafafa; }
.navigation-drag { cursor: grab; align-self: center; font-weight: 900; color: var(--muted); letter-spacing: -3px; }
.navigation-level { align-self: center; font-size: .72rem; font-weight: 900; text-transform: uppercase; color: var(--muted); }
.navigation-editor-row .field { margin: 0; }
.navigation-row-actions { display: flex; gap: .3rem; }
.navigation-editor-row.is-dragging { opacity: .45; }
.navigation-add-card { margin-bottom: 1rem; }
.shop-advanced-filters { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: .75rem; }
.shop-advanced-filters summary { cursor: pointer; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.shop-advanced-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; padding-top: .8rem; }
.shop-advanced-grid label { display: grid; gap: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.shop-advanced-grid select, .shop-advanced-grid input { min-width: 0; width: 100%; padding: .75rem; border: 1px solid var(--line); background: #fff; }
.shop-advanced-grid .filter-check { display: flex; align-items: center; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.shop-advanced-grid .filter-check input { width: auto; }
.customer-portal-layout { grid-template-columns: minmax(0,1.65fr) minmax(260px,.75fr); }
.customer-portal { display: grid; gap: .75rem; margin-top: 1.5rem; }
.portal-order { border: 1px solid var(--line); background: #fff; }
.portal-order summary { cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem; }
.portal-order summary span:first-child { display: grid; gap: .2rem; }
.portal-order-content { padding: 0 1rem 1rem; border-top: 1px solid var(--line); }
.portal-appointment { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); }
.portal-appointment > div:first-child { display: grid; gap: .25rem; }
@media (max-width: 800px) { .shop-advanced-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .navigation-editor-row { grid-template-columns: 24px 1fr; } .navigation-editor-row > .field, .navigation-editor-row > .switch-field, .navigation-row-actions { grid-column: 2; } .navigation-depth-2 { margin-left: 1rem; } .navigation-depth-3 { margin-left: 2rem; } }
@media (max-width: 800px) { .social-builder-grid { grid-template-columns: 1fr; } .social-ad-preview { max-width: 420px; } }
@media (max-width: 800px) { .social-integration-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .social-plan-card { grid-template-columns: 58px 1fr; } .social-plan-card img { width: 58px; height: 58px; } .social-plan-actions { grid-column: 1 / -1; justify-content: stretch; } .social-plan-actions .btn { flex: 1; } }

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .category-card {
    transition: none;
  }
}

/* BarkodCRM authentication */
.admin-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 15% 20%, rgba(235, 83, 32, 0.18), transparent 30rem),
    linear-gradient(145deg, #191512, #090807 72%);
}

.admin-auth-card {
  width: min(100%, 480px);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-top: 4px solid var(--orange);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.admin-auth-card > img {
  width: 148px;
  height: auto;
  margin-bottom: 2rem;
}

.admin-auth-card h1 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.admin-auth-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.admin-auth-card form {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-auth-card form .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.admin-auth-card .form-error {
  margin-top: 0;
}

.admin-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.admin-user > span:first-child {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 760px) {
  .admin-user > span {
    display: none;
  }

  .admin-user .btn {
    min-height: 42px;
  }
}

/* Interactive floor advisor */
.advisor-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  min-height: calc(100svh - 118px);
  background: var(--cream);
}

.advisor-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  background: linear-gradient(155deg, #181411, #292019);
  color: var(--white);
}

.advisor-intro h1,
.advisor-result-hero h1 {
  margin: 0.5rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.advisor-intro > p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.advisor-intro .text-link {
  margin-top: 1.25rem;
  color: var(--white);
}

.advisor-workspace {
  align-self: center;
  width: min(100%, 920px);
  padding: clamp(1.25rem, 5vw, 5rem);
}

.advisor-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.advisor-progress progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #ded8d1;
}

.advisor-progress progress::-webkit-progress-bar { background: #ded8d1; }
.advisor-progress progress::-webkit-progress-value { background: var(--orange); }
.advisor-progress progress::-moz-progress-bar { background: var(--orange); }

#floorAdvisorForm {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.advisor-question-head h2 {
  max-width: 18ch;
  margin: 0.35rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.advisor-question-head > p:not(.eyebrow) {
  color: var(--muted);
}

.advisor-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.advisor-option {
  position: relative;
  cursor: pointer;
}

.advisor-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.advisor-option > span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.advisor-option i {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  border: 2px solid #aaa29a;
  border-radius: 50%;
}

.advisor-options.is-multiple .advisor-option i {
  border-radius: 3px;
}

.advisor-option strong,
.advisor-option small {
  display: block;
}

.advisor-option strong {
  font-size: 1rem;
}

.advisor-option small {
  grid-column: 2;
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.35;
}

.advisor-option:hover > span {
  transform: translateY(-2px);
  border-color: #bdb2aa;
}

.advisor-option > input:focus-visible + span {
  outline: 3px solid rgba(235, 83, 32, 0.28);
  outline-offset: 2px;
}

.advisor-option > input:checked + span {
  border-color: var(--orange);
  box-shadow: inset 4px 0 0 var(--orange);
}

.advisor-option > input:checked + span i {
  border-color: var(--orange);
  background: radial-gradient(circle, var(--orange) 0 42%, transparent 46%);
}

.advisor-options.is-multiple .advisor-option > input:checked + span i {
  background: var(--orange);
  box-shadow: inset 0 0 0 3px var(--white);
}

.advisor-number {
  display: block;
  max-width: 520px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.advisor-number > div {
  display: flex;
  align-items: center;
  margin-top: 0.55rem;
  border-bottom: 3px solid var(--ink);
}

.advisor-number input {
  min-width: 0;
  width: 100%;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
}

.advisor-number input:focus { outline: 0; }
.advisor-number strong { color: var(--ink); font-size: 1.4rem; }

.advisor-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.advisor-result-hero {
  padding: clamp(4rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem);
  background: linear-gradient(145deg, #15120f, #2d2119);
  color: var(--white);
}

.advisor-result-hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 7.4rem);
}

.advisor-result-hero > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.advisor-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.advisor-result-summary span {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
}

.advisor-result-summary strong { color: var(--white); }

.advisor-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.advisor-recommendation {
  position: relative;
  min-height: 310px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 3px solid var(--orange);
  background: var(--white);
}

.advisor-recommendation > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ddd5ce;
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.advisor-recommendation h2 {
  margin: 1.5rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-transform: uppercase;
}

.advisor-recommendation > p:not(.eyebrow) {
  min-height: 5rem;
  color: var(--muted);
  line-height: 1.65;
}

.advisor-caution {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--orange);
  background: #fff8f2;
}

.advisor-caution p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .advisor-page { grid-template-columns: 1fr; }
  .advisor-intro { padding-block: 3rem; }
  .advisor-intro h1 { max-width: 12ch; font-size: clamp(2.8rem, 10vw, 5rem); }
  .advisor-recommendation-grid { grid-template-columns: 1fr; }
  .advisor-recommendation { min-height: 0; }
  .advisor-recommendation > p:not(.eyebrow) { min-height: 0; }
}

@media (max-width: 600px) {
  .advisor-workspace { padding-block: 2.5rem; }
  .advisor-options { grid-template-columns: 1fr; }
  .advisor-option > span { min-height: 78px; }
  .advisor-actions { position: sticky; bottom: 0; z-index: 3; margin-inline: -1.25rem; padding: 1rem 1.25rem; background: rgba(247, 244, 240, 0.96); backdrop-filter: blur(10px); }
  .advisor-actions .btn { flex: 1; }
  .advisor-caution { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Favorites and floor comparison */
.favorite-header-link {
  position: relative;
  text-decoration: none;
}

.favorite-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  line-height: 1;
}

.product-favorite {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(20, 17, 15, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(26, 20, 16, 0.12);
  cursor: pointer;
  font-size: 1.4rem;
}

.product-favorite:hover,
.product-favorite[aria-pressed="true"] {
  border-color: var(--orange);
  color: var(--orange);
}

.product-favorite:focus-visible,
.product-compare:focus-visible,
.compare-clear:focus-visible {
  outline: 3px solid rgba(235, 83, 32, 0.32);
  outline-offset: 2px;
}

.product-compare {
  width: 100%;
  min-height: 42px;
  margin-top: -0.6rem;
  padding: 0.65rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  text-align: left;
}

.product-compare:hover,
.product-compare[aria-pressed="true"] {
  color: var(--orange);
}

.product-save-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.product-save-actions .btn {
  min-height: 44px;
}

.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), 920px);
  padding: 0.85rem 0.9rem 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(20, 17, 15, 0.96);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.compare-tray > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.compare-tray > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.15rem;
}

.compare-tray span {
  max-width: 520px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-clear {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: underline;
}

.saved-empty {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.saved-empty > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 4rem;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  min-width: 190px;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 150px;
  background: #f6f3ef;
}

.compare-table thead th {
  background: #f6f3ef;
}

.compare-table thead th:not(:first-child) {
  min-width: 230px;
}

.compare-table thead img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  margin-bottom: 0.8rem;
  object-fit: cover;
}

.compare-table thead a {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.compare-table thead button {
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange);
  cursor: pointer;
}

@media (max-width: 600px) {
  .compare-tray {
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.7rem;
  }

  .compare-tray span,
  .compare-tray .compare-clear {
    display: none;
  }

  .compare-tray > div:first-child { flex: 1; }
  .compare-tray strong { font-size: 0.82rem; }
  .product-save-actions { display: grid; grid-template-columns: 1fr; }
}

/* Floor installation add-on */
.floor-installation {
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbf8f3;
}

.floor-installation-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 170ms ease, color 170ms ease;
}

.floor-installation-toggle:hover {
  background: #f3ece2;
}

.floor-installation-toggle.is-selected {
  background: var(--ink);
  color: var(--white);
}

.floor-installation-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.floor-installation-toggle > span:nth-child(2),
.floor-installation-toggle small,
.floor-installation-price small,
.floor-installation-options small,
.floor-installation-quote small {
  display: block;
}

.floor-installation-toggle > span:nth-child(2) > strong {
  display: block;
  font-size: 0.95rem;
}

.floor-installation-toggle > span:nth-child(2) > small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.floor-installation-toggle.is-selected > span:nth-child(2) > small {
  color: rgba(255, 255, 255, 0.68);
}

.floor-installation-price {
  color: var(--orange-dark);
  font-size: 1rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.floor-installation-price small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.floor-installation-toggle.is-selected .floor-installation-price,
.floor-installation-toggle.is-selected .floor-installation-price small {
  color: var(--white);
}

.floor-installation-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.9fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.floor-installation-options > div {
  display: grid;
  gap: 0.2rem;
}

.floor-installation-options > div span {
  color: var(--muted);
  font-size: 0.8rem;
}

.floor-installation-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: #faf8f4;
  cursor: pointer;
}

.floor-installation-options label:has(input:checked) {
  border-color: var(--orange);
  background: rgba(240, 75, 35, 0.06);
}

.floor-installation-options input {
  width: 19px;
  height: 19px;
  margin-top: 0.1rem;
  accent-color: var(--orange);
}

.floor-installation-options label strong {
  display: block;
  font-size: 0.85rem;
}

.floor-installation-options label small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.floor-installation-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.floor-installation-quote > div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.floor-installation-quote strong {
  display: block;
  font-size: 0.92rem;
}

.floor-installation-quote small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.77rem;
}

.settings-form-section {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e0e2e5;
}

.settings-form-section h3 {
  margin: 0;
  font-size: 0.95rem;
}

.settings-form-section p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .floor-installation-toggle {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .floor-installation-price {
    grid-column: 2;
    text-align: left;
  }

  .floor-installation-options {
    grid-template-columns: 1fr;
  }

  .floor-installation-quote {
    align-items: stretch;
    flex-direction: column;
  }

  .floor-installation-quote .btn {
    width: 100%;
  }
}

/* Final layout and interaction pass */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 75, 35, 0.45);
  outline-offset: 3px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.header-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.header-icon:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.header-icon svg {
  width: 20px;
  height: 20px;
}

.header-search {
  position: sticky;
  top: 76px;
  z-index: 49;
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(300px, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(21, 19, 17, 0.09);
}

.header-search > label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-search > div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
}

.header-search input,
.shop-search input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.search-close {
  display: grid;
  width: 46px;
  min-height: 46px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.7rem;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.45vw, 5.9rem);
}

.eyebrow-orange {
  color: var(--orange);
}

.eyebrow-light {
  color: var(--white);
}

.cart-checkout-button {
  width: 100%;
  margin-top: 1rem;
}

.footer-top {
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, 0.72fr)) minmax(210px, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.shop-toolbar {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.shop-filter-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.52fr) minmax(150px, 0.48fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.shop-toolbar.category-route .shop-filter-fields {
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 0.48fr) auto;
}

.shop-mobile-bar,
.shop-filter-done { display: none; }

.stock-filter,
.category-filter,
.brand-filter,
.sort-filter {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.category-filter,
.brand-filter {
  display: grid;
  align-content: center;
  gap: 0.3rem;
}

.category-filter > span,
.brand-filter > span,
.sort-filter > span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stock-filter {
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.stock-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.sort-filter select,
.category-filter select,
.brand-filter select {
  min-height: 50px;
  padding: 0.6rem 2.4rem 0.6rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.results-meta {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.shop-pagination > span {
  min-width: 110px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.shop-empty {
  grid-column: 1 / -1;
}

.product-panel {
  padding: clamp(2rem, 3.8vw, 4rem);
}

.product-panel h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 3.25vw, 3.8rem);
}

.detail-price {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.7rem;
  align-items: end;
}

.detail-price strong {
  white-space: nowrap;
}

.price-unit {
  padding-bottom: 0.3rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.tax-note {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  color: var(--muted);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.price-summary {
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(21, 19, 17, 0.14);
}

.summary-row strong {
  text-align: right;
}

.product-specifications {
  padding: clamp(2.2rem, 4vw, 4rem) clamp(1.2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: #f7f4ef;
}

.product-specifications-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.product-specifications-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.product-specifications-head > span {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-specifications dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.product-specifications dl > div {
  min-width: 0;
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-specifications dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-specifications dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.content-split h2,
.service-cta h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.value-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-grid article,
.faq-card {
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.value-grid article:first-child {
  grid-column: 1 / -1;
}

.value-grid strong {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 2rem;
}

.value-grid h3,
.faq-card h2 {
  margin: 1rem 0 0.6rem;
  font-size: 1.1rem;
}

.value-grid p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

/* Keep the homepage service steps visually connected to their dark section. */
.section-dark .value-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, #211e1b 0%, #171513 100%);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.section-dark .value-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
}

.section-dark .value-grid h3 {
  color: var(--white);
}

.section-dark .value-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.sale-price { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .3rem .5rem; }
.sale-price del, .detail-price del, .legservice-rate-card del { color: var(--muted); font-size: .8em; font-weight: 500; }
.sale-price b { color: var(--orange); }
.sale-price em, .detail-sale-badge, .service-sale-badge { padding: .22rem .42rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.detail-sale-badge { display: inline-flex; margin-bottom: .5rem; }
.detail-price del { display: block; margin-bottom: .15rem; }
.legservice-rate-card .service-sale-badge { margin: 0 .35rem; vertical-align: middle; }

.discount-create { margin-bottom: 2rem; }
.discount-products { display: block; margin: 1.25rem 0; }
.discount-products select { width: 100%; min-height: 15rem; padding: .55rem; border: 1px solid var(--line); background: #fff; }
.discount-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.4rem 0; padding: 1.2rem; border: 1px solid var(--line); }
.discount-services legend { padding: 0 .4rem; font-weight: 800; }
.discount-services label { display: flex; gap: .55rem; align-items: center; }
.campaign-slide-settings { margin: 1rem 0; border: 1px solid var(--line); }
.campaign-slide-settings summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 800; }
.campaign-slide-settings > div { padding: 0 1.2rem 1.2rem; }
.discount-campaign-list { display: grid; gap: 1rem; }
.discount-campaign-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem; border: 1px solid var(--line); background: #fff; }
.discount-campaign-card h2 { margin: .65rem 0 .35rem; font-size: 1.25rem; }
.discount-campaign-card p, .discount-campaign-card small { margin: 0; color: var(--muted); }
.discount-card-actions { display: grid; flex: 0 0 auto; gap: .6rem; }
.input-with-suffix { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.input-with-suffix input { min-width: 0; border: 0 !important; }
.input-with-suffix span { padding-right: .8rem; font-weight: 800; }

@media (max-width: 760px) {
  .discount-services { grid-template-columns: 1fr; }
  .discount-campaign-card { align-items: stretch; flex-direction: column; }
}

.service-cta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--cream);
}

.service-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.field-spaced {
  margin-top: 1rem;
}

.form-intro {
  margin-bottom: 1.5rem;
}

.lookup-result,
.form-error {
  margin-top: 1.5rem;
  padding: 1.2rem;
}

.lookup-result {
  border-left: 4px solid var(--success);
  background: #eef8f4;
}

.lookup-result h3 {
  margin: 0 0 0.7rem;
}

.form-error {
  border-left: 4px solid var(--danger);
  background: #fff0f0;
  color: var(--danger);
}

.admin-sidebar {
  background: linear-gradient(180deg, #161311 0%, #0b0a09 100%);
}

.admin-topbar > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.environment-badge {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: #eef8f4;
  color: var(--success) !important;
  font-size: 0.65rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.admin-heading .btn {
  flex: 0 0 auto;
}

.link-health.compact {
  margin-top: 0.5rem;
  white-space: nowrap;
}

.link-health.is-error {
  border-color: #f0bcbc;
  background: #fff0f0;
  color: var(--danger);
}

.catalog-create {
  margin-bottom: 1.2rem;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid #e0e2e5;
  border-top: 4px solid var(--orange);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 35px rgba(21, 19, 17, 0.07);
}

.catalog-create-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}

.catalog-create-head h2 {
  margin: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1rem;
}

.catalog-toolbar input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d9dce0;
  background: var(--white);
}

.catalog-toolbar > span,
.admin-pagination > span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 46px minmax(90px, 130px) 46px;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.quantity-control button,
.quantity-control input {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 320px;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quantity-total strong {
  font-size: 1.4rem;
}

.installation-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 520px;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.installation-option:has(input:checked) {
  border-color: var(--orange);
  background: rgba(231, 83, 26, 0.07);
}

.installation-option input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--orange);
}

.installation-option span,
.installation-option small {
  display: block;
}

.installation-option strong {
  font-size: 0.94rem;
}

.installation-option small {
  margin-top: 0.2rem;
  color: var(--muted);
  line-height: 1.45;
}

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

.settings-card {
  min-width: 0;
}

#settingsForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1rem;
}

#settingsForm > h2,
#settingsForm > p,
#settingsForm > button {
  grid-column: 1 / -1;
}

#settingsForm > button {
  justify-self: start;
}

@media (max-width: 1180px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .header-search {
    top: 76px;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .shop-filter-fields {
    grid-template-columns: 1fr 1fr;
  }

  .shop-toolbar.category-route .shop-filter-fields {
    grid-template-columns: 1fr;
  }

  .shop-toolbar:not(.category-route) .shop-search {
    grid-column: 1 / -1;
  }

  .content-split {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    flex-direction: column;
    gap: 0.5rem;
  }

  .link-health.compact {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .hero-slide-cinematic .hero-content {
    top: 56%;
    width: calc(100% - 2rem);
  }

  .hero-slide-cinematic h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-icon {
    width: 36px;
    height: 36px;
  }

  .header-search > div,
  .shop-toolbar,
  .value-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .header-search .search-close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
  }

  .shop-search,
  .value-grid article:first-child {
    grid-column: auto;
  }

  .shop-pagination {
    justify-content: space-between;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-cta .btn {
    width: 100%;
  }

  .detail-price {
    grid-template-columns: auto 1fr;
  }

  #settingsForm {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .product-panel {
    padding: 1.5rem 1.2rem 2.5rem;
  }

  .summary-row {
    gap: 0.7rem;
  }

  .admin-topbar > span:last-child {
    display: none;
  }
}

/* Mobile experience: compact navigation, touch targets and readable working surfaces. */
@media (max-width: 860px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 64px;
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-actions {
    top: 50%;
    right: 4.5rem;
    transform: translateY(-50%);
  }

  .main-nav {
    top: 100%;
    gap: 0;
    max-height: calc(100svh - 64px);
    padding: 0.65rem 1rem 1.25rem;
    overscroll-behavior: contain;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
  }

  .main-nav > a,
  .main-nav .nav-primary {
    width: 100%;
    min-height: 50px;
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.78rem;
    text-align: left;
  }

  .main-nav > a::after,
  .nav-primary::after {
    bottom: 0;
  }

  .nav-submenu,
  .nav-dropdown-wide .nav-submenu {
    margin: 0;
    padding: 0.35rem 0.45rem 0.55rem;
  }

  .nav-submenu a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }

  .header-search {
    top: 64px;
  }

  .product-gallery {
    height: min(62svh, 560px);
    min-height: 360px;
  }

  .table-wrap {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 80;
    height: auto;
    padding: 0.7rem 1rem;
    overflow: visible;
  }

  .admin-brand {
    min-height: 48px;
    margin: 0;
  }

  .admin-brand img {
    width: 108px;
  }

  .admin-brand > span {
    display: none;
  }

  .admin-menu-toggle {
    display: flex;
    min-width: 88px;
    min-height: 42px;
    margin-left: auto;
    padding: 0.55rem 0.7rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    cursor: pointer;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .admin-menu-toggle strong {
    transition: transform 180ms ease;
  }

  .admin-menu-toggle[aria-expanded="true"] strong {
    transform: rotate(180deg);
  }

  .admin-nav {
    display: none;
    max-height: calc(100svh - 72px);
    padding: 0.4rem 0 0.8rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .admin-nav.open {
    display: grid;
  }

  .admin-nav a {
    min-height: 46px;
  }

  .admin-topbar {
    min-height: 56px;
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }

  .announcement {
    min-height: 32px;
    font-size: 0.64rem;
    letter-spacing: 0.09em;
  }

  .announcement-track span {
    margin-right: 2rem;
  }

  .site-header {
    min-height: 62px;
  }

  .logo img {
    width: 112px;
  }

  .header-actions {
    right: 4.15rem;
  }

  .header-icon,
  .cart-link,
  .menu-toggle {
    min-width: 42px;
    min-height: 42px;
  }

  .cart-link {
    justify-content: center;
    gap: 0.25rem;
  }

  .cart-count {
    position: absolute;
    top: 0;
    right: -0.2rem;
    min-width: 19px;
    height: 19px;
    font-size: 0.62rem;
  }

  .main-nav {
    max-height: calc(100svh - 62px);
  }

  .header-search {
    top: 62px;
    padding: 0.9rem 1rem 1rem;
  }

  .header-search > label {
    padding-right: 2.5rem;
  }

  .header-search .btn,
  .shop-toolbar .btn {
    width: 100%;
  }

  .section {
    padding: 3rem 1rem;
  }

  .page-hero {
    padding: 2.8rem 1rem 2.3rem;
  }

  .page-hero p {
    margin-top: 0.9rem;
    font-size: 1rem;
  }

  .page-title,
  .section-header h2,
  .admin-page h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    top: 46%;
    left: 1rem;
    width: calc(100% - 2rem);
    transform: translateY(-48%);
  }

  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.35rem, 12.5vw, 3.45rem);
    line-height: 0.98;
  }

  .hero-copy {
    margin-bottom: 1.35rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .button-row {
    gap: 0.65rem;
  }

  .button-row .btn,
  .calculator-actions .btn,
  .form-card button[type="submit"] {
    width: 100%;
  }

  .hero-arrows {
    right: 1rem;
    bottom: 1rem;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-dots {
    bottom: 1.65rem;
    left: 1rem;
  }

  .hero-dot {
    width: 28px;
  }

  .section-header {
    margin-bottom: 1.35rem;
  }

  .section-header .text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .product-grid,
  .category-grid,
  .testimonial-grid {
    gap: 1rem;
  }

  .product-card-body {
    padding: 1rem 0 1.15rem;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .category-card {
    min-height: 310px;
  }

  .site-footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-top {
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-col a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0.45rem 0;
  }

  .footer-bottom {
    line-height: 1.5;
  }

  .shop-toolbar,
  .shop-toolbar.category-route {
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .stock-filter,
  .sort-filter select,
  .category-filter select,
  .brand-filter select,
  .shop-search input {
    width: 100%;
    min-height: 52px;
  }

  .results-meta {
    margin-bottom: 1rem;
  }

  .shop-pagination {
    gap: 0.45rem;
  }

  .shop-pagination .btn {
    min-width: 0;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .shop-pagination > span {
    min-width: 86px;
    font-size: 0.75rem;
  }

  .product-gallery {
    height: min(58svh, 460px);
    min-height: 320px;
  }

  .product-panel {
    padding: 1.5rem 1rem 2.5rem;
  }

  .breadcrumbs {
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
  }

  .product-panel h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .detail-price {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin: 1.25rem 0;
  }

  .detail-price strong {
    font-size: clamp(2rem, 11vw, 2.8rem);
    white-space: normal;
  }

  .price-unit {
    padding: 0;
  }

  .tax-note {
    grid-column: auto;
    margin-top: 0.15rem;
  }

  .calculator {
    margin-top: 1.5rem;
  }

  .radio-row label {
    min-height: 44px;
    align-items: flex-start;
    padding: 0.5rem 0;
  }

  .field input,
  .field select,
  .field textarea,
  .form-control {
    min-height: 52px;
    font-size: 1rem;
  }

  .price-summary {
    margin-top: 1.2rem;
    padding: 1rem;
  }

  .summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 0.35rem 0;
  }

  .summary-row strong {
    max-width: 132px;
  }

  .calculator-actions {
    gap: 0.6rem;
  }

  .quantity-control {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    width: 100%;
  }

  .quantity-control button,
  .quantity-control input {
    min-height: 50px;
  }

  .quantity-total,
  .installation-option {
    max-width: none;
  }

  .installation-option {
    padding: 0.9rem;
  }

  .cart-item {
    gap: 0.85rem;
    padding: 1rem;
  }

  .cart-item p {
    overflow-wrap: anywhere;
  }

  .cart-total,
  .checkout-panel,
  .form-card,
  .settings-card,
  .admin-panel {
    padding: 1rem;
  }

  .empty-state {
    padding: 2.5rem 1rem;
  }

  .admin-sidebar {
    padding: 0.55rem 0.8rem;
  }

  .admin-nav,
  .admin-nav.open {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    padding: 0 0.8rem;
  }

  .admin-page {
    padding: 1.25rem 0.8rem 2rem;
  }

  .admin-heading .btn,
  .catalog-toolbar .btn {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .metric-card {
    min-height: 120px;
    padding: 1rem;
  }

  .metric-value {
    font-size: 1.7rem;
    overflow-wrap: anywhere;
  }

  .data-table:not(.catalog-table) {
    min-width: 680px;
  }

  .catalog-table,
  .catalog-table tbody {
    display: block;
    width: 100%;
  }

  .catalog-table thead {
    display: none;
  }

  .catalog-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 1rem;
    border-bottom: 8px solid #f3f4f6;
  }

  .catalog-table tr:last-child {
    border-bottom: 0;
  }

  .catalog-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .catalog-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .catalog-table td:nth-child(2),
  .catalog-table td:last-child {
    grid-column: 1 / -1;
  }

  .catalog-table td:first-child::before,
  .catalog-table td:nth-child(2)::before,
  .catalog-table td:last-child::before {
    display: none;
  }

  .catalog-table .catalog-category-row {
    display: block;
    padding: 0;
  }

  .catalog-table .catalog-category-row th {
    display: block;
    width: 100%;
  }

  .catalog-table .table-product,
  .catalog-table .table-price-stack {
    min-width: 0;
  }

  .catalog-table .table-product img {
    width: 56px;
    height: 56px;
  }

  .catalog-table .table-input {
    min-width: 0;
    min-height: 46px;
  }

  .catalog-table td:last-child .btn {
    width: 100%;
    min-height: 46px;
  }

  .admin-pagination {
    justify-content: space-between;
    gap: 0.45rem;
  }

  .admin-pagination .btn {
    min-width: 0;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .admin-pagination > span {
    font-size: 0.73rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .logo img {
    width: 102px;
  }

  .header-actions {
    right: 3.85rem;
  }

  .header-icon,
  .cart-link {
    min-width: 38px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .cart-item img {
    width: 68px;
    height: 68px;
  }

  .metrics-grid,
  .catalog-table tr {
    grid-template-columns: 1fr;
  }

  .catalog-table td:first-child,
  .catalog-table td:last-child {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .product-specifications dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-specifications {
    padding: 2rem 1rem;
  }

  .product-specifications-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .product-specifications dl {
    grid-template-columns: 1fr;
  }
}

/* Checkout delivery and local fulfilment settings */
.shipping-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.shipping-methods legend {
  width: 100%;
  margin-bottom: 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shipping-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.shipping-choice:has(input:checked) {
  border-color: var(--ink);
  background: #fbf8f4;
  box-shadow: inset 3px 0 0 var(--orange);
}

.shipping-choice.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.shipping-choice-copy {
  display: grid;
  gap: 0.2rem;
}

.shipping-choice-copy small {
  color: var(--muted);
  line-height: 1.45;
}

.pickup-slot-field[hidden] {
  display: none;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--orange);
  background: #fff4ec;
  color: #65331d;
  line-height: 1.5;
}

.settings-card-wide {
  grid-column: 1 / -1;
}

.calculator-settings {
  overflow: hidden;
  padding: 0;
}

.calculator-settings > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 24px;
}

.calculator-settings > summary::-webkit-details-marker { display: none; }
.calculator-settings > summary strong { display: block; font-size: 1.1rem; }
.calculator-settings > summary small { color: var(--muted); display: block; margin-top: 5px; }
.calculator-settings[open] .details-toggle { transform: rotate(45deg); }
.details-toggle { font-size: 1.8rem; transition: transform .2s ease; }
.calculator-settings-body { border-top: 1px solid var(--line); padding: 24px; }

.calculator-filter-toolbar,
.bulk-update-bar {
  align-items: center;
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.calculator-filter-toolbar {
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(145px, 1fr)) auto auto auto;
}

.calculator-filter-toolbar input,
.calculator-filter-toolbar select,
.bulk-update-bar input,
.bulk-update-bar select {
  min-height: 44px;
  padding: 0 12px;
}

.bulk-update-bar {
  background: #f6f2ec;
  border: 1px solid var(--line);
  grid-template-columns: auto auto minmax(210px, 1fr) minmax(150px, .6fr) auto;
  padding: 12px;
}

.bulk-select-cell { text-align: center; width: 38px; }

@media (max-width: 900px) {
  .calculator-filter-toolbar,
  .bulk-update-bar { grid-template-columns: 1fr 1fr; }
  .calculator-filter-toolbar input { grid-column: 1 / -1; }
}

.settings-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.settings-card-heading p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.carrier-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e0e2e5;
  border-radius: 6px;
  background: #fafafa;
}

.carrier-card-head,
.carrier-actions,
.switch-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.carrier-card h3 {
  margin: 0 0 0.3rem;
}

.integration-state {
  display: inline-flex;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #f3e9e4;
  color: #7a4027;
  font-size: 0.7rem;
  font-weight: 800;
}

.integration-state.is-ready {
  background: #e7f5ef;
  color: var(--success);
}

.switch-field,
.clear-secret {
  font-size: 0.76rem;
  font-weight: 700;
}

.carrier-actions {
  align-items: flex-end;
}

.pickup-slot-form {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.8fr auto;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pickup-slot-form .field {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .carrier-grid {
    grid-template-columns: 1fr;
  }

  .pickup-slot-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .shipping-choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shipping-choice > strong {
    grid-column: 2;
  }

  .pickup-slot-form {
    grid-template-columns: 1fr;
  }

  .pickup-slot-form .btn,
  .carrier-actions .btn {
    width: 100%;
  }

  .carrier-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Editorial product headers and collection carousel */
.product-detail-editorial {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.product-gallery-editorial {
  isolation: isolate;
  overflow: hidden;
}

.product-gallery-editorial > img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-gallery-colour-preview {
  position: absolute;
  z-index: .5;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.product-gallery-colour-label {
  position: absolute;
  z-index: 3;
  top: clamp(1.25rem, 3vw, 2.7rem);
  right: clamp(1.25rem, 3vw, 2.7rem);
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(16, 13, 10, .62);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-detail-editorial:hover .product-gallery-editorial > img {
  transform: scale(1.012);
}

.product-gallery-gradient {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.06) 42%, rgba(16, 13, 10, 0.78) 100%);
  pointer-events: none;
}

.product-gallery-label {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2.7rem);
  bottom: clamp(1.4rem, 3vw, 2.7rem);
  left: clamp(1.25rem, 3vw, 2.7rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--white);
}

.product-gallery-label span,
.product-gallery-category {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-gallery-label strong {
  max-width: 60%;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2.5rem);
  line-height: 0.95;
  text-align: right;
  text-transform: uppercase;
}

.product-gallery-category {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 2.7rem);
  left: clamp(1.25rem, 3vw, 2.7rem);
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(16, 13, 10, 0.2);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.product-gallery-editorial.has-gallery .product-gallery-label {
  bottom: clamp(6.5rem, 9vw, 8rem);
}

.product-gallery-thumbs {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 2.5vw, 2.2rem);
  bottom: clamp(1rem, 2.5vw, 2.2rem);
  left: clamp(1rem, 2.5vw, 2.2rem);
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-gallery-thumbs button {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(20, 17, 15, 0.5);
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(8px);
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button:focus-visible,
.product-gallery-thumbs button.is-active {
  border-color: var(--orange);
  opacity: 1;
  transform: translateY(-2px);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.product-gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(20, 17, 15, 0.42);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  border-color: var(--orange);
  background: rgba(20, 17, 15, 0.78);
}

.product-gallery-prev { left: 1rem; }
.product-gallery-next { right: 1rem; }

.product-detail-editorial .product-panel {
  position: relative;
  background: linear-gradient(145deg, #fff 0%, #fff 72%, #f8f3eb 100%);
}

.product-detail-editorial .product-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), transparent 54%);
}

.product-detail-editorial .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}

.product-detail-editorial .breadcrumbs a {
  border-bottom: 1px solid transparent;
}

.product-detail-editorial .breadcrumbs a:hover {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.product-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.4rem);
}

.product-brand-lockup > div:last-child {
  display: grid;
  gap: 0.08rem;
}

.product-brand-lockup small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-brand-lockup strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  width: 146px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(21, 19, 17, 0.1);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(25, 18, 12, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark--saffier {
  border-color: #d96543;
  background: #d96543;
}

.brand-mark--barkod {
  border-color: var(--ink);
  background: var(--ink);
}

.product-kicker {
  margin-bottom: 0.65rem;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  min-width: 0;
  padding: 1rem 0.85rem;
  border-right: 1px solid var(--line);
}

.product-highlight:first-child {
  padding-left: 0;
}

.product-highlight:last-child {
  padding-right: 0;
  border-right: 0;
}

.product-highlight-check {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #e2f0e9;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-highlight > span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.product-highlight small {
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-highlight strong {
  overflow-wrap: anywhere;
  font-size: 0.77rem;
  line-height: 1.3;
}

.product-intro {
  max-width: 68ch;
  margin: 0;
  color: #4e4943;
  font-size: 0.98rem;
  line-height: 1.7;
}

.product-read-more {
  display: inline-flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-detail-editorial .detail-price {
  margin-top: 1.4rem;
}

.product-detail-editorial .product-panel > .calculator {
  margin-top: 1.35rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 55px rgba(26, 19, 13, 0.08);
}

.product-detail-editorial .product-panel > .calculator .price-summary {
  margin-right: -0.35rem;
  margin-left: -0.35rem;
}

.collection-showcase {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 4vw, 5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.collection-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.collection-showcase-title {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.collection-showcase-title .brand-mark {
  width: clamp(132px, 13vw, 190px);
  height: 78px;
  box-shadow: none;
}

.collection-showcase-title .eyebrow {
  margin-bottom: 0.45rem;
  color: var(--orange);
}

.collection-showcase-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.collection-showcase-title p:last-child {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.collection-slider-controls {
  display: flex;
  gap: 0.55rem;
}

.collection-slider-controls button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.collection-slider-controls button:hover:not(:disabled),
.collection-slider-controls button:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
}

.collection-slider-controls button:disabled {
  opacity: 0.28;
  cursor: default;
}

.collection-product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 28vw);
  gap: 1rem;
  padding-bottom: 1.2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--orange) rgba(255, 255, 255, 0.14);
  scrollbar-width: thin;
}

.collection-product-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--white);
  color: var(--ink);
  transition: transform 220ms ease;
}

.collection-product-card:hover {
  transform: translateY(-4px);
}

.collection-product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ded7cd;
}

.collection-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.collection-product-card:hover img {
  transform: scale(1.03);
}

.collection-product-image > span {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.4rem 0.58rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.collection-product-body {
  padding: 1.15rem;
}

.collection-product-body > small {
  color: var(--orange-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.collection-product-body h3 {
  min-height: 2.8em;
  margin: 0.35rem 0 1rem;
  font-size: 1rem;
  line-height: 1.35;
}

.collection-product-body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.collection-product-body > div > span {
  color: var(--orange);
  font-size: 1.2rem;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 4vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  scroll-margin-top: 90px;
}

.product-story h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.product-story > p {
  max-width: 78ch;
  margin: 0;
  color: #49433d;
  font-size: 1.03rem;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .product-highlights {
    grid-template-columns: 1fr;
  }

  .product-highlight,
  .product-highlight:first-child,
  .product-highlight:last-child {
    padding: 0.75rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-highlight:last-child {
    border-bottom: 0;
  }

  .collection-product-track {
    grid-auto-columns: minmax(250px, 42vw);
  }
}

@media (max-width: 860px) {
  .product-detail-editorial .product-panel::before {
    right: 0;
    bottom: auto;
    width: auto;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), transparent 62%);
  }

  .product-gallery-label strong {
    max-width: 68%;
  }

  .product-detail-editorial .product-panel > .calculator {
    padding: 1rem;
  }

  .collection-showcase-head {
    align-items: flex-start;
  }

  .collection-showcase-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-product-track {
    grid-auto-columns: minmax(250px, 68vw);
  }

  .product-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .product-gallery-editorial {
    height: min(54svh, 440px);
  }

  .product-gallery-editorial.has-gallery .product-gallery-label {
    bottom: 5.9rem;
  }

  .product-gallery-thumbs button {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .product-gallery-arrow {
    width: 44px;
    height: 44px;
  }

  .product-gallery-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .product-gallery-label strong {
    max-width: 100%;
    text-align: left;
  }

  .product-brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .product-brand-lockup .brand-mark {
    width: 132px;
    height: 56px;
  }

  .collection-showcase-head {
    flex-direction: column;
  }

  .collection-slider-controls {
    align-self: flex-end;
  }

  .collection-slider-controls button {
    width: 46px;
    height: 46px;
  }

  .collection-product-track {
    grid-auto-columns: 84vw;
  }

  .collection-showcase-title .brand-mark {
    width: 140px;
    height: 64px;
  }

  .product-story > p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-cinematic .hero-cinematic-frame,
  .hero-slide-cinematic .hero-content-reveal {
    animation: none !important;
  }

  .hero-slide-cinematic .hero-cinematic-frame-3,
  .hero-slide-cinematic .hero-content-reveal {
    opacity: 1;
  }

  .hero-slide-cinematic .hero-content-reveal {
    transform: translateY(-45%);
  }

  .product-gallery-editorial > img,
  .collection-product-card,
  .collection-product-image img,
  .collection-product-track {
    transition: none;
    scroll-behavior: auto;
  }
}

/* Keep the softer storefront card treatment after legacy component rules. */
.product-card-body {
  padding: 1.2rem 1.15rem 1.35rem;
}

.product-compare {
  width: calc(100% - 2.3rem);
  min-height: 42px;
  margin: -0.35rem 1.15rem 1.15rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 700px) {
  .product-card-body {
    padding: 1rem;
  }

  .product-compare {
    width: calc(100% - 2rem);
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .rug-card-options {
    padding: 0 1rem 1rem;
  }
}

.window-configurator {
  position: relative;
  overflow: hidden;
}

.window-configurator::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 4px;
  border-radius: 0 0 999px 0;
  background: var(--orange);
  content: "";
}

.window-configurator-heading,
.window-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.window-configurator-heading p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.window-configurator-step {
  flex: 0 0 auto;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.window-measurements {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.9rem;
  margin: 1.15rem 0 0;
  padding: 3rem 0 0;
  border: 0;
}

.measurement-input {
  position: relative;
  display: block;
}

.measurement-input input {
  width: 100%;
  min-height: 52px;
  padding-right: 2.6rem;
  font-size: 1.05rem;
  font-weight: 750;
}

.measurement-input > span {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.window-rule-help {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  margin: 0.8rem 0 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(240, 75, 35, 0.18);
  border-radius: 11px;
  background: rgba(240, 75, 35, 0.06);
  color: #554c44;
  font-size: 0.86rem;
  line-height: 1.5;
}

.window-rule-help > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
}

.window-quantity {
  margin: 0.8rem 0 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.window-quantity > div:first-child {
  display: grid;
  gap: 0.15rem;
}

.window-quantity small {
  color: var(--muted);
}

.window-quantity .quantity-control {
  margin: 0;
}

.window-price-summary {
  margin-top: 1rem;
}

.window-config-message {
  min-height: 1.4em;
  margin-top: 0.7rem;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 700;
}

.window-rule-select {
  min-width: 205px;
}

.table-rule-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-order-items,
.lookup-order-items {
  display: grid;
  gap: 0.55rem;
}

.admin-order-item,
.lookup-order-item {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.admin-order-item:last-child,
.lookup-order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-order-item span,
.lookup-order-item small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.lookup-order-items {
  margin: 1rem 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lookup-order-item {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
}

@media (max-width: 600px) {
  .window-configurator-heading,
  .window-quantity {
    align-items: flex-start;
    flex-direction: column;
  }

  .window-measurements {
    grid-template-columns: 1fr;
  }

  .window-quantity .quantity-control {
    width: 100%;
  }

  .window-quantity .quantity-control input {
    flex: 1;
  }

  .window-configurator .calculator-actions .btn {
    width: 100%;
  }
}

/* Compact, illustrated window-treatment navigation. */
.nav-dropdown-icons .nav-submenu {
  left: -1.1rem;
  width: min(620px, calc(100vw - 2rem));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem;
  transform: translateY(8px);
}

.nav-dropdown-icons.open .nav-submenu {
  transform: translateY(0);
}

.nav-submenu .nav-submenu-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 76px;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #faf8f4;
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
}

.nav-submenu .nav-submenu-card:hover,
.nav-submenu .nav-submenu-card:focus-visible {
  border-color: rgba(240, 75, 35, 0.22);
  background: #f4ede3;
  color: var(--orange-dark);
}

.nav-submenu-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(22, 18, 14, 0.09);
}

.nav-submenu-icon svg {
  width: 37px;
  height: 37px;
}

.nav-submenu-label {
  min-width: 0;
  font-weight: 780;
}

/* Product choices shared by measured and quantity-based window products. */
.window-configurator {
  overflow: visible;
}

.window-options {
  position: relative;
  margin: 1.15rem 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  overflow: visible;
}

.window-options-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.window-options-heading p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.window-options-heading-meta {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.window-option-progress {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.window-options.is-complete .window-option-progress {
  color: #356c49;
}

.window-option-groups {
  display: grid;
  gap: 1.15rem;
}

.window-option-group {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: window-option-reveal 220ms ease both;
}

.window-option-group[hidden] {
  display: none !important;
}

.window-option-group legend {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  padding: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.window-option-group legend small {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.window-option-group.is-confirmed legend small {
  color: #356c49;
}

.window-option-group.is-confirmed legend small::before {
  margin-right: 0.28rem;
  content: "✓";
}

.window-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.window-option-card {
  position: relative;
  min-width: 0;
}

.window-option-card > input {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

.window-option-card-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 76px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.window-option-card-copy.window-option-card-copy-text {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 1rem;
}

.window-option-card:hover .window-option-card-copy {
  border-color: rgba(240, 75, 35, 0.38);
  transform: translateY(-1px);
}

.window-option-card > input:focus-visible + label.window-option-card-copy {
  outline: 3px solid rgba(240, 75, 35, 0.22);
  outline-offset: 2px;
  border-color: var(--orange);
}

.window-option-card > input:checked + label.window-option-card-copy {
  border-color: var(--orange);
  background: rgba(240, 75, 35, 0.065);
  box-shadow: 0 9px 24px rgba(45, 27, 15, 0.07);
}

.window-option-card-text {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.window-option-card-copy strong,
.window-option-card-copy small {
  overflow-wrap: anywhere;
}

.window-option-card-copy strong {
  font-size: 0.86rem;
  line-height: 1.25;
}

.window-option-card-copy em {
  color: var(--orange-dark);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 800;
}

.window-option-card.is-unavailable .window-option-card-copy {
  cursor: not-allowed;
  opacity: 0.58;
}

.window-option-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: rgba(240, 75, 35, 0.08);
  color: var(--orange-dark);
}

.window-option-icon svg {
  width: 23px;
  height: 23px;
}

.window-option-info {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0 11px 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.window-option-info > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.window-option-info:hover,
.window-option-info:focus-visible,
.window-option-info[aria-expanded="true"] {
  color: var(--orange-dark);
}

.window-option-info:focus-visible {
  outline: 3px solid rgba(240, 75, 35, 0.22);
  outline-offset: -3px;
}

.window-option-popover {
  position: fixed;
  z-index: 1000;
  top: var(--window-popover-top, 1rem);
  left: var(--window-popover-left, 1rem);
  display: grid;
  width: min(286px, calc(100vw - 24px));
  margin: 0;
  padding: 0.85rem 0.95rem;
  gap: 0.35rem;
  border: 1px solid rgba(35, 28, 22, 0.14);
  border-radius: 10px;
  background: #171411;
  color: var(--white);
  box-shadow: 0 18px 45px rgba(20, 14, 10, 0.24);
}

.window-option-popover:not(:popover-open) {
  display: none;
}

.window-option-popover[data-popover-fallback-open="true"] {
  display: grid;
}

.window-option-popover::backdrop {
  background: transparent;
}

.window-option-popover strong {
  font-size: 0.84rem;
}

.window-option-popover span,
.window-option-popover small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  line-height: 1.45;
}

.window-option-popover small {
  color: #ffb39f;
}

.window-option-swatch,
.saved-option-swatch {
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--window-swatch);
  box-shadow: 0 0 0 1px rgba(24, 20, 16, 0.18);
}

.window-option-dialog {
  width: min(720px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(780px, calc(100svh - 2rem));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(20, 14, 10, 0.32);
}

.window-option-dialog::backdrop {
  background: rgba(17, 14, 12, 0.58);
  backdrop-filter: blur(3px);
}

.window-option-dialog-shell {
  display: grid;
  max-height: min(780px, calc(100svh - 2rem));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.window-option-dialog header,
.window-option-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
}

.window-option-dialog header {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}

.window-option-dialog header h2,
.window-option-dialog header p {
  margin: 0;
}

.window-option-dialog header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.window-option-dialog header p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.window-option-dialog .dialog-close {
  flex: 0 0 auto;
}

.window-option-dialog-group {
  overflow: auto;
  padding: 1.2rem 1.3rem;
}

.window-option-colour-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.window-option-card-compact .window-option-card-copy {
  min-height: 58px;
  padding: 0.6rem;
}

.window-option-card-compact .window-option-card-text strong {
  font-size: 0.75rem;
}

.window-option-dialog-message {
  min-height: 1.2rem;
  padding: 0 1.3rem;
  color: #a12e16;
  font-size: 0.78rem;
  font-weight: 750;
}

.window-ladder-colour-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(240, 75, 35, 0.26);
  border-radius: 12px;
  background: rgba(240, 75, 35, 0.055);
}

.window-ladder-colour-summary[hidden] {
  display: none;
}

.window-ladder-colour-summary > span {
  display: grid;
  gap: 0.18rem;
}

.window-ladder-colour-summary small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-ladder-colour-summary strong {
  font-size: 0.9rem;
}

.window-option-dialog footer {
  border-top: 1px solid var(--line);
}

@keyframes window-option-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.window-configurator .quantity-control button,
.window-configurator .quantity-control input {
  min-height: 48px;
}

.saved-options {
  margin: 0.75rem 0 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f4;
}

.saved-options-title {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.saved-options ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saved-options li {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(100px, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
}

.saved-options li > span {
  color: var(--muted);
}

.saved-options li > strong {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  overflow-wrap: anywhere;
}

.saved-options li > em {
  font-style: normal;
  text-align: right;
}

.saved-option-swatch {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.saved-options-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.saved-options-compact {
  margin-bottom: 0;
  padding: 0.6rem;
}

.admin-order-item .saved-options,
.lookup-order-item .saved-options {
  max-width: 620px;
}

/* Catalog profile controls and dedicated option-rate editor. */
.catalog-window-controls {
  display: grid;
  min-width: 235px;
  gap: 0.45rem;
}

.catalog-inline-field {
  display: grid;
  gap: 0.25rem;
}

.catalog-inline-field > span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-profile-select {
  min-width: 205px;
}

.window-option-rates-form {
  display: grid;
  gap: 1rem;
}

.option-rate-group {
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.option-rate-row-required {
  border-left: 3px solid var(--orange);
}

.option-rate-row-required .option-rate-identity small {
  color: #8a3420;
}

.option-rate-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.option-rate-group-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.option-dependency {
  max-width: 330px;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.72rem;
}

.option-rate-list {
  display: grid;
  gap: 0.55rem;
}

.option-rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(225px, 0.45fr);
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf8;
}

.option-rate-row.is-disabled {
  opacity: 0.58;
  background: #f1efec;
}

.option-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.option-availability input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.option-rate-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.option-rate-identity > span,
.option-rate-input {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.option-rate-identity small,
.option-rate-input small {
  color: var(--muted);
  font-size: 0.73rem;
}

.option-rate-input > span:first-child {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.option-rate-input > span:nth-child(2) {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
}

.option-rate-input b {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 7px 0 0 7px;
  background: var(--ink);
  color: var(--white);
}

.option-rate-input input {
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0 7px 7px 0;
  font-weight: 750;
}

.option-rate-input input:focus {
  outline: 3px solid rgba(240, 75, 35, 0.2);
  outline-offset: 1px;
  border-color: var(--orange);
}

.option-rate-actions {
  position: sticky;
  z-index: 5;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(240, 75, 35, 0.2);
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 35px rgba(28, 20, 14, 0.08);
  backdrop-filter: blur(12px);
}

.option-rate-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .nav-dropdown-icons .nav-submenu,
  .nav-dropdown-icons.open .nav-submenu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.45rem;
    transform: none;
  }

  .nav-submenu .nav-submenu-card {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 54px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-submenu .nav-submenu-card:hover,
  .nav-submenu .nav-submenu-card:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .nav-submenu-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .nav-submenu-icon svg {
    width: 30px;
    height: 30px;
  }

  .option-rate-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .window-options-heading,
  .option-rate-group-head,
  .option-rate-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .window-option-grid {
    grid-template-columns: 1fr;
  }

  .window-options-heading-meta {
    justify-items: start;
  }

  .window-option-card-copy {
    min-height: 70px;
  }

  .saved-options li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .saved-options li > span {
    grid-column: 1 / -1;
  }

  .option-rate-actions {
    position: static;
  }

  .option-rate-actions .btn {
    width: 100%;
  }

  .window-option-dialog {
    width: 100vw;
    max-height: 92svh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }

  .window-option-dialog-shell {
    max-height: 92svh;
  }

  .window-option-dialog header,
  .window-option-dialog footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .window-option-dialog-group {
    padding: 1rem;
  }

  .window-option-colour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .window-option-dialog footer {
    align-items: stretch;
    flex-direction: column-reverse;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .window-option-dialog footer .btn {
    width: 100%;
  }

  .window-ladder-colour-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .window-ladder-colour-summary .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .window-option-card-copy,
  .window-option-group {
    animation: none;
    transition: none;
  }
}

/* Phase 1: exact measuring, help, confirmation and instruction management. */
.dialog-open {
  overflow: hidden;
}

.configuration-copy-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(240, 75, 35, 0.24);
  border-radius: 9px;
  background: rgba(240, 75, 35, 0.07);
  color: var(--muted);
  font-size: 0.8rem;
}

.configuration-copy-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.measurement-unit-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(52px, 1fr));
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f0ece5;
}

.measurement-unit-switch button {
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.measurement-unit-switch button.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 19, 16, 0.16);
}

.window-measurements legend {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.measurement-label {
  display: grid;
  min-height: 64px;
  align-content: start;
  justify-items: start;
  gap: 0.15rem;
}

.measurement-label .field-label {
  line-height: 1.35;
}

.measurement-label button {
  min-height: 30px;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 780;
  cursor: pointer;
}

.measurement-label button:hover,
.measurement-label button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.window-room-field {
  grid-column: 1 / -1;
}

.window-room-field .field-label small,
.measurement-admin-grid .field-label small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.measurement-warning {
  margin: 0.8rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(174, 111, 15, 0.28);
  border-left: 4px solid #ad7019;
  border-radius: 8px;
  background: #fff8e9;
  color: #5f4319;
}

.measurement-warning strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #3f2b10;
}

.measurement-warning p,
.measurement-warning ul {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.measurement-warning p {
  padding-left: 0;
}

.measurement-dialog {
  width: min(760px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(860px, calc(100svh - 2rem));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(18, 15, 12, 0.34);
}

.measurement-dialog::backdrop {
  background: rgba(20, 17, 14, 0.66);
  backdrop-filter: blur(5px);
}

.measurement-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(860px, calc(100svh - 2rem));
  overflow: hidden;
  border-radius: inherit;
  background: var(--white);
}

.measurement-dialog header,
.measurement-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 1.6rem);
  background: var(--white);
}

.measurement-dialog header {
  border-bottom: 1px solid var(--line);
}

.measurement-dialog footer {
  border-top: 1px solid var(--line);
}

.measurement-dialog header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.dialog-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f7f4ef;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.measurement-dialog-content {
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem, 3vw, 1.7rem);
}

.measurement-help-copy > h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.measurement-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.measurement-steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.measurement-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f4;
}

.measurement-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
}

.measurement-steps p {
  margin: 0;
  line-height: 1.55;
}

.measurement-steps img,
.measurement-image-grid img {
  display: block;
  width: 100%;
  max-height: 340px;
  margin-top: 0.75rem;
  border-radius: 8px;
  object-fit: cover;
}

.measurement-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.measurement-video {
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 10px;
  background: #111;
  aspect-ratio: 16 / 9;
}

.measurement-video iframe,
.measurement-video video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.measurement-tips {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--sand);
}

.measurement-tips h3,
.measurement-tips ul {
  margin-top: 0;
}

.measurement-tips ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.measurement-download {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.measurement-confirm-product {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.measurement-confirm-product strong {
  color: var(--orange);
}

.measurement-confirm-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.measurement-confirm-facts > div {
  padding: 0.85rem;
  border-radius: 9px;
  background: #f7f4ef;
}

.measurement-confirm-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.measurement-confirm-facts dd {
  display: grid;
  gap: 0.2rem;
  margin: 0.25rem 0 0;
  font-weight: 850;
}

.measurement-confirm-facts small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 550;
}

.measurement-confirm-options {
  margin-top: 1rem;
}

.measurement-confirm-options h3 {
  margin-bottom: 0.5rem;
}

.measurement-confirm-options ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.measurement-confirm-options li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.measurement-confirm-notice {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.measurement-confirm-notice p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.55;
}

.cart-configuration-meta,
.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cart-configuration-meta {
  margin: 0.3rem 0 0.65rem;
}

.cart-configuration-meta span {
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.cart-item-actions {
  margin-top: 0.75rem;
}

.booking-context {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1fr) minmax(180px, 0.65fr);
  gap: 1rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto 1rem;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(240, 75, 35, 0.22);
  border-radius: 12px;
  background: #fff8f3;
}

.booking-context h2,
.booking-context p {
  margin: 0;
}

.booking-context > p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.booking-context dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.booking-context dl > div {
  display: grid;
  gap: 0.15rem;
}

.booking-context dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-context dd {
  display: grid;
  margin: 0;
  font-weight: 800;
}

.booking-context dd small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 550;
}

.product-measurement-limits {
  margin-bottom: 1rem;
}

.measurement-limit-grid,
.measurement-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.measurement-admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.measurement-admin-grid .full,
.measurement-admin-active {
  grid-column: 1 / -1;
}

.measurement-create-panel {
  margin-bottom: 1rem;
}

.measurement-create-panel > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 850;
}

.measurement-create-panel > summary::marker {
  display: none;
}

.measurement-create-panel form {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.measurement-admin-list {
  display: grid;
  gap: 1rem;
}

.measurement-admin-card {
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.measurement-admin-card > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.measurement-admin-card h2,
.measurement-admin-card p {
  margin: 0.35rem 0 0;
}

.measurement-admin-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .booking-context,
  .measurement-limit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-context > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .product-specifications-head h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.55rem, 9.5vw, 2.35rem);
  }

  .configuration-copy-note,
  .window-configurator-heading,
  .measurement-dialog footer,
  .measurement-admin-card > header,
  .measurement-admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .measurement-unit-switch {
    align-self: flex-start;
  }

  .measurement-label {
    min-height: 0;
  }

  .measurement-label button {
    min-height: 44px;
    padding-left: 0;
  }

  .measurement-dialog {
    width: 100vw;
    max-height: 100svh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }

  .measurement-dialog-shell {
    max-height: 100svh;
    min-height: min(720px, 100svh);
  }

  .measurement-dialog footer .btn {
    width: 100%;
  }

  .measurement-dialog footer {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .measurement-confirm-facts,
  .measurement-image-grid,
  .measurement-admin-grid,
  .measurement-limit-grid,
  .booking-context {
    grid-template-columns: 1fr;
  }

  .booking-context > p {
    grid-column: auto;
  }

  .measurement-confirm-product,
  .measurement-confirm-options li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .measurement-admin-actions .btn {
    width: 100%;
  }
}

.active-floor-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(240, 75, 35, 0.2);
  border-radius: 10px;
  background: #fff8f3;
}

.active-floor-filters > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.active-floor-filters span {
  margin-right: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.active-floor-filters strong {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.74rem;
}

.active-floor-filters button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Three-level floor navigation: category groups on desktop, accordions on touch. */
.nav-dropdown-mega {
  position: static;
}

.nav-dropdown-mega > .nav-submenu {
  left: 50%;
  width: min(1140px, calc(100vw - 2rem));
  max-height: calc(100vh - 108px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.85rem;
  padding: 1.15rem;
  overflow-y: auto;
  transform: translate(-50%, 8px);
}

.nav-dropdown-mega.open > .nav-submenu {
  transform: translate(-50%, 0);
}

.nav-child-group {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 10px;
  background: #fff;
}

.nav-child-group:first-child {
  background: #f5eee5;
}

.nav-child-group.is-active {
  border-color: rgba(240, 75, 35, 0.34);
  box-shadow: inset 0 3px 0 rgba(240, 75, 35, 0.72);
}

.nav-child-group-wide {
  grid-column: span 2;
}

.nav-child-heading {
  margin: 0 0 0.45rem;
  padding: 0 0.65rem 0.6rem;
  border-bottom: 1px solid rgba(21, 18, 15, 0.1);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-child-toggle {
  display: none;
}

.nav-child-list {
  display: grid;
  gap: 0.12rem;
}

.nav-submenu .nav-child-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  color: #4d4741;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
}

.nav-submenu .nav-child-list a > span:last-child {
  color: var(--orange);
  font-size: 1.15rem;
  line-height: 1;
}

.nav-submenu .nav-child-list a.active {
  background: var(--sand);
  color: var(--orange-dark);
}

@media (max-width: 860px) {
  .active-floor-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .active-floor-filters button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    max-height: calc(100dvh - var(--nav-header-bottom, 64px) - env(safe-area-inset-bottom));
  }

  body.nav-open .compare-tray {
    display: none;
  }

  .nav-dropdown-mega {
    position: relative;
  }

  .nav-dropdown-mega > .nav-submenu,
  .nav-dropdown-mega.open > .nav-submenu {
    position: static;
    width: 100%;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.4rem;
    overflow: visible;
    transform: none;
  }

  .nav-child-group,
  .nav-child-group:first-child {
    padding: 0;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-child-group.is-active {
    border-color: rgba(240, 75, 35, 0.48);
    box-shadow: inset 3px 0 0 var(--orange);
  }

  .nav-child-group-wide {
    grid-column: auto;
  }

  .nav-child-heading {
    display: none;
  }

  .nav-child-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-align: left;
    text-transform: uppercase;
  }

  .nav-child-toggle svg {
    width: 11px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: transform 180ms ease;
  }

  .nav-child-group.open .nav-child-toggle svg {
    transform: rotate(180deg);
  }

  .nav-child-list {
    display: none;
    padding: 0 0.35rem 0.45rem;
  }

  .nav-child-group.open .nav-child-list {
    display: grid;
  }

  .nav-submenu .nav-child-list a {
    min-height: 46px;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
  }

  .nav-submenu .nav-child-list a.active,
  .nav-submenu .nav-child-list a:hover,
  .nav-submenu .nav-child-list a:focus-visible {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
  }
}
.booking-credit-note {
  display: grid;
  gap: 0.2rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(164, 119, 61, 0.3);
  border-radius: 0.75rem;
  background: #f8f2e8;
  color: #30271f;
}

.booking-credit-note strong {
  color: #8f5c26;
}
.appointment-type-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.appointment-manage { max-width: 1120px; margin: 0 auto; }
.appointment-manage-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.appointment-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0; background: #e7ded2; }
.appointment-summary div { padding: 16px; background: #fff; }
.appointment-summary dt { color: #706b65; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.appointment-summary dd { margin: 6px 0 0; font-weight: 800; }
.appointment-manage .form-card form + form { border-top: 1px solid #e7ded2; margin-top: 24px; padding-top: 24px; }

@media (max-width: 860px) {
  .appointment-type-fields, .appointment-manage-grid, .appointment-summary { grid-template-columns: 1fr; }
}
.roomviewer-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.product-card > .roomviewer-button { width: calc(100% - 24px); margin: 0 12px 10px; border: 1px solid #ded7cf; background: #fff; color: var(--ink); }
.product-card > .roomviewer-button:hover { border-color: var(--orange); color: var(--orange); }
.roomviewer-page { width: min(1460px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 70px; }
.roomviewer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.roomviewer-heading h1 { max-width: 820px; margin: 5px 0 10px; font-size: clamp(2.1rem, 4vw, 4.4rem); line-height: .96; text-transform: uppercase; }
.roomviewer-heading p { max-width: 720px; color: var(--muted); }
.roomviewer-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 650px; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 70px rgba(25,22,19,.1); }
.roomviewer-controls { padding: 26px; border-right: 1px solid var(--line); overflow: auto; }
.roomviewer-step { display: flex; align-items: flex-start; gap: 12px; margin: 3px 0 15px; }
.roomviewer-step > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--orange); color: white; font-size: .75rem; font-weight: 900; }
.roomviewer-step div { display: grid; gap: 3px; }
.roomviewer-step small, .roomviewer-upload small, .roomviewer-product small { color: var(--muted); line-height: 1.35; }
.roomviewer-upload { display: grid; gap: 4px; margin-bottom: 26px; padding: 22px; border: 1px dashed #bcb4a9; border-radius: 10px; background: #faf7f3; cursor: pointer; text-align: center; }
.roomviewer-upload:hover { border-color: var(--orange); background: #fff3ed; }
.roomviewer-camera-button { width: 100%; margin: -14px 0 26px; }
.roomviewer-upload input { position: absolute; opacity: 0; pointer-events: none; }
.roomviewer-product { display: flex; gap: 12px; align-items: center; margin: 12px 0 20px; padding: 10px; background: #f6f3ef; }
.roomviewer-product img { width: 64px; height: 64px; object-fit: cover; }
.roomviewer-product span { display: grid; gap: 4px; min-width: 0; }
.roomviewer-product strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roomviewer-adjust { display: grid; gap: 13px; margin: 20px 0; }
.roomviewer-adjust label { display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 12px; color: #49443e; font-size: .8rem; font-weight: 750; }
.roomviewer-adjust input { width: 100%; accent-color: var(--orange); }
.roomviewer-disclaimer { margin: 20px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.roomviewer-workspace { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; padding: 18px; background: #171614; }
.roomviewer-stage { --viewer-coverage:72%; --viewer-opacity:.88; --viewer-angle:0deg; position: relative; min-height: 560px; overflow: hidden; background: #111; }
.roomviewer-stage > img, .roomviewer-stage > video { width: 100%; height: 100%; min-height: 560px; object-fit: cover; display: block; }
.roomviewer-stage > [hidden] { display: none; }
.roomviewer-stage > #roomViewerResult { position: absolute; inset: 0; }
.roomviewer-stage > video { position: absolute; inset: 0; }
.roomviewer-generate { width: 100%; margin: 4px 0 12px; }
.roomviewer-status { min-height: 48px; margin: 0 0 16px; padding: 12px; border-left: 3px solid var(--orange); background: #f6f3ef; color: #514b44; font-size: .78rem; line-height: 1.45; }
.roomviewer-capture { position: absolute; z-index: 4; left: 50%; bottom: 24px; transform: translateX(-50%); }
.roomviewer-quota { margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: #fff0e9; color: #a93619; font-size: .82rem; font-weight: 800; }
.roomviewer-privacy { margin: 10px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.roomviewer-conversion { display: grid; gap: 5px; margin: 12px 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; }
.roomviewer-conversion span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.roomviewer-conversion .btn { margin-top: 7px; }
.roomviewer-conversion.is-prominent { border-color: var(--orange); background: #fff5f0; }
.roomviewer-admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.roomviewer-admin-stats > div { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); background: #faf8f5; }
.roomviewer-admin-stats span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.roomviewer-admin-stats strong { font-size: 1.15rem; }
@media (max-width: 800px) { .roomviewer-admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.page-hero.category-visual-hero {
  display: grid;
  min-height: clamp(390px, 42vw, 570px);
  align-items: end;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5.5rem);
  background: linear-gradient(90deg, rgba(18,16,14,.9) 0%, rgba(18,16,14,.65) 42%, rgba(18,16,14,.08) 76%), var(--category-hero) center 62% / cover no-repeat;
}
.page-hero.category-visual-hero::before { inset: 0; width: auto; border: 0; border-radius: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,9,8,.28)); }
.page-hero.category-visual-hero::after { right: auto; left: clamp(1.25rem, 5vw, 5.5rem); width: 92px; height: 5px; bottom: 0; }
.category-hero-content { position: relative; z-index: 1; max-width: 720px; }
.category-visual-hero .eyebrow { color: #ff7958; }
.category-visual-hero .page-title { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,.2); }
.category-visual-hero p { color: rgba(255,255,255,.82); }
.category-hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.category-hero-links a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(15,14,12,.38); color: #fff; font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.category-hero-links a:hover { border-color: var(--orange); background: var(--orange); transform: translateY(-2px); }
.category-visual-hero .btn-light { border-color: #fff; background: #fff; color: #171513; }
@media (max-width: 620px) {
  .page-hero.category-visual-hero { min-height: 480px; align-items: end; padding: 3rem 1rem 2.5rem; background-position: 58% center; }
  .page-hero.category-visual-hero::after { left: 1rem; }
  .category-hero-links { gap: 6px; }
  .category-hero-links a { padding: 8px 11px; font-size: .66rem; }
}
.roomviewer-floor { position: absolute; inset: calc(100% - var(--viewer-coverage)) 0 0; background-image: var(--material); background-size: 360px auto; opacity: var(--viewer-opacity); transform: rotate(var(--viewer-angle)) scale(1.35); transform-origin: center bottom; clip-path: polygon(8% 0,92% 0,100% 100%,0 100%); mix-blend-mode: multiply; filter: contrast(.96) saturate(.92); }
.roomviewer-curtains { position: absolute; inset: 8% 13% 8%; opacity: var(--viewer-opacity); pointer-events: none; }
.roomviewer-curtains i { position: absolute; inset-block: 0; width: calc(var(--viewer-coverage) / 2.6); max-width: 38%; background-image: var(--material); background-size: cover; filter: contrast(.92) saturate(.9); mix-blend-mode: multiply; transform: skewX(var(--viewer-angle)); box-shadow: inset -20px 0 26px rgba(0,0,0,.14); }
.roomviewer-curtains i:first-child { left: 0; clip-path: polygon(0 0,100% 2%,88% 100%,0 100%); }
.roomviewer-curtains i:last-child { right: 0; clip-path: polygon(0 2%,100% 0,100% 100%,12% 100%); transform: skewX(calc(var(--viewer-angle) * -1)); }
.roomviewer-stage.show-original [data-roomviewer-overlay] { opacity: 0; }
.roomviewer-badge { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; border-radius: 999px; background: rgba(18,17,15,.82); color: white; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(8px); }
.roomviewer-tip { display: flex; justify-content: space-between; gap: 20px; padding: 14px 4px 0; color: #d5cec6; font-size: .75rem; }
@media (max-width: 980px) { .roomviewer-layout { grid-template-columns: 1fr; } .roomviewer-controls { border-right: 0; border-bottom: 1px solid var(--line); } .roomviewer-stage, .roomviewer-stage > img { min-height: 480px; } }
@media (max-width: 620px) { .roomviewer-page { width: min(100% - 20px, 1460px); padding-top: 24px; } .roomviewer-heading { align-items: flex-start; flex-direction: column; } .roomviewer-controls { padding: 18px; } .roomviewer-workspace { padding: 8px; } .roomviewer-stage, .roomviewer-stage > img { min-height: 390px; } .roomviewer-tip { flex-direction: column; gap: 4px; } .roomviewer-adjust label { grid-template-columns: 1fr; } }

/* Standalone floor installation category */
.legservice-hero { --category-hero-position: center 62%; }
.legservice-hero .legservice-hero-link { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(20,18,16,.38); backdrop-filter: blur(8px); }
.legservice-hero .legservice-hero-link:hover { color: #171513; background: #fff; }
.legservice-intro { display: grid; gap: 32px; }
.legservice-intro .section-heading { align-items: end; }
.legservice-intro .section-heading > p { max-width: 570px; color: var(--muted); }
.legservice-rate-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.legservice-rate-card { min-height: 245px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 14px 38px rgba(18,15,12,.06); }
.legservice-rate-card h3 { margin: 22px 0 8px; font-size: 1.12rem; }
.legservice-rate-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.legservice-rate-card > strong { margin-top: auto; font-size: 1.45rem; }
.legservice-rate-card small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.legservice-rate-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f3eee6; color: var(--orange); font-size: 1.3rem; }
.legservice-rate-card-accent { background: #181614; color: #fff; border-color: #181614; }
.legservice-rate-card-accent p,.legservice-rate-card-accent small { color: rgba(255,255,255,.68); }
.legservice-rate-card-accent .legservice-rate-icon { background: var(--orange); color: #fff; }
.legservice-calculator-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.8fr); gap: clamp(40px,7vw,100px); align-items: center; background: #eee7db; }
.legservice-calculator-copy { max-width: 650px; }
.legservice-calculator-copy h2 { margin: 8px 0 16px; font-size: clamp(2rem,4vw,3.5rem); }
.legservice-calculator-copy > p { color: var(--muted); line-height: 1.65; }
.legservice-calculator-copy ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.legservice-calculator-copy li::before { content: "✓"; color: var(--orange); font-weight: 900; margin-right: 10px; }
.legservice-calculator { padding: clamp(24px,4vw,42px); border-radius: 24px; background: #fff; box-shadow: 0 22px 55px rgba(24,19,14,.12); display: grid; gap: 20px; }
.legservice-calculator label > span:first-child { display: block; margin-bottom: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legservice-calculator input,.legservice-calculator select { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 15px; font: inherit; }
.legservice-input-unit { position: relative; }
.legservice-input-unit input { padding-right: 55px; }
.legservice-input-unit b { position: absolute; right: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.legservice-calculator .legservice-check { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; gap: 13px; align-items: center; cursor: pointer; }
.legservice-check input { width: 20px; min-height: 20px; accent-color: var(--orange); }
.legservice-check span { display: grid; gap: 3px; }
.legservice-check small { color: var(--muted); }
.legservice-total { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 5px; }
.legservice-total > span { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legservice-total > strong { font-size: clamp(2rem,4vw,3rem); }
.legservice-total small { color: var(--muted); line-height: 1.45; }
@media (max-width: 1100px) { .legservice-rate-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .legservice-rate-grid { grid-template-columns: 1fr; }
  .legservice-rate-card { min-height: 0; }
  .legservice-calculator-section { grid-template-columns: 1fr; }
  .legservice-calculator { padding: 22px; }
  .legservice-hero .button-row { align-items: stretch; }
  .legservice-hero .btn { width: 100%; text-align: center; }
}

/* Compacte mobiele collectie in de eigen BARKOD-stijl. */
@media (max-width: 700px) {
  .shop-toolbar,
  .shop-toolbar.category-route { padding: 0; border: 0; background: transparent; }
  .shop-mobile-bar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: .75rem; padding: .45rem; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; font-size: .76rem; }
  .shop-filter-toggle { display: inline-flex; min-height: 40px; align-items: center; gap: .45rem; padding: 0 .85rem; border: 0; border-radius: 9px; background: var(--ink); color: var(--white); font: inherit; font-weight: 800; }
  .shop-filter-toggle strong { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--orange); font-size: .68rem; }
  .shop-filter-toggle strong[hidden] { display: none; }
  .shop-filter-fields,
  .shop-toolbar.category-route .shop-filter-fields { display: none; grid-template-columns: 1fr; gap: .65rem; margin-top: .65rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; box-shadow: 0 18px 38px rgba(31,25,19,.1); }
  .shop-filter-fields.is-open { display: grid; }
  .shop-filter-done { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
  .product-grid,
  .category-grid.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
  .product-card-body { padding: .75rem .7rem .85rem; }
  .product-card-body .eyebrow { overflow: hidden; margin-bottom: .3rem; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
  .product-card h3 { display: -webkit-box; min-height: 2.55em; overflow: hidden; margin-bottom: .4rem; font-size: .88rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .product-meta { display: grid; gap: .2rem; font-size: .66rem; }
  .product-price { font-size: .82rem; }
  .stock-badge { top: .55rem; left: .55rem; max-width: calc(100% - 2.8rem); padding: .28rem .42rem; font-size: .52rem; }
  .favorite-button { top: .45rem; right: .45rem; width: 34px; height: 34px; }
  .product-compare { width: calc(100% - 1.4rem); min-height: 38px; margin: -.15rem .7rem .75rem; padding: .5rem; font-size: .62rem; }
  .rug-card-options { padding: 0 .7rem .75rem; }
}

.catalog-overview-table { min-width: 750px; }
.catalog-overview-table .table-product { min-width: 210px; }
.catalog-category-row { cursor: grab; }
.catalog-category-row.is-dragging { opacity: .4; }
.catalog-category-row.is-drag-target th { box-shadow: inset 0 3px 0 var(--orange); }
.catalog-category-toggle { display: grid; grid-template-columns: auto 1fr auto auto auto; width: 100%; align-items: center; gap: .7rem; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.catalog-category-toggle strong { font-family: var(--font-display); text-transform: uppercase; }
.catalog-category-toggle small { font-weight: 500; }
.catalog-drag-handle { color: #8a8177; font-size: 1.2rem; cursor: grab; }
.catalog-category-chevron { transition: transform .2s ease; }
.catalog-category-toggle[aria-expanded="false"] .catalog-category-chevron { transform: rotate(-90deg); }
.catalog-category-arrows { display: none; gap: .25rem; }
.catalog-category-arrows span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #c9c2b9; border-radius: 5px; background: #fff; }
.seo-status { display: inline-flex; padding: .35rem .55rem; border-radius: 999px; background: #fff0e9; color: #a83a1f; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.seo-status.is-complete { background: #e8f6ef; color: #087443; }
.product-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1.25rem; align-items: start; }
.product-editor-main { display: grid; gap: 1rem; }
.product-edit-section { margin: 0; overflow: hidden; }
.product-edit-section > summary { display: flex; justify-content: space-between; padding: 1.15rem 1.3rem; cursor: pointer; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.product-edit-section[open] > summary { border-bottom: 1px solid var(--admin-line, #d8dde5); }
.product-edit-section > .form-grid, .product-edit-section > .seo-editor-intro, .product-edit-section > .seo-search-preview { margin: 1.25rem; }
.product-editor-side { position: sticky; top: 88px; display: grid; gap: .8rem; padding: 1rem; border: 1px solid var(--admin-line, #d8dde5); border-radius: 12px; background: #fff; }
.product-editor-image { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 9px; background: #eee; }
.product-editor-image img { width: 100%; height: 100%; object-fit: cover; }
.product-editor-status { display: grid; gap: .45rem; }
.product-editor-status strong { font-size: 1.45rem; }
.seo-editor-intro p { margin: .3rem 0 0; color: var(--muted); }
.seo-search-preview { padding: 1rem; border: 1px solid #d8dde5; border-radius: 9px; background: #fff; }
.seo-search-preview small { color: #16813b; }
.seo-search-preview h3 { margin: .35rem 0; color: #174ea6; font-family: Arial, sans-serif; font-size: 1.15rem; font-weight: 400; text-transform: none; }
.seo-search-preview p { margin: 0; color: #4d5156; font-family: Arial, sans-serif; line-height: 1.45; }

@media (max-width: 950px) {
  .product-editor-layout { grid-template-columns: 1fr; }
  .product-editor-side { position: static; grid-template-columns: 120px 1fr; }
  .product-editor-side .btn { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .catalog-category-row { cursor: pointer; }
  .catalog-drag-handle { display: none; }
  .catalog-category-arrows { display: flex; }
  .catalog-category-toggle { grid-template-columns: 1fr auto auto; }
}

.order-number-link { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.packing-slip { max-width: 1100px; margin: 0 auto; overflow: hidden; border: 1px solid #d8d3cc; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(30,24,18,.07); }
.packing-slip > header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 3px solid var(--orange); background: #151412; color: #fff; }
.packing-slip > header img { width: 145px; }
.packing-slip > header div { display: grid; text-align: right; }
.packing-slip > header strong { font: 800 1.4rem var(--font-display); }
.packing-customer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; padding: 1.5rem; }
.packing-customer-grid section { display: grid; gap: .8rem; align-content: start; }
.packing-customer-grid h2, .packing-section h2 { margin: 0 0 .4rem; }
#orderDetailsForm > .btn { margin: 0 1.5rem 1.5rem; }
.packing-section { padding: 1.5rem; border-top: 1px solid #ddd7cf; }
.packing-lines { display: grid; gap: .65rem; }
.packing-line { display: grid; grid-template-columns: minmax(260px,2fr) repeat(3,minmax(90px,.55fr)) auto; gap: .7rem; align-items: end; padding: 1rem; border: 1px solid #e2ddd6; border-radius: 8px; background: #faf9f7; }
.packing-line > div:first-child { display: grid; grid-template-columns: 1.5fr 1fr; gap: .7rem; }
.packing-line label, .order-appointment label { display: grid; gap: .25rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.packing-line input, .order-appointment input, .order-appointment select { width: 100%; min-height: 42px; padding: .55rem; border: 1px solid #d7d1c9; background: #fff; }
.packing-line-actions { display: flex; gap: .35rem; }
.packing-line .order-item-options { grid-column: 1 / -1; }
.order-add-product { margin-top: 1rem; padding: 1rem; border: 1px dashed #bbb2a8; }
.order-add-product summary { cursor: pointer; font-weight: 800; }
.order-add-product form { display: grid; grid-template-columns: 1fr 90px auto; gap: .7rem; margin-top: .8rem; }
.order-add-product select, .order-add-product input { min-height: 46px; padding: .65rem; }
.packing-totals { display: grid; width: min(100%,420px); gap: .5rem; margin: 1.5rem 0 0 auto; }
.packing-totals span { display: flex; justify-content: space-between; padding-bottom: .5rem; border-bottom: 1px solid #ddd; }
.packing-totals .grand-total { font-size: 1.25rem; font-weight: 800; }
.order-update-timeline { display: grid; gap: .8rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.order-update-timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #ddd; }
.order-update-timeline p { margin: .25rem 0; }
.order-appointment { display: grid; grid-template-columns: 1.4fr repeat(3,1fr) 1fr auto; gap: .7rem; align-items: end; padding: 1rem; border: 1px solid #ddd; border-radius: 8px; }
.order-appointment > div { display: grid; }

@media (max-width: 900px) {
  .packing-customer-grid { grid-template-columns: 1fr; }
  .packing-line, .order-appointment { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .packing-line > div:first-child, .packing-line .order-item-options { grid-column: 1 / -1; }
}

@media print {
  .admin-sidebar, .admin-topbar, .no-print, .chatbot-widget { display: none !important; }
  .admin-shell, .admin-main, .admin-page { display: block; margin: 0; padding: 0; background: #fff; }
  .packing-slip { max-width: none; border: 0; box-shadow: none; }
  .packing-line input, .packing-customer-grid input, .packing-customer-grid textarea, .packing-customer-grid select { border: 0; padding: 0; }
}

/* Popular-product pricing and homepage scroll promotion */
.product-meta { align-items: center; }
.product-price {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  flex: 0 0 auto;
  padding: .55rem .78rem;
  border-radius: 14px 14px 14px 2px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: .92rem;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(239, 75, 34, .2);
}
.product-price .sale-price { display: flex; align-items: center; gap: .4rem; }
.product-price .sale-price del { color: rgba(255,255,255,.78); font-size: .72rem; }
.product-price .sale-price b { color: #fff; }
.product-price .sale-price em { padding: .25rem .35rem; border-radius: 999px; background: #fff; color: var(--orange); font-size: .65rem; font-style: normal; }
.rug-card-price strong { padding: .5rem .7rem; border-radius: 12px 12px 12px 2px; background: var(--orange); color: #fff; box-shadow: 0 7px 18px rgba(239,75,34,.18); }

.homepage-promo-popup {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 24px;
  display: grid;
  width: min(760px, calc(100vw - 32px));
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: #171512;
  color: #fff;
  box-shadow: 0 28px 85px rgba(0,0,0,.38);
  transform: translate(-50%, 20px);
  animation: homepagePromoIn .35s ease forwards;
}
.homepage-promo-popup > img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.homepage-promo-popup > div { display: grid; align-content: center; justify-items: start; padding: 2rem; }
.homepage-promo-popup h2 { margin: .3rem 0 .65rem; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.homepage-promo-popup p:not(.eyebrow) { margin: 0 0 1.2rem; color: #ded8d1; }
.homepage-promo-popup [data-popup-close] { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #171512; font-size: 1.55rem; cursor: pointer; }
@keyframes homepagePromoIn { to { transform: translate(-50%, 0); } }

.homepage-popup-settings { margin-top: 1.5rem; }
.homepage-popup-admin-grid { display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr); gap: 1.25rem; }
.homepage-popup-preview { position: relative; overflow: hidden; min-height: 320px; border-radius: 10px; background: #eee; }
.homepage-popup-preview img { width: 100%; height: 100%; object-fit: cover; }
.homepage-popup-preview > span { position: absolute; top: 12px; left: 12px; padding: .4rem .65rem; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; }
.homepage-popup-admin-grid .full { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .product-card-body { padding-bottom: .9rem; }
  .product-meta { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .product-price { min-height: 34px; padding: .48rem .62rem; font-size: .78rem; }
  .homepage-promo-popup { bottom: 12px; grid-template-columns: 1fr; width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; }
  .homepage-promo-popup > img { height: 190px; min-height: 190px; }
  .homepage-promo-popup > div { padding: 1.25rem; }
  .homepage-popup-admin-grid { grid-template-columns: 1fr; }
  .homepage-popup-preview { min-height: 230px; }
}
/* Stabiele, toegankelijke laadstatus voor routegerichte catalogusrequests. */
.app-loading-shell { min-height: 100vh; background: #f7f5f1; }
.loading-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px, 4vw, 64px); background: #181715; }
.loading-header img { width: 148px; height: auto; }
.loading-nav { width: min(52vw, 620px); height: 18px; border-radius: 9px; }
.loading-page { padding: clamp(36px, 6vw, 86px) clamp(20px, 4vw, 64px); }
.loading-page > .skeleton-line { display: block; width: 180px; margin-bottom: 18px; }
.skeleton-heading { width: min(560px, 85vw); height: 58px; margin-bottom: 48px; border-radius: 12px; }
.skeleton-block, .skeleton-line { position: relative; overflow: hidden; background: #e8e3dc; }
.skeleton-block::after, .skeleton-line::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: barkod-skeleton 1.2s infinite; }
.product-card-skeleton { pointer-events: none; min-height: 430px; }
.product-card-skeleton .product-image-wrap { min-height: 310px; aspect-ratio: 1 / 1; }
.product-card-skeleton .product-card-body { display: grid; gap: 14px; padding: 22px; }
.skeleton-line { display: block; width: 100%; height: 15px; border-radius: 8px; }
.skeleton-line-short { width: 58%; }
.image-fallback { object-fit: contain !important; padding: 18%; background: #181715; }
@keyframes barkod-skeleton { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton-block::after, .skeleton-line::after { animation: none; } }
@media (max-width: 680px) { .loading-nav { width: 42px; height: 32px; } .loading-product-grid .product-card-skeleton:nth-child(n+3) { display: none; } }
