:root {
  --ink: #161716;
  --ink-soft: #2f332f;
  --muted: #66706b;
  --line: #d9dedb;
  --surface: #ffffff;
  --surface-soft: #f4f6f3;
  --surface-strong: #e8ece8;
  --yellow: #f7df22;
  --yellow-dark: #d8bd00;
  --blue: #2457a6;
  --green: #18724d;
  --orange: #b9551d;
  --red: #a43125;
  --shadow: 0 14px 38px rgba(20, 24, 22, 0.14);
  --radius: 8px;
  --band-slant: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  letter-spacing: 0;
}

body.site-booting {
  overflow: hidden;
}

body.site-booting .site-header,
body.site-booting main,
body.site-booting .quote-drawer,
body.site-booting .modal,
body.site-booting .brand-modal,
body.site-booting .contact-modal,
body.site-booting .admin-entry {
  visibility: hidden;
}

.site-boot-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 900;
}

body.site-booting .site-boot-loader {
  display: flex;
}

.site-boot-loader img {
  width: min(720px, 84vw);
  max-height: min(240px, 42vh);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(22, 23, 22, 0.14));
  animation: site-loading-logo-pulse 1.45s ease-in-out infinite;
}

.site-boot-loader span {
  font-size: 1rem;
  color: var(--muted);
}

@keyframes site-loading-logo-pulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.985);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

body.drawer-open,
body.modal-open,
body.catalog-view,
body.image-viewer-open,
body.quote-submission-open,
body.nav-menu-open,
body.mobile-mode-open {
  overflow: hidden;
}

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

/* Supprime le flash bleu natif de Chrome/Android après un appui tactile. */
a,
button,
[role="button"],
summary,
label[for],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

main > section,
.contact-panel {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 34px;
  padding: 6px 24px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface-strong);
}

.utility-bar a,
.utility-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.utility-bar svg,
.main-nav svg,
.button svg,
.contact-details svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.1;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: min(1280px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: 118px;
  height: auto;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-entry {
  color: var(--ink-soft);
}

.admin-entry[hidden],
.customer-admin-entry[hidden] {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.mobile-nav-heading,
.nav-link-icon,
.nav-link-arrow,
.nav-link-copy small {
  display: none;
}

.nav-link-copy {
  display: contents;
}

.nav-link-copy strong {
  font: inherit;
}

.site-nav-backdrop[hidden],
.mobile-mode-overlay[hidden] {
  display: none !important;
}

.site-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 13, 12, 0.56);
  backdrop-filter: blur(5px);
  animation: nav-backdrop-enter 160ms ease-out both;
}

.mobile-mode-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  align-items: end;
  padding: 18px;
  background: rgba(10, 13, 12, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mobile-mode-overlay.open {
  opacity: 1;
}

.mobile-mode-dialog {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 180ms ease;
}

.mobile-mode-overlay.open .mobile-mode-dialog {
  transform: translateY(0) scale(1);
}

.mobile-mode-dialog-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  padding: 0;
}

.mobile-mode-dialog-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-mode-dialog-head h2 {
  margin: 0;
  font-size: clamp(22px, 5.8vw, 30px);
  line-height: 1.05;
}

.mobile-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-mode-option {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  min-width: 0;
  min-height: 88px;
  padding: 13px 38px 13px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.mobile-mode-option[hidden] {
  display: none !important;
}

.mobile-mode-option:hover,
.mobile-mode-option:focus-visible {
  border-color: var(--yellow-dark);
  outline: none;
  transform: translateY(-1px);
}

.mobile-mode-option.active {
  border-color: var(--yellow-dark);
  background: #fff7bb;
  box-shadow: inset 0 0 0 1px var(--yellow-dark);
}

.mobile-mode-option-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--surface);
}

.mobile-mode-option.active .mobile-mode-option-icon {
  background: var(--yellow);
  color: var(--ink);
}

.mobile-mode-option-icon svg {
  width: 22px;
  height: 22px;
}

.mobile-mode-option strong {
  align-self: end;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.1;
}

.mobile-mode-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.mobile-mode-option-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
}

.mobile-mode-option.active .mobile-mode-option-check {
  display: inline-flex;
}

.mobile-mode-option-check svg {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

@keyframes nav-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mobile-nav-enter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .mobile-mode-overlay {
    padding: 10px;
  }

  .mobile-mode-dialog {
    padding: 14px;
    border-radius: 22px;
  }

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

  .mobile-mode-option {
    min-height: 76px;
  }
}

.nav-links a,
.nav-link-button {
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-link-button:hover,
.nav-link-button:focus-visible {
  background: var(--surface-strong);
  outline: none;
}

.nav-link-button.active,
.nav-link-button[aria-current="page"],
.nav-link-button.active:hover,
.nav-link-button.active:focus-visible,
.nav-link-button[aria-current="page"]:hover,
.nav-link-button[aria-current="page"]:focus-visible {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--yellow-dark);
  font-weight: 900;
}

.icon-button.nav-toggle {
  display: none;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
}

.button {
  padding: 0 16px;
}

.button strong {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
}

.icon-button {
  width: 42px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.button svg,
.button i,
.icon-button svg,
.icon-button i {
  pointer-events: none;
}

.primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow-dark);
}

.primary:hover,
.primary:focus-visible {
  background: #ffe94a;
  outline: none;
}

.dark {
  background: transparent;
  color: var(--surface);
  border-color: var(--ink);
}

.dark:hover,
.dark:focus-visible {
  background: #30332f;
  outline: none;
}

.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.secondary:hover,
.secondary:focus-visible,
.ghost:hover,
.ghost:focus-visible,
.muted:hover,
.muted:focus-visible {
  background: var(--surface-strong);
  outline: none;
}

.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.muted {
  background: var(--surface-soft);
  color: var(--ink-soft);
  border-color: var(--line);
}

.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden !important;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 9, 13, 0.58);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1280px, calc(100% - 36px));
  min-height: 560px;
  margin: 0 auto;
  padding: 74px 0 96px;
  overflow: visible;
  color: var(--surface);
}

.hero-content > * {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.94;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
  pointer-events: none;
}

.hero-actions > * {
  pointer-events: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 170px));
  gap: 10px;
  margin: 0;
  pointer-events: none;
}

.stat-card {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--surface);
  pointer-events: auto;
}

.stat-card:hover,
.stat-card:focus-visible {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.stat-number {
  font-size: 26px;
  font-weight: 900;
}

.stat-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.hero-contact {
  background: var(--surface);
}

.home-section {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

body.catalog-view .audience-band,
body.catalog-view .home-announcement-section,
body.catalog-view .home-section {
  display: none;
}

body.catalog-view .page-footer {
  display: none;
}

body.faq-view .audience-band,
body.faq-view .home-announcement-section,
body.faq-view .home-new-products,
body.faq-view .testimonials-section {
  display: none;
}

body.conditions-view .home-announcement-section {
  display: none;
}

.home-announcement-section[hidden],
.home-announcement-media[hidden],
.home-announcement-modal-media[hidden] {
  display: none !important;
}

.home-announcement-section {
  width: 100%;
  padding: 38px 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 225, 25, 0.17), transparent 30%),
    var(--surface-soft);
}

.home-announcement-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  width: min(1280px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(18, 26, 38, 0.1);
}

.home-announcement-card:not(:has(.home-announcement-media:not([hidden]))) {
  grid-template-columns: 1fr;
}

.home-announcement-media {
  min-height: 330px;
  margin: 0;
  background: #e9edeb;
}

.home-announcement-media img,
.home-announcement-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-announcement-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 68px);
}

.home-announcement-content .eyebrow,
.home-announcement-modal-content .eyebrow {
  margin-bottom: 10px;
  color: #a55a00;
  letter-spacing: 0.18em;
}

.home-announcement-content h2,
.home-announcement-modal-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.home-announcement-accent {
  display: block;
  width: 76px;
  height: 6px;
  margin: 22px 0;
  border-radius: 999px;
  background: var(--yellow);
}

.home-announcement-summary,
.home-announcement-details {
  margin: 0;
  white-space: pre-line;
}

.home-announcement-summary {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.home-announcement-details {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.audience-band {
  width: 100%;
  padding: 64px 0 58px;
  background: var(--yellow);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.audience-item {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 18px 34px rgba(20, 24, 22, 0.16);
}

.audience-icon svg {
  width: 62px;
  height: 62px;
  stroke-width: 2.4;
}

.audience-item h2 {
  margin: 8px 0 0;
  font-size: 22px;
  text-transform: uppercase;
}

.audience-item p {
  max-width: 360px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-section-title {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 48px;
  text-align: center;
}

.home-section-title > span {
  height: 1px;
  background: var(--line);
}

.home-section-title h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.home-section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 22px;
}

.home-section-title a {
  color: var(--yellow-dark);
  font-weight: 900;
}

.home-new-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
}

.home-new-products::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 54px;
  background: var(--line);
  content: "";
}

.home-new-grid .product-card {
  min-height: 100%;
}

.home-new-grid .product-topline,
.home-new-grid .product-topline.price-only {
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: 7px;
}

.home-new-grid .product-pricing-card {
  order: 1;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-items: stretch;
}

.home-new-grid .product-category {
  order: 2;
  justify-self: center;
  width: auto;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

.home-new-grid .product-price,
.home-new-grid .product-caution {
  justify-content: center;
  text-align: center;
}

.home-new-grid .product-title,
.home-new-grid .product-summary {
  text-align: center;
}

.home-new-grid .mini-specs {
  justify-content: center;
}

.home-product-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.home-product-media {
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--surface);
}

.home-product-media img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: contain;
  background: var(--surface);
}

.media-pdf-thumb {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 96px;
  aspect-ratio: 4 / 3;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(247, 223, 34, 0.16), rgba(255, 255, 255, 0.88)),
    var(--surface-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.media-pdf-thumb svg {
  width: 38px;
  height: 38px;
  color: var(--yellow-dark);
}

.media-pdf-thumb.compact {
  min-height: 0;
  aspect-ratio: 1 / 1;
  font-size: 11px;
}

.media-pdf-thumb.compact svg {
  width: 26px;
  height: 26px;
}

.home-product-card h3 {
  min-height: 56px;
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
}

.home-product-card p {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.home-product-card .button {
  justify-self: start;
  min-width: 150px;
}

.testimonials-section {
  padding-bottom: 96px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.testimonial-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #78909a;
  color: var(--surface);
  font-size: 42px;
  font-weight: 500;
}

.image-avatar {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    url("assets/site/locaneuf-panorama-entrepot.jpg") center / cover;
}

.stars {
  margin: 0;
  color: var(--yellow-dark);
  font-size: 24px;
  letter-spacing: 0;
}

.testimonial-card p:not(.stars) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.testimonial-card strong {
  color: var(--muted);
}

.testimonial-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.company-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 58px;
  align-items: center;
  background: transparent;
}

.company-copy {
  display: grid;
  gap: 20px;
  padding: 10px 0 10px 22px;
  border-left: 4px solid var(--yellow);
}

.company-copy p,
.company-section-title p,
.company-list-card li,
.faq-list p {
  color: var(--muted);
  line-height: 1.62;
}

.company-copy p,
.company-list-card li {
  font-size: 16px;
}

.company-copy blockquote {
  margin: 4px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--yellow);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 10px 26px rgba(20, 24, 22, 0.08);
}

.signature {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe Script", "Bradley Hand ITC", "Brush Script MT", cursive;
  font-size: 34px;
  line-height: 1.1;
}

.company-photo {
  margin: 0;
}

.company-photo img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
}

.company-about {
  padding-top: 28px;
}

.home-question {
  padding-top: 18px;
}

.home-question .faq-contact {
  margin-top: 0;
}

.company-panorama {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
}

.company-section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: end;
  padding: 62px 0 26px;
  border-bottom: 1px solid var(--line);
}

.company-section-title p {
  margin: 0;
  font-size: 18px;
}

.company-feature {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  padding: 42px 0;
}

.company-feature-alt {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  padding-top: 12px;
}

.company-feature figure {
  margin: 0;
}

.company-feature img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: transparent;
}

.company-list-card {
  align-self: center;
  padding: 8px 0;
}

.company-list-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.company-list-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
}

.company-list-card li::marker {
  color: var(--yellow-dark);
}

.company-list-card strong {
  color: var(--ink);
  font-weight: 900;
}

.faq-section {
  display: none;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 75px);
  padding: 92px 0 88px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.84), rgba(8, 10, 9, 0.58)),
    url("assets/site/locaneuf-faq.jpg") center / cover no-repeat;
}

body.faq-view .faq-section {
  display: block;
}

body.faq-view .hero,
body.faq-view .company-intro,
body.faq-view .company-about,
body.faq-view .home-question,
body.faq-view .catalog-section {
  display: none;
}

.conditions-section {
  display: none;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 70px;
}

body.conditions-view .conditions-section {
  display: block;
}

body.conditions-view .hero,
body.conditions-view .audience-band,
body.conditions-view .home-section,
body.conditions-view .faq-section,
body.conditions-view .catalog-section {
  display: none;
}

.conditions-hero {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-bottom: 34px;
}

.conditions-hero h2 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: 0.95;
  text-transform: uppercase;
}

.conditions-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.conditions-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.conditions-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(20, 24, 22, 0.07);
}

.conditions-card h3 {
  position: relative;
  margin-bottom: 16px;
  padding-left: 16px;
  font-size: 22px;
  line-height: 1.15;
}

.conditions-card h3::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 99px;
  background: var(--yellow);
}

.conditions-card p {
  color: var(--muted);
  line-height: 1.62;
}

.conditions-card p + p {
  margin-top: 10px;
}

.conditions-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 24px 26px;
  border-left: 6px solid var(--yellow);
  background: var(--surface-strong);
}

.conditions-contact h3 {
  font-size: 26px;
}

@media (max-width: 880px) {
  .conditions-section {
    width: min(100% - 24px, 720px);
    padding: 52px 0 46px;
  }

  .conditions-layout {
    grid-template-columns: 1fr;
  }

  .conditions-card {
    padding: 20px 18px;
  }

  .conditions-contact {
    align-items: stretch;
    flex-direction: column;
  }
}

.faq-hero,
.faq-layout {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.faq-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--surface);
}

.faq-hero h2 {
  max-width: 760px;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
}

.faq-layout {
  display: block;
}

.faq-media {
  display: none;
}

.faq-content {
  min-width: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 14px 32px rgba(8, 10, 9, 0.16);
}

.faq-list details[open] {
  border-color: var(--yellow-dark);
  background: var(--yellow);
  color: var(--ink);
}

.faq-list summary {
  position: relative;
  min-height: 60px;
  padding: 19px 58px 19px 20px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 26px;
  height: 26px;
  background: transparent;
  color: var(--yellow);
  transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) center / 26px 5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 5px 26px no-repeat;
}

.faq-list details[open] summary::after {
  color: var(--ink);
  background:
    linear-gradient(currentColor, currentColor) center / 26px 5px no-repeat;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: currentColor;
  line-height: 1.6;
}

.faq-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding: 24px 28px;
  border-left: 5px solid var(--yellow);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.faq-contact span {
  font-size: 22px;
  font-weight: 900;
}

.faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.catalog-section {
  display: none;
}

.site-footer {
  width: 100%;
  padding: 26px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.site-footer strong {
  color: var(--muted);
  font-weight: 800;
}

.site-footer a,
.site-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--ink);
  text-decoration: underline;
}

.form-legal-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-legal-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: #c9ad00;
  text-underline-offset: 3px;
}

.form-legal-note a:hover,
.form-legal-note a:focus-visible {
  text-decoration-thickness: 2px;
}

.site-footer a::before,
.site-footer button::before {
  content: "-";
  margin-right: 12px;
  color: var(--muted);
  font-weight: 500;
}

.catalog-inline-footer {
  display: none;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

body.catalog-view .catalog-inline-footer {
  display: block;
}

body.catalog-view .hero {
  display: none;
}

body.catalog-view main {
  height: calc(100vh - 75px);
  height: calc(100dvh - 75px);
  overflow: hidden;
}

body.catalog-view .catalog-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  width: min(1440px, calc(100% - 28px));
  height: calc(100vh - 75px);
  height: calc(100dvh - 75px);
  padding: 14px 0;
}

body.catalog-view .catalog-section > * {
  min-width: 0;
}

body.catalog-view .catalog-section .section-head {
  display: none;
}

.desktop-catalog-chrome {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 0;
}

.desktop-catalog-controls-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-height: 180px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition:
    opacity 150ms ease,
    transform 180ms ease,
    visibility 0s linear 0s;
  contain: layout style;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.desktop-catalog-controls-toggle {
  display: none;
}

@media (min-width: 621px) {
  body.catalog-view .desktop-catalog-controls-panel {
    position: relative;
    z-index: 50;
    overflow: visible;
  }

  body.catalog-view.desktop-catalog-controls-collapsed .desktop-catalog-controls-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    visibility: hidden;
    transition-delay: 0s, 0s, 180ms;
  }

  body.catalog-view .desktop-catalog-controls-toggle {
    display: grid;
    width: 100%;
    min-height: 32px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--yellow);
    box-shadow: 0 8px 18px rgba(20, 24, 22, 0.14);
    cursor: pointer;
  }

  body.catalog-view .desktop-catalog-controls-toggle:hover,
  body.catalog-view .desktop-catalog-controls-toggle:focus-visible {
    border-color: var(--yellow-dark);
    color: var(--surface);
    outline: none;
  }

  body.catalog-view .desktop-catalog-controls-toggle svg {
    width: 22px;
    height: 22px;
    transform: rotate(0deg);
    transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
  }

  body.catalog-view.desktop-catalog-controls-collapsed .desktop-catalog-controls-toggle svg {
    transform: rotate(180deg);
  }
}

.catalog-search {
  position: relative;
  min-width: 0;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.catalog-view .catalog-search {
  z-index: 600;
  margin-bottom: 0;
  box-shadow: 0 10px 24px rgba(20, 24, 22, 0.12);
}

.mobile-search-actions,
.mobile-catalog-controls {
  display: none;
}

.search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 0 10px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.search-shell svg {
  color: var(--muted);
}

.search-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.search-filter-button {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.search-filter-button[aria-expanded="true"] {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow-dark);
}

.section {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(260px, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.filters {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(20, 24, 22, 0.06);
}

.filter-panel {
  position: absolute;
  right: 16px;
  top: calc(100% + 8px);
  z-index: 500;
  width: min(460px, calc(100vw - 36px));
}

.sale-type-filter {
  display: none;
}

.catalog-section.sale-mode .sale-type-filter {
  display: grid;
}

.filter-panel[aria-hidden="true"] {
  display: none;
}

.filter-row {
  display: grid;
  gap: 7px;
}

.filter-row label,
.quote-form label,
.quote-profile-editor label,
.contact-request-form label,
.reservation-date-grid label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

select,
.quote-form input,
.quote-form textarea,
.quote-profile-editor input,
.quote-profile-editor textarea,
.contact-request-form input,
.contact-request-form textarea,
.quote-reservation input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  outline: 0;
}

select {
  min-height: 42px;
  padding: 0 36px 0 11px;
}

.quote-form input,
.quote-form textarea,
.quote-profile-editor input,
.quote-profile-editor textarea,
.contact-request-form input,
.contact-request-form textarea,
.quote-reservation input {
  padding: 11px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--yellow-dark);
}

.check-row span {
  line-height: 1.35;
}

.catalog-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  margin-bottom: 16px;
}

body.catalog-view .catalog-mode-bar {
  margin-bottom: 0;
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
}

.segment:hover,
.segment:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.segment.active {
  background: var(--ink);
  color: var(--surface);
}

.segment[hidden] {
  display: none !important;
}

.catalog-browser {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 0;
}

.catalog-browser.list-mode,
.catalog-browser.brand-mode,
.catalog-browser.sale-mode,
.catalog-browser.favorites-mode {
  grid-template-columns: minmax(0, 1fr);
}

.catalog-browser.list-mode .category-sidebar,
.catalog-browser.brand-mode .category-sidebar,
.catalog-browser.sale-mode .category-sidebar,
.catalog-browser.favorites-mode .category-sidebar {
  display: none;
}

body.catalog-view .catalog-browser {
  align-items: stretch;
  height: 100%;
  overflow-anchor: none;
  contain: layout paint;
  backface-visibility: hidden;
}

.catalog-main {
  min-width: 0;
  max-height: calc(100vh - 142px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scroll-padding-top: 58px;
  scroll-behavior: auto;
}

body.catalog-view .catalog-main {
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.catalog-main:focus {
  outline: none;
}

.section-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-subhead h3 {
  margin: 0;
  font-size: 24px;
}

.category-sidebar {
  position: sticky;
  top: 122px;
  max-height: calc(100vh - 142px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(20, 24, 22, 0.05);
}

body.catalog-view .category-sidebar {
  position: static;
  height: 100%;
  max-height: none;
}

.category-sidebar-head {
  margin-bottom: 12px;
}

.category-sidebar-head h3 {
  margin: 0;
  font-size: 22px;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.category-card:hover,
.category-card:focus-visible,
.category-card.active {
  border-color: var(--yellow-dark);
  background: #fffbea;
  box-shadow: 0 8px 18px rgba(20, 24, 22, 0.08);
  outline: none;
}

.category-card.active {
  border-width: 2px;
}

.category-card > span:last-child {
  min-width: 0;
}

.category-card.image-background {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: 86px;
  overflow: hidden;
  border-color: rgba(20, 24, 22, 0.22);
  background: var(--ink);
  color: var(--surface);
}

.category-card.image-background::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-image: var(--category-bg-image);
  background-position: var(--category-image-x, 50%) var(--category-image-y, 50%);
  background-size: cover;
  filter: blur(var(--category-bg-blur, 4px));
  opacity: 0.72;
  transform: scale(calc(var(--category-image-zoom, 1) * 1.08));
}

.category-card.image-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--category-bg-overlay, rgba(20, 24, 22, 0.55)),
    var(--category-bg-overlay-soft, rgba(20, 24, 22, 0.25))
  );
}

.category-card.image-background > span {
  position: relative;
  z-index: 1;
}

.category-card.image-background .category-image {
  display: none;
}

.category-card.image-background h4 {
  color: var(--surface);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.category-card.image-background p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.category-card.image-background:hover,
.category-card.image-background:focus-visible,
.category-card.image-background.active {
  border-color: var(--yellow-dark);
  background: var(--ink);
}

.category-image {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: var(--category-thumb-fit, contain);
  object-position: var(--category-image-x, 50%) var(--category-image-y, 50%);
  padding: 8px;
  transform: scale(var(--category-image-zoom, 1));
  transform-origin: var(--category-image-x, 50%) var(--category-image-y, 50%);
}

.category-card[style*="--category-thumb-fit: cover"] .category-image img {
  padding: 0;
}

.category-card h4 {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  text-align: left;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: left;
}

.category-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.category-empty[hidden] {
  display: none;
}

.category-empty svg {
  width: 32px;
  height: 32px;
  color: var(--yellow-dark);
}

.category-empty h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.category-empty p {
  max-width: 430px;
  margin: 0;
  line-height: 1.5;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.result-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.catalog-browser.category-mode.category-selected .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-browser.list-mode .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-browser.brand-mode .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-browser.favorites-mode .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-category-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  min-width: 0;
  align-items: start;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.catalog-browser.sale-mode .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
  align-items: stretch;
}

.brand-catalog-grid[hidden] {
  display: none;
}

.brand-catalog-grid .brand-card {
  min-height: 170px;
  box-shadow: none;
}

.catalog-back-row {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  max-height: 54px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition:
    max-height 180ms ease,
    opacity 130ms ease,
    transform 130ms ease,
    visibility 0s linear 180ms;
}

.catalog-back-row[aria-hidden="true"] {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (min-width: 621px) {
  .catalog-section.category-selected:not(.brand-selected) .catalog-back-row {
    display: none;
  }
}

.product-card {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  min-width: 0;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(20, 24, 22, 0.06);
}

.product-media-wrap {
  position: relative;
  min-width: 0;
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: zoom-in;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 180ms ease;
}

.product-card-preview-viewport {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-card-preview-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform var(--card-preview-duration, 950ms) cubic-bezier(0.22, 0.72, 0.18, 1);
  will-change: transform;
}

.product-card-preview-track > img {
  min-width: 100%;
  flex: 0 0 100%;
}

.product-media .media-pdf-thumb,
.home-product-media .media-pdf-thumb {
  min-height: 100%;
  padding: 18px;
}

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

.favorite-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(20, 24, 22, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(20, 24, 22, 0.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.favorite-toggle svg {
  width: 21px;
  height: 21px;
  fill: transparent;
  stroke-width: 2.4;
}

.favorite-toggle span {
  display: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.favorite-toggle:hover span,
.favorite-toggle:focus-visible span {
  display: inline;
}

.favorite-toggle.active {
  background: var(--yellow);
  border-color: var(--yellow-dark);
  color: var(--ink);
}

.favorite-toggle.active svg {
  fill: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.occasion-badge,
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.occasion-badge {
  background: var(--green);
  color: var(--surface);
}

.sale-badge {
  background: var(--ink);
  color: var(--yellow);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 14px;
}

.product-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: flex-start;
}

.product-topline.price-only {
  grid-template-columns: 1fr;
  justify-items: end;
}

.product-category {
  min-width: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-pricing-card {
  --band-action-width: 34px;
  display: grid;
  gap: 3px;
  justify-items: end;
  min-width: 172px;
  max-width: 238px;
}

.product-price-row {
  position: relative;
  display: block;
  align-items: stretch;
  width: 100%;
}

.product-price-row.with-more {
  padding-right: var(--band-action-width);
}

.product-price {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 28px;
  padding: 6px 12px 6px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  isolation: isolate;
}

.product-price::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow);
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
  content: "";
}

.product-price-row .product-price {
  min-width: 0;
}

.product-price-row.with-more .product-price::before {
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
}

.tariff-more-button {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: calc(var(--band-action-width) + var(--band-slant));
  overflow: hidden;
  margin: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  isolation: isolate;
  transform: translateZ(0);
  will-change: width, transform;
  transition:
    width 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.tariff-more-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
  box-shadow: 0 8px 15px rgb(22 23 22 / 24%);
  content: "";
}

.tariff-more-button::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--surface);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75);
  transition:
    opacity 130ms ease,
    transform 210ms ease;
}

.tariff-more-button:hover,
.tariff-more-button:focus-visible {
  color: var(--surface);
  width: 100%;
  filter: drop-shadow(0 10px 12px rgb(22 23 22 / 22%));
  transform: translateY(-1px);
}

.tariff-more-button:hover::after,
.tariff-more-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
  transition-delay: 130ms, 110ms;
}

.band-plus-mark {
  position: relative;
  z-index: 2;
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transform: scale(1);
  transition:
    opacity 120ms ease 70ms,
    transform 180ms ease 70ms;
}

.tariff-more-button:hover .band-plus-mark,
.tariff-more-button:focus-visible .band-plus-mark,
.product-options-button:hover .band-plus-mark,
.product-options-button:focus-visible .band-plus-mark {
  opacity: 0;
  transform: scale(0.62);
  transition-delay: 0ms;
}

.band-plus-mark::before,
.band-plus-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.band-plus-mark::before {
  width: 16px;
  height: 3px;
}

.band-plus-mark::after {
  width: 3px;
  height: 16px;
}

.product-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.product-card-heading {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.product-card-heading::after {
  width: 48px;
  height: 4px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
}

.product-card .product-title {
  display: grid;
  min-height: 28px;
  align-content: center;
  justify-items: center;
  color: var(--ink);
  font-size: clamp(20px, 1.55vw, 23px);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-align: center;
}

.product-card .product-title span {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  padding: 2px 1px 3px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-card-heading .product-summary {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.product-card .product-topline.price-only {
  justify-items: center;
}

.product-card .product-pricing-card {
  justify-items: center;
  margin-inline: auto;
}

.product-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-caution {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 26px;
  padding: 6px 12px 6px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  isolation: isolate;
}

.product-caution::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface-strong);
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
  content: "";
}

.product-options-row {
  position: relative;
  display: block;
  align-items: stretch;
  width: 100%;
  min-height: 32px;
  padding-right: var(--band-action-width);
  isolation: isolate;
}

.product-options-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 0;
  padding: 6px 12px 6px 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  isolation: isolate;
}

.product-options-label::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface-strong);
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
  content: "";
}

.product-options-button {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: calc(var(--band-action-width) + var(--band-slant));
  overflow: hidden;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  isolation: isolate;
  transform: translateZ(0);
  will-change: width, transform;
  transition:
    width 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.product-options-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  clip-path: polygon(var(--band-slant) 0, 100% 0, calc(100% - var(--band-slant)) 100%, 0 100%);
  box-shadow: 0 8px 15px rgb(22 23 22 / 24%);
  content: "";
}

.product-options-button::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--surface);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75);
  transition:
    opacity 130ms ease,
    transform 210ms ease;
}

.product-options-button:hover,
.product-options-button:focus-visible {
  color: var(--surface);
  width: 100%;
  filter: drop-shadow(0 10px 12px rgb(22 23 22 / 22%));
  transform: translateY(-1px);
}

.product-options-button:hover::after,
.product-options-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
  transition-delay: 130ms, 110ms;
}

@media (prefers-reduced-motion: reduce) {
  .tariff-more-button,
  .tariff-more-button::after,
  .tariff-more-button .band-plus-mark,
  .product-options-button,
  .product-options-button::after,
  .product-options-button .band-plus-mark,
  .quote-progress-line::after,
  .quote-progress [data-quote-progress],
  .quote-progress span {
    transition: none;
  }
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.product-availability.compact {
  font-size: 11px;
}

.availability-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.product-availability.available {
  border-color: rgba(29, 128, 87, 0.24);
  color: var(--green);
}

.product-availability.requested {
  border-color: rgba(43, 116, 214, 0.25);
  color: #2b74d6;
}

.product-availability.unavailable {
  border-color: rgba(179, 58, 58, 0.24);
  color: #b33a3a;
}

.mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-top: auto;
  overflow: hidden;
}

.mini-specs span {
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
  padding: 0 14px 14px;
}

.product-actions .button {
  min-width: 0;
  overflow: hidden;
}

.category-group-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-left: 5px solid var(--yellow-dark);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  font-weight: 900;
}

.catalog-browser.list-mode .category-group-header,
.catalog-browser.brand-mode .category-group-header,
.catalog-browser.favorites-mode .category-group-header {
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 10px 20px rgba(20, 24, 22, 0.14);
}

.category-group-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.category-current-header[hidden],
.category-drawer-toggle[hidden] {
  display: none !important;
}

.category-current-header {
  margin-bottom: 14px;
}

.catalog-browser.category-mode.category-selected .category-current-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.catalog-browser.category-mode.category-selected .category-current-header .category-group-header {
  box-shadow: 0 10px 20px rgba(20, 24, 22, 0.14);
}

.category-drawer-toggle {
  display: none;
}

@media (min-width: 621px) {
  .catalog-browser.category-mode.category-selected {
    --category-drawer-width: 310px;
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    isolation: isolate;
  }

  .catalog-browser.category-mode.category-selected .catalog-main {
    grid-column: 1;
    min-width: 0;
    padding-left: calc(var(--category-drawer-width) + 56px);
  }

  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .catalog-main {
    padding-left: 56px;
  }

  .catalog-browser.category-mode.category-selected .category-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    width: var(--category-drawer-width);
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition:
      transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color 160ms ease,
      background-color 160ms ease,
      box-shadow 160ms ease;
    will-change: transform;
    contain: layout paint;
    backface-visibility: hidden;
  }

  .catalog-browser.category-mode.category-selected .category-sidebar-head,
  .catalog-browser.category-mode.category-selected .category-list {
    transition:
      opacity 140ms ease,
      transform 160ms ease,
      visibility 160ms ease;
    will-change: opacity, transform;
  }

  .catalog-browser.category-mode.category-selected .category-drawer-toggle {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 8;
    display: grid;
    width: 38px;
    height: 100%;
    min-height: 150px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--yellow);
    box-shadow: 0 12px 22px rgba(20, 24, 22, 0.16);
    cursor: pointer;
    transform: translate3d(calc(var(--category-drawer-width) + 8px), 0, 0);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    contain: layout paint;
  }

  .catalog-browser.category-mode.category-selected .category-drawer-toggle svg {
    width: 22px;
    height: 22px;
    transform: rotate(0deg);
    transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
  }

  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .category-sidebar {
    pointer-events: none;
    transform: translate3d(calc((var(--category-drawer-width) + 18px) * -1), 0, 0);
  }

  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .category-sidebar-head,
  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .category-list {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .category-drawer-toggle {
    top: 0;
    left: 0;
    bottom: 0;
    width: 38px;
    border-radius: var(--radius);
    transform: translate3d(0, 0, 0);
  }

  .catalog-browser.category-mode.category-selected.category-drawer-collapsed .category-drawer-toggle svg {
    transform: rotate(180deg);
  }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1280px, calc(100% - 36px));
  margin: 96px auto 36px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
}

.contact-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.modal,
.quote-drawer,
.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.modal {
  display: grid;
  place-items: center;
  padding: 20px 0;
  overflow: hidden;
}

.admin-drawer {
  z-index: 220;
}

.modal[aria-hidden="false"],
.quote-drawer[aria-hidden="false"],
.admin-drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 12, 0.58);
  opacity: 0;
  transition: opacity 160ms ease;
}

.modal[aria-hidden="false"] .modal-backdrop,
.quote-drawer[aria-hidden="false"] .drawer-backdrop,
.admin-drawer[aria-hidden="false"] .drawer-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: 0 auto;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 160ms ease;
}

.modal[aria-hidden="false"] .modal-panel {
  transform: translateY(0);
}

body.product-preview-mode {
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

body.product-preview-mode > :not(#productModal) {
  display: none !important;
}

body.product-preview-mode #productModal {
  position: relative;
  inset: auto;
  display: grid !important;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
  pointer-events: none;
  visibility: visible;
}

body.product-preview-mode #productModal .modal-backdrop,
body.product-preview-mode #productModal .modal-close {
  display: none !important;
}

body.product-preview-mode #productModal .product-panel {
  width: 100%;
  max-height: none;
  margin: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  transform: none;
}

body.product-preview-mode #productModal .modal-body {
  pointer-events: none;
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  margin: 12px 12px 0 0;
  z-index: 500;
  pointer-events: auto;
  touch-action: manipulation;
  isolation: isolate;
}

.modal-close > * {
  pointer-events: none;
}

.modal-close svg {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
  padding: 24px;
}

.mobile-product-sticky {
  display: none;
}

.brand-panel {
  width: min(980px, calc(100% - 32px));
}

.brand-modal-body {
  padding: 24px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 142px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.brand-card:hover,
.brand-card:focus-visible {
  border-color: var(--yellow-dark);
  box-shadow: 0 12px 24px rgba(20, 24, 22, 0.08);
  outline: none;
}

.brand-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  background: var(--surface);
}

.brand-card span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.modal-gallery {
  position: relative;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.modal-main-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
}

.modal-main-document {
  display: grid;
  min-height: min(58vh, 520px);
  place-items: stretch;
}

.modal-main-document iframe {
  width: 100%;
  height: min(58vh, 520px);
  min-height: 320px;
  border: 0;
  background: var(--surface);
  pointer-events: none;
}

.media-document-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(22, 24, 22, 0.88);
  color: var(--surface);
  font-weight: 900;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.product-gallery-stage {
  position: relative;
  min-width: 0;
}

.product-gallery-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.product-gallery-track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform var(--product-gallery-duration, 1000ms) cubic-bezier(0.22, 0.72, 0.18, 1);
  will-change: transform;
}

.product-gallery-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.product-gallery-slide:not(.active) {
  pointer-events: none;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 40px;
  height: 62px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(22, 24, 22, 0.66);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 24, 22, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0.94);
  cursor: pointer;
  pointer-events: none;
  backdrop-filter: blur(7px);
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms,
    transform 220ms ease,
    background-color 160ms ease;
}

.product-gallery-nav.previous {
  left: 12px;
}

.product-gallery-nav.next {
  right: 12px;
}

.product-gallery-nav:hover,
.product-gallery-nav:focus-visible {
  background: rgba(22, 24, 22, 0.86);
}

.product-gallery-nav svg {
  width: 24px;
  height: 30px;
}

.product-gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 4;
  display: flex;
  max-width: calc(100% - 120px);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(22, 24, 22, 0.58);
  box-shadow: 0 6px 18px rgba(22, 24, 22, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  backdrop-filter: blur(7px);
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms,
    transform 220ms ease;
}

.product-gallery-stage:hover .product-gallery-nav,
.product-gallery-stage:focus-within .product-gallery-nav,
.product-gallery-stage:hover .product-gallery-dots,
.product-gallery-stage:focus-within .product-gallery-dots {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.product-gallery-stage:hover .product-gallery-nav,
.product-gallery-stage:focus-within .product-gallery-nav {
  transform: translateY(-50%) scale(1);
}

.product-gallery-stage:hover .product-gallery-dots,
.product-gallery-stage:focus-within .product-gallery-dots {
  transform: translate(-50%, 0);
}

.product-gallery-dots button {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.product-gallery-dots button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 0 2px rgba(22, 24, 22, 0.42);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  align-items: start;
  gap: 8px;
}

.thumb-row button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: start;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.thumb-row button.active {
  border-color: var(--yellow-dark);
}

.thumb-row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
}

.thumb-row .media-pdf-thumb {
  border-radius: 0;
}

.modal-dimensions {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-left: 4px solid var(--yellow-dark);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.modal-dimensions h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.modal-dimensions div {
  display: grid;
  gap: 7px;
}

.modal-dimensions span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.modal-dimensions strong {
  color: var(--ink);
}

.mobile-product-measures {
  display: none;
}

.mobile-product-summary {
  display: none;
}

.mobile-product-title-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  min-width: 0;
  gap: 7px;
  align-self: center;
  justify-items: center;
}

.desktop-product-title-copy {
  display: grid;
  justify-items: center;
}

.product-title-divider {
  display: block;
  width: 54px;
  height: 5px;
  margin: 10px auto;
  border-radius: 999px;
  background: var(--yellow);
}

.modal-info {
  padding-top: 24px;
}

.modal-info h2 {
  margin-bottom: 10px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-summary {
  color: var(--muted);
  line-height: 1.55;
}

.modal-price-block {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.modal-price-block .product-pricing-card {
  justify-items: stretch;
  width: 100%;
  max-width: none;
}

.modal-price-block .product-price {
  justify-content: center;
  max-width: none;
  font-size: 20px;
  text-align: center;
}

.modal-price-block .product-caution {
  text-align: center;
}

.tariff-modal {
  z-index: 150;
}

.tariff-panel {
  width: min(1120px, calc(100vw - 28px));
}

.tariff-modal-body {
  display: grid;
  gap: 14px;
}

.tariff-modal-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
}

.tariff-modal-header h2 {
  grid-column: 2;
  justify-self: center;
}

.tariff-modal-header .tariff-close {
  position: static;
  top: auto;
  float: none;
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  border-color: rgba(22, 23, 22, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.tariff-modal-body h2,
.tariff-modal-body p {
  margin: 0;
}

.tariff-modal-body h2 {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1;
}

.tariff-modal-body > p:not(.eyebrow) {
  color: var(--muted);
  text-align: center;
}

.tariff-list {
  display: grid;
  gap: 14px;
  padding: 0 clamp(12px, 2.4vw, 22px) clamp(14px, 2.4vw, 22px);
}

.tariff-submenu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.tariff-submenu button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tariff-submenu button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 999px;
  background: rgba(22, 23, 22, 0.08);
  font-size: 12px;
}

.tariff-submenu button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 23, 22, 0.1);
}

.tariff-submenu button.active span {
  background: var(--yellow);
}

.tariff-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tariff-empty-state {
  grid-column: 1 / -1;
  padding: 32px 18px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.tariff-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 138px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.tariff-item.option-selectable {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 42px;
  padding-inline: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tariff-item.has-media {
  grid-template-columns: 86px minmax(0, 1fr);
  justify-items: stretch;
}

.tariff-item.option-selectable.has-media {
  grid-template-columns: minmax(118px, 32%) minmax(0, 1fr) 42px;
  column-gap: 14px;
  min-height: 156px;
  padding: 0 12px 0 0;
}

.tariff-item.option-selectable.has-media .tariff-item-main {
  padding-block: 14px;
}

.option-select-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tariff-item.option-selectable:hover {
  transform: translateY(-1px);
  border-color: #d8bd00;
}

.tariff-item.option-selectable.selected {
  border: 3px solid var(--yellow-dark);
  background: #fff8c7;
  box-shadow: 0 0 0 3px rgba(253, 223, 34, 0.28);
}

.tariff-item.option-selectable:focus-visible {
  outline: 3px solid rgba(253, 223, 34, 0.42);
  outline-offset: 2px;
}

.option-reserve-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 20px) 0 clamp(12px, 2.2vw, 20px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface) 24%);
}

.option-reserve-actions[hidden] {
  display: none;
}

.option-reserve-button {
  width: min(100%, 420px);
}

.tariff-item.primary {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  min-height: 96px;
  background: transparent;
}

.tariff-item-main {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  width: 100%;
}

.tariff-card-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tariff-price-pill {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--tariff-pill-bg, #fff0b8);
  color: #6d3b00;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
}

.tariff-price-pill > * {
  font: inherit;
}

.tariff-price-pill > * + * {
  margin-left: 8px;
}

.tariff-item.primary .tariff-price-pill {
  background: var(--yellow);
  color: var(--ink);
}

.tariff-item.has-custom-color:not(.primary) {
  border-left: 6px solid var(--tariff-accent, var(--line));
}

.tariff-item.has-custom-color:not(.primary) .tariff-price-pill {
  color: var(--ink);
}

.tariff-item .product-price,
.tariff-item .extra-price-composition {
  width: 100%;
  font-size: 16px;
}

.tariff-item.align-left .tariff-item-main,
.tariff-item.align-left .product-price,
.tariff-item.align-left .tariff-link,
.tariff-item.align-left .tariff-type-label {
  justify-self: start;
}

.tariff-item.align-center .tariff-item-main,
.tariff-item.align-center .product-price,
.tariff-item.align-center .tariff-link,
.tariff-item.align-center .tariff-type-label {
  justify-self: center;
}

.tariff-item.align-right .tariff-item-main,
.tariff-item.align-right .product-price,
.tariff-item.align-right .tariff-link,
.tariff-item.align-right .tariff-type-label {
  justify-self: end;
}

.tariff-item.align-left .tariff-item-main {
  justify-items: start;
}

.tariff-item.align-center .tariff-item-main {
  justify-items: center;
}

.tariff-item.align-right .tariff-item-main {
  justify-items: end;
}

.tariff-item.align-left .tariff-item-main,
.tariff-item.align-center .tariff-item-main,
.tariff-item.align-right .tariff-item-main {
  justify-items: start;
}

.extra-price-composition {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.extra-price-yellow,
.extra-period-gray {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px clamp(16px, 3vw, 28px);
  text-align: center;
}

.extra-price-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.extra-price-yellow strong,
.extra-price-yellow .extra-price-tax,
.extra-price-yellow .extra-price-period {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}

.extra-price-composition.single-band {
  grid-template-rows: auto;
}

.extra-period-gray {
  background: var(--tariff-band-bg, #e7ece7);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.tariff-item.is-fee .extra-price-yellow {
  background: var(--tariff-price-bg, #f97316);
}

.tariff-type-label {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tariff-item.is-fee .tariff-type-label {
  background: var(--tariff-price-bg, #f97316);
  color: #161716;
}

.tariff-option-check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
}

.tariff-option-check svg {
  width: 22px;
  height: 22px;
}

.tariff-item.option-selectable.selected .tariff-option-check {
  background: var(--yellow);
}

.tariff-option-media-frame {
  display: grid;
  place-items: center;
  width: 86px;
  min-height: 86px;
  padding: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
}

.tariff-item.option-selectable.has-media .tariff-option-media-frame {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  border-radius: 12px 0 0 12px;
}

.tariff-item.option-selectable.has-media .tariff-option-media {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-height: none;
}

.tariff-option-media {
  width: 100%;
  height: 100%;
  max-height: 96px;
  object-fit: contain;
  background: transparent;
}

.tariff-link {
  justify-self: start;
  min-height: 38px;
  padding: 8px 12px;
}

.tariff-item p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
  max-width: 100%;
  font-size: 14px;
}

@media (max-width: 880px) {
  .tariff-items-grid:not(.option-items-grid) {
    grid-template-columns: 1fr;
  }

  .option-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .option-items-grid .tariff-item.option-selectable {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    min-height: 128px;
    padding: 10px;
  }

  .option-items-grid .tariff-item.option-selectable.has-media {
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr) 34px;
    min-height: 138px;
    padding: 0 8px 0 0;
  }

  .option-items-grid .tariff-item.option-selectable:not(.has-media) {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .option-items-grid .tariff-option-media-frame {
    width: 100%;
    min-height: 100%;
    padding: 8px;
  }

  .option-items-grid .tariff-option-check {
    width: 34px;
    height: 34px;
  }

  .option-items-grid .tariff-option-check svg {
    width: 18px;
    height: 18px;
  }

  .option-items-grid .extra-price-yellow,
  .option-items-grid .extra-period-gray {
    min-height: 30px;
    gap: 4px;
    padding: 5px 10px;
  }

  .option-items-grid .extra-price-yellow strong,
  .option-items-grid .extra-price-yellow .extra-price-tax,
  .option-items-grid .extra-price-yellow .extra-price-period,
  .option-items-grid .extra-period-gray {
    font-size: 12px;
  }

  .option-items-grid .tariff-card-title,
  .option-items-grid .tariff-price-pill {
    font-size: 12px;
  }

  .option-items-grid .tariff-price-pill {
    padding: 5px 7px;
  }

  .option-items-grid .tariff-item p {
    font-size: 12px;
    line-height: 1.3;
  }

  .option-items-grid .tariff-link {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .tariff-submenu {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .option-items-grid {
    grid-template-columns: 1fr;
  }

  .option-items-grid .tariff-item.option-selectable {
    grid-template-columns: minmax(0, 1fr) 38px;
    padding: 10px;
  }

  .option-items-grid .tariff-item.option-selectable.has-media {
    grid-template-columns: minmax(118px, 35%) minmax(0, 1fr) 38px;
    gap: 10px;
    padding: 0 10px 0 0;
  }

  .option-items-grid .tariff-item.option-selectable:not(.has-media) {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .option-items-grid .tariff-option-media-frame {
    width: 100%;
    min-height: 100%;
  }

  .option-items-grid .tariff-option-check {
    width: 38px;
    height: 38px;
  }
}

.modal-actions {
  margin-top: 20px;
}

@media (min-width: 881px) {
  .product-panel {
    width: min(1200px, calc(100vw - 96px));
  }

  .product-panel > .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    float: none;
    margin: 0;
  }

  .product-panel .modal-body {
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1fr);
    grid-template-rows: minmax(auto, 1fr) auto;
    align-items: stretch;
    min-height: min(650px, calc(100dvh - 96px));
  }

  .product-panel .desktop-product-summary {
    box-sizing: border-box;
    padding: 0 72px;
    text-align: center;
  }

  .product-panel .desktop-product-summary h2 {
    display: block;
    overflow: visible;
    margin: 0;
    padding: 3px 2px 6px;
    color: var(--ink);
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.16;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .product-panel .desktop-product-summary-text {
    max-width: 680px;
    margin: 8px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  .product-panel .desktop-product-summary .modal-price-block {
    margin-top: 0;
  }

  .product-panel .modal-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .product-panel .modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 12;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: end;
    width: calc(100% + 48px);
    box-sizing: border-box;
    margin-top: 0;
    margin-right: -24px;
    margin-bottom: -24px;
    margin-left: -24px;
    padding: 18px 24px 20px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 24px rgba(20, 24, 22, 0.07);
    backdrop-filter: blur(12px);
  }

  .product-panel .modal-actions .add-quote {
    width: 100%;
    min-height: 58px;
    font-size: 18px;
  }

  .product-panel .modal-actions [data-viewer-gallery] {
    display: none;
  }
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: none;
  visibility: hidden;
}

.image-viewer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 160ms ease;
}

.image-viewer[aria-hidden="false"] .image-viewer-backdrop {
  opacity: 1;
}

.image-viewer-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  color: var(--ink);
  background: #fff;
}

.image-viewer-toolbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.image-viewer-toolbar strong {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-viewer-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.image-viewer-pdf-open[hidden] {
  display: none !important;
}

.image-viewer .button,
.image-viewer .icon-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.image-viewer .button:hover,
.image-viewer .button:focus-visible,
.image-viewer .icon-button:hover,
.image-viewer .icon-button:focus-visible {
  background: var(--soft);
}

.image-viewer-canvas {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  padding: 14px;
  background: #fff;
  cursor: default;
  touch-action: none;
}

.image-viewer.is-pdf .image-viewer-canvas {
  cursor: default;
  touch-action: auto;
}

.image-viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: none;
  width: 46px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(18, 26, 38, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.26);
  pointer-events: auto;
  transform: translateY(-50%);
}

.image-viewer.has-gallery .image-viewer-arrow:not([hidden]) {
  display: grid;
  place-items: center;
}

.image-viewer-arrow.previous {
  left: 16px;
}

.image-viewer-arrow.next {
  right: 16px;
}

.image-viewer-arrow:hover,
.image-viewer-arrow:focus-visible {
  border-color: var(--yellow-dark);
  background: #fff;
  outline: none;
}

.image-viewer-arrow svg {
  width: 30px;
  height: 30px;
}

.image-viewer-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 12;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transform: translateX(-50%);
}

.image-viewer.has-gallery .image-viewer-dots:not([hidden]) {
  display: flex;
}

.image-viewer-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--muted);
}

.image-viewer-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: var(--yellow);
}

.image-viewer.is-zoomed .image-viewer-canvas {
  cursor: grab;
}

.image-viewer-canvas.dragging {
  cursor: grabbing;
}

.image-viewer-canvas img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1600px);
  max-height: calc(100vh - 104px);
  object-fit: contain;
  user-select: none;
  transform-origin: center;
  transition: transform 120ms ease;
  will-change: transform;
}

.image-viewer-canvas iframe {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  height: calc(100vh - 118px);
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.image-viewer-canvas.dragging img {
  transition: none;
}

.image-viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.image-viewer-loading[hidden] {
  display: none;
}

.image-viewer-loading strong {
  font-size: clamp(18px, 3vw, 24px);
}

.image-viewer-loading span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.image-viewer-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--line);
  border-top-color: var(--yellow-dark);
  border-radius: 50%;
  animation: image-viewer-spin 760ms linear infinite;
}

.image-viewer-loading.has-error .image-viewer-spinner {
  display: none;
}

@keyframes image-viewer-spin {
  to {
    transform: rotate(360deg);
  }
}

.image-viewer.touch-image-viewer .image-viewer-panel {
  display: block;
}

.image-viewer.touch-image-viewer .image-viewer-toolbar {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 30;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.image-viewer.touch-image-viewer .image-viewer-toolbar strong,
.image-viewer.touch-image-viewer .image-viewer-pdf-open,
.image-viewer.touch-image-viewer .image-viewer-arrow,
.image-viewer.touch-image-viewer .image-viewer-dots {
  display: none !important;
}

.image-viewer.touch-image-viewer .image-viewer-controls {
  gap: 0;
}

.image-viewer.touch-image-viewer .image-viewer-controls .icon-button {
  width: 48px;
  height: 48px;
  border-color: rgba(18, 26, 38, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(18, 26, 38, 0.14);
}

.image-viewer.touch-image-viewer .image-viewer-canvas {
  position: absolute;
  inset: 0;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right))
    max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}

.image-viewer.touch-image-viewer .image-viewer-canvas img {
  max-width: 100vw;
  max-height: 100vh;
}

.contact-panel {
  width: min(640px, calc(100% - 32px));
}

.home-announcement-modal {
  z-index: 145;
}

.home-announcement-panel {
  width: min(1040px, calc(100% - 32px));
  overflow: hidden;
  border-radius: 28px;
}

.home-announcement-modal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  min-height: 430px;
}

.home-announcement-modal-layout:not(:has(.home-announcement-modal-media:not([hidden]))) {
  grid-template-columns: 1fr;
  min-height: 0;
}

.home-announcement-modal-media {
  min-height: 360px;
  margin: 0;
  background: #e9edeb;
}

.home-announcement-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.home-announcement-modal-content h2 {
  padding-right: 40px;
}

.home-announcement-modal-content .button {
  align-self: flex-start;
  margin-top: 26px;
}

.contact-hours-list small {
  display: block;
}

@media (max-width: 880px) {
  .home-announcement-card,
  .home-announcement-modal-layout {
    grid-template-columns: 1fr;
  }

  .home-announcement-media,
  .home-announcement-modal-media {
    min-height: 240px;
    max-height: 380px;
  }

  .home-announcement-content,
  .home-announcement-modal-content {
    padding: 28px 24px;
  }

  .home-announcement-modal-content h2 {
    padding-right: 34px;
  }
}

.contact-modal-body {
  padding: 28px;
}

.contact-modal-body h2 {
  margin: 0 0 10px;
}

.contact-modal-body > p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card-list {
  display: grid;
  gap: 10px;
}

.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.contact-card svg {
  width: 21px;
  height: 21px;
  justify-self: center;
  color: var(--yellow-dark);
}

.contact-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-card strong,
.contact-card small {
  overflow-wrap: anywhere;
}

.contact-card small {
  color: var(--muted);
  font-weight: 700;
}

.contact-action-card {
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.contact-card-action {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.contact-card-action svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.contact-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-request-form {
  display: grid;
  gap: 13px;
  padding: 28px;
}

.contact-request-form h2 {
  margin: 0;
}

.contact-request-form > p:not(.eyebrow) {
  margin: -4px 0 4px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-request-form label {
  display: grid;
  gap: 7px;
}

.customer-entry strong {
  min-width: 24px;
}

.customer-panel {
  width: min(760px, calc(100% - 32px));
}

.customer-panel > .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  float: none;
  margin: 0;
}

.customer-modal-body {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.customer-modal-body > .eyebrow,
.customer-modal-body > h2 {
  padding-right: 64px;
}

.customer-modal-body h2,
.customer-profile-head h3 {
  margin: 0;
}

.customer-modal-body > p:not(.eyebrow),
.customer-profile-head p,
.customer-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price-display-preference {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid #ead27a;
  border-radius: var(--radius);
  background: #fff9df;
}

.price-display-preference > strong {
  display: block;
}

.price-display-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.price-display-toggle button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
  white-space: nowrap;
}

.price-display-toggle button.active {
  background: var(--ink);
  color: var(--surface);
}

.customer-tabs {
  display: inline-flex;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.customer-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
}

.customer-tab.active {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--yellow-dark);
}

.customer-auth,
.customer-form,
.customer-worksites,
.customer-worksite-list,
.customer-worksite-row {
  display: grid;
  gap: 12px;
}

.customer-auth[hidden],
.customer-form[hidden],
.customer-profile[hidden] {
  display: none !important;
}

.customer-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.customer-form input,
.customer-form textarea,
.customer-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 11px;
  outline: 0;
}

.customer-form .customer-professional-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid #ead27a;
  border-radius: var(--radius);
  background: #fff9df;
  cursor: pointer;
}

.customer-professional-choice input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--yellow-dark);
}

.customer-professional-choice span {
  display: grid;
  gap: 3px;
}

.customer-professional-choice strong {
  color: var(--ink);
  font-size: 14px;
}

.customer-professional-choice small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

#customerProfileVatWrap[hidden],
#quoteEditVatWrap[hidden] {
  display: none !important;
}

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

.customer-profile-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.customer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-account-home,
.customer-account-section,
.customer-orders {
  display: grid;
  gap: 16px;
}

.customer-account-home[hidden],
.customer-account-section[hidden] {
  display: none !important;
}

.customer-account-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customer-account-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.customer-account-card:hover {
  border-color: var(--yellow-dark);
  box-shadow: 0 10px 24px rgb(8 20 41 / 8%);
  transform: translateY(-2px);
}

.customer-account-card > svg {
  color: var(--muted);
}

.customer-account-card strong,
.customer-account-card small {
  display: block;
}

.customer-account-card strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.customer-account-card small {
  color: var(--muted);
  line-height: 1.4;
}

.customer-account-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
}

.customer-section-navigation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.customer-order-list,
.customer-order-items {
  display: grid;
  gap: 10px;
}

.customer-order-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.customer-order-head,
.customer-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.customer-order-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.customer-order-head > div,
.customer-order-reference {
  display: grid;
  gap: 3px;
}

.customer-order-reference {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-order-status {
  flex: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff1bd;
  color: #775900;
  font-size: 12px;
  font-weight: 900;
}

.customer-order-status-accepted {
  background: #dff7ea;
  color: #087546;
}

.customer-order-status-cancelled,
.customer-order-status-refused {
  background: #f0f2f5;
  color: #657080;
}

.customer-order-status-cancellation {
  background: #ffe8de;
  color: #a23d12;
}

.customer-order-items {
  padding: 14px 16px;
}

.customer-order-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.customer-order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.customer-order-item > span:last-child,
.customer-order-item small,
.customer-order-footer small {
  color: var(--muted);
}

.customer-order-worksite {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 16px 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
}

.customer-order-worksite svg {
  width: 17px;
  height: 17px;
}

.customer-order-footer {
  border-top: 1px solid var(--line);
}

.customer-order-cancel {
  color: #a23d12;
}

.customer-orders-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.customer-orders-state-error {
  border-color: #efb8a1;
  background: #fff7f3;
  color: #8e3510;
}

.customer-orders-state .loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--yellow-dark);
  border-radius: 50%;
  animation: customer-order-spin 700ms linear infinite;
}

@keyframes customer-order-spin {
  to { transform: rotate(360deg); }
}

.customer-worksites {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.customer-favorites {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.customer-favorite-list {
  display: grid;
  gap: 8px;
}

.customer-favorite-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.customer-favorite-row strong,
.customer-favorite-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-favorite-row small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.customer-favorite-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.customer-favorite-thumb img,
.customer-favorite-thumb .media-pdf-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.customer-worksite-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.customer-remove-worksite {
  justify-self: start;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 9px 11px;
  border-left: 3px solid var(--yellow-dark);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 14px;
}

.spec-list li.spec-heading {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.drawer-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(900px, calc(100% - 32px));
  height: min(860px, calc(100dvh - 32px));
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.985);
  transition: transform 190ms ease, opacity 160ms ease;
}

.quote-drawer[aria-hidden="false"] .drawer-panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 27px;
}

.quote-items {
  padding: 16px 22px;
}

.quote-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.quote-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.quote-item img {
  width: 66px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
}

.quote-item strong {
  display: block;
  line-height: 1.2;
}

.quote-item span {
  color: var(--muted);
  font-size: 13px;
}

.quote-machine-note,
.quote-machine-select {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.quote-machine-note small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
}

.quote-machine-note .is-available {
  color: var(--green);
}

.quote-machine-note .is-requested {
  color: #2b74d6;
}

.quote-machine-note .is-unavailable {
  color: #b33a3a;
}

.quote-bundle {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  padding: 8px 10px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  background: var(--surface-soft);
}

.quote-bundle-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-bundle-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.quote-bundle-option img {
  width: 34px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.quote-bundle-option strong {
  font-size: 13px;
}

.quote-bundle-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quote-edit-item {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.quote-machine-select select {
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
}

.reservation-panel {
  width: min(860px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  overflow: auto;
}

.reservation-modal-body {
  display: grid;
  gap: 18px;
  padding: 0 28px 28px;
}

.reservation-modal-body h2,
.reservation-step h3 {
  margin: 0;
}

.reservation-modal-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  margin: 0 -28px 4px;
  padding: 8px 10px;
  border-radius: 8px 8px 0 0;
  background: var(--yellow);
  color: var(--ink);
}

.reservation-modal-header h2 {
  grid-column: 2;
  justify-self: center;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 1000;
  line-height: 1;
  text-align: center;
}

.reservation-header-back,
.reservation-header-close {
  width: 44px;
  height: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(22, 23, 22, 0.18);
}

.reservation-product-title {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

.reservation-progress {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(70px, 18%, 220px) minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  padding: 0 4px;
}

.reservation-progress button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: center;
}

.reservation-progress button:not(:disabled) {
  cursor: pointer;
}

.reservation-progress button:disabled {
  cursor: default;
}

.reservation-progress button span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 1000;
}

.reservation-progress button strong {
  overflow: hidden;
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
}

.reservation-progress-line {
  position: relative;
  grid-column: 2;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  pointer-events: none;
}

.reservation-progress-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--yellow-strong);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reservation-modal[data-step="configuration"] [data-reservation-progress="configuration"],
.reservation-modal[data-step="dates"] [data-reservation-progress] {
  color: var(--ink);
}

.reservation-modal[data-step="configuration"] [data-reservation-progress="configuration"] span,
.reservation-modal[data-step="dates"] [data-reservation-progress] span {
  border-color: var(--yellow-strong);
  background: var(--yellow);
  color: var(--ink);
}

.reservation-modal[data-step="dates"] .reservation-progress-line::after {
  transform: scaleX(1);
}

.reservation-modal[data-step="configuration"] [data-reservation-step="dates"],
.reservation-modal[data-step="dates"] [data-reservation-step="configuration"] {
  display: none;
}

.reservation-step {
  display: grid;
  gap: 12px;
}

.reservation-primary-action {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 2px -28px -28px;
  padding: 14px 28px 18px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to top, #fff 82%, rgba(255, 255, 255, 0.94));
}

.reservation-primary-action .button {
  min-height: 52px;
}

.reservation-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reservation-back-button {
  display: none;
}

.reservation-machine-list {
  display: grid;
  gap: 10px;
}

.reservation-machine-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
}

.reservation-machine-card:has(input:checked) {
  border-color: var(--yellow-strong);
  background: #fffbe6;
  box-shadow: 0 0 0 2px rgba(253, 223, 34, 0.35);
}

.reservation-machine-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.reservation-machine-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reservation-machine-image {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reservation-machine-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reservation-machine-image.is-empty {
  color: var(--muted);
  background: #f8faf8;
}

.reservation-machine-card strong {
  display: block;
  line-height: 1.2;
}

.reservation-machine-card em {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.reservation-machine-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.reservation-machine-card .recommended {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.reservation-machine-confirm {
  display: none;
}

.reservation-quantity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.reservation-quantity-label {
  display: grid;
  gap: 4px;
}

.reservation-quantity-label strong {
  font-size: 18px;
}

.reservation-quantity-label small {
  color: var(--muted);
  line-height: 1.45;
}

.reservation-quantity-control {
  display: grid;
  grid-template-columns: 46px minmax(68px, 88px) 46px;
  gap: 8px;
  align-items: center;
}

.reservation-quantity-control button,
.reservation-quantity-control input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.reservation-quantity-control button {
  cursor: pointer;
}

.reservation-quantity-control button:disabled,
.reservation-quantity-control input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reservation-options-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf0;
}

.reservation-options-panel[hidden] {
  display: none;
}

.reservation-options-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.reservation-options-header > div {
  display: grid;
  gap: 4px;
}

.reservation-options-header small {
  color: var(--muted);
  line-height: 1.4;
}

.reservation-options-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.reservation-options-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.reservation-option-card.has-media {
  grid-template-columns: 58px minmax(0, 1fr) 34px;
}

.reservation-option-card:hover {
  border-color: #d8bd00;
}

.reservation-option-card.selected {
  border-color: var(--yellow-dark);
  background: #fff8c9;
  box-shadow: 0 0 0 2px rgba(253, 223, 34, 0.2);
}

.reservation-option-card:focus-visible {
  outline: 3px solid rgba(253, 223, 34, 0.42);
  outline-offset: 2px;
}

.reservation-option-media {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface-soft);
}

.reservation-option-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reservation-option-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.reservation-option-copy strong,
.reservation-option-copy small {
  overflow-wrap: anywhere;
}

.reservation-option-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.reservation-option-copy .reservation-option-price {
  color: var(--ink);
  font-weight: 900;
}

.reservation-option-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-soft);
}

.reservation-option-card.selected .reservation-option-check {
  background: var(--yellow);
}

.reservation-option-check svg {
  width: 18px;
  height: 18px;
}

.reservation-availability-message {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  line-height: 1.4;
}

.reservation-availability-message.available {
  border-color: #8bd7b6;
  background: #effcf6;
  color: #086b48;
}

.reservation-availability-message.requested,
.reservation-availability-message.unknown {
  border-color: #f0cf63;
  background: #fff9df;
  color: #745600;
}

.reservation-availability-message.unavailable {
  border-color: #efaaaa;
  background: #fff2f2;
  color: #8b2525;
}

.reservation-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.reservation-contact-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 9px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.reservation-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reservation-date-grid label {
  display: grid;
  gap: 6px;
}

.reservation-panel .reservation-date-grid {
  display: none;
}

.reservation-calendar .quote-calendar-title {
  display: none;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.quote-progress {
  display: grid;
  grid-template-columns: max-content minmax(28px, 1fr) max-content minmax(28px, 1fr) max-content;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.quote-progress [data-quote-progress] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease;
}

.quote-progress-line {
  position: relative;
  min-width: 28px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.quote-progress-line::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--yellow-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
}

.quote-progress-line.complete::after {
  transform: scaleX(1);
}

.quote-progress span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 900;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.quote-progress [data-quote-progress].active {
  color: var(--ink);
}

.quote-progress [data-quote-progress].active span {
  border-color: var(--yellow-dark);
  background: var(--yellow);
}

.quote-progress [data-quote-progress].current strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-flow-viewport {
  min-height: 0;
  overflow: hidden;
}

.quote-flow-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-panel[data-quote-step="list"] .quote-flow-track {
  transform: translateX(0);
}

.drawer-panel[data-quote-step="details"] .quote-flow-track {
  transform: translateX(-100%);
}

.drawer-panel[data-quote-step="success"] .quote-flow-track {
  transform: translateX(-200%);
}

.quote-step {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.quote-step-list {
  display: flex;
  flex-direction: column;
}

.quote-step-list .quote-reservation {
  margin-top: auto;
}

.quote-form {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.quote-form[hidden] {
  display: none;
}

.quote-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-form-head h3,
.quote-form-head p {
  margin: 0;
}

.quote-form-toggle {
  flex: 0 0 auto;
}

.quote-form-body {
  display: grid;
  gap: 12px;
}

.quote-form-body[hidden] {
  display: none;
}

.quote-form label {
  display: grid;
  gap: 6px;
}

.quote-profile-fields,
.quote-worksite-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-profile-fields > label:last-child,
.quote-worksite-fields > h4,
.quote-worksite-fields > .quote-field-hint,
.quote-worksite-fields > label:first-of-type,
.quote-worksite-fields > .checkbox-line {
  grid-column: 1 / -1;
}

.quote-profile-fields > label[hidden],
#quoteWorksiteChoiceWrap[hidden],
.quote-missing-notice[hidden],
.quote-profile-summary[hidden],
.quote-customer-type-fields[hidden] {
  display: none !important;
}

.quote-worksite-fields {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote-worksite-fields h4 {
  margin: 0;
  font-size: 17px;
}

.quote-worksite-fields h4 span,
.quote-customer-type-fields legend span,
.quote-fulfillment-fields legend span,
.quote-delivery-options > strong span {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 700;
}

.quote-field-hint {
  margin: -3px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quote-customer-type-fields,
.quote-fulfillment-fields {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote-customer-type-fields legend,
.quote-fulfillment-fields legend {
  float: left;
  width: 100%;
  max-width: none;
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.quote-customer-type-fields > .quote-field-hint,
.quote-fulfillment-fields > .quote-field-hint {
  clear: both;
  margin-top: 0;
}

.quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.quote-choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-choice-card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
  min-width: 0;
  padding: 13px;
  border: 2px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.quote-choice-card:hover {
  border-color: #d4bc20;
}

.quote-choice-card:has(input:checked) {
  border-color: #c8ae00;
  background: #fff8c7;
  box-shadow: 0 0 0 2px rgb(255 227 26 / 16%);
}

.quote-choice-card input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #d0b600;
}

.quote-choice-card span,
.quote-choice-card strong,
.quote-choice-card small {
  min-width: 0;
}

.quote-choice-card span {
  display: grid;
  gap: 4px;
}

.quote-choice-card strong {
  color: var(--ink);
  line-height: 1.25;
}

.quote-choice-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.quote-choice-card.compact {
  padding: 11px;
}

.quote-delivery-options {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.quote-delivery-options[hidden] {
  display: none !important;
}

.quote-profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #bbd3ff;
  border-radius: var(--radius);
  background: #f1f6ff;
}

.quote-profile-summary-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dce9ff;
  color: #1f66dc;
}

.quote-profile-summary p,
.quote-missing-notice p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quote-missing-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid #f0d782;
  border-radius: var(--radius);
  background: #fff9df;
}

.quote-missing-notice svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.quote-success {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 36px;
  text-align: center;
}

.quote-success-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #e7f7ea;
  color: #178640;
}

.quote-success-icon svg {
  width: 46px;
  height: 46px;
}

.quote-success h3,
.quote-success p {
  max-width: 520px;
  margin: 0;
}

.quote-success h3 {
  font-size: clamp(26px, 4vw, 42px);
}

.quote-success > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.quote-submission-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(18px, 4vw, 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 222, 0, 0.2), transparent 34%),
    rgba(248, 250, 249, 0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.quote-submission-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-submission-card {
  display: grid;
  justify-items: center;
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(15, 23, 20, 0.1);
  border-radius: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 23, 20, 0.14);
  text-align: center;
}

.quote-submission-card[hidden] {
  display: none;
}

.quote-submission-card .eyebrow {
  margin: 24px 0 8px;
  color: #6d5b00;
}

.quote-submission-card h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.quote-submission-card > p:not(.eyebrow) {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
}

.quote-submission-spinner,
.quote-submission-check {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(104px, 18vw, 148px);
  height: clamp(104px, 18vw, 148px);
  border-radius: 50%;
}

.quote-submission-spinner {
  border: 1px solid #f2d200;
  background: #fffbea;
  color: #111815;
}

.quote-submission-spinner span {
  position: absolute;
  inset: -1px;
  border: 6px solid transparent;
  border-top-color: #e3c400;
  border-right-color: #e3c400;
  border-radius: 50%;
  animation: quote-submission-spin 0.9s linear infinite;
}

.quote-submission-spinner svg {
  width: 42%;
  height: 42%;
}

.quote-submission-progress {
  width: min(360px, 84%);
  height: 8px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
  background: #ecefed;
}

.quote-submission-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  animation: quote-submission-progress 1.25s ease-in-out infinite;
}

.quote-submission-check {
  border: 5px solid #14813a;
  background: #e9f8ed;
  color: #14813a;
  animation: quote-submission-check-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quote-submission-check svg {
  width: 56%;
  height: 56%;
  stroke-width: 3;
}

.quote-submission-success .eyebrow {
  color: #14813a;
}

.quote-submission-close {
  min-width: min(300px, 100%);
  min-height: 54px;
  margin-top: 30px;
  font-size: 17px;
}

@keyframes quote-submission-spin {
  to { transform: rotate(360deg); }
}

@keyframes quote-submission-progress {
  0% { transform: translateX(-115%); }
  50% { transform: translateX(85%); }
  100% { transform: translateX(240%); }
}

@keyframes quote-submission-check-in {
  from { opacity: 0; transform: scale(0.65); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .quote-submission-overlay {
    padding: 12px;
    background: #f8faf9;
  }

  .quote-submission-card {
    min-height: calc(100dvh - 24px);
    align-content: center;
    padding: 28px 20px;
    border-radius: 24px;
    box-shadow: 0 14px 38px rgba(15, 23, 20, 0.1);
  }

  .quote-submission-card h2 {
    font-size: clamp(30px, 10vw, 43px);
  }

  .quote-submission-card > p:not(.eyebrow) {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-submission-spinner span,
  .quote-submission-progress span,
  .quote-submission-check {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

.quote-profile-editor {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
  visibility: hidden;
}

.quote-profile-editor[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.quote-profile-editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 12, 0.62);
  opacity: 0;
  transition: opacity 150ms ease;
}

.quote-profile-editor[aria-hidden="false"] .quote-profile-editor-backdrop {
  opacity: 1;
}

.quote-profile-editor-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 32px));
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: transform 170ms ease, opacity 150ms ease;
}

.quote-profile-editor[aria-hidden="false"] .quote-profile-editor-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quote-profile-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.quote-profile-editor-head h3,
.quote-profile-editor-head p {
  margin: 0;
}

.quote-profile-editor-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  overflow: auto;
}

.quote-profile-editor-body label {
  display: grid;
  gap: 6px;
}

.quote-profile-editor-body label:last-child {
  grid-column: 1 / -1;
}

.quote-profile-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.quote-form .checkbox-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote-form .checkbox-line[hidden] {
  display: none !important;
}

.quote-form .checkbox-line input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.quote-reservation {
  display: grid;
  gap: 13px;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.quote-reservation[hidden] {
  display: none;
}

.quote-reservation h3,
.quote-reservation p {
  margin: 0;
}

.quote-reservation h3 {
  font-size: 18px;
}

.quote-reservation p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quote-reservation-action {
  display: grid;
  gap: 10px;
}

.quote-total-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e3c300;
  border-radius: var(--radius);
  background: #fff9d8;
  color: var(--ink);
  text-align: left;
}

.quote-total-summary[hidden] {
  display: none !important;
}

.quote-total-summary span {
  font-weight: 900;
}

.quote-total-summary strong {
  font-size: 20px;
  white-space: nowrap;
}

.quote-total-summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.35;
}

.quote-success .quote-total-summary {
  max-width: 520px;
}

.reservation-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reservation-date-grid label {
  display: grid;
  gap: 6px;
}

.quote-calendar {
  display: grid;
  gap: 12px;
}

.quote-calendar:empty {
  display: none;
}

.quote-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quote-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quote-calendar-legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
}

.quote-date::before {
  display: none;
  content: none;
}

.quote-calendar-legend .available {
  background: #16835a;
}

.quote-calendar-legend .requested {
  background: #2878c7;
}

.quote-calendar-legend .unavailable {
  background: #b63a35;
}

.quote-calendar-product {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quote-calendar-month {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.quote-calendar-month strong {
  text-align: center;
  text-transform: capitalize;
  font-size: 18px;
  font-weight: 950;
}

.quote-calendar-month .icon-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.quote-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.quote-calendar-title {
  display: grid;
  gap: 2px;
}

.quote-calendar-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quote-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.quote-date {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 5px 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.quote-date.available {
  border-color: #72bd9f;
  background: #bfead7;
  color: #0d5f40;
}

.quote-date-empty {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}

.quote-date-warning {
  display: none;
  position: absolute;
  top: 3px;
  right: 4px;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #2878c7;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.quote-date.unavailable {
  border-color: #e5a8a5;
  background: #f4d0ce;
  color: #7d211d;
  cursor: not-allowed;
}

.quote-date.requested {
  border-color: #a9ccee;
  background: #d6e9fb;
  color: #174f87;
}

.quote-date.unknown {
  opacity: 0.82;
}

.quote-date.past {
  border-color: #d8ded8;
  background: #edf1ed;
  background-image: linear-gradient(
    to bottom right,
    transparent calc(50% - 1px),
    rgba(114, 124, 114, 0.5) calc(50% - 1px),
    rgba(114, 124, 114, 0.5) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  color: #96a196;
  opacity: 0.72;
  cursor: not-allowed;
  overflow: hidden;
}

.quote-date.past::after {
  display: none;
  content: none;
}

.quote-date.selected {
  border-color: var(--yellow-strong);
  box-shadow: 0 0 0 2px rgba(253, 223, 34, 0.55);
}

.admin-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(var(--admin-panel-width, 560px), calc(100% - 28px));
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 18px));
  transition: transform 170ms ease;
}

.admin-drawer[aria-hidden="false"] .admin-panel {
  transform: translateX(0);
}

.admin-edit-mode .admin-panel {
  width: min(var(--admin-panel-width, 560px), calc(100% - 28px));
}

.admin-panel-resize {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: -7px;
  z-index: 3;
  width: 14px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.admin-panel-resize::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 4px;
  height: 58px;
  border-radius: 999px;
  background: rgba(20, 24, 22, 0.22);
  transform: translateY(-50%);
}

.admin-panel-resize:hover::before,
.admin-panel-resizing .admin-panel-resize::before {
  background: var(--yellow-dark);
}

body.admin-mobile-preview {
  background: #202421;
}

body.admin-mobile-preview .site-header,
body.admin-mobile-preview main {
  width: min(390px, calc(100vw - 490px));
  min-width: 330px;
  max-width: 390px;
  margin-right: auto;
  margin-left: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body.admin-mobile-preview .site-header {
  top: 14px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

body.admin-mobile-preview main {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: var(--surface-soft);
}

body.admin-mobile-preview .main-nav {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  padding: 12px 14px;
}

body.admin-mobile-preview .icon-button.nav-toggle {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  z-index: 2;
  width: 42px;
  min-height: 42px;
  border-color: var(--yellow-dark);
}

body.admin-mobile-preview .brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  padding-left: 50px;
}

body.admin-mobile-preview .brand img {
  width: 130px;
}

body.admin-mobile-preview .brand span {
  display: none;
}

body.admin-mobile-preview #openListTop {
  grid-column: 2;
  grid-row: 1;
}

body.admin-mobile-preview .admin-entry {
  display: none;
}

body.admin-mobile-preview .nav-links {
  position: absolute;
  top: 82px;
  left: 14px;
  right: 14px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.admin-mobile-preview .nav-links.open {
  display: flex;
}

body.admin-mobile-preview .nav-links a,
body.admin-mobile-preview .nav-link-button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

body.admin-mobile-preview .hero,
body.admin-mobile-preview .hero-content {
  min-height: 620px;
}

body.admin-mobile-preview .hero-content {
  width: calc(100% - 28px);
  padding: 54px 0 44px;
}

body.admin-mobile-preview h1 {
  font-size: 48px;
}

body.admin-mobile-preview h2 {
  font-size: 30px;
}

body.admin-mobile-preview .hero-copy {
  font-size: 17px;
}

body.admin-mobile-preview .hero-actions,
body.admin-mobile-preview .hero-stats {
  grid-template-columns: 1fr;
  width: 100%;
}

body.admin-mobile-preview .hero-actions {
  display: grid;
}

body.admin-mobile-preview .audience-grid,
body.admin-mobile-preview .home-new-grid,
body.admin-mobile-preview .company-intro,
body.admin-mobile-preview .company-section-title,
body.admin-mobile-preview .company-feature,
body.admin-mobile-preview .company-feature-alt,
body.admin-mobile-preview .faq-layout,
body.admin-mobile-preview .testimonial-grid {
  grid-template-columns: 1fr;
}

body.admin-mobile-preview .home-section,
body.admin-mobile-preview .audience-band,
body.admin-mobile-preview .testimonials-section {
  padding-right: 18px;
  padding-left: 18px;
}

body.admin-mobile-preview .admin-panel {
  right: 18px;
  width: min(var(--admin-panel-width, 560px), calc(100vw - 460px));
  min-width: min(420px, calc(100vw - 460px));
}

.admin-drawer,
.admin-drawer[aria-hidden="false"] {
  pointer-events: none;
}

.admin-drawer .drawer-backdrop {
  display: none;
}

.admin-panel {
  pointer-events: auto;
}

body.admin-side-by-side.admin-open {
  --admin-side-panel-width: min(var(--admin-panel-width, 560px), 48vw);
}

body.admin-side-by-side.admin-open .admin-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--admin-side-panel-width);
  border-radius: 0;
  transform: translateX(0);
}

body.admin-side-by-side.admin-open .site-header,
body.admin-side-by-side.admin-open main {
  width: calc(100vw - var(--admin-side-panel-width));
  max-width: none;
  margin-right: var(--admin-side-panel-width);
  margin-left: 0;
}

body.admin-side-by-side.admin-open .site-header {
  right: var(--admin-side-panel-width);
}

.admin-login,
.admin-workspace {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 22px;
}

.admin-login {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-login p,
.admin-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-error {
  color: var(--red);
  font-weight: 800;
}

.admin-workspace {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
}

.admin-workspace[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-tabs,
.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-toolbar .button {
  width: 100%;
  justify-content: center;
}

.admin-toggle.active,
.admin-toolbar .button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.admin-blueprint-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-media-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overscroll-behavior: contain;
}

.admin-media-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 1000;
}

.admin-media-panel summary svg {
  width: 18px;
  height: 18px;
}

.admin-media-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.admin-media-upload {
  position: relative;
  overflow: hidden;
}

.admin-media-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.admin-media-item {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.admin-media-pick {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-media-item:hover,
.admin-media-item:focus-within {
  border-color: var(--yellow-dark);
  background: #fffbea;
  outline: none;
}

.admin-media-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 3px);
  background: var(--surface-soft);
  object-fit: contain;
}

.admin-media-item .media-pdf-thumb {
  min-height: 0;
  border-radius: calc(var(--radius) - 3px);
}

.admin-media-name input {
  width: 100%;
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 900;
}

.admin-media-name input[readonly] {
  color: var(--muted);
}

.admin-media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.admin-media-meta small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-media-meta small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.admin-media-meta .icon-button {
  width: 30px;
  height: 30px;
  min-width: 30px;
}

.admin-product-categories,
.admin-product-media {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.admin-product-categories legend,
.admin-product-media legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 1000;
}

.admin-choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  overscroll-behavior: contain;
}

.admin-choice-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 900;
}

.admin-choice-item input {
  width: 18px;
  height: 18px;
}

.admin-choice-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-hidden-field {
  position: fixed;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.admin-product-media-list {
  display: grid;
  gap: 8px;
  max-height: 330px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.admin-product-media-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-product-media-thumb {
  width: 74px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
}

.admin-product-media-thumb img,
.admin-product-media-thumb .media-pdf-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.admin-product-media-fields {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-product-media-fields label {
  gap: 3px;
  font-size: 11px;
}

.admin-product-media-fields input {
  min-width: 0;
  padding: 8px 9px;
  font-size: 12px;
}

.admin-product-media-actions {
  display: grid;
  gap: 5px;
}

.admin-product-media-actions .icon-button {
  width: 34px;
  height: 34px;
}

.admin-combined-preview-frame {
  position: fixed;
  top: 16px;
  right: calc(var(--admin-combined-panel, min(var(--admin-panel-width, 560px), 42vw)) + 18px);
  z-index: 221;
  width: var(--admin-phone-width, 420px);
  height: var(--admin-phone-height, 910px);
  max-height: calc(100vh - 32px);
  border: 8px solid #161a18;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
  overflow: hidden;
}

body.admin-combined-preview.admin-open {
  --admin-combined-panel: min(var(--admin-panel-width, 560px), 42vw);
  --admin-phone-width: min(430px, max(300px, calc((100vh - 32px) * 9 / 19.5)));
  --admin-phone-height: calc(var(--admin-phone-width) * 19.5 / 9);
  --admin-combined-mobile: calc(var(--admin-phone-width) + 44px);
}

body.admin-combined-preview.admin-open .admin-panel {
  width: var(--admin-combined-panel);
}

body.admin-combined-preview.admin-open .site-header,
body.admin-combined-preview.admin-open main {
  width: max(260px, calc(100vw - var(--admin-combined-panel) - var(--admin-combined-mobile)));
  max-width: none;
  margin-left: 0;
  margin-right: calc(var(--admin-combined-panel) + var(--admin-combined-mobile));
}

body.admin-combined-preview.admin-open .site-header {
  right: calc(var(--admin-combined-panel) + var(--admin-combined-mobile));
}

body.admin-pointer-dragging .admin-combined-preview-frame {
  pointer-events: none !important;
}

.admin-combined-warning {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(247, 223, 34, 0.6);
  border-radius: var(--radius);
  background: rgba(247, 223, 34, 0.16);
  color: var(--ink);
  font-weight: 850;
}

.admin-save-button.active {
  border-color: var(--yellow-dark);
  background: var(--yellow);
  color: var(--ink);
}

.admin-save-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-import-label {
  position: relative;
  overflow: hidden;
}

.admin-import-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.admin-tabs button {
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 9px 13px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
}

.admin-tabs button.active {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--yellow-dark);
}

.admin-tab-panel {
  display: none;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.admin-tab-panel.active {
  display: block;
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  min-height: 0;
}

.admin-split.compact {
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
}

.admin-link-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  min-height: 0;
}

.admin-link-summary,
.admin-link-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf7;
  padding: 12px;
}

.admin-link-summary {
  display: grid;
  gap: 4px;
}

.admin-link-summary strong,
.admin-link-card strong {
  color: var(--ink);
}

.admin-link-summary span,
.admin-link-card span,
.admin-link-card small {
  color: var(--muted);
}

.admin-link-section {
  display: grid;
  gap: 10px;
}

.admin-link-section legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.admin-link-current-list,
.admin-link-candidate-list {
  display: grid;
  gap: 8px;
}

.admin-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
}

.admin-link-card.is-linked {
  border-color: var(--yellow-dark);
  background: #fffbea;
}

.admin-link-card > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-link-card span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-link-badges,
.admin-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-link-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ef;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.admin-link-actions {
  justify-content: flex-end;
}

.admin-link-actions .button {
  min-height: 36px;
  padding: 8px 10px;
}

.admin-customer-worksites {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.admin-customer-worksites legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.admin-customer-worksites-list {
  display: grid;
  gap: 10px;
}

.admin-customer-worksite {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-customer-worksite .admin-row {
  align-items: center;
  justify-content: space-between;
}

.admin-list-column,
.admin-form {
  display: grid;
  align-content: start;
  gap: 12px;
  overscroll-behavior: contain;
}

.admin-form label,
.admin-login label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login input,
.admin-list-column input,
.admin-list-column select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 11px;
  outline: 0;
}

.admin-form textarea {
  resize: vertical;
}

.admin-list-column select {
  min-height: 340px;
}

.admin-grid-2,
.admin-grid-3 {
  display: grid;
  gap: 10px;
}

.admin-product-tariffs {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.admin-product-tariffs legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.admin-tariff-list {
  display: grid;
  gap: 8px;
}

.admin-tariff-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 40px;
  gap: 8px;
  align-items: end;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-tariff-row label:nth-child(3),
.admin-tariff-row label:nth-child(5),
.admin-tariff-row label:nth-child(6),
.admin-tariff-row label:nth-child(7) {
  grid-column: span 2;
}

.admin-color-picker-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.admin-color-picker-row input[type="color"] {
  width: 46px;
  min-width: 46px;
  height: 42px;
  padding: 4px;
  cursor: pointer;
}

.admin-tariff-row .icon-button {
  width: 40px;
  height: 40px;
  grid-column: 3;
  grid-row: 1;
}

.admin-tariff-row .icon-button.danger {
  border-color: rgba(177, 55, 45, 0.25);
  color: #b1372d;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-section-editor {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-empty-selection {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-selected-controls {
  display: grid;
  gap: 12px;
}

.admin-context {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.admin-context[hidden],
.admin-selected-controls[hidden],
.admin-empty-selection[hidden],
.admin-section-editor[hidden] {
  display: none;
}

.admin-context legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-add-menu {
  position: fixed;
  z-index: 190;
  display: grid;
  gap: 4px;
  width: 178px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-add-menu[hidden] {
  display: none;
}

.admin-add-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 10px;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.admin-add-menu button:hover,
.admin-add-menu button:focus-visible {
  background: var(--yellow);
  outline: none;
}

.admin-add-menu svg {
  width: 17px;
  height: 17px;
}

.admin-added-block {
  position: relative;
  max-width: 100%;
}

.admin-deleted-element,
[data-admin-deleted="true"] {
  display: none !important;
}

main {
  position: relative;
}

.admin-free-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.admin-free-layer > [data-admin-edit-id] {
  pointer-events: auto;
}

.admin-flow-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.admin-flow-dragging {
  position: relative;
  z-index: 60 !important;
  will-change: transform;
}

img.admin-added-block {
  height: auto;
  border-radius: var(--radius);
  background: transparent;
}

body:not(.admin-edit-mode) img.admin-added-block:not([data-admin-action]) {
  pointer-events: none;
}

.admin-overlay-element {
  isolation: isolate;
}

[data-admin-layer="below"] {
  position: relative;
  z-index: 1;
}

[data-admin-layer="normal"],
[data-admin-edit-id]:not(.hero-media):not(.hero-scrim):not([data-admin-layer="below"]):not([data-admin-layer="above"]) {
  position: relative;
  z-index: 10;
}

[data-admin-layer="above"] {
  position: relative;
  z-index: 30;
}

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

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

.button.danger {
  border-color: rgba(164, 49, 37, 0.3);
  color: var(--red);
}

.admin-card-edit {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.admin-element-tools {
  position: fixed;
  z-index: 180;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-element-tools[hidden],
.admin-resize-handle[hidden] {
  display: none;
}

.admin-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
}

.admin-tool:hover,
.admin-tool:focus-visible,
.admin-tool.active {
  border-color: var(--yellow-dark);
  background: var(--yellow);
  outline: none;
}

.admin-tool.danger {
  color: var(--red);
}

.admin-tool.danger:hover,
.admin-tool.danger:focus-visible {
  border-color: rgba(164, 49, 37, 0.35);
  background: rgba(164, 49, 37, 0.1);
}

.admin-tool svg {
  width: 17px;
  height: 17px;
}

.admin-element-tools [data-admin-change-image],
.admin-element-tools [data-admin-section-up],
.admin-element-tools [data-admin-section-down] {
  display: none;
}

.admin-element-tools.image-selected [data-admin-change-image],
.admin-element-tools.section-selected [data-admin-section-up],
.admin-element-tools.section-selected [data-admin-section-down] {
  display: inline-flex;
}

.admin-move-handle {
  cursor: move;
}

.admin-resize-handle {
  position: fixed;
  z-index: 181;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 45%, var(--yellow) 45%, var(--yellow) 62%, transparent 62%),
    var(--surface);
  box-shadow: var(--shadow);
  cursor: nwse-resize;
}

.admin-snap-guide {
  position: fixed;
  z-index: 179;
  pointer-events: none;
  background: var(--yellow-dark);
  box-shadow: 0 0 0 1px rgba(20, 24, 22, 0.18), 0 0 14px rgba(247, 223, 34, 0.55);
}

.admin-snap-guide[hidden] {
  display: none;
}

.admin-snap-guide-x {
  top: 0;
  bottom: 0;
  width: 2px;
}

.admin-snap-guide-y {
  left: 0;
  right: 0;
  height: 2px;
}

body.admin-edit-mode .admin-editable {
  outline: 2px dashed rgba(216, 189, 0, 0.65);
  outline-offset: 4px;
  cursor: pointer;
}

body.admin-edit-mode .admin-editable:hover,
body.admin-edit-mode .admin-selected-element {
  outline: 3px solid var(--yellow-dark);
  background-color: rgba(247, 223, 34, 0.12);
}

body.admin-edit-mode .admin-selected-element {
  min-width: 42px;
  min-height: 24px;
}

body.admin-edit-mode button[data-admin-edit-id],
body.admin-edit-mode a[data-admin-edit-id],
body.admin-edit-mode .button[data-admin-edit-id],
body.admin-edit-mode .text-button[data-admin-edit-id] {
  position: relative;
  z-index: 90 !important;
}

body.admin-edit-mode .admin-selected-element + .admin-selected-element,
body.admin-edit-mode .admin-selected-element.admin-added-block {
  outline-offset: 4px;
}

body.admin-edit-mode .admin-selected-element[contenteditable="true"] {
  cursor: text;
}

body.admin-edit-mode .admin-selected-element.admin-moving,
body.admin-edit-mode .admin-selected-element.admin-resizing {
  user-select: none;
}

.admin-free-element {
  max-width: none;
}

.admin-text-shape-flow {
  overflow: hidden;
}

.admin-text-shape-flow::before,
.admin-text-shape-flow::after {
  content: "";
  display: block;
  height: 100%;
}

.admin-text-shape-flow[data-admin-shape="slant-right"]::after,
.admin-text-shape-flow[data-admin-shape="bevel-right"]::after {
  float: right;
  width: var(--admin-shape-inset, 18%);
  shape-outside: polygon(100% 0, 0 100%, 100% 100%);
}

.admin-text-shape-flow[data-admin-shape="slant-left"]::before,
.admin-text-shape-flow[data-admin-shape="bevel-left"]::before {
  float: left;
  width: var(--admin-shape-inset, 18%);
  shape-outside: polygon(0 0, 100% 100%, 0 100%);
}

.admin-text-shape-flow[data-admin-shape="trapezoid"]::before {
  float: left;
  width: calc(var(--admin-shape-inset, 18%) / 2);
  shape-outside: polygon(0 0, 100% 100%, 0 100%);
}

.admin-text-shape-flow[data-admin-shape="trapezoid"]::after {
  float: right;
  width: calc(var(--admin-shape-inset, 18%) / 2);
  shape-outside: polygon(100% 0, 0 100%, 100% 100%);
}

.admin-edit-mode img.admin-selected-element,
.admin-free-element img,
img.admin-free-element {
  max-width: none;
}

.admin-marker-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.admin-marker-dot::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1px var(--yellow-dark);
}

.admin-marker-pill {
  border-radius: 999px;
  padding: 0.18em 0.62em;
  background: var(--yellow);
}

.admin-marker-underline {
  background-image: linear-gradient(transparent 62%, rgba(247, 223, 34, 0.72) 62%);
  background-size: 100% 100%;
}

.admin-section-mode main > section:not(.testimonials-section),
.admin-section-mode .contact-panel {
  outline: 3px dashed rgba(216, 189, 0, 0.52);
  outline-offset: -6px;
  cursor: crosshair;
}

.admin-section-mode .admin-editable:not([data-admin-section-id]) {
  outline: none;
}

.admin-edit-mode .product-card,
.admin-edit-mode .home-product-card,
.admin-edit-mode .brand-card,
.admin-edit-mode .category-card,
.admin-edit-mode .faq-list details {
  outline: 2px dashed rgba(216, 189, 0, 0.55);
  outline-offset: 3px;
  cursor: pointer;
}

.admin-edit-mode .product-card:hover,
.admin-edit-mode .home-product-card:hover,
.admin-edit-mode .brand-card:hover,
.admin-edit-mode .category-card:hover,
.admin-edit-mode .faq-list details:hover {
  outline-color: var(--yellow-dark);
}

.admin-edit-mode .catalog-section .admin-editable {
  outline: none;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  max-width: 330px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .home-new-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .catalog-browser {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

  .catalog-browser.list-mode .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-browser.brand-mode .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-browser.favorites-mode .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-browser.list-mode .product-category-grid,
  .catalog-browser.brand-mode .product-category-grid,
  .catalog-browser.favorites-mode .product-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-browser.sale-mode .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 980px) {
  .home-new-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin: 0 auto;
  }

  .home-new-grid .product-card {
    min-height: 0;
  }

  .home-new-grid .product-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .admin-entry,
  .admin-drawer {
    display: none;
  }

  .utility-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
  }

  .icon-button.nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    z-index: 2;
    width: 38px;
    min-height: 38px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .icon-button.nav-toggle:hover,
  .icon-button.nav-toggle:focus-visible {
    background: transparent;
    outline: 2px solid var(--yellow-dark);
    outline-offset: 4px;
  }

  .icon-button.nav-toggle svg {
    width: 25px;
    height: 25px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    padding-left: 44px;
    gap: 8px;
    justify-self: start;
  }

  #openListTop {
    grid-column: 2;
    grid-row: 1;
  }

  #openCustomerPanel {
    grid-column: 3;
    grid-row: 1;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: calc(100dvh - 108px);
    padding: 16px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 24px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 243, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    z-index: 12;
  }

  .nav-links.open {
    display: grid;
    animation: mobile-nav-enter 180ms ease-out both;
  }

  .mobile-nav-heading {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    padding: 18px;
    overflow: hidden;
    border-radius: 18px;
    background:
      radial-gradient(circle at 88% 18%, rgba(247, 223, 34, 0.3), transparent 30%),
      var(--ink);
    color: var(--surface);
  }

  .mobile-nav-heading span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-nav-heading strong {
    font-size: clamp(21px, 4vw, 28px);
    line-height: 1.1;
  }

  .nav-links a,
  .nav-link-button {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 11px;
    align-items: center;
    width: 100%;
    min-height: 78px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    font-size: 16px;
    text-align: left;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-link-button:hover,
  .nav-link-button:focus-visible {
    border-color: var(--yellow-dark);
    background: #fffbe1;
    outline: none;
  }

  .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--surface);
  }

  .nav-link-icon svg {
    width: 22px;
    height: 22px;
  }

  .nav-link-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .nav-link-copy strong {
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
  }

  .nav-link-copy small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
  }

  .nav-link-arrow {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--muted);
  }

  .nav-link-button.active .nav-link-icon,
  .nav-link-button[aria-current="page"] .nav-link-icon {
    background: var(--yellow);
    color: var(--ink);
  }

  .nav-link-button.active .nav-link-copy small,
  .nav-link-button[aria-current="page"] .nav-link-copy small {
    color: var(--ink-soft);
  }

  .hero,
  .hero-content {
    min-height: 520px;
  }

  .hero .admin-free-element {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    overflow-wrap: anywhere;
  }

  .hero .admin-flow-placeholder {
    display: none !important;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 32px;
  }

  .section-head,
  .contact-band,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .company-intro,
  .company-section-title,
  .company-feature,
  .company-feature-alt,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .company-intro {
    gap: 32px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .audience-item p {
    max-width: 520px;
  }

  .home-section-title {
    gap: 16px;
    margin-bottom: 34px;
  }

  .home-section-title h2 {
    font-size: 34px;
  }

  .home-section-title p {
    font-size: 18px;
  }

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

  .company-feature,
  .company-feature-alt {
    gap: 28px;
    padding: 32px 0;
  }

  .company-feature-alt figure {
    order: -1;
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

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

  .catalog-browser.list-mode .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-browser.brand-mode .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-browser.favorites-mode .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-browser.list-mode .product-category-grid,
  .catalog-browser.brand-mode .product-category-grid,
  .catalog-browser.favorites-mode .product-category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-browser.sale-mode .product-grid {
    grid-template-columns: 1fr;
  }

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

  .filter-panel {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .filters .full,
  .check-row {
    grid-column: 1 / -1;
  }

  .modal-info {
    padding-top: 0;
  }

  #productModal[aria-hidden="false"] {
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 8px 0;
  }

  .product-panel {
    width: min(100% - 16px, 520px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 0 auto;
    overflow: auto;
    z-index: 1;
  }

  .product-panel > .modal-close {
    display: none;
  }

  .product-panel .modal-body {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .product-panel .mobile-product-sticky {
    position: sticky;
    top: 0;
    z-index: 16;
    display: block;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-product-head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
    align-items: center;
    padding: 10px 10px 8px;
  }

  .mobile-product-head .icon-button {
    width: 46px;
    min-height: 46px;
  }

  .mobile-product-title {
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .mobile-product-overview {
    display: grid;
    gap: 9px;
    padding: 0 12px 11px;
  }

  .mobile-product-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .mobile-product-overview .modal-price-block {
    margin: 0;
  }

  .mobile-product-overview .product-pricing-card {
    width: 100%;
    max-width: none;
  }

  .mobile-product-overview .modal-meta {
    justify-content: center;
    margin: 0;
  }

  .mobile-product-measures {
    display: grid;
    gap: 10px;
    padding: 12px 14px 0;
  }

  .mobile-product-measures:empty {
    display: none;
  }

  .mobile-product-measures .modal-dimensions {
    padding: 10px;
  }

  .product-panel .modal-gallery,
  .product-panel .desktop-product-summary {
    display: none;
  }

  .product-panel .modal-info {
    padding: 14px;
  }

  .product-panel .modal-summary {
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .product-panel .spec-list {
    margin: 12px 0 0;
  }

  .product-panel .modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 22px 0 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background:
      linear-gradient(to top, var(--surface) 78%, rgba(255, 255, 255, 0));
  }

  .product-panel .modal-actions .button {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 540px) {
  .nav-links {
    left: 10px;
    right: 10px;
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100dvh - 96px);
    padding: 12px;
    border-radius: 20px;
  }

  .nav-links a,
  .nav-link-button {
    min-height: 70px;
  }

  .mobile-nav-heading {
    padding: 15px;
  }
}

@media (max-width: 620px) {
  .desktop-catalog-chrome,
  .desktop-catalog-controls-panel {
    display: contents;
  }

  .desktop-catalog-controls-toggle {
    display: none !important;
  }

  .main-nav {
    width: min(100% - 24px, 1280px);
    gap: 10px;
  }

  .brand span,
  .utility-bar span {
    display: none;
  }

  .brand img {
    width: 106px;
  }

  .button {
    padding: 0 12px;
  }

  .hero,
  .hero-content {
    min-height: 490px;
  }

  .hero-content {
    width: min(100% - 24px, 1280px);
    padding-top: 50px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero .admin-free-element {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .hero .admin-flow-placeholder {
    display: none !important;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 10px;
  }

  .stat-number {
    font-size: 21px;
  }

  .section,
  .contact-band {
    width: min(100% - 24px, 1280px);
  }

  .home-section {
    width: min(100% - 24px, 1280px);
    padding: 48px 0;
  }

  .audience-band {
    padding: 44px 0;
  }

  .audience-grid {
    width: min(100% - 24px, 1280px);
  }

  .audience-icon {
    width: 118px;
    height: 118px;
  }

  .audience-icon svg {
    width: 50px;
    height: 50px;
  }

  .home-new-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-product-card {
    gap: 12px;
  }

  .home-product-card h3 {
    min-height: 0;
    font-size: 21px;
  }

  .home-product-media img {
    aspect-ratio: 1.35;
  }

  .company-copy {
    padding-left: 14px;
  }

  .company-copy blockquote {
    padding: 14px;
    font-size: 16px;
  }

  .signature {
    font-size: 28px;
  }

  .company-photo img {
    aspect-ratio: 1;
  }

  .company-panorama {
    max-height: 190px;
  }

  .company-section-title {
    gap: 10px;
    padding: 36px 0 18px;
  }

  .company-section-title p {
    font-size: 16px;
  }

  .company-list-card h3 {
    font-size: 21px;
  }

  .company-list-card ul {
    gap: 10px;
    padding-left: 20px;
  }

  .faq-section {
    width: 100%;
    min-height: calc(100vh - 75px);
    padding: 54px 0 56px;
  }

  .faq-hero,
  .faq-layout {
    width: min(100% - 24px, 1280px);
    gap: 28px;
  }

  .faq-hero {
    margin-bottom: 22px;
  }

  .faq-hero h2 {
    font-size: 34px;
  }

  .faq-contact {
    align-items: stretch;
    padding: 18px;
  }

  .faq-contact-actions {
    width: 100%;
    justify-content: stretch;
  }

  .faq-contact-actions .button {
    flex: 1 1 170px;
    min-height: 50px;
  }

  .faq-list summary {
    min-height: 54px;
    padding: 16px 48px 16px 14px;
  }

  .faq-list p {
    padding: 0 14px 16px;
  }

  #productModal[aria-hidden="false"] {
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 8px 0;
  }

  .product-panel {
    width: min(100% - 16px, 520px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 0 auto;
    overflow: auto;
    z-index: 1;
  }

  .product-panel > .modal-close {
    display: none;
  }

  .product-panel .modal-body {
    display: block;
    padding: 0;
  }

  .product-panel .mobile-product-sticky {
    position: sticky;
    top: 0;
    z-index: 16;
    display: block;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-product-head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
    align-items: center;
    padding: 10px 10px 8px;
  }

  .mobile-product-head .icon-button {
    width: 46px;
    min-height: 46px;
  }

  .mobile-product-title {
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .mobile-product-overview {
    display: grid;
    gap: 9px;
    padding: 0 12px 11px;
  }

  .mobile-product-overview .modal-price-block {
    margin: 0;
  }

  .mobile-product-overview .product-pricing-card {
    width: 100%;
    max-width: none;
  }

  .mobile-product-overview .modal-meta {
    justify-content: center;
    margin: 0;
  }

  .mobile-product-measures {
    display: grid;
    gap: 10px;
    padding: 12px 14px 0;
  }

  .mobile-product-measures:empty {
    display: none;
  }

  .mobile-product-measures .modal-dimensions {
    padding: 10px;
  }

  .product-panel .modal-gallery,
  .product-panel .desktop-product-summary {
    display: none;
  }

  .product-panel .modal-info {
    padding: 14px;
  }

  .product-panel .modal-summary {
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .product-panel .spec-list {
    margin: 12px 0 0;
  }

  .product-panel .modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 22px 0 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background:
      linear-gradient(to top, var(--surface) 78%, rgba(255, 255, 255, 0));
  }

  .product-panel .modal-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .reservation-panel {
    width: min(100% - 12px, 520px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 6px auto;
    overflow-x: hidden;
  }

  .reservation-modal-body {
    gap: 14px;
    padding: 0 12px calc(14px + env(safe-area-inset-bottom));
  }

  .reservation-modal-header {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    margin: 0 -12px 2px;
    padding: 8px;
    border-radius: 8px 8px 0 0;
  }

  .reservation-modal-header h2 {
    font-size: 30px;
  }

  .reservation-header-back,
  .reservation-header-close {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .reservation-product-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .reservation-progress {
    grid-template-columns: minmax(0, 1fr) clamp(40px, 12%, 64px) minmax(0, 1fr);
    column-gap: 0;
    padding: 0;
  }

  .reservation-progress button {
    gap: 6px;
  }

  .reservation-progress button span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 13px;
  }

  .reservation-progress button strong {
    font-size: 11px;
  }

  .reservation-primary-action {
    margin: 2px -12px calc(-14px - env(safe-area-inset-bottom));
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .reservation-step-header {
    justify-content: center;
  }

  .reservation-step-header h3 {
    text-align: center;
  }

  .reservation-machine-card {
    min-height: 82px;
    padding: 12px;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .reservation-quantity-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reservation-quantity-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .reservation-options-header {
    display: grid;
    gap: 8px;
  }

  .reservation-options-count {
    justify-self: start;
  }

  .reservation-options-list {
    grid-template-columns: 1fr;
  }

  .reservation-contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .reservation-machine-image {
    width: 64px;
    height: 64px;
  }

  .quote-calendar-month {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .quote-calendar-month strong {
    font-size: 17px;
  }

  .quote-calendar-grid,
  .quote-calendar-weekdays {
    gap: 4px;
  }

  .quote-date {
    min-height: 42px;
    font-size: 13px;
  }

  body.catalog-view .catalog-section {
    --mobile-catalog-controls-height: 62px;
    --mobile-catalog-back-height: 0px;
    --mobile-catalog-chrome-offset: 68px;
    grid-template-rows:
      var(--mobile-catalog-controls-height)
      var(--mobile-catalog-back-height)
      minmax(0, 1fr);
    width: min(100% - 16px, 1280px);
    height: calc(100vh - 75px);
    height: calc(100dvh - 75px);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    gap: 6px;
  }

  body.catalog-view .catalog-section.category-selected,
  body.catalog-view .catalog-section.brand-selected {
    --mobile-catalog-back-height: 54px;
    --mobile-catalog-chrome-offset: 128px;
  }

  .filters,
  .product-grid,
  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .catalog-browser.category-mode.category-selected .product-grid {
    grid-template-columns: 1fr;
  }

  .reservation-date-grid {
    grid-template-columns: 1fr;
  }

  body.catalog-view .catalog-search {
    display: none;
  }

  body.catalog-view.mobile-search-open .catalog-search {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 0;
    border-radius: 0;
    background: rgba(11, 13, 12, 0.68);
    box-shadow: none;
  }

  body.catalog-view.mobile-search-open .search-shell,
  body.catalog-view.mobile-search-open .mobile-search-actions,
  body.catalog-view.mobile-search-open .filter-panel {
    width: min(100%, 430px);
  }

  body.catalog-view.mobile-search-open .search-shell {
    min-height: 62px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.catalog-view.mobile-search-open .filter-panel {
    position: static;
    padding: 14px;
  }

  .mobile-search-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body.catalog-view.mobile-search-open .mobile-search-actions {
    display: grid;
  }

  .mobile-catalog-controls {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    min-width: 0;
    height: 62px;
    max-height: 62px;
    overflow: hidden;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition:
      max-height 180ms ease,
      opacity 130ms ease,
      transform 130ms ease,
      visibility 0s linear 180ms;
    contain: layout paint;
    will-change: opacity, transform, max-height;
  }

  body.catalog-view .catalog-back-row {
    height: 54px;
    max-height: 54px;
    overflow: hidden;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition:
      max-height 180ms ease,
      opacity 130ms ease,
      transform 130ms ease,
      visibility 0s linear 180ms;
    contain: layout paint;
    will-change: opacity, transform, max-height;
  }

  body.catalog-view .catalog-back-row[aria-hidden="true"] {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  body.catalog-view.mobile-catalog-controls-collapsed .mobile-catalog-controls,
  body.catalog-view.mobile-catalog-controls-collapsed .catalog-back-row {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0);
    visibility: hidden;
  }

  body.catalog-view:not(.mobile-catalog-controls-collapsed) .mobile-catalog-controls {
    max-height: 62px !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) !important;
    visibility: visible;
    transition-delay: 0s;
  }

  body.catalog-view:not(.mobile-catalog-controls-collapsed) .catalog-back-row[data-visible="true"] {
    max-height: 54px !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) !important;
    visibility: visible;
    transition-delay: 0s;
  }

  body.catalog-view.mobile-catalog-controls-collapsed .catalog-section {
    --mobile-catalog-browser-extra-height: var(--mobile-catalog-chrome-offset);
  }

  body.catalog-view .catalog-browser {
    overflow-anchor: none;
    height: calc(100% + var(--mobile-catalog-browser-extra-height, 0px));
    transform: translate3d(0, 0, 0);
    transition: transform 190ms ease;
    will-change: transform;
  }

  body.catalog-view.mobile-catalog-controls-collapsed .catalog-browser {
    transform: translate3d(0, calc(var(--mobile-catalog-chrome-offset) * -1), 0);
  }

  .mobile-search-button {
    width: 56px;
    min-height: 52px;
    border-color: var(--yellow-dark);
    background: var(--yellow);
  }

  .mobile-search-button svg {
    width: 24px;
    height: 24px;
  }

  .mobile-mode-trigger {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 52px;
    min-width: 0;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    text-align: left;
  }

  .mobile-mode-trigger:hover,
  .mobile-mode-trigger:focus-visible,
  .mobile-mode-trigger[aria-expanded="true"] {
    border-color: var(--yellow-dark);
    background: #fffceb;
    outline: none;
  }

  .mobile-mode-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ink);
    color: var(--yellow);
  }

  .mobile-mode-trigger-icon svg {
    width: 19px;
    height: 19px;
  }

  .mobile-mode-trigger-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
  }

  .mobile-mode-trigger-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-mode-trigger-copy strong {
    overflow: hidden;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-mode-trigger-chevron {
    width: 20px;
    height: 20px;
    transition: transform 160ms ease;
  }

  .mobile-mode-trigger[aria-expanded="true"] .mobile-mode-trigger-chevron {
    transform: rotate(180deg);
  }

  .catalog-mode-bar {
    display: none;
  }

  .catalog-browser {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .category-sidebar {
    top: auto;
    max-height: none;
    padding: 8px;
  }

  body.catalog-view .category-sidebar {
    height: 100%;
    min-height: 0;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .catalog-browser.category-mode:not(.category-selected) .catalog-main {
    display: none;
  }

  .catalog-browser.category-mode.category-selected .category-sidebar {
    display: none;
  }

  .category-sidebar-head h3 {
    font-size: 18px;
  }

  .category-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    min-height: 90px;
    padding: 10px;
  }

  .category-card.image-background {
    grid-template-columns: minmax(0, 1fr);
    min-height: 104px;
    padding: 14px;
  }

  .category-image {
    width: 68px;
  }

  .category-image img {
    padding: 6px;
  }

  .category-card h4 {
    font-size: 15px;
    line-height: 1.25;
  }

  .category-card p {
    font-size: 13px;
  }

  .catalog-main {
    max-height: none;
    padding-right: 0;
  }

  body.catalog-view .catalog-main {
    min-height: 0;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.catalog-view .category-list,
  body.catalog-view .product-grid,
  body.catalog-view .brand-catalog-grid {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .result-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-empty {
    min-height: 300px;
    padding: 20px;
  }

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

  .brand-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .brand-catalog-grid .brand-card {
    min-height: 130px;
  }

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

  .product-topline,
  .product-topline.price-only {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .product-pricing-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-items: stretch;
  }

  .product-price,
  .product-caution {
    justify-content: center;
    text-align: center;
  }

  .contact-action-card {
    grid-template-columns: 44px 1fr;
  }

  .contact-card-action {
    grid-column: 2;
    justify-self: start;
  }

  .customer-grid-2,
  .customer-profile-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .customer-account-menu {
    grid-template-columns: 1fr;
  }

  .customer-account-card {
    min-height: 86px;
  }

  .customer-profile-actions,
  .customer-section-navigation,
  .customer-order-head,
  .customer-order-footer,
  .customer-order-item {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .customer-section-navigation .button,
  .customer-order-cancel {
    width: 100%;
  }

  .customer-tabs {
    width: 100%;
  }

  .customer-tab {
    flex: 1;
  }

  .drawer-panel {
    inset: 8px;
    width: auto;
    height: auto;
    transform: translateY(18px) scale(0.99);
  }

  .quote-drawer[aria-hidden="false"] .drawer-panel {
    transform: translateY(0) scale(1);
  }

  .drawer-head {
    padding: 16px;
  }

  .drawer-head h2 {
    font-size: 23px;
  }

  .quote-progress {
    grid-template-columns: max-content minmax(8px, 1fr) max-content minmax(8px, 1fr) max-content;
    gap: 5px;
    padding: 10px 12px;
  }

  .quote-progress [data-quote-progress] {
    gap: 5px;
    font-size: 11px;
  }

  .quote-progress-line {
    min-width: 8px;
  }

  .quote-form,
  .quote-items,
  .quote-reservation {
    padding-right: 16px;
    padding-left: 16px;
  }

  .quote-profile-fields,
  .quote-worksite-fields,
  .quote-profile-editor-body {
    grid-template-columns: 1fr;
  }

  .quote-profile-fields > label,
  .quote-profile-editor-body label {
    grid-column: 1;
  }

  .quote-choice-grid,
  .quote-choice-grid-three {
    grid-template-columns: 1fr;
  }

  .quote-customer-type-fields,
  .quote-fulfillment-fields {
    padding-top: 14px;
  }

  .quote-profile-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
  }

  .quote-profile-summary-icon {
    width: 36px;
    height: 36px;
  }

  .quote-profile-editor {
    padding: 8px;
  }

  .quote-profile-editor-panel {
    max-height: calc(100dvh - 16px);
  }

  .quote-profile-editor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quote-item {
    grid-template-columns: 56px 1fr auto;
  }

  .quote-item img {
    width: 56px;
    height: 52px;
  }
}

/* Dans un onglet mobile, conserver une marge visible sous les barres du navigateur.
   La web app installée garde, elle, son affichage plus immersif actuel. */
@media (max-width: 820px) and (display-mode: browser) {
  #productModal[aria-hidden="false"] {
    padding-block: 14px;
  }

  .product-panel {
    width: min(calc(100% - 24px), 520px);
    max-height: calc(100dvh - 28px);
  }
}
/* Assistance video publique et scanner QR machine */
.hero-machine-help {
  display: none;
  background: var(--surface);
}

.machine-help-modal,
.public-video-player {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.machine-help-modal[aria-hidden="false"],
.public-video-player[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.machine-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, 0.76);
  backdrop-filter: blur(12px);
}

.machine-help-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(900px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 36px 90px rgba(10, 18, 38, 0.34);
}

.machine-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #e4e8e5;
}

.machine-help-header h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.machine-help-body {
  max-height: calc(100dvh - 175px);
  overflow-y: auto;
  padding: 24px 26px 28px;
}

.machine-help-camera {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: #0b1020;
}

.machine-help-camera video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-help-scan-frame {
  position: absolute;
  inset: 15%;
  border: 3px solid #f7df22;
  border-radius: 24px;
  box-shadow: 0 0 0 999px rgba(5, 10, 22, 0.32);
}

.machine-help-status {
  min-height: 24px;
  margin: 16px 0;
  color: #52606d;
  text-align: center;
  font-weight: 700;
}

.machine-help-manual {
  padding: 18px;
  border: 1px solid #e0e5e2;
  border-radius: 20px;
  background: #f7f9f7;
}

.machine-help-manual label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #24324a;
}

.machine-help-manual > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.machine-help-manual input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cfd7d2;
  border-radius: 13px;
  background: #fff;
  font: inherit;
}

.machine-help-results {
  display: grid;
  gap: 18px;
}

.machine-help-results[hidden],
.machine-help-scanner[hidden] {
  display: none;
}

/* Les styles visuels des boutons ne doivent jamais annuler l'attribut hidden. */
.machine-help-rescan[hidden],
.machine-help-back[hidden],
.mobile-product-help-button[hidden] {
  display: none !important;
}

.machine-help-video-list,
.product-video-help-list {
  display: grid;
  gap: 12px;
}

.machine-help-portal {
  display: grid;
  gap: 18px;
}

.machine-help-portal[hidden],
.machine-help-library[hidden] {
  display: none;
}

.machine-help-machine-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dde4e0;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8faf9, #fff);
}

.machine-help-machine-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: #14213d;
  color: #f7df22;
}

.machine-help-machine-card > span svg { width: 28px; height: 28px; }
.machine-help-machine-card h3 { margin: 3px 0 0; color: #111827; font-size: 1.35rem; }
.machine-help-machine-card small { display: block; margin-top: 4px; color: #65736c; font-weight: 800; }

.machine-help-portal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.machine-help-portal-actions .button { min-height: 58px; }
.machine-help-portal-note { margin: 0; color: #65736c; text-align: center; font-weight: 700; }

.machine-help-library {
  display: grid;
  gap: 24px;
}

.machine-help-back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #24324a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.machine-help-section { display: grid; gap: 12px; }
.machine-help-section-title,
.machine-help-inline-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #14213d;
}
.machine-help-section-title h3 { margin: 0; font-size: 1.1rem; }
.machine-help-inline-heading { margin-top: 8px; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.machine-help-empty.compact { min-height: 110px; padding: 18px; }

.public-document-card .public-video-card-icon {
  background: #f7df22;
  color: #14213d;
}

.public-video-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dae1dd;
  border-radius: 18px;
  background: #fff;
  color: #14213d;
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.public-video-card:hover {
  transform: translateY(-1px);
  border-color: #f0d400;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.1);
}

.public-video-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #14213d;
  color: #f7df22;
}

.public-video-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.public-video-card-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.public-video-card-copy strong,
.public-video-card-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-video-card-copy strong {
  font-size: 1rem;
}

.public-video-card-copy span {
  color: #61706a;
  font-size: 0.87rem;
  white-space: nowrap;
}

.public-video-card-copy small {
  color: #8a9690;
  font-weight: 700;
}

.machine-help-empty,
.machine-help-loading {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 30px;
  border: 1px dashed #cad3ce;
  border-radius: 20px;
  color: #62716a;
  text-align: center;
}

.machine-help-empty svg {
  width: 38px;
  height: 38px;
}

@media (max-width: 620px) {
  .machine-help-portal-actions { grid-template-columns: 1fr; }
  .machine-help-machine-card { align-items: flex-start; padding: 16px; }
}

.site-inline-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #d9dfdb;
  border-top-color: #14213d;
  border-radius: 50%;
  animation: machine-help-spin 0.75s linear infinite;
}

@keyframes machine-help-spin {
  to { transform: rotate(360deg); }
}

.product-gallery-help {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  border-color: #e6ce00;
  background: #f7df22;
  color: #111827;
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.16);
}

.product-video-help {
  margin: 22px 0 4px;
  padding: 18px;
  border: 1px solid #e2e7e4;
  border-radius: 22px;
  background: #f7f9f7;
}

.product-video-help[hidden],
[data-product-help-button][hidden] {
  display: none !important;
}

.product-video-help-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.product-video-help-title > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #f7df22;
}

.product-video-help-title h3 {
  margin: 2px 0 0;
}

.public-video-player {
  z-index: 300;
  padding: 0;
  background: #000;
}

.public-video-stage {
  position: relative;
  display: grid;
  width: 100vw;
  height: 100dvh;
  place-items: center;
  background: #000;
}

.public-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.public-video-close {
  position: absolute;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(8, 12, 20, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.public-video-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 56px 24px max(22px, env(safe-area-inset-bottom));
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.public-video-caption strong {
  font-size: 1.15rem;
}

.public-video-caption span {
  color: #d7dce5;
}

@media (max-width: 820px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "catalog catalog"
      "contact scanner";
    width: min(100%, 690px);
  }

  .hero-actions #openCatalogHero {
    grid-area: catalog;
  }

  .hero-actions .hero-contact {
    grid-area: contact;
  }

  .hero-actions .hero-machine-help {
    grid-area: scanner;
  }

  .hero-actions > .button {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  .hero-machine-help {
    display: inline-flex;
  }

  .machine-help-modal {
    padding: 0;
  }

  .machine-help-panel {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .machine-help-header {
    padding: max(16px, env(safe-area-inset-top)) 16px 14px;
  }

  .machine-help-body {
    max-height: calc(100dvh - 88px);
    padding: 16px 16px max(22px, env(safe-area-inset-bottom));
  }

  .machine-help-camera {
    width: min(100%, 460px);
    margin-inline: auto;
    aspect-ratio: 3 / 4;
    max-height: 58dvh;
  }

  .machine-help-manual > div {
    grid-template-columns: 1fr;
  }

  .mobile-product-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }

  .mobile-product-head .icon-button {
    grid-row: 1;
    width: 46px;
    position: relative;
    z-index: 2;
  }

  .mobile-product-help-button {
    grid-column: 1;
    justify-self: start;
  }

  .mobile-product-title-copy {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    min-width: 0;
    gap: 7px;
    align-self: center;
    justify-items: center;
  }

  .mobile-product-title {
    display: block;
    overflow: visible;
    max-width: 100%;
    padding: 3px 4px 5px;
    font-size: clamp(21px, 5.6vw, 27px);
    font-weight: 950;
    letter-spacing: -0.025em;
    line-height: 1.18;
    text-align: center;
    pointer-events: none;
  }

  .mobile-product-title-copy .mobile-product-summary {
    display: -webkit-box;
    max-width: 100%;
    padding: 0 4px;
  }

  .product-panel .modal-info .mobile-product-measures {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 0;
  }

  .mobile-product-close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .product-panel .mobile-product-sticky {
    inset-inline: 0;
    width: 100%;
    box-sizing: border-box;
    background: var(--surface);
    backdrop-filter: none;
  }

  .product-panel .modal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
    background: #fff !important;
    box-shadow: 0 -8px 18px rgba(17, 24, 39, 0.06);
  }

  .product-gallery-help {
    display: none !important;
  }

  .product-video-help {
    margin: 14px 0;
    padding: 14px;
  }

  .product-video-help-list {
    grid-template-columns: 1fr;
  }

  .public-video-caption {
    display: none;
  }
}
