﻿:root {
  --bg: #070909;
  --bg-soft: #0e1312;
  --panel: rgba(15, 19, 18, 0.84);
  --panel-strong: #111716;
  --line: rgba(236, 226, 210, 0.13);
  --text: #f8f4ec;
  --muted: #aeb5ad;
  --muted-2: #747d78;
  --green: #2f6f45;
  --green-2: #7ec46d;
  --kraft: #c28a4a;
  --kraft-soft: #e1bd83;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --gp-overlay-surface: rgba(20, 21, 25, 0.86);
  --gp-overlay-border: rgba(198, 170, 111, 0.22);
  --gp-overlay-shadow: 0 28px 84px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.025);
  --gp-overlay-blur: blur(20px) saturate(106%);
  --heading-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 68% 18%, rgba(194, 138, 74, 0.16), transparent 32rem),
    linear-gradient(180deg, #070909 0%, #0a0d0d 48%, #080a0a 100%);
  color: var(--text);
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

body.has-lightbox,
body.has-card-dialog,
body.has-request-modal {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

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

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  max-width: 100%;
  font-family: var(--heading-font);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p,
li,
small {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.site-shell {
  width: min(100%, 1760px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  min-height: 92px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(7, 9, 9, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  font-size: clamp(1.42rem, 1.5vw, 1.62rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 22px);
  font-size: 0.95rem;
  color: rgba(248, 244, 236, 0.88);
}

.desktop-nav > a {
  transition: color 180ms ease;
  white-space: nowrap;
}

.desktop-nav > a:hover {
  color: var(--green-2);
}

.catalog-nav-dropdown {
  position: static;
}

.catalog-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: rgba(248, 244, 236, 0.88);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.catalog-menu-trigger:hover,
.catalog-menu-trigger[aria-expanded="true"] {
  color: var(--kraft-light);
}

.catalog-menu-trigger:focus-visible {
  outline: none;
  color: var(--kraft-light);
}

.catalog-menu-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.catalog-menu-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.catalog-mega-menu {
  position: fixed;
  z-index: 30;
  display: flex;
  flex-direction: column;
  top: 104px;
  right: clamp(18px, 4vw, 68px);
  bottom: clamp(18px, 3vh, 34px);
  left: clamp(18px, 4vw, 68px);
  width: auto;
  height: auto;
  min-height: 0;
  padding: clamp(20px, 2.5vw, 40px) clamp(24px, 5vw, 80px) clamp(28px, 4vw, 56px);
  overflow: hidden;
  color: var(--white);
  background: var(--gp-overlay-surface);
  border: 1px solid var(--gp-overlay-border);
  border-radius: 9px;
  box-shadow: var(--gp-overlay-shadow);
  backdrop-filter: var(--gp-overlay-blur);
  -webkit-backdrop-filter: var(--gp-overlay-blur);
  opacity: 0;
  transform: translateY(-8px);
  transform-origin: top center;
}

html.is-catalog-menu-open,
html.is-catalog-menu-open body {
  overflow: hidden;
}

.catalog-mega-menu:not([hidden]) {
  animation: catalog-mega-open 340ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.catalog-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(18px, 2.4vh, 28px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-mega-head > div {
  display: grid;
  gap: 3px;
}

.catalog-mega-head strong {
  font-size: 1rem;
}

.catalog-mega-head span {
  color: var(--muted);
  font-size: 0.78rem;
}

.catalog-all-models {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  border: 0;
  border-radius: 0;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.catalog-all-models span {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

.catalog-all-models svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-all-models:hover {
  color: var(--kraft-light);
  text-shadow: 0 0 16px rgba(213, 176, 107, 0.3);
}

.catalog-all-models:focus-visible {
  color: var(--kraft-light);
  outline: none;
}

.catalog-mega-grid {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: clamp(190px, 24vh, 240px);
  gap: clamp(18px, 2.4vw, 36px);
  align-content: start;
  overflow: auto;
  padding: 2px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 170, 111, 0.46) transparent;
}

.catalog-mega-grid::-webkit-scrollbar {
  width: 8px;
}

.catalog-mega-grid::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-mega-grid::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(198, 170, 111, 0.46) padding-box;
}

.catalog-mega-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(198, 170, 111, 0.68) padding-box;
}

.catalog-mega-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: clamp(6px, 1vh, 12px) clamp(8px, 1.2vw, 16px);
  background: transparent;
  border: 0;
  border-radius: 0;
  isolation: isolate;
  transition: transform 180ms ease, filter 180ms ease;
}

.catalog-mega-card:hover,
.catalog-mega-card:focus-visible {
  z-index: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 18px rgba(213, 176, 107, 0.16));
  outline: none;
}

.catalog-mega-card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: visible;
}

.catalog-mega-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: sepia(0.1) saturate(1.08) brightness(1.06) contrast(1.02) drop-shadow(0 14px 16px rgba(77, 43, 17, 0.42));
  transition: transform 220ms ease, filter 220ms ease;
}

.catalog-mega-card:hover .catalog-mega-card-media img,
.catalog-mega-card:focus-visible .catalog-mega-card-media img {
  transform: none;
  filter: sepia(0.12) saturate(1.14) brightness(1.09) contrast(1.02) drop-shadow(0 17px 20px rgba(116, 72, 30, 0.48));
}

.catalog-mega-card-label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  min-width: 0;
  padding: 5px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: rgba(248, 244, 236, 0.9);
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.catalog-mega-card:hover .catalog-mega-card-label,
.catalog-mega-card:focus-visible .catalog-mega-card-label {
  color: var(--kraft-light);
  background: transparent;
  text-shadow: 0 0 16px rgba(213, 176, 107, 0.34);
}

.catalog-mega-loading,
.catalog-mega-retry {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

html.is-catalog-leaving body {
  opacity: 0;
  transition: opacity 180ms ease;
}

@keyframes catalog-mega-open {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .catalog-mega-menu {
    top: 88px;
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .catalog-mega-grid {
    flex: 0 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(170px, auto);
  }

  .catalog-mega-card {
    min-height: 170px;
    height: auto;
  }
}

@media (max-width: 760px) {
  .catalog-mega-menu {
    top: 74px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 16px 14px 28px;
  }

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

.nav-dropdown {
  position: relative;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(180deg, #3a7a4f, #255a39);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(36, 91, 56, 0.22);
}

.nav-pill svg,
.card-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
  min-width: 520px;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  background: rgba(13, 17, 16, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

.mega-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.mega-menu a {
  padding: 9px 10px;
  color: rgba(248, 244, 236, 0.84);
  border-radius: 6px;
}

.mega-menu a:hover {
  color: var(--white);
  background: rgba(126, 196, 109, 0.1);
}

.menu-kicker,
.eyebrow {
  margin: 0;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.global-cart-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(225, 189, 131, 0.22);
  border-radius: 999px;
  background: #141519;
  color: #f0f2f5;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.global-cart-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.global-cart-link strong,
.mobile-cart-link strong {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #20232a;
  color: #e1bd83;
  font-size: 11px;
}

.global-cart-link:hover,
.global-cart-link.has-items {
  border-color: rgba(225, 189, 131, 0.5);
  background: #20232a;
  color: var(--white);
}

.mobile-cart-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.header-order-history {
  z-index: 35;
  flex: 0 0 auto;
}

.header-order-history .order-history-toggle {
  min-height: 42px;
  padding: 0 13px 0 15px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(225, 189, 131, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.header-order-history .order-history-toggle:hover,
.header-order-history.is-open .order-history-toggle {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    rgba(225, 189, 131, 0.06);
  border-color: rgba(225, 189, 131, 0.3);
}

.header-order-history .order-history-menu {
  top: calc(100% + 12px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(47, 111, 69, 0.88);
  border: 1px solid rgba(126, 196, 109, 0.36);
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta.header-call {
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.18), rgba(47, 111, 69, 0.86)),
    rgba(47, 111, 69, 0.9);
}

.header-call-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: rgba(248, 244, 236, 0.94);
}

.header-call-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.phone-link {
  display: inline-grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: inherit;
  text-align: right;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.phone-actions {
  position: relative;
}

.phone-action-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  display: grid;
  width: 248px;
  padding: 8px;
  gap: 4px;
  background: rgba(12, 16, 16, 0.96);
  border: 1px solid rgba(225, 189, 131, 0.28);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.phone-action-title {
  padding: 8px 10px 6px;
  color: var(--muted);
  font-size: 0.75rem;
}

.phone-action-menu button {
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
}

.phone-action-menu button:hover,
.phone-action-menu button:focus-visible {
  background: rgba(225, 189, 131, 0.08);
  border-color: rgba(225, 189, 131, 0.22);
  outline: none;
}

.phone-actions.is-open .phone-link-icon {
  color: #f8f4ec;
  border-color: rgba(225, 189, 131, 0.42);
}

.phone-link-icon,
.contact-action-icon {
  display: inline-grid;
  place-items: center;
  color: var(--kraft-soft);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(225, 189, 131, 0.12), rgba(47, 111, 69, 0.12)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(225, 189, 131, 0.24);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.22);
}

.phone-link-icon {
  width: 38px;
  height: 38px;
}

.phone-link-icon svg,
.contact-action-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.phone-link-body {
  display: grid;
  gap: 2px;
}

.phone-link-number {
  font-weight: 700;
}

.phone-link small {
  color: var(--muted);
  font-size: 0.76rem;
}

.messenger-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.messenger-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.messenger-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.messenger-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.messenger-link-telegram {
  color: #ffffff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #35aee2, #178ac2);
  border-color: rgba(143, 215, 255, 0.36);
}

.messenger-link-max {
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #5667ff, #16b8ee);
  border-color: rgba(129, 178, 255, 0.38);
}

.messenger-link-telegram:hover {
  border-color: rgba(143, 215, 255, 0.64);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #43baf0, #1687bf);
}

.messenger-link-max:hover {
  border-color: rgba(167, 196, 255, 0.64);
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(145deg, #6574ff, #12c4f4);
}

.icon-button,
.mobile-toggle,
.help-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-toggle {
  display: none;
  border-radius: var(--radius);
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-panel {
  display: none;
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(380px, 0.34fr);
  align-items: start;
  gap: clamp(28px, 4vw, 72px);
  min-height: 0;
  padding: clamp(14px, 1.1vw, 18px) clamp(20px, 4vw, 64px) clamp(12px, 1.2vw, 14px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: #090b0c url("../video/grandpack-production-background-poster.webp") center / cover no-repeat;
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-section::before {
  position: absolute;
  inset: 2% 18% -6% 18%;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 50% 44%, rgba(225, 189, 131, 0.16), transparent 42%),
    radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.7), transparent 62%);
  filter: blur(2px);
}

.hero-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.96) 0%, rgba(7, 9, 9, 0.72) 28%, rgba(7, 9, 9, 0.16) 48%, rgba(7, 9, 9, 0.24) 68%, rgba(7, 9, 9, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 9, 9, 0.08), rgba(7, 9, 9, 0.6));
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 520px;
  margin: 18px 0 16px;
  font-size: clamp(1.8rem, 2.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-copy h1 span {
  display: block;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: rgba(248, 244, 236, 0.77);
  font-size: clamp(0.96rem, 1.05vw, 1.12rem);
  line-height: 1.58;
}

.sample-callout {
  --sample-size: clamp(150px, 10.8vw, 188px);
  position: absolute;
  top: clamp(330px, 23vw, 440px);
  left: min(42vw, 650px);
  display: grid;
  place-items: center;
  width: var(--sample-size);
  height: var(--sample-size);
  margin: 0;
  padding: 0;
  overflow: visible;
  color: inherit;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.sample-callout::before {
  position: absolute;
  inset: -5px;
  content: "";
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 254deg,
    rgba(255, 255, 255, 0.08) 276deg,
    rgba(255, 255, 255, 0.96) 294deg,
    rgba(225, 189, 131, 0.72) 310deg,
    transparent 334deg,
    transparent 360deg
  );
  border-radius: inherit;
  opacity: 0.86;
  pointer-events: none;
  animation: sample-ring-run 3.8s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}

.sample-callout::after {
  position: absolute;
  inset: 4px;
  content: "";
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.2), transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(12, 16, 15, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.045) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 44px rgba(225, 189, 131, 0.065);
  backdrop-filter: blur(16px);
  pointer-events: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.sample-callout:hover,
.sample-callout:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px) scale(1.015);
}

.sample-callout:hover::after,
.sample-callout:focus-visible::after {
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.18), transparent 29%),
    linear-gradient(145deg, rgba(126, 196, 109, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(26, 60, 40, 0.64);
  border-color: rgba(126, 196, 109, 0.42);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(126, 196, 109, 0.16) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 44px rgba(126, 196, 109, 0.11);
}

.sample-callout-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92%;
  height: 92%;
  overflow: visible;
  background: none;
  border: 0;
  opacity: 0.2;
  filter: blur(1px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sample-callout-visual svg {
  width: 108%;
  height: auto;
  fill: none;
  stroke: rgba(232, 216, 188, 0.58);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(194, 138, 74, 0.14));
}

.sample-callout-copy {
  display: none;
}

.sample-callout-copy strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: clamp(1.8rem, 2.2vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.sample-callout-copy span {
  max-width: 520px;
  min-width: 0;
  color: rgba(248, 244, 236, 0.68);
  font-size: clamp(1.02rem, 1.22vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.sample-callout-divider {
  display: none;
}

.sample-callout-action {
  position: relative;
  z-index: 2;
  grid-area: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: calc(var(--sample-size) - 8px);
  height: calc(var(--sample-size) - 8px);
  min-width: 0;
  min-height: 0;
  padding: 28px 18px 24px;
  gap: 8px;
  overflow: visible;
  color: #f8f4ec;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: clamp(0.78rem, 0.84vw, 0.92rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  transition:
    color 180ms ease;
}

.sample-callout:hover .sample-callout-action,
.sample-callout:focus-visible .sample-callout-action {
  color: #ffffff;
}

.sample-callout-action::before {
  display: none;
}

.sample-callout-action strong {
  max-width: 8.3em;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.14vw, 1.26rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  text-transform: uppercase;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, text-shadow;
  animation: sample-text-breathe 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.sample-callout-action em {
  color: #e1bd83;
  font-size: clamp(0.92rem, 0.98vw, 1.08rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, text-shadow;
  animation: sample-price-breathe 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.sample-callout-action::after {
  display: none;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
  margin-top: 38px;
}

.trust-row div {
  display: grid;
  gap: 12px;
  color: rgba(248, 244, 236, 0.82);
  font-size: 0.92rem;
}

.trust-row svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--kraft-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-row div:nth-child(3) svg {
  stroke: var(--green-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #3f8655, #27613d);
  box-shadow: 0 18px 42px rgba(35, 103, 62, 0.32);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.22);
}

.button.full {
  width: 100%;
}

.calc-form .button.full {
  min-height: 44px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual::before {
  position: absolute;
  left: 29%;
  top: 22%;
  width: min(37vw, 620px);
  height: 70%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 50% 38%, rgba(226, 184, 118, 0.16), transparent 48%),
    radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.8), transparent 66%);
  filter: blur(22px);
}

.hero-visual img {
  position: absolute;
  left: 29%;
  top: 40%;
  width: min(37vw, 620px);
  max-width: none;
  transform: translateY(-50%);
  border-radius: 0;
  box-shadow: none;
  opacity: 0.98;
  filter: brightness(0.82) contrast(1.08) saturate(0.96) drop-shadow(0 36px 72px rgba(0, 0, 0, 0.64));
  mix-blend-mode: normal;
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, #000 22%, #000 82%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, #000 22%, #000 82%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-composite: intersect;
}

.hero-mobile-visual {
  display: none;
}

.quote-panel,
.category-card,
.workflow article,
.lead-form,
.spec-grid div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-panel {
  position: relative;
  z-index: 4;
  align-self: start;
  container-type: inline-size;
  padding: 18px;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(15, 19, 18, 0.95);
}

.tabs {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  min-height: 36px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.tab.is-active {
  color: var(--text);
}

.tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green-2);
}

.calc-form {
  display: grid;
  gap: 9px;
}

.form-head {
  display: none;
  align-items: center;
  justify-content: space-between;
}

.form-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.help-button {
  width: 28px;
  height: 28px;
  color: var(--muted);
  font-weight: 800;
}

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

.form-grid label:nth-child(4) {
  grid-column: auto;
}

.form-grid label:nth-child(5) {
  grid-column: span 1;
}

.choice-group {
  display: grid;
  gap: 6px;
}

.choice-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice-list[data-choice-group="product"],
.choice-list[data-choice-group="material"],
.choice-list[data-choice-group="profile"],
.choice-list[data-choice-group="grade"],
.choice-list[data-choice-group="cardboard-color"],
.choice-list[data-choice-group="print-mode"],
.choice-list[data-choice-group="print-service"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-layout {
  display: grid;
  gap: 10px;
}

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

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

.choice-subgroup {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.choice-subtitle {
  color: rgba(248, 244, 236, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.print-layout .choice-list[data-choice-group="print-mode"],
.print-layout .choice-list[data-choice-group="print-service"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.print-compact {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: 6px;
}

.check-group {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.check-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.check-option {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 6px;
  color: rgba(248, 244, 236, 0.82);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.check-option:hover,
.check-option:has(input:checked) {
  color: var(--white);
  background: rgba(47, 111, 69, 0.58);
  border-color: rgba(126, 196, 109, 0.45);
}

.check-option input {
  width: 12px;
  min-height: 12px;
  padding: 0;
  accent-color: var(--green-2);
}

.check-option span {
  min-width: 0;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
}

.file-comment-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 8px;
}

.choice-chip {
  min-height: 32px;
  padding: 0 10px;
  color: rgba(248, 244, 236, 0.82);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.choice-chip:hover {
  color: var(--text);
  border-color: rgba(126, 196, 109, 0.42);
}

.choice-chip.is-active {
  color: var(--white);
  background: rgba(47, 111, 69, 0.78);
  border-color: rgba(126, 196, 109, 0.55);
}

.calc-selection {
  display: grid;
  gap: 3px;
  padding: 0;
  background: rgba(126, 196, 109, 0.07);
  border: 1px solid rgba(126, 196, 109, 0.18);
  border-radius: 6px;
}

.summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 0;
}

.summary-line strong {
  grid-column: 1 / -1;
  display: none;
}

.calc-selection span {
  color: var(--muted);
  font-size: 0.76rem;
}

.calc-selection strong {
  color: var(--text);
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary {
  gap: 9px;
}

.order-summary > strong {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.order-summary .order-table {
  width: calc(100% - 16px);
  margin: 0 8px 8px;
}

.clear-order {
  min-height: 24px;
  padding: 0;
  color: rgba(248, 244, 236, 0.5);
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(248, 244, 236, 0.22);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.clear-order:hover {
  color: var(--text);
  border-bottom-color: rgba(126, 196, 109, 0.6);
}

.drawing-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(248, 244, 236, 0.78);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.drawing-mini-link:hover,
.drawing-mini-link:focus-visible {
  color: var(--text);
  background: rgba(126, 196, 109, 0.08);
  border-color: rgba(126, 196, 109, 0.34);
}

.drawing-mini-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 6px;
}

.order-table th,
.order-table td {
  padding: 5px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.25;
  vertical-align: middle;
}

.order-table th {
  width: 82px;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}

.order-table td {
  color: var(--text);
}

.order-table td:last-child {
  width: 34px;
  padding-left: 0;
  text-align: right;
}

.remove-row {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.remove-row:hover {
  color: var(--text);
  background: rgba(126, 196, 109, 0.09);
  border-color: rgba(126, 196, 109, 0.3);
}

.order-history {
  position: relative;
  z-index: 6;
}

.hero-order-history {
  position: absolute;
  top: clamp(20px, 2.2vw, 34px);
  right: calc(clamp(20px, 4vw, 64px) + min(29vw, 520px) + clamp(18px, 3vw, 56px));
  z-index: 7;
  width: max-content;
}

.order-history-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: auto;
  min-height: 32px;
  padding: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.order-history-toggle:hover,
.order-history.is-open .order-history-toggle {
  color: #e1bd83;
}

.order-history-toggle > span:first-child {
  min-width: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-history-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  padding: 0 6px;
  color: rgba(248, 244, 236, 0.82);
  background: transparent;
  border: 1px solid rgba(248, 244, 236, 0.34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.order-history.has-new .order-history-count {
  color: var(--green-2);
  background: transparent;
  border-color: rgba(126, 196, 109, 0.88);
  box-shadow: 0 0 0 2px rgba(126, 196, 109, 0.05);
}

.order-history-chevron {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: rgba(248, 244, 236, 0.86);
  transition: transform 180ms ease;
}

.order-history-chevron::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.order-history.is-open .order-history-chevron {
  transform: translateY(2px) rotate(180deg);
}

.order-history-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  min-width: 320px;
  max-height: min(420px, 60vh);
  padding: 10px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    rgba(12, 16, 15, 0.98);
  border: 1px solid rgba(126, 196, 109, 0.25);
  border-radius: 8px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transform-origin: top right;
  animation: order-history-open 170ms ease both;
}

.order-history-menu[hidden] {
  display: none;
}

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

.history-empty {
  padding: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px;
  background:
    linear-gradient(135deg, rgba(126, 196, 109, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.history-item-main {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.history-item-title {
  overflow: hidden;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.history-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(213, 246, 204, 0.95);
  font-size: 0.72rem;
  font-weight: 850;
}

.history-status::before {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  content: "вњ“";
  color: #07100c;
  background: var(--green-2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
}

.history-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.history-action {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--text);
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.history-action:hover,
.history-action:focus-visible {
  background: rgba(126, 196, 109, 0.11);
  border-color: rgba(126, 196, 109, 0.38);
  transform: translateY(-1px);
}

.history-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.order-history-clear {
  width: 100%;
  min-height: 36px;
  color: rgba(248, 244, 236, 0.72);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 850;
}

.order-history-clear:hover {
  color: var(--white);
  border-color: rgba(225, 189, 131, 0.36);
}

.quote-panel.is-replay-attention {
  animation: calculator-replay-pulse 1450ms ease-in-out infinite;
}

label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  color: var(--text);
  background: rgba(4, 6, 6, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  outline: none;
}

textarea {
  min-height: 76px;
  padding: 11px 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(126, 196, 109, 0.72);
  box-shadow: 0 0 0 3px rgba(126, 196, 109, 0.14);
}

select.native-select-hidden {
  display: none !important;
}

.custom-select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.custom-select.is-open {
  z-index: 40;
}

.custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 0 10px 0 11px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(4, 6, 6, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.custom-select-button:hover {
  border-color: rgba(126, 196, 109, 0.36);
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.075), rgba(255, 255, 255, 0.012)),
    rgba(5, 8, 7, 0.76);
}

.custom-select-button:focus-visible,
.custom-select.is-open .custom-select-button {
  border-color: rgba(126, 196, 109, 0.72);
  box-shadow: 0 0 0 3px rgba(126, 196, 109, 0.14);
}

.custom-select-value {
  min-width: 0;
  overflow: hidden;
  color: rgba(248, 244, 236, 0.96);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-chevron {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: rgba(248, 244, 236, 0.88);
  transition: transform 180ms ease;
}

.custom-select-chevron::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.custom-select.is-open .custom-select-chevron {
  transform: translateY(2px) rotate(180deg);
}

.custom-select-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  gap: 3px;
  max-height: min(330px, 54vh);
  padding: 6px;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(12, 16, 15, 0.98);
  border: 1px solid rgba(126, 196, 109, 0.24);
  border-radius: 8px;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transform: translateY(-4px) scale(0.985);
  transform-origin: top;
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}

.custom-select.is-open .custom-select-list {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select-option {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(248, 244, 236, 0.84);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.08);
}

.custom-select-option.is-selected {
  color: var(--white);
  background: rgba(47, 111, 69, 0.62);
  border-color: rgba(126, 196, 109, 0.36);
}

.custom-select-option.is-disabled {
  color: rgba(248, 244, 236, 0.38);
  cursor: not-allowed;
}

.drawing-fields {
  display: grid;
  gap: 10px;
}

.calc-note {
  margin: -2px 0 0;
  color: rgba(248, 244, 236, 0.68);
  font-size: 0.84rem;
  line-height: 1.5;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 0.86rem;
  text-align: center;
}

.divider::before,
.divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.upload-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: start;
  gap: 3px 10px;
  min-height: 50px;
  padding: 9px 11px;
  text-align: left;
  border: 1px dashed rgba(248, 244, 236, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.upload-box:hover {
  background: rgba(126, 196, 109, 0.06);
  border-color: rgba(126, 196, 109, 0.5);
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-box svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--green-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-box strong {
  color: var(--text);
}

.upload-box span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.upload-box-compact {
  min-height: 38px;
  border-radius: 6px;
}

.upload-box-compact span {
  display: none;
}

.comment-field textarea {
  min-height: 38px;
  max-height: 140px;
  overflow: hidden;
  resize: none;
}

@container (max-width: 520px) {
  .print-compact {
    grid-template-columns: 1fr;
  }

  .check-list {
    flex-wrap: wrap;
  }

  .check-option {
    flex: 1 1 120px;
  }
}

@container (max-width: 420px) {
  .form-grid,
  .material-select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (max-width: 380px) {
  .file-comment-row {
    grid-template-columns: 1fr;
  }
}

.privacy-note {
  display: none;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.privacy-note a,
.privacy-consent a,
.legal-document a:not(.button) {
  color: var(--kraft-soft);
  text-decoration: underline;
  text-decoration-color: rgba(225, 189, 131, 0.42);
  text-underline-offset: 3px;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.privacy-consent.has-error {
  margin: -2px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(198, 170, 111, 0.30);
  border-radius: 8px;
  background: rgba(198, 170, 111, 0.065);
  color: rgba(246, 233, 207, 0.88);
}

.privacy-consent.has-error input {
  outline: 2px solid rgba(198, 170, 111, 0.42);
  outline-offset: 2px;
}

.privacy-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green-2);
}

.privacy-consent span {
  min-width: 0;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.026);
  border-left: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 1px solid var(--line);
}

.quick-facts span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-facts strong {
  color: var(--text);
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  line-height: 1.35;
}

.catalog-section,
.production-section,
.sample-section,
.fefco-section,
.custom-section,
.materials-section,
.delivery-section,
.contact-section {
  padding: clamp(44px, 5.2vw, 78px) clamp(20px, 4vw, 64px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 2.4vw, 40px);
  margin-bottom: 30px;
}

.section-heading > div {
  min-width: 0;
}

.section-heading-stacked {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 12px;
  margin-bottom: 0;
}

.section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.attention-note {
  position: relative;
  padding: 14px 16px 14px 54px;
  background:
    linear-gradient(90deg, rgba(225, 189, 131, 0.1), rgba(126, 196, 109, 0.06)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(225, 189, 131, 0.2);
  border-radius: var(--radius);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.attention-note::before {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #17110a;
  content: "!";
  background: linear-gradient(180deg, var(--kraft-soft), var(--kraft));
  border-radius: 999px;
  box-shadow:
    0 0 0 5px rgba(225, 189, 131, 0.08),
    0 0 26px rgba(225, 189, 131, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
}

h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 2.75vw, 3.18rem);
  font-weight: 700;
  line-height: 1.09;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  color: var(--green-2);
  font-weight: 800;
  line-height: 1.18;
  text-align: right;
  white-space: nowrap;
}

.production-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.production-section::before {
  position: absolute;
  inset: 8% -12% auto auto;
  width: min(38vw, 620px);
  height: min(38vw, 620px);
  content: "";
  background: radial-gradient(circle, rgba(225, 189, 131, 0.1), transparent 64%);
  pointer-events: none;
}

.production-heading {
  position: relative;
  z-index: 1;
}

.production-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.production-hero-card,
.production-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(20, 24, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.production-hero-card {
  display: grid;
  min-height: 100%;
}

.production-hero-card img,
.production-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #101211;
}

.production-hero-card img {
  aspect-ratio: 16 / 10;
}

.production-hero-card div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 2.2vw, 34px);
}

.production-hero-card span,
.production-card span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-hero-card h3,
.production-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.34rem, 1.85vw, 2rem);
  line-height: 1.12;
  text-wrap: balance;
}

.production-hero-card p,
.production-card p {
  margin: 0;
  color: rgba(248, 244, 236, 0.68);
  line-height: 1.62;
}

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

.production-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.production-card img {
  aspect-ratio: 16 / 9;
  filter: brightness(0.92) contrast(1.05);
}

.production-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.production-card h3 {
  font-size: clamp(1.1rem, 1.28vw, 1.38rem);
}

.production-card p {
  color: rgba(248, 244, 236, 0.64);
  font-size: 0.98rem;
}

.sketch-section {
  position: relative;
  padding: clamp(44px, 5.2vw, 78px) clamp(20px, 4vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.sketch-section::before {
  position: absolute;
  right: -14%;
  bottom: -28%;
  width: min(48vw, 720px);
  height: min(48vw, 720px);
  content: "";
  background: radial-gradient(circle, rgba(126, 196, 109, 0.09), transparent 62%);
  pointer-events: none;
}

.drawing-builder {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 18px;
  align-items: stretch;
}

.drawing-stage,
.drawing-info {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022)),
    rgba(15, 19, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.drawing-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 520px;
  overflow: hidden;
}

.drawing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.drawing-view-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.drawing-view-tabs button {
  min-height: 34px;
  padding: 0 14px;
  color: rgba(248, 244, 236, 0.68);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

.drawing-view-tabs button.is-active {
  color: #111512;
  background: linear-gradient(180deg, var(--green-2), #76bd64);
}

.drawing-toolbar > span {
  color: var(--kraft-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawing-canvas {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(225, 189, 131, 0.08), transparent 42%),
    #0c0f0e;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.sketch-svg {
  width: 100%;
  max-width: 920px;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.3));
}

.sketch-panel,
.sketch-flap,
.sketch-lock,
.sketch-glue,
.sketch-front,
.sketch-side,
.sketch-top,
.sketch-sheet-shadow {
  fill: rgba(190, 130, 65, 0.26);
  stroke: rgba(225, 189, 131, 0.86);
  stroke-width: 1.5;
}

.sketch-flap {
  fill: rgba(225, 189, 131, 0.15);
}

.sketch-lock,
.sketch-glue {
  fill: rgba(126, 196, 109, 0.14);
  stroke: rgba(126, 196, 109, 0.72);
}

.sketch-cutbox,
.sketch-freeform {
  fill: none;
  stroke: rgba(248, 244, 236, 0.8);
  stroke-width: 1.4;
}

.sketch-cut,
.sketch-dimension {
  fill: none;
  stroke: rgba(248, 244, 236, 0.82);
  stroke-width: 1.35;
  stroke-linecap: round;
}

.sketch-dimension {
  marker-start: url("#sketchArrow");
  marker-end: url("#sketchArrow");
}

.sketch-crease {
  fill: none;
  stroke: rgba(126, 196, 109, 0.82);
  stroke-width: 1.35;
  stroke-dasharray: 7 6;
  stroke-linecap: round;
}

.sketch-label,
.sketch-small-label,
.sketch-heading,
.sketch-dimension-text,
.sketch-legend-text,
.sketch-legend-note {
  fill: rgba(248, 244, 236, 0.88);
  font-family: var(--font);
  font-weight: 800;
}

.sketch-label {
  font-size: 14px;
}

.sketch-small-label {
  font-size: 11px;
}

.sketch-heading {
  font-size: 18px;
}

.sketch-dimension-text,
.sketch-legend-text {
  font-size: 12px;
}

.sketch-legend-note {
  fill: rgba(248, 244, 236, 0.52);
  font-size: 12px;
}

.sketch-arrow-head {
  fill: rgba(248, 244, 236, 0.82);
}

.sketch-front {
  fill: rgba(181, 118, 54, 0.36);
}

.sketch-side {
  fill: rgba(137, 86, 42, 0.36);
}

.sketch-top {
  fill: rgba(225, 189, 131, 0.22);
}

.sketch-sheet-shadow {
  fill: rgba(124, 81, 38, 0.12);
}

.drawing-info {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 2.1vw, 32px);
}

.drawing-info > span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawing-info h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  line-height: 1.05;
  text-wrap: balance;
}

.drawing-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.drawing-info dl {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawing-info dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawing-info dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.drawing-info dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.drawing-edit-link {
  justify-self: start;
  min-height: 44px;
  margin-top: 6px;
}

.catalog-map {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 0%, rgba(126, 196, 109, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(15, 19, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-map-head {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.catalog-map-head span {
  color: rgba(231, 190, 128, 0.94);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-map-head p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-map-track {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.catalog-map-card {
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 14px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
    rgba(7, 10, 9, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 14px;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.catalog-map-card:hover,
.catalog-map-card:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.11), rgba(255, 255, 255, 0.028)),
    rgba(7, 10, 9, 0.48);
  border-color: rgba(126, 196, 109, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  outline: 0;
}

.catalog-map-card > span {
  color: rgba(231, 190, 128, 0.88);
  font-size: 0.76rem;
  font-weight: 850;
}

.catalog-map-card strong {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.16;
}

.catalog-map-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

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

.category-card {
  position: relative;
  min-height: 484px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    min-height 320ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 180ms ease;
}

.category-card button {
  cursor: pointer;
}

.category-card-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  perspective: 1400px;
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-card:focus-visible {
  outline: 0;
}

.category-card:focus-visible .category-face {
  border-color: rgba(126, 196, 109, 0.58);
  box-shadow:
    var(--shadow),
    0 0 0 3px rgba(126, 196, 109, 0.16);
}

.category-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-origin: center;
  transition:
    opacity 320ms ease,
    visibility 320ms ease,
    transform 420ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.category-front {
  display: grid;
  grid-template-rows: minmax(278px, 1fr) auto;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.category-back {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
}

.category-back-feature {
  grid-template-rows: minmax(0, 1fr) auto;
}

.category-card.is-flipped {
  z-index: 6;
  grid-column: span 2;
  min-height: 560px;
  transform: translateY(-4px);
}

.category-card.is-flipped .category-front {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotateY(7deg) translateY(-10px) scale(0.965);
}

.category-card.is-flipped .category-back {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  gap: 16px;
  padding: 20px;
  animation: category-back-open 440ms cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0) scale(1);
}

.category-card:hover .category-face,
.category-card.is-selected .category-face {
  border-color: rgba(126, 196, 109, 0.36);
}

.category-card.is-selected {
  transform: translateY(-2px);
}

.category-card.is-selected .category-face {
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(15, 19, 18, 0.9);
}

.category-card.is-map-highlight .category-face {
  border-color: rgba(231, 190, 128, 0.54);
  box-shadow:
    0 24px 70px rgba(194, 138, 74, 0.18),
    0 0 0 3px rgba(231, 190, 128, 0.12),
    var(--shadow);
}

.category-image {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 278px;
  padding: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(194, 138, 74, 0.14), transparent 58%);
}

.category-image::after {
  position: absolute;
  inset: 38% 0 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 10, 9, 0.68) 58%, rgba(7, 10, 9, 0.9));
}

.category-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition:
    filter 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-image img,
.category-card:focus-visible .category-image img {
  filter: brightness(1.04) contrast(1.04);
  transform: scale(1.035);
}

.category-image-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
  pointer-events: none;
}

.category-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0 18px 18px;
  min-width: 0;
}

.category-image-caption span,
.category-back-head span {
  justify-self: start;
  padding: 5px 9px;
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.category-image-caption h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.08rem, 1.18vw, 1.32rem);
  font-weight: 700;
  line-height: 1.14;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.62);
}

.category-body p,
.category-back-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.category-taxonomy-preview {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  min-width: 0;
}

.category-taxonomy-preview strong,
.category-taxonomy-map > strong {
  color: rgba(231, 190, 128, 0.92);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-taxonomy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.category-taxonomy-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 8px;
  color: rgba(248, 244, 236, 0.78);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
}

.category-taxonomy-map {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(231, 190, 128, 0.08), rgba(126, 196, 109, 0.035)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(231, 190, 128, 0.14);
  border-radius: 12px;
}

.category-taxonomy-map-grid {
  display: grid;
  gap: 10px;
}

.category-taxonomy-map-grid > div {
  display: grid;
  gap: 7px;
}

.category-taxonomy-map-grid > div > span {
  color: rgba(248, 244, 236, 0.58);
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.category-taxonomy-map p {
  margin: 0;
  color: rgba(248, 244, 236, 0.68);
  font-size: 0.86rem;
  line-height: 1.45;
}

.category-back-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.category-back-head h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.32rem);
  font-weight: 700;
  line-height: 1.14;
}

.category-card.is-flipped .category-back-head {
  max-width: 760px;
}

.category-card.is-flipped .category-back-head h3 {
  font-size: clamp(1.28rem, 1.65vw, 1.75rem);
  line-height: 1.1;
}

.sample-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  gap: 8px;
  min-height: 0;
}

.sample-options-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.sample-options:has(.sample-tile:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card.is-flipped .sample-options {
  gap: 12px;
}

.category-card.is-flipped .sample-options:has(.sample-tile:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-feature {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.sample-feature-visual-only {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.sample-feature-media {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(225, 189, 131, 0.16), transparent 64%),
    rgba(7, 9, 9, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  cursor: zoom-in;
}

.sample-feature-media::after {
  position: absolute;
  inset: 46% 0 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 10, 9, 0.82));
}

.sample-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.94) contrast(1.06) saturate(0.94);
}

.sample-feature-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 7px;
  pointer-events: none;
}

.sample-feature-caption span {
  justify-self: start;
  padding: 5px 9px;
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.sample-feature-caption strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.25vw, 1.32rem);
  line-height: 1.18;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.62);
}

.sample-feature-copy {
  display: grid;
  gap: 5px;
}

.sample-feature-copy strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.sample-feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.36;
}

.category-back > .card-actions {
  align-self: end;
}

.sample-tile {
  display: grid;
  grid-template-rows: 62px auto auto auto;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
}

.category-card.is-flipped .sample-tile {
  grid-template-rows: minmax(96px, 128px) auto auto auto;
  gap: 8px;
  padding: 10px;
}

.sample-tile strong {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.15;
}

.category-card.is-flipped .sample-tile strong {
  font-size: 0.9rem;
  line-height: 1.18;
}

.sample-tile > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-card.is-flipped .sample-tile > span {
  font-size: 0.78rem;
  line-height: 1.34;
}

.sample-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(225, 189, 131, 0.22), transparent 62%),
    rgba(7, 9, 9, 0.34);
  border-radius: 6px;
  cursor: zoom-in;
}

.sample-visual img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.08) saturate(0.94);
  transform: scale(1.08);
}

.sample-gallery {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.sample-gallery::-webkit-scrollbar {
  display: none;
}

.sample-gallery-thumb {
  flex: 0 0 42px;
  width: 42px;
  height: 32px;
  padding: 0;
  overflow: hidden;
  background: rgba(7, 9, 9, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
}

.sample-gallery-thumb.is-current {
  border-color: rgba(126, 196, 109, 0.48);
}

.sample-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.06);
  transition:
    filter 160ms ease,
    transform 180ms ease;
}

.sample-gallery-thumb:hover img {
  filter: brightness(1.05) contrast(1.04);
  transform: scale(1.06);
}

.sample-add {
  justify-self: start;
  align-self: end;
  min-height: 26px;
  padding: 0 9px;
  color: var(--green-2);
  background: rgba(126, 196, 109, 0.08);
  border: 1px solid rgba(126, 196, 109, 0.22);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.category-card.is-flipped .sample-add {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.76rem;
}

.sample-add:hover {
  color: var(--white);
  background: rgba(47, 111, 69, 0.56);
  border-color: rgba(126, 196, 109, 0.46);
  transform: translateY(-1px);
}

.sample-add.is-selected {
  color: var(--white);
  background: rgba(47, 111, 69, 0.78);
  border-color: rgba(126, 196, 109, 0.58);
}

.sample-tile.is-picked {
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(126, 196, 109, 0.5);
  box-shadow: 0 0 0 1px rgba(126, 196, 109, 0.12);
}

.sample-popover {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 76px;
  bottom: 78px;
  z-index: 8;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  pointer-events: none;
  background: rgba(7, 10, 9, 0.96);
  border: 1px solid rgba(126, 196, 109, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transition:
    opacity 170ms ease,
    visibility 170ms ease,
    transform 170ms ease;
}

.sample-popover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 42%, rgba(225, 189, 131, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.sample-popover span {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

body.has-lightbox .sample-popover {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(8px) scale(0.985) !important;
}

.sample-visual,
.sample-visual::before,
.sample-visual::after,
.sample-visual span,
.sample-visual span::before,
.sample-visual span::after {
  border-color: rgba(225, 189, 131, 0.9);
}

.sample-visual::before,
.sample-visual::after,
.sample-visual span,
.sample-visual span::before,
.sample-visual span::after {
  position: absolute;
  content: "";
}

.sample-open-box span,
.sample-tall-box span,
.sample-stack-box span,
.sample-low-box span,
.sample-lock-box span,
.sample-lid-box span,
.sample-flat-box span,
.sample-double-box span,
.sample-display span,
.sample-tray span {
  width: 46%;
  height: 34%;
  background: linear-gradient(160deg, #c28a4a, #8f5e2f);
  border: 1px solid rgba(225, 189, 131, 0.86);
  transform: skewY(-7deg);
}

.sample-open-box span::before,
.sample-tall-box span::before {
  left: -18%;
  top: -26%;
  width: 60%;
  height: 28%;
  background: #d4a461;
  border: 1px solid rgba(225, 189, 131, 0.8);
  transform: skewX(-24deg);
}

.sample-open-box span::after,
.sample-tall-box span::after {
  right: -18%;
  top: -26%;
  width: 60%;
  height: 28%;
  background: #bd8041;
  border: 1px solid rgba(225, 189, 131, 0.8);
  transform: skewX(24deg);
}

.sample-tall-box span {
  height: 46%;
}

.sample-stack-box span,
.sample-sheets span,
.sample-pads span {
  width: 58%;
  height: 12%;
  background: #c99452;
  border: 1px solid rgba(225, 189, 131, 0.82);
  box-shadow:
    0 7px 0 #9d6837,
    0 14px 0 #8a582e,
    0 21px 0 #744723;
  transform: skewX(-14deg);
}

.sample-mailer span,
.sample-flat-cut span,
.sample-creases span,
.sample-repeat-cut span {
  width: 62%;
  height: 46%;
  background: rgba(194, 138, 74, 0.7);
  border: 1px solid rgba(225, 189, 131, 0.84);
  border-radius: 4px;
}

.sample-mailer span::before,
.sample-lock-box span::before {
  left: 16%;
  right: 16%;
  bottom: 10%;
  height: 2px;
  background: rgba(7, 9, 9, 0.45);
}

.sample-low-box span,
.sample-lid-box span,
.sample-flat-box span,
.sample-tray span {
  height: 22%;
}

.sample-lock-box span::after {
  left: 50%;
  bottom: 2px;
  width: 18%;
  height: 8px;
  border: 1px solid rgba(7, 9, 9, 0.42);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
}

.sample-lid-box span::before,
.sample-double-box span::before {
  left: -6%;
  top: -38%;
  width: 112%;
  height: 32%;
  background: rgba(225, 189, 131, 0.82);
  border: 1px solid rgba(225, 189, 131, 0.8);
  transform: translateY(-2px);
}

.sample-double-box span::after {
  left: 8%;
  bottom: -36%;
  width: 84%;
  height: 26%;
  background: rgba(126, 84, 40, 0.85);
  border: 1px solid rgba(225, 189, 131, 0.62);
}

.sample-grid span,
.sample-divider span {
  width: 62%;
  height: 48%;
  border: 2px solid rgba(225, 189, 131, 0.82);
  background:
    linear-gradient(90deg, transparent 31%, rgba(225, 189, 131, 0.82) 32%, rgba(225, 189, 131, 0.82) 34%, transparent 35%, transparent 65%, rgba(225, 189, 131, 0.82) 66%, rgba(225, 189, 131, 0.82) 68%, transparent 69%),
    linear-gradient(0deg, transparent 48%, rgba(225, 189, 131, 0.82) 49%, rgba(225, 189, 131, 0.82) 52%, transparent 53%);
}

.sample-insert span {
  width: 56%;
  height: 42%;
  border: 2px solid rgba(225, 189, 131, 0.82);
  border-radius: 40% 26% 46% 30%;
}

.sample-display span {
  height: 34%;
}

.sample-display span::before {
  left: 8%;
  right: 8%;
  top: -70%;
  height: 72%;
  background: rgba(194, 138, 74, 0.82);
  border: 1px solid rgba(225, 189, 131, 0.72);
  border-radius: 5px 5px 0 0;
}

.sample-custom-cut span {
  width: 60%;
  height: 40%;
  background: rgba(194, 138, 74, 0.7);
  clip-path: polygon(0 18%, 26% 18%, 26% 0, 72% 0, 72% 18%, 100% 18%, 100% 80%, 76% 80%, 76% 100%, 22% 100%, 22% 80%, 0 80%);
}

.sample-flat-cut span {
  clip-path: polygon(0 32%, 20% 32%, 20% 0, 80% 0, 80% 32%, 100% 32%, 100% 70%, 80% 70%, 80% 100%, 20% 100%, 20% 70%, 0 70%);
}

.sample-creases span::before,
.sample-repeat-cut span::before {
  inset: 20% 12%;
  border-top: 1px dashed rgba(7, 9, 9, 0.55);
  border-bottom: 1px dashed rgba(7, 9, 9, 0.55);
}

.sample-repeat-cut span::after {
  right: -10px;
  bottom: -8px;
  width: 72%;
  height: 72%;
  background: rgba(194, 138, 74, 0.34);
  border: 1px solid rgba(225, 189, 131, 0.46);
  border-radius: 4px;
}

.sample-print-logo span,
.sample-print-label span,
.sample-print-full span {
  width: 62%;
  height: 42%;
  background: rgba(194, 138, 74, 0.78);
  border: 1px solid rgba(225, 189, 131, 0.82);
  border-radius: 4px;
}

.sample-print-logo span::before {
  left: 20%;
  top: 34%;
  width: 60%;
  height: 24%;
  background: rgba(7, 9, 9, 0.58);
  border-radius: 999px;
}

.sample-print-label span::before {
  left: 14%;
  top: 22%;
  width: 72%;
  height: 3px;
  background: rgba(7, 9, 9, 0.5);
  box-shadow:
    0 8px 0 rgba(7, 9, 9, 0.38),
    0 16px 0 rgba(7, 9, 9, 0.24);
}

.sample-print-full span::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 196, 109, 0.45), transparent 34%),
    linear-gradient(135deg, transparent 42%, rgba(248, 244, 236, 0.22) 43%, transparent 58%);
}

.sample-wave span {
  width: 70%;
  height: 32px;
  background:
    radial-gradient(ellipse at 12px 20px, transparent 0 10px, rgba(225, 189, 131, 0.88) 11px 12px, transparent 13px) 0 0 / 24px 32px repeat-x;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--green-2);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.card-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: rgba(248, 244, 236, 0.84);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

.card-secondary:hover {
  color: var(--text);
  border-color: rgba(126, 196, 109, 0.36);
}

.sample-section {
  display: grid;
  grid-template-columns: minmax(470px, 0.82fr) minmax(320px, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(126, 196, 109, 0.12), rgba(194, 138, 74, 0.08)),
    rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-section p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sample-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sample-badge {
  display: grid;
  gap: 2px;
  min-width: 144px;
  padding: 10px 12px;
  background: rgba(126, 196, 109, 0.1);
  border: 1px solid rgba(126, 196, 109, 0.24);
  border-radius: 8px;
}

.sample-badge span {
  color: var(--green-2);
  font-size: 1.25rem;
  font-weight: 800;
}

.sample-badge strong {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.25;
}

.fefco-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 28%, rgba(126, 196, 109, 0.08), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.fefco-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fefco-principles div,
.fefco-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fefco-principles div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 20px;
}

.fefco-principles span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fefco-principles strong {
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.25;
}

.fefco-grid h3 {
  margin: 16px 0 10px;
  line-height: 1.16;
}

.fefco-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.fefco-grid article {
  min-height: 168px;
  padding: 20px;
}

.fefco-grid span {
  color: var(--green-2);
  font-weight: 800;
}

.custom-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
  gap: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-copy p,
.contact-main .section-note {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.custom-copy h2 {
  max-width: 740px;
}

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

.workflow article {
  padding: 20px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(225, 189, 131, 0.34);
  border-radius: 0;
  box-shadow: none;
}

.workflow span {
  color: var(--kraft-soft);
  font-weight: 800;
}

.workflow h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.workflow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.28fr);
  gap: 16px;
  align-items: stretch;
}

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

.delivery-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 238px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-action > span:not(.contact-action-icon),
.company-details span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.32rem;
  line-height: 1.16;
}

.delivery-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.delivery-grid strong,
.delivery-grid a {
  color: var(--kraft-soft);
  font-weight: 800;
}

.delivery-summary {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 238px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(47, 111, 69, 0.22), rgba(255, 255, 255, 0.026)),
    rgba(13, 18, 16, 0.92);
  border: 1px solid rgba(126, 196, 109, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.delivery-summary h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.16;
}

.delivery-checks {
  display: grid;
  gap: 9px;
}

.delivery-checks p {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.delivery-checks p::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--green-2);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(126, 196, 109, 0.38);
}

.delivery-summary .button {
  justify-self: start;
  min-height: 44px;
  margin-top: 6px;
  padding-inline: 18px;
}

.materials-section {
  position: relative;
  overflow: hidden;
}

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

.material-market-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(15, 19, 18, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.material-advice-card {
  background:
    linear-gradient(145deg, rgba(47, 111, 69, 0.24), rgba(225, 189, 131, 0.08)),
    rgba(15, 19, 18, 0.92);
  border-color: rgba(126, 196, 109, 0.22);
}

.material-market-grid span {
  justify-self: start;
  padding: 5px 9px;
  color: var(--green-2);
  background: rgba(126, 196, 109, 0.08);
  border: 1px solid rgba(126, 196, 109, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.material-market-grid h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.12vw, 1.26rem);
  line-height: 1.16;
}

.material-market-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-use-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.45;
  list-style: none;
}

.profile-use-list li {
  position: relative;
  padding-left: 16px;
}

.profile-use-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--green-2);
  border-radius: 999px;
}

.material-market-grid strong {
  align-self: end;
  color: var(--kraft-soft);
}

.material-market-grid .card-link {
  align-self: end;
  justify-self: start;
  margin-top: 8px;
  color: var(--green-2);
  font-weight: 850;
}

.material-market-grid .card-link svg {
  transition: transform 180ms ease;
}

.material-market-grid .card-link:hover svg {
  transform: translateX(4px);
}

.material-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-cta div {
  display: grid;
  gap: 4px;
}

.material-cta span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.material-cta strong {
  color: var(--text);
  line-height: 1.35;
}

.materials-section::before {
  position: absolute;
  right: -18%;
  top: 12%;
  width: 48%;
  height: 56%;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse at center, rgba(194, 138, 74, 0.12), transparent 68%);
}

.materials-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 18px;
}

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

.material-card,
.choice-guide {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.material-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 260px;
  overflow: hidden;
}

.material-card-wide {
  grid-column: auto;
}

.material-symbol {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--kraft-soft);
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 42%, rgba(194, 138, 74, 0.18), transparent 56%),
    rgba(255, 255, 255, 0.025);
  border-right: 1px solid var(--line);
}

.material-card-body {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}

.material-card-body > span,
.strength-row span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.material-card h3,
.choice-guide h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.4vw, 1.55rem);
  line-height: 1.18;
}

.material-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.material-card dl {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}

.material-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.material-card dt {
  color: var(--muted-2);
}

.material-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.strength-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.strength-row.is-strong {
  background: rgba(126, 196, 109, 0.08);
  border-color: rgba(126, 196, 109, 0.2);
}

.strength-row strong {
  color: var(--text);
  font-size: 1.08rem;
}

.strength-row p {
  font-size: 0.92rem;
}

.choice-guide {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 24px;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-list span {
  color: var(--kraft-soft);
  font-weight: 800;
}

.guide-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(15, 19, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-intro {
  display: grid;
  align-content: center;
  gap: 12px;
}

.profile-intro h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.9vw, 2.05rem);
  line-height: 1.12;
}

.profile-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.profile-cards article {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.profile-cards strong {
  color: var(--kraft-soft);
  font-size: 2.4rem;
  line-height: 0.95;
}

.profile-cards span {
  color: var(--green-2);
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.profile-cards svg {
  align-self: end;
  width: 100%;
  height: 28px;
  fill: none;
  stroke: var(--kraft-soft);
  stroke-width: 3;
  stroke-linecap: round;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.spec-grid div {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 24px;
}

.spec-grid span {
  color: var(--muted);
}

.spec-grid strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.contact-section {
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.contact-heading {
  max-width: 820px;
}

.contact-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 412px);
  gap: 28px;
  align-items: stretch;
}

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

.contact-action,
.company-details article {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(15, 19, 18, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-action {
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
  align-content: start;
}

.contact-action > :not(.contact-action-icon) {
  grid-column: 2;
}

.contact-action-icon {
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  align-self: start;
}

.contact-action-icon svg {
  width: 21px;
  height: 21px;
}

.contact-action-icon-telegram,
.contact-action-icon-max {
  color: #ffffff;
  border-color: transparent;
}

.contact-action-icon-telegram svg,
.contact-action-icon-max svg {
  fill: currentColor;
  stroke: none;
}

.contact-action-icon-telegram {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #35aee2, #178ac2);
}

.contact-action-icon-max {
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #5667ff, #16b8ee);
}

.contact-action-icon-mail {
  color: var(--green-2);
  border-color: rgba(126, 196, 109, 0.25);
}

.contact-action strong,
.company-details strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.16vw, 1.16rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.contact-action small,
.company-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-action:hover {
  border-color: rgba(126, 196, 109, 0.34);
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.11), rgba(255, 255, 255, 0.022)),
    rgba(15, 19, 18, 0.9);
}

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

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form {
  align-self: stretch;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(15, 19, 18, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form .form-head {
  margin-bottom: 0;
}

.contact-form .form-head h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.16;
}

.contact-form .form-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--text);
}

.footer-contacts {
  justify-items: end;
  text-align: right;
}

.footer-contacts a:first-child {
  color: var(--text);
  font-weight: 800;
}

.footer-contacts a:not(:first-child) {
  color: rgba(248, 244, 236, 0.72);
}

.footer-contacts a:hover {
  color: var(--kraft-soft);
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(248, 244, 236, 0.72);
  font: inherit;
  text-align: right;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: var(--kraft-soft);
  outline: none;
}

.legal-body {
  min-height: 100vh;
  background: #141519;
}

.legal-body::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(20, 21, 25, 0.7), rgba(20, 21, 25, 0.96) 72%),
    linear-gradient(90deg, rgba(20, 21, 25, 0.92), rgba(20, 21, 25, 0.58) 56%, rgba(20, 21, 25, 0.9)),
    url("../video/grandpack-production-background-poster.webp") center top / cover no-repeat;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, black 0, black 32rem, transparent 58rem);
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 80px;
}

.legal-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--gp-overlay-border);
  border-radius: 8px;
  background: var(--gp-overlay-surface);
  box-shadow: var(--gp-overlay-shadow);
  backdrop-filter: var(--gp-overlay-blur);
  -webkit-backdrop-filter: var(--gp-overlay-blur);
}

.legal-header .brand-text small {
  color: rgba(238, 239, 242, 0.46);
}

.legal-header .brand-logo {
  width: 40px;
  height: 40px;
}

.legal-header .button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  color: #d8c296;
  background: rgba(198, 170, 111, 0.045);
  border-color: rgba(198, 170, 111, 0.28);
  font-size: 12px;
  font-weight: 600;
}

.legal-header .button:hover {
  color: #ead7af;
  background: rgba(198, 170, 111, 0.09);
  border-color: rgba(218, 188, 128, 0.48);
}

.legal-document {
  position: relative;
  margin: 12px 0 0;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  background: var(--gp-overlay-surface);
  border: 1px solid var(--gp-overlay-border);
  border-radius: 8px;
  box-shadow: var(--gp-overlay-shadow);
  backdrop-filter: var(--gp-overlay-blur);
  -webkit-backdrop-filter: var(--gp-overlay-blur);
  isolation: isolate;
}

.legal-document::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 42% at 18% -8%, rgba(198, 170, 111, 0.12), transparent 62%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.018), transparent 42%);
}

.legal-hero {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 0 38px;
  border-bottom: 1px solid rgba(198, 170, 111, 0.14);
}

.legal-hero > p:last-child {
  max-width: 700px;
  margin: 0;
  color: rgba(238, 239, 242, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.58;
}

.legal-date {
  margin: 0 0 16px;
  color: #c7aa73;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-document h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: 40px;
  line-height: 1.03;
  text-wrap: balance;
}

.legal-document > section {
  display: block;
  max-width: 820px;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(198, 170, 111, 0.12);
}

.legal-document > section h2 {
  position: static;
  margin: 0 0 14px;
  color: #f1f2f4;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

.legal-document p,
.legal-document li {
  color: rgba(238, 239, 242, 0.7);
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  line-height: 1.68;
}

.legal-document p {
  margin: 0 0 12px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 1.05rem;
}

.legal-document li::marker {
  color: #c7aa73;
}

.legal-document a:not(.button) {
  color: #d8c296;
  text-decoration-color: rgba(198, 170, 111, 0.42);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(198, 170, 111, 0.14);
}

.legal-actions .button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(198, 170, 111, 0.045);
  border-color: rgba(198, 170, 111, 0.28);
  color: #d8c296;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}

.legal-actions .button.primary {
  background: rgba(198, 170, 111, 0.045);
  border-color: rgba(198, 170, 111, 0.28);
  color: #d8c296;
}

.legal-actions .button:hover {
  color: #ead7af;
  background: rgba(198, 170, 111, 0.09);
  border-color: rgba(218, 188, 128, 0.48);
}

.legal-actions .button.primary:hover {
  color: #ead7af;
  background: rgba(198, 170, 111, 0.09);
  border-color: rgba(218, 188, 128, 0.48);
}

.category-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  --card-dx: 0px;
  --card-dy: 0px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  perspective: 1600px;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.category-dialog.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.category-dialog-backdrop {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(225, 189, 131, 0.1), transparent 34rem),
    radial-gradient(ellipse at 50% 64%, rgba(126, 196, 109, 0.08), transparent 38rem),
    rgba(3, 5, 5, 0.86);
  border: 0;
  cursor: zoom-out;
  backdrop-filter: blur(10px);
  transition: opacity 260ms ease;
}

.category-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 60px));
  max-height: calc(100vh - 60px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    rgba(15, 19, 18, 0.98);
  border: 1px solid rgba(126, 196, 109, 0.28);
  border-radius: var(--radius);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.62),
    0 0 46px rgba(126, 196, 109, 0.1);
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.category-dialog.is-open .category-dialog-panel {
  animation: category-dialog-open 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.category-dialog.is-closing {
  opacity: 0;
}

.category-dialog.is-closing .category-dialog-backdrop {
  opacity: 0;
}

.category-dialog.is-closing .category-dialog-panel {
  animation: category-dialog-close 260ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.category-dialog-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: min(620px, calc(100vh - 60px));
  padding: 22px;
}

.category-dialog-card-feature {
  grid-template-rows: minmax(360px, 1fr) auto;
}

.category-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: rgba(7, 10, 9, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.category-dialog .category-back-head {
  max-width: 760px;
  padding-right: 48px;
}

.category-dialog .category-back-head h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.subcategory-browser {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.subcategory-browser-head {
  display: grid;
  gap: 8px;
  max-width: 780px;
  padding-right: 56px;
}

.subcategory-browser-head span,
.category-dialog-kicker {
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subcategory-browser-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.02;
}

.subcategory-browser-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

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

.subcategory-card {
  display: grid;
  grid-template-rows: minmax(170px, 0.78fr) minmax(160px, auto);
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 196, 109, 0.10), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(11, 16, 15, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.subcategory-card:hover,
.subcategory-card:focus-visible {
  border-color: rgba(126, 196, 109, 0.46);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(126, 196, 109, 0.12) inset,
    0 0 28px rgba(126, 196, 109, 0.12);
  transform: translateY(-2px);
}

.subcategory-card-media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(225, 189, 131, 0.15), transparent 60%),
    rgba(4, 6, 6, 0.66);
}

.subcategory-card-media::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 6, 0.84));
  content: "";
}

.subcategory-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.07) saturate(0.95);
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.subcategory-card:hover .subcategory-card-media img,
.subcategory-card:focus-visible .subcategory-card-media img {
  transform: scale(1.045);
}

.subcategory-card-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 14px;
}

.subcategory-card-copy em {
  color: rgba(225, 189, 131, 0.86);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.subcategory-card-copy strong {
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.15;
}

.subcategory-card-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.subcategory-card .category-taxonomy-chips {
  margin-top: 3px;
}

.card-actions-note {
  align-self: center;
  color: rgba(248, 244, 236, 0.58);
  font-size: 0.9rem;
  line-height: 1.35;
}

.category-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.category-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-right: 54px;
}

.category-gallery-head > div:first-child {
  display: grid;
  gap: 7px;
  max-width: 780px;
}

.category-gallery-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.22vw, 2.35rem);
  line-height: 1.08;
}

.category-gallery-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.category-gallery-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 7px;
  max-width: 360px;
}

.category-gallery-badges span {
  min-height: 28px;
  padding: 7px 10px;
  color: #e8ffe1;
  background: linear-gradient(180deg, rgba(124, 214, 112, 0.18), rgba(124, 214, 112, 0.07));
  border: 1px solid rgba(124, 214, 112, 0.34);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(83, 191, 94, 0.1);
}

.category-gallery-badges span:first-child {
  color: #fff;
  background: linear-gradient(180deg, rgba(124, 214, 112, 0.28), rgba(124, 214, 112, 0.12));
  border-color: rgba(124, 214, 112, 0.48);
}

.category-gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.66fr);
  gap: 16px;
  align-items: stretch;
  min-height: clamp(300px, 38vh, 386px);
}

.category-gallery-media {
  position: relative;
  display: grid;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 42%, rgba(225, 189, 131, 0.2), transparent 64%),
    rgba(7, 10, 9, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  cursor: zoom-in;
}

.category-gallery-media::after {
  position: absolute;
  inset: auto 14px 14px auto;
  min-height: 28px;
  padding: 7px 10px;
  color: rgba(248, 244, 236, 0.82);
  background: rgba(7, 10, 9, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  content: "приблизить";
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(8px);
}

.category-gallery-media:hover::after,
.category-gallery-media:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.category-gallery-media img {
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.94) contrast(1.06) saturate(0.94);
}

.category-gallery-info {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  max-height: min(520px, calc(100vh - 260px));
  overflow: auto;
  padding: 20px;
  padding-bottom: 84px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(7, 10, 9, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.category-gallery-info h4 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.26rem, 1.72vw, 1.82rem);
  line-height: 1.12;
}

.category-gallery-info p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.category-gallery-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.category-gallery-facts span {
  min-height: 30px;
  padding: 8px 10px;
  color: rgba(248, 244, 236, 0.88);
  background: rgba(126, 196, 109, 0.075);
  border: 1px solid rgba(126, 196, 109, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.category-gallery-info small {
  margin-top: 4px;
  color: rgba(248, 244, 236, 0.56);
  font-size: 0.82rem;
  line-height: 1.45;
}

.category-model-preview {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 12px;
  background:
    radial-gradient(circle at 72% 18%, rgba(126, 196, 109, 0.11), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018)),
    rgba(4, 7, 7, 0.42);
  border: 1px solid rgba(126, 196, 109, 0.18);
  border-radius: 8px;
}

.model-preview-head {
  display: grid;
  gap: 3px;
}

.model-preview-head span {
  color: var(--green-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-preview-head strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.24;
}

.model-preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 52% 42%, rgba(225, 189, 131, 0.14), transparent 52%),
    rgba(2, 5, 5, 0.46);
  background-size: 18px 18px, 18px 18px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
}

.model-box-shape {
  position: relative;
  width: 84px;
  height: 58px;
  border: 1px solid rgba(225, 189, 131, 0.88);
  border-radius: 5px;
  transform: rotateX(56deg) rotateZ(-39deg);
  transform-style: preserve-3d;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(225, 189, 131, 0.16);
}

.model-box-shape::before,
.model-box-shape::after,
.model-box-shape span {
  position: absolute;
  content: "";
  border: 1px solid rgba(225, 189, 131, 0.68);
  background: linear-gradient(180deg, rgba(225, 189, 131, 0.16), rgba(225, 189, 131, 0.04));
}

.model-box-shape::before {
  inset: -28px 12px auto 12px;
  height: 28px;
  transform-origin: bottom;
  transform: rotateX(-36deg);
}

.model-box-shape::after {
  inset: auto 12px -28px 12px;
  height: 28px;
  transform-origin: top;
  transform: rotateX(38deg);
}

.model-box-shape span {
  inset: 12px -28px 12px auto;
  width: 28px;
  transform-origin: left;
  transform: rotateY(-42deg);
}

.model-net-lines {
  position: absolute;
  inset: 18px 18px 16px 18px;
  opacity: 0.34;
  pointer-events: none;
}

.model-net-lines i {
  position: absolute;
  border-color: rgba(126, 196, 109, 0.58);
  border-style: solid;
}

.model-net-lines i:nth-child(1) {
  inset: 42% 8% auto 8%;
  border-width: 1px 0 0;
}

.model-net-lines i:nth-child(2) {
  inset: 10% 50% 10% auto;
  border-width: 0 1px 0 0;
}

.model-net-lines i:nth-child(3) {
  inset: 17% 18% auto auto;
  width: 28%;
  height: 52%;
  border-width: 1px 1px 0 0;
}

.model-net-lines i:nth-child(4) {
  inset: 52% auto auto 15%;
  width: 25%;
  height: 30%;
  border-width: 0 0 1px 1px;
}

.model-preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.model-preview-tabs button {
  min-width: 0;
  min-height: 28px;
  padding: 0 8px;
  color: rgba(248, 244, 236, 0.74);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.model-preview-tabs button.is-active {
  color: #f8f4ec;
  background: rgba(126, 196, 109, 0.13);
  border-color: rgba(126, 196, 109, 0.28);
}

.category-gallery-navrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.category-gallery-strip {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 3px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 196, 109, 0.36) rgba(255, 255, 255, 0.04);
}

.category-gallery-nav {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 196, 109, 0.18), transparent 70%),
    rgba(7, 10, 9, 0.58);
  border: 1px solid rgba(126, 196, 109, 0.25);
  border-radius: 999px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(126, 196, 109, 0.1);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.category-gallery-nav:hover,
.category-gallery-nav:focus-visible {
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 196, 109, 0.3), transparent 72%),
    rgba(47, 111, 69, 0.62);
  border-color: rgba(126, 196, 109, 0.52);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(126, 196, 109, 0.2);
  transform: translateY(-1px);
}

.category-gallery-thumb {
  position: relative;
  flex: 0 0 118px;
  display: grid;
  grid-template-rows: 58px auto;
  gap: 7px;
  min-width: 0;
  padding: 7px;
  text-align: left;
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  cursor: pointer;
  scroll-snap-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.category-gallery-thumb:hover,
.category-gallery-thumb:focus-visible {
  background: rgba(126, 196, 109, 0.07);
  border-color: rgba(126, 196, 109, 0.34);
  transform: translateY(-1px);
}

.category-gallery-thumb.is-active {
  background:
    linear-gradient(180deg, rgba(126, 196, 109, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(126, 196, 109, 0.62);
  box-shadow: 0 0 0 1px rgba(126, 196, 109, 0.12);
}

.category-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(7, 10, 9, 0.55);
  border-radius: 5px;
  filter: brightness(0.9) contrast(1.06);
}

.category-gallery-thumb span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-dialog .sample-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-dialog .sample-options:has(.sample-tile:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-dialog .sample-options-feature {
  grid-template-columns: minmax(0, 1fr);
}

.category-dialog .sample-feature {
  min-height: 420px;
}

.category-dialog .sample-tile {
  grid-template-rows: minmax(150px, 190px) auto auto auto;
  gap: 8px;
  padding: 10px;
}

.category-dialog .sample-gallery-thumb {
  flex-basis: 52px;
  width: 52px;
  height: 38px;
}

.category-dialog .sample-tile strong {
  font-size: 0.9rem;
  line-height: 1.18;
}

.category-dialog .sample-tile > span {
  font-size: 0.78rem;
  line-height: 1.34;
}

.category-dialog .sample-add {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.76rem;
}

.category-dialog .card-actions {
  justify-content: space-between;
  width: 100%;
  align-self: end;
}

.category-dialog .card-link {
  min-height: 42px;
  margin-left: auto;
  padding: 0 18px;
  color: var(--white);
  background: rgba(47, 111, 69, 0.82);
  border: 1px solid rgba(126, 196, 109, 0.38);
  border-radius: 6px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px 72px;
  --zoom-dx: 0px;
  --zoom-dy: 0px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.image-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 196, 109, 0.08), transparent 38rem),
    rgba(3, 5, 5, 0.9);
  border: 0;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: auto;
  max-width: min(1456px, calc(100vw - 144px));
  max-height: calc(100vh - 48px);
  background: transparent;
  border: 0;
  transform: translate3d(var(--zoom-dx), var(--zoom-dy), 0) scale(0.22);
  opacity: 0;
}

.image-lightbox.is-open .lightbox-panel {
  animation: lightbox-zoom-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.image-lightbox.is-closing {
  pointer-events: none;
}

.image-lightbox.is-closing .lightbox-backdrop {
  opacity: 0;
}

.image-lightbox.is-closing .lightbox-panel {
  animation: lightbox-zoom-out 260ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.lightbox-panel img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 189, 131, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(236, 226, 210, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.68);
}

.lightbox-panel strong {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 22px;
  padding: 8px 11px;
  color: var(--text);
  background: rgba(7, 10, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.96rem;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  position: absolute;
  right: -54px;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: rgba(7, 10, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(47, 111, 69, 0.86);
  border-color: rgba(126, 196, 109, 0.42);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 196, 109, 0.22), transparent 68%),
    rgba(7, 10, 9, 0.78);
  border: 1px solid rgba(126, 196, 109, 0.32);
  border-radius: 999px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.46),
    0 0 26px rgba(126, 196, 109, 0.16);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 196, 109, 0.34), transparent 70%),
    rgba(47, 111, 69, 0.86);
  border-color: rgba(126, 196, 109, 0.58);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.52),
    0 0 34px rgba(126, 196, 109, 0.28);
}

.lightbox-nav-prev {
  left: -68px;
}

.lightbox-nav-next {
  right: -68px;
}

.lightbox-nav[hidden] {
  display: none;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.request-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(225, 189, 131, 0.1), transparent 34rem),
    rgba(2, 4, 4, 0.78);
  border: 0;
}

.request-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(620px, 100%);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(15, 19, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.request-modal.is-open .request-modal-panel {
  transform: translateY(0) scale(1);
}

.request-modal.is-closing {
  opacity: 0;
}

.request-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
}

.request-modal-panel h2 {
  max-width: 460px;
  margin-top: 6px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.request-modal-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.request-modal.is-call-request [data-request-extra] {
  display: none;
}

.request-error {
  min-height: 0;
  margin: 0;
  color: rgba(246, 233, 207, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.request-error:not(:empty) {
  padding: 10px 12px;
  border-left: 2px solid #c6aa6f;
  background: rgba(20, 21, 25, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

@keyframes lightbox-zoom-in {
  from {
    opacity: 0;
    transform: translate3d(var(--zoom-dx), var(--zoom-dy), 0) scale(0.22);
    filter: blur(4px);
  }

  68% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.018);
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes lightbox-zoom-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translate3d(var(--zoom-dx), var(--zoom-dy), 0) scale(0.22);
    filter: blur(4px);
  }
}

@keyframes category-back-open {
  from {
    opacity: 0;
    transform: rotateY(-10deg) translateY(18px) scale(0.94);
    filter: blur(2px);
  }

  68% {
    opacity: 1;
    transform: rotateY(1.5deg) translateY(0) scale(1.012);
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: rotateY(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes category-dialog-open {
  from {
    opacity: 0;
    transform: translate3d(var(--card-dx), var(--card-dy), 0) rotateY(-18deg) rotateX(3deg) scale(0.28);
    filter: blur(4px) brightness(0.82);
  }

  72% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(1.2deg) rotateX(0) scale(1.018);
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes order-history-open {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.982);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sample-ring-run {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sample-text-breathe {
  0%,
  100% {
    transform: translateZ(0) scale(1);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  }

  44%,
  64% {
    transform: translateZ(0) scale(1.075);
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.32),
      0 0 18px rgba(225, 189, 131, 0.18);
  }
}

@keyframes sample-price-breathe {
  0%,
  100% {
    transform: translateZ(0) scale(1);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  }

  44%,
  64% {
    transform: translateZ(0) scale(1.06);
    text-shadow:
      0 1px 10px rgba(0, 0, 0, 0.32),
      0 0 16px rgba(225, 189, 131, 0.2);
  }
}

@keyframes calculator-replay-pulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
  }

  50% {
    border-color: rgba(126, 196, 109, 0.76);
    box-shadow:
      0 0 0 4px rgba(126, 196, 109, 0.1),
      0 24px 80px rgba(47, 111, 69, 0.26),
      var(--shadow);
  }
}

@keyframes category-dialog-close {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translate3d(var(--card-dx), var(--card-dy), 0) rotateY(14deg) scale(0.3);
    filter: blur(4px) brightness(0.82);
  }
}

@media (max-width: 760px) {
  .category-dialog {
    padding: 14px;
  }

  .category-dialog-panel {
    width: 100%;
    max-height: calc(100vh - 28px);
  }

  .category-dialog-card {
    min-height: min(580px, calc(100vh - 28px));
    padding: 18px;
  }

  .category-gallery {
    gap: 14px;
  }

  .category-gallery-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-right: 44px;
  }

  .category-gallery-badges {
    justify-content: start;
    max-width: none;
  }

  .category-gallery-stage {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    gap: 12px;
  }

  .category-gallery-media {
    height: 220px;
    min-height: 220px;
  }

  .category-gallery-info {
    gap: 9px;
    padding: 14px;
    padding-bottom: 72px;
  }

  .category-gallery-info h4 {
    font-size: 1.18rem;
  }

  .category-gallery-info p {
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .category-gallery-facts {
    gap: 6px;
  }

  .category-gallery-facts span {
    min-height: 27px;
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .category-gallery-thumb {
    flex-basis: 96px;
    grid-template-rows: 54px auto;
  }

  .category-gallery-navrow {
    gap: 7px;
  }

  .category-gallery-nav {
    width: 34px;
    font-size: 1.45rem;
  }

  .category-dialog .card-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding-top: 10px;
    background:
      linear-gradient(180deg, rgba(15, 19, 18, 0), rgba(15, 19, 18, 0.96) 34%),
      rgba(15, 19, 18, 0.92);
  }

  .category-dialog .sample-options,
  .category-dialog .sample-options:has(.sample-tile:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-dialog .sample-options-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-dialog .sample-tile {
    grid-template-rows: 88px auto auto auto;
  }

  .image-lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    max-width: 100%;
    max-height: calc(100vh - 28px);
  }

  .lightbox-panel img {
    max-height: calc(100vh - 28px);
  }

  .lightbox-close {
    right: 10px;
    top: 10px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.75rem;
  }

  .lightbox-nav-prev {
    left: 10px;
  }

  .lightbox-nav-next {
    right: 10px;
  }

  .lightbox-panel strong {
    left: 10px;
    right: 56px;
    bottom: 10px;
    border-radius: 8px;
  }
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  color: var(--text);
  background: rgba(17, 23, 22, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.toast.is-success {
  background:
    linear-gradient(135deg, rgba(126, 196, 109, 0.16), rgba(18, 28, 23, 0.98)),
    rgba(17, 23, 22, 0.98);
  border-color: rgba(126, 196, 109, 0.42);
  box-shadow:
    0 18px 60px rgba(47, 111, 69, 0.32),
    var(--shadow);
}

.success-burst {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(126, 196, 109, 0.16), transparent 18rem),
    radial-gradient(circle at 50% 56%, rgba(194, 138, 74, 0.12), transparent 24rem),
    rgba(3, 5, 5, 0.2);
  backdrop-filter: blur(1px);
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
}

.success-burst.is-visible {
  visibility: visible;
  opacity: 1;
}

.success-burst.is-hiding {
  opacity: 0;
}

.success-burst-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(440px, 100%);
  padding: 28px 24px 30px;
  text-align: center;
  border-radius: 12px;
  transform: translateY(14px) scale(0.94);
  opacity: 0;
}

.success-burst-panel::before {
  position: absolute;
  inset: 10px 18px;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(126, 196, 109, 0.18), transparent 62%);
  filter: blur(18px);
}

.success-burst-panel::after {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 58px;
  height: 46px;
  content: "";
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(34deg, transparent 0 46%, rgba(225, 189, 131, 0.92) 47% 53%, transparent 54%) 5px 0 / 25px 17px no-repeat,
    linear-gradient(146deg, transparent 0 46%, rgba(225, 189, 131, 0.92) 47% 53%, transparent 54%) 29px 0 / 25px 17px no-repeat,
    linear-gradient(rgba(225, 189, 131, 0.94), rgba(225, 189, 131, 0.94)) center 17px / 43px 2px no-repeat,
    linear-gradient(rgba(225, 189, 131, 0.92), rgba(225, 189, 131, 0.92)) 8px 18px / 2px 23px no-repeat,
    linear-gradient(rgba(225, 189, 131, 0.92), rgba(225, 189, 131, 0.92)) 48px 18px / 2px 23px no-repeat,
    linear-gradient(rgba(225, 189, 131, 0.92), rgba(225, 189, 131, 0.92)) 8px 40px / 42px 2px no-repeat,
    radial-gradient(circle, rgba(126, 196, 109, 0.95) 0 2px, transparent 2.8px) 0 11px / 14px 14px no-repeat,
    radial-gradient(circle, rgba(225, 189, 131, 0.95) 0 1.8px, transparent 2.6px) 46px 5px / 12px 12px no-repeat,
    radial-gradient(circle, rgba(248, 244, 236, 0.9) 0 1.6px, transparent 2.4px) 42px 32px / 12px 12px no-repeat;
  filter: drop-shadow(0 0 16px rgba(225, 189, 131, 0.36));
}

.success-burst.is-copy {
  background: rgba(3, 5, 5, 0.46);
  backdrop-filter: blur(8px);
}

.success-burst.is-copy .success-burst-panel::before {
  background: rgba(7, 10, 9, 0.34);
  border: 1px solid rgba(225, 189, 131, 0.14);
  border-radius: 16px;
  filter: blur(0);
}

.success-burst.is-copy .success-burst-panel::after {
  display: none;
}

.success-burst-box {
  position: relative;
  display: none;
  width: 142px;
  height: 118px;
  margin-bottom: 4px;
  perspective: 520px;
}

.success-burst.is-copy .success-burst-check {
  display: none;
}

.success-burst.is-copy .success-burst-box {
  display: block;
  animation: success-box-hop 1600ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.success-box-shadow,
.success-box-back,
.success-box-left,
.success-box-right,
.success-box-front,
.success-box-flap {
  position: absolute;
  display: block;
}

.success-box-shadow {
  left: 28px;
  right: 28px;
  bottom: 9px;
  height: 14px;
  background: rgba(0, 0, 0, 0.34);
  border-radius: 50%;
  filter: blur(8px);
  transform: scaleX(0.7);
  animation: success-box-shadow 1600ms ease-out 180ms both;
}

.success-box-back,
.success-box-front {
  left: 31px;
  width: 80px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #d3a365, #9f6b33);
  border: 1px solid rgba(69, 37, 13, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 245, 218, 0.24);
}

.success-box-front {
  top: 58px;
  height: 38px;
  border-radius: 2px 2px 7px 7px;
  transform-origin: top center;
  transform: rotateX(-78deg) translateY(-8px);
  animation: success-box-front 1050ms cubic-bezier(0.16, 1, 0.3, 1) 220ms forwards;
}

.success-box-back {
  top: 30px;
  height: 34px;
  border-radius: 7px 7px 2px 2px;
  opacity: 0;
  transform: translateY(18px) scaleY(0.42);
  animation: success-box-back 980ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.success-box-left,
.success-box-right {
  top: 52px;
  width: 35px;
  height: 42px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #bd8445, #7c4f24);
  border: 1px solid rgba(69, 37, 13, 0.4);
  opacity: 0;
}

.success-box-left {
  left: 12px;
  border-radius: 5px 2px 4px 6px;
  transform-origin: right center;
  transform: rotateY(88deg) translateX(8px);
  animation: success-box-left 1080ms cubic-bezier(0.16, 1, 0.3, 1) 310ms forwards;
}

.success-box-right {
  right: 12px;
  border-radius: 2px 5px 6px 4px;
  transform-origin: left center;
  transform: rotateY(-88deg) translateX(-8px);
  animation: success-box-right 1080ms cubic-bezier(0.16, 1, 0.3, 1) 360ms forwards;
}

.success-box-flap {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #e0b173, #b77a3c);
  border: 1px solid rgba(69, 37, 13, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 245, 218, 0.22);
  opacity: 0;
}

.success-box-flap-left,
.success-box-flap-right {
  top: 31px;
  width: 40px;
  height: 29px;
}

.success-box-flap-left {
  left: 8px;
  border-radius: 6px 2px 2px 6px;
  transform-origin: right bottom;
  transform: rotate(-18deg) translateY(20px);
  animation: success-box-flap-left 1260ms cubic-bezier(0.16, 1, 0.3, 1) 430ms forwards;
}

.success-box-flap-right {
  right: 8px;
  border-radius: 2px 6px 6px 2px;
  transform-origin: left bottom;
  transform: rotate(18deg) translateY(20px);
  animation: success-box-flap-right 1260ms cubic-bezier(0.16, 1, 0.3, 1) 500ms forwards;
}

.success-box-flap-top {
  left: 33px;
  top: 10px;
  width: 76px;
  height: 34px;
  border-radius: 7px 7px 2px 2px;
  transform-origin: bottom center;
  transform: rotateX(78deg) translateY(28px);
  animation: success-box-flap-top 1320ms cubic-bezier(0.16, 1, 0.3, 1) 580ms forwards;
}

.success-burst.is-copy .success-burst-panel strong {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.success-burst.is-copy .success-burst-panel p {
  color: rgba(248, 244, 236, 0.82);
}

.success-burst.is-visible .success-burst-panel {
  animation: success-panel-in 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-burst.is-hiding .success-burst-panel {
  animation: success-panel-out 220ms ease forwards;
}

.success-burst-check {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.36), transparent 26%),
    linear-gradient(145deg, rgba(126, 196, 109, 0.96), rgba(34, 113, 63, 0.98));
  box-shadow:
    0 0 0 1px rgba(205, 241, 181, 0.28),
    0 0 34px rgba(126, 196, 109, 0.56),
    0 22px 70px rgba(47, 111, 69, 0.48);
}

.success-burst-check::before,
.success-burst-check::after {
  position: absolute;
  inset: -16px;
  content: "";
  border-radius: inherit;
  border: 1px solid rgba(126, 196, 109, 0.36);
  animation: success-aura 1500ms ease-out infinite;
}

.success-burst-check::after {
  inset: -28px;
  border-color: rgba(225, 189, 131, 0.22);
  animation-delay: 260ms;
}

.success-burst-check svg {
  width: 82px;
  height: 82px;
  overflow: visible;
}

.success-burst-ring,
.success-burst-mark {
  fill: none;
  stroke: #f7ffe9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-burst-ring {
  stroke-width: 4;
  opacity: 0.42;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
}

.success-burst-mark {
  stroke-width: 7;
  stroke-dasharray: 78;
  stroke-dashoffset: 78;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.42));
}

.success-burst.is-visible .success-burst-ring {
  animation: success-ring-draw 650ms ease-out 120ms forwards;
}

.success-burst.is-visible .success-burst-mark {
  animation: success-mark-draw 520ms cubic-bezier(0.65, 0, 0.35, 1) 360ms forwards;
}

.success-burst-panel strong {
  margin-top: 6px;
  color: var(--kraft-soft);
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow:
    0 0 18px rgba(225, 189, 131, 0.28),
    0 12px 34px rgba(0, 0, 0, 0.45);
}

.success-burst-panel p {
  max-width: 360px;
  margin: 0;
  color: rgba(248, 244, 236, 0.86);
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.55;
}

@keyframes success-panel-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
    filter: blur(4px);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes success-panel-out {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes success-ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes success-mark-draw {
  70% {
    stroke-dashoffset: 0;
    transform: scale(1.04);
  }

  100% {
    stroke-dashoffset: 0;
    transform: scale(1);
  }
}

@keyframes success-aura {
  0% {
    opacity: 0.84;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes success-box-hop {
  0% {
    opacity: 0;
    transform: translateY(12px) rotate(-2deg) scale(0.9);
  }

  18% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  68% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  78% {
    transform: translateY(-8px) rotate(-1.8deg) scale(1.03);
  }

  88% {
    transform: translateY(3px) rotate(1.2deg) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes success-box-shadow {
  0% {
    opacity: 0;
    transform: scaleX(0.48);
  }

  22% {
    opacity: 0.55;
    transform: scaleX(0.8);
  }

  78% {
    opacity: 0.5;
    transform: scaleX(0.78);
  }

  88% {
    opacity: 0.3;
    transform: scaleX(0.62);
  }

  100% {
    opacity: 0.52;
    transform: scaleX(0.78);
  }
}

@keyframes success-box-back {
  0% {
    opacity: 0;
    transform: translateY(20px) scaleY(0.34);
  }

  55% {
    opacity: 1;
    transform: translateY(0) scaleY(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes success-box-front {
  0% {
    transform: rotateX(-78deg) translateY(-8px);
  }

  62% {
    transform: rotateX(8deg) translateY(0);
  }

  100% {
    transform: rotateX(0deg) translateY(0);
  }
}

@keyframes success-box-left {
  0% {
    opacity: 0;
    transform: rotateY(88deg) translateX(8px);
  }

  60% {
    opacity: 1;
    transform: rotateY(-9deg) translateX(0);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0);
  }
}

@keyframes success-box-right {
  0% {
    opacity: 0;
    transform: rotateY(-88deg) translateX(-8px);
  }

  60% {
    opacity: 1;
    transform: rotateY(9deg) translateX(0);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0);
  }
}

@keyframes success-box-flap-left {
  0% {
    opacity: 0;
    transform: rotate(-18deg) translateY(20px);
  }

  52% {
    opacity: 1;
    transform: rotate(12deg) translateY(0);
  }

  100% {
    opacity: 1;
    transform: rotate(-6deg) translateY(0);
  }
}

@keyframes success-box-flap-right {
  0% {
    opacity: 0;
    transform: rotate(18deg) translateY(20px);
  }

  52% {
    opacity: 1;
    transform: rotate(-12deg) translateY(0);
  }

  100% {
    opacity: 1;
    transform: rotate(6deg) translateY(0);
  }
}

@keyframes success-box-flap-top {
  0% {
    opacity: 0;
    transform: rotateX(78deg) translateY(28px);
  }

  62% {
    opacity: 1;
    transform: rotateX(-12deg) translateY(0);
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video video {
    display: none;
  }

  .success-burst,
  .success-burst-panel,
  .success-burst-panel::after,
  .success-burst-box,
  .success-box-shadow,
  .success-box-back,
  .success-box-left,
  .success-box-right,
  .success-box-front,
  .success-box-flap,
  .success-burst-check::before,
  .success-burst-check::after,
  .success-burst-ring,
  .success-burst-mark {
    animation: none !important;
    transition: none !important;
  }

  .success-burst.is-visible .success-burst-panel {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .success-burst-ring,
  .success-burst-mark {
    stroke-dashoffset: 0;
  }
}

[hidden] {
  display: none !important;
}

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

  .desktop-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-section {
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.9fr);
  }

  .sample-callout {
    --sample-size: clamp(142px, 12vw, 174px);
    top: clamp(320px, 27vw, 420px);
    left: min(45vw, 560px);
  }

  .sample-callout-divider {
    display: none;
  }

  .sample-callout-action {
    width: calc(var(--sample-size) - 8px);
    height: calc(var(--sample-size) - 8px);
  }

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

  .hero-visual {
    order: 3;
    grid-column: 1 / -1;
    width: min(780px, 100%);
    margin: 0 auto;
  }

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

  .profile-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .drawing-builder {
    grid-template-columns: 1fr;
  }

  .drawing-stage {
    min-height: 460px;
  }

  .production-hero-card {
    grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr);
  }

  .production-hero-card img {
    height: 100%;
    min-height: 320px;
  }

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

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  }

  .delivery-summary {
    min-height: 0;
  }
}

@media (max-width: 1120px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    padding: 12px 20px;
  }

  .desktop-nav,
  .phone-link,
  .messenger-links,
  .icon-button,
  .header-order-history {
    display: none;
  }

  .hero-section > .hero-visual {
    display: none;
  }

  .hero-mobile-visual {
    position: relative;
    display: block;
    min-height: clamp(220px, 58vw, 340px);
    margin: 22px 0 0;
    pointer-events: none;
  }

  .hero-mobile-visual::before {
    position: absolute;
    top: 12%;
    left: 50%;
    width: min(92vw, 620px);
    height: 84%;
    content: "";
    background:
      radial-gradient(ellipse at 50% 38%, rgba(226, 184, 118, 0.16), transparent 48%),
      radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.8), transparent 66%);
    filter: blur(18px);
    transform: translateX(-50%);
  }

  .hero-mobile-visual img {
    position: absolute;
    top: 52%;
    left: 50%;
    width: min(92vw, 560px);
    max-width: none;
    transform: translate(-50%, -50%);
    filter: brightness(0.84) contrast(1.08) saturate(0.96) drop-shadow(0 30px 62px rgba(0, 0, 0, 0.62));
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .mobile-toggle {
    display: grid;
  }

  .mobile-panel {
    position: sticky;
    top: 76px;
    z-index: 19;
    display: none;
    padding: 12px 20px 18px;
    background: rgba(7, 9, 9, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .mobile-panel.is-open {
    display: grid;
  }

.mobile-panel a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-call {
  width: 100%;
  min-height: 46px;
  margin: 10px 0 4px;
  color: var(--white);
  background: rgba(47, 111, 69, 0.88);
  border: 1px solid rgba(126, 196, 109, 0.36);
  border-radius: var(--radius);
  font-weight: 800;
}

  .hero-section,
  .sample-section,
  .custom-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-order-history {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: min(100%, 430px);
    margin-top: 16px;
  }

  .hero-order-history .order-history-toggle {
    justify-content: center;
    width: 100%;
  }

  .hero-order-history .order-history-menu {
    right: auto;
    left: 0;
    width: min(430px, calc(100vw - 40px));
  }

  .quote-panel {
    order: 4;
  }

  .hero-visual {
    order: 1;
    position: relative;
    inset: auto;
    z-index: 1;
    min-height: clamp(210px, 56vw, 360px);
    margin: 8px 0 2px;
  }

  .hero-visual::before {
    left: 50%;
    top: 22%;
    width: min(92vw, 620px);
    height: 84%;
    transform: translateX(-50%);
  }

  .hero-visual img {
    left: 50%;
    top: 52%;
    width: min(92vw, 560px);
    transform: translate(-50%, -50%);
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  }

  .category-grid,
  .subcategory-grid,
  .production-card-grid,
  .delivery-grid,
  .fefco-principles,
  .fefco-grid,
  .spec-grid,
  .material-market-grid,
  .material-cards,
  .profile-cards,
  .workflow {
    grid-template-columns: 1fr;
  }

  .delivery-layout,
  .contact-layout,
  .contact-actions,
  .company-details {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: none;
  }

  .category-card.is-flipped {
    grid-column: auto;
    min-height: 620px;
  }

  .category-card.is-flipped .sample-options,
  .category-card.is-flipped .sample-options:has(.sample-tile:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card.is-flipped .sample-options-feature {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .category-card.is-flipped .sample-tile {
    grid-template-rows: 88px auto auto auto;
  }

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

  .category-gallery-info {
    max-height: none;
    padding-bottom: 20px;
  }

  .material-card-wide {
    grid-column: auto;
  }

  .quick-facts div {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 9px 14px;
  }

  .brand {
    gap: 11px;
    min-width: 0;
  }

  .brand-text {
    gap: 1px;
  }

  .brand-text strong {
    font-size: clamp(1rem, 5vw, 1.16rem);
    line-height: 1.02;
    white-space: nowrap;
  }

  .brand-text small {
    font-size: clamp(0.48rem, 2.4vw, 0.58rem);
    line-height: 1.08;
    letter-spacing: 0.055em;
    white-space: nowrap;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0 7px 0 3px;
    border-width: 1.6px;
    border-radius: 7px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-mark::before {
    left: 6px;
    top: 15px;
    width: 22px;
    height: 1.6px;
  }

  .brand-mark::after {
    left: 15px;
    top: 6px;
    width: 1.6px;
    height: 22px;
  }

  .brand-mark span {
    left: 7px;
    top: 7px;
    width: 18px;
    height: 18px;
  }

  .header-actions {
    min-width: 48px;
    justify-content: end;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-panel {
    top: 64px;
  }

  .category-dialog {
    padding: 12px;
  }

  .category-dialog-panel {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }

  .category-dialog-card {
    min-height: 0;
    padding: 16px;
  }

  .subcategory-browser-head,
  .category-gallery-head {
    grid-template-columns: 1fr;
    padding-right: 44px;
  }

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

  .subcategory-card {
    grid-template-rows: 180px auto;
    min-height: 0;
  }

  .category-gallery-stage {
    min-height: 0;
  }

  .category-gallery-media {
    min-height: 260px;
  }

  .category-gallery-badges {
    justify-content: start;
  }

  .category-dialog .card-actions {
    align-items: stretch;
  }

  .category-dialog .card-link,
  .category-dialog .card-secondary {
    width: 100%;
  }

  .card-actions-note {
    width: 100%;
  }
}

.is-page-zoomed-out .site-header {
  grid-template-columns: 1fr auto;
  min-height: 64px;
  gap: 12px;
  padding: 9px 14px;
}

.is-page-zoomed-out .desktop-nav,
.is-page-zoomed-out .phone-link,
.is-page-zoomed-out .messenger-links,
.is-page-zoomed-out .icon-button,
.is-page-zoomed-out .header-order-history,
.is-page-zoomed-out .header-cta {
  display: none;
}

.is-page-zoomed-out .brand {
  gap: 11px;
  min-width: 0;
}

.is-page-zoomed-out .brand-text {
  gap: 1px;
}

.is-page-zoomed-out .brand-text strong {
  font-size: clamp(1rem, 5vw, 1.16rem);
  line-height: 1.02;
  white-space: nowrap;
}

.is-page-zoomed-out .brand-text small {
  font-size: clamp(0.48rem, 2.4vw, 0.58rem);
  line-height: 1.08;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.is-page-zoomed-out .brand-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0 7px 0 3px;
  border-width: 1.6px;
  border-radius: 7px;
}

.is-page-zoomed-out .brand-logo {
  width: 34px;
  height: 34px;
}

.is-page-zoomed-out .brand-mark::before {
  left: 6px;
  top: 15px;
  width: 22px;
  height: 1.6px;
}

.is-page-zoomed-out .brand-mark::after {
  left: 15px;
  top: 6px;
  width: 1.6px;
  height: 22px;
}

.is-page-zoomed-out .brand-mark span {
  left: 7px;
  top: 7px;
  width: 18px;
  height: 18px;
}

.is-page-zoomed-out .header-actions {
  min-width: 48px;
  justify-content: end;
}

.is-page-zoomed-out .mobile-toggle {
  display: grid;
  width: 44px;
  height: 44px;
}

.is-page-zoomed-out .mobile-panel {
  top: 64px;
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 9px 14px;
  }

  .brand {
    gap: 11px;
    min-width: 0;
  }

  .brand-text {
    gap: 1px;
  }

  .brand-text strong {
    font-size: clamp(1rem, 5vw, 1.16rem);
    line-height: 1.02;
    white-space: nowrap;
  }

  .brand-text small {
    font-size: clamp(0.48rem, 2.4vw, 0.58rem);
    line-height: 1.08;
    letter-spacing: 0.055em;
    white-space: nowrap;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0 7px 0 3px;
    border-width: 1.6px;
    border-radius: 7px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-mark::before {
    left: 6px;
    top: 15px;
    width: 22px;
    height: 1.6px;
  }

  .brand-mark::after {
    left: 15px;
    top: 6px;
    width: 1.6px;
    height: 22px;
  }

  .brand-mark span {
    left: 7px;
    top: 7px;
    width: 18px;
    height: 18px;
  }

  .header-actions {
    min-width: 48px;
    justify-content: end;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    max-width: min(100%, 430px);
    margin-top: 12px;
    font-size: clamp(2.28rem, 10.2vw, 2.8rem);
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .sample-callout {
    --sample-size: 136px;
    position: relative;
    top: auto;
    left: auto;
    margin: 18px auto 0;
  }

  .sample-callout-action {
    width: calc(var(--sample-size) - 8px);
    height: calc(var(--sample-size) - 8px);
    padding: 22px 14px 20px;
  }

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

  .form-grid label {
    grid-column: auto;
  }

  .choice-list[data-choice-group="product"],
  .choice-list[data-choice-group="material"],
  .choice-list[data-choice-group="profile"],
  .choice-list[data-choice-group="grade"],
  .choice-list[data-choice-group="cardboard-color"],
  .choice-list[data-choice-group="print-mode"],
  .choice-list[data-choice-group="print-service"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-layout,
  .print-layout {
    grid-template-columns: 1fr;
  }

  .select-grid,
  .print-compact,
  .file-comment-row {
    grid-template-columns: 1fr;
  }

  .print-layout .choice-list[data-choice-group="print-mode"],
  .print-layout .choice-list[data-choice-group="print-service"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-list {
    flex-wrap: wrap;
  }

  .check-option {
    flex: 1 1 120px;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .trust-row div {
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .trust-row svg {
    width: 30px;
    height: 30px;
  }

  .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .quick-facts {
    padding: 0 20px;
  }

  .quick-facts div {
    padding: 18px 14px;
  }

  .hero-visual {
    min-height: 230px;
    margin-top: 16px;
  }

  .quote-panel {
    padding: 20px;
  }

  .production-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .sketch-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .drawing-toolbar {
    display: grid;
    align-items: start;
  }

  .drawing-view-tabs {
    justify-self: start;
  }

  .drawing-stage {
    min-height: 420px;
  }

  .drawing-info dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .production-layout,
  .production-hero-card,
  .production-card-grid {
    grid-template-columns: 1fr;
  }

  .production-hero-card img {
    min-height: 0;
  }

  .production-hero-card div,
  .production-card div {
    padding: 18px;
  }

  .tabs {
    font-size: 0.92rem;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .catalog-map {
    margin-bottom: 16px;
    padding: 14px;
  }

  .catalog-map-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-map-track {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .catalog-map-card {
    min-height: 156px;
  }

  .category-card {
    min-height: 0;
  }

  .category-card.is-flipped {
    min-height: 600px;
  }

  .category-card:not(.is-flipped) .category-card-inner {
    min-height: 0;
  }

  .category-card:not(.is-flipped) .category-front {
    position: relative;
    min-height: 0;
  }

  .category-front {
    grid-template-rows: 220px auto;
  }

  .material-card {
    grid-template-columns: 1fr;
  }

  .material-symbol {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strength-list {
    grid-template-columns: 1fr;
  }

  .category-image {
    min-height: 220px;
  }

  .category-image img {
    max-height: 205px;
  }

  .category-image-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .category-image-caption h3 {
    max-width: 100%;
    font-size: clamp(1.03rem, 5.4vw, 1.24rem);
    line-height: 1.14;
  }

  h2 {
    font-size: clamp(1.78rem, 7.6vw, 2.38rem);
    line-height: 1.12;
  }

  .section-note {
    line-height: 1.58;
  }

  .text-link {
    justify-self: start;
    text-align: left;
  }

  .sample-section,
  .material-cta {
    display: grid;
  }

  .sample-actions {
    display: grid;
  }

  .site-footer {
    display: grid;
    padding-bottom: 112px;
  }

  .footer-contacts {
    justify-items: start;
    text-align: left;
  }

  .request-modal {
    padding: 14px;
  }

  .request-modal-panel {
    gap: 13px;
    padding: 20px;
  }

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

  .order-history-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    max-height: min(520px, 78vh);
    transform-origin: top center;
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .history-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .legal-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 14px;
  }

  .legal-header {
    top: 8px;
    gap: 10px;
  }

  .legal-header .brand-text small {
    display: none;
  }
  .legal-header .brand {
    flex-shrink: 0;
  }
  .legal-header .brand-text strong {
    font-size: 16px;
  }

  .legal-document {
    padding: 22px 16px;
  }

  .legal-hero {
    min-height: 240px;
    padding: 24px 0 30px;
  }

  .legal-document h1 {
    font-size: 32px;
  }

  .legal-document > section {
    display: block;
    padding: 27px 0 30px;
  }

  .legal-document > section h2 {
    position: static;
    margin-bottom: 16px;
  }

  .legal-actions {
    display: grid;
  }

  .privacy-consent {
    font-size: 0.76rem;
  }
}

html[data-theme="premium-light"] {
  --bg: #f2f0ea;
  --bg-soft: #ded9cf;
  --panel: #f2eee5;
  --panel-strong: #faf7ef;
  --line: rgba(27, 28, 25, 0.15);
  --text: #171817;
  --muted: #5f625f;
  --muted-2: #85857f;
  --green: #8c713f;
  --green-2: #c3a264;
  --kraft: #9b7842;
  --kraft-soft: #c7a66b;
  --white: #ffffff;
  --shadow: 0 26px 74px rgba(72, 54, 34, 0.17);
  color-scheme: light;
}

html[data-theme="premium-light"] body {
  background:
    radial-gradient(circle at 78% 18%, rgba(196, 174, 130, 0.15), transparent 34rem),
    radial-gradient(circle at 18% 6%, rgba(255, 255, 255, 0.76), transparent 28rem),
    linear-gradient(180deg, #f5f3ee 0%, #ebe8df 48%, #ded8cd 100%);
  color: var(--text);
}

html[data-theme="premium-light"] body::before {
  background-image:
    linear-gradient(rgba(24, 25, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 25, 22, 0.042) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, black, transparent 84%);
}

html[data-theme="premium-light"] .site-shell {
  box-shadow: 0 0 0 1px rgba(42, 35, 26, 0.04);
}

html[data-theme="premium-light"] .site-header {
  background: rgba(245, 243, 238, 0.92);
  border-bottom-color: rgba(27, 28, 25, 0.14);
  box-shadow: 0 14px 44px rgba(42, 42, 38, 0.12);
}

html[data-theme="premium-light"] .site-header .brand-logo {
  filter: brightness(.17);
}

html[data-theme="premium-light"] .brand-text strong,
html[data-theme="premium-light"] .desktop-nav,
html[data-theme="premium-light"] .desktop-nav a,
html[data-theme="premium-light"] .mobile-menu a,
html[data-theme="premium-light"] .phone-link-number {
  color: #181914;
}

html[data-theme="premium-light"] .brand-text small,
html[data-theme="premium-light"] .phone-link small,
html[data-theme="premium-light"] .hero-lead,
html[data-theme="premium-light"] .section-note,
html[data-theme="premium-light"] .material-market-grid p,
html[data-theme="premium-light"] .delivery-grid p,
html[data-theme="premium-light"] .contact-action small,
html[data-theme="premium-light"] .request-modal-panel p,
html[data-theme="premium-light"] .history-item-meta,
html[data-theme="premium-light"] .history-empty {
  color: rgba(23, 24, 22, 0.68);
}

html[data-theme="premium-light"] .hero-section {
  border-bottom-color: rgba(42, 35, 26, 0.12);
}

html[data-theme="premium-light"] .hero-section::before {
  background:
    radial-gradient(circle at 52% 58%, rgba(156, 127, 80, 0.15), transparent 23rem),
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.64), transparent 21rem);
}

html[data-theme="premium-light"] .hero-section::after {
  background:
    linear-gradient(90deg, rgba(245, 243, 238, 0.97) 0%, rgba(245, 243, 238, 0.78) 27%, rgba(245, 243, 238, 0.18) 52%, rgba(245, 243, 238, 0.76) 100%),
    linear-gradient(180deg, rgba(245, 243, 238, 0) 0%, rgba(222, 216, 205, 0.82) 100%);
}

html[data-theme="premium-light"] .hero-copy h1,
html[data-theme="premium-light"] .section-heading h2,
html[data-theme="premium-light"] .production-section h2,
html[data-theme="premium-light"] .sketch-section h2,
html[data-theme="premium-light"] .sample-section h2,
html[data-theme="premium-light"] .materials-section h2,
html[data-theme="premium-light"] .delivery-section h2,
html[data-theme="premium-light"] .contact-section h2,
html[data-theme="premium-light"] .request-modal-panel h2 {
  color: #171816;
  text-shadow: none;
}

html[data-theme="premium-light"] .hero-visual::before {
  background: radial-gradient(circle, rgba(62, 56, 48, 0.26), transparent 68%);
}

html[data-theme="premium-light"] .hero-visual img,
html[data-theme="premium-light"] .hero-mobile-visual img {
  filter: brightness(0.94) contrast(1.06) saturate(0.98) drop-shadow(0 28px 44px rgba(77, 53, 29, 0.20));
}

html[data-theme="premium-light"] .button.primary,
html[data-theme="premium-light"] .header-cta,
html[data-theme="premium-light"] .calc-form .button.full {
  background: linear-gradient(180deg, #2d2f2c 0%, #141614 100%);
  border-color: rgba(195, 162, 100, 0.34);
  color: #f8f5ee;
  box-shadow: 0 16px 36px rgba(24, 25, 22, 0.22);
}

html[data-theme="premium-light"] .button.primary:hover,
html[data-theme="premium-light"] .header-cta:hover,
html[data-theme="premium-light"] .calc-form .button.full:hover {
  background: linear-gradient(180deg, #363833 0%, #191b18 100%);
  box-shadow: 0 18px 46px rgba(24, 25, 22, 0.28);
}

html[data-theme="premium-light"] .button.ghost,
html[data-theme="premium-light"] .history-action,
html[data-theme="premium-light"] .order-history-toggle,
html[data-theme="premium-light"] .order-history-clear,
html[data-theme="premium-light"] .category-dialog-close,
html[data-theme="premium-light"] .request-modal-close {
  background: rgba(247, 245, 238, 0.78);
  border-color: rgba(27, 28, 25, 0.16);
  color: #24241f;
}

html[data-theme="premium-light"] .phone-link-icon,
html[data-theme="premium-light"] .contact-action-icon,
html[data-theme="premium-light"] .messenger-link {
  background: rgba(247, 245, 238, 0.76);
  border-color: rgba(27, 28, 25, 0.14);
  box-shadow: 0 14px 32px rgba(42, 42, 38, 0.12);
}

html[data-theme="premium-light"] .messenger-link-telegram,
html[data-theme="premium-light"] .contact-action-icon-telegram {
  color: #ffffff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.30), transparent 28%),
    linear-gradient(145deg, #35aee2, #178ac2);
  border-color: rgba(52, 154, 203, 0.38);
  box-shadow: 0 14px 30px rgba(31, 126, 182, 0.22);
}

html[data-theme="premium-light"] .messenger-link-max,
html[data-theme="premium-light"] .contact-action-icon-max {
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(145deg, #5667ff, #16b8ee);
  border-color: rgba(86, 103, 255, 0.34);
  box-shadow: 0 14px 30px rgba(50, 102, 218, 0.20);
}

html[data-theme="premium-light"] .quote-panel,
html[data-theme="premium-light"] .calc-form,
html[data-theme="premium-light"] .production-hero-card,
html[data-theme="premium-light"] .production-card,
html[data-theme="premium-light"] .drawing-stage,
html[data-theme="premium-light"] .drawing-info,
html[data-theme="premium-light"] .sample-section,
html[data-theme="premium-light"] .material-market-grid article,
html[data-theme="premium-light"] .material-cta,
html[data-theme="premium-light"] .material-card,
html[data-theme="premium-light"] .delivery-grid article,
html[data-theme="premium-light"] .delivery-summary,
html[data-theme="premium-light"] .contact-action,
html[data-theme="premium-light"] .company-details article,
html[data-theme="premium-light"] .contact-form,
html[data-theme="premium-light"] .order-history-menu,
html[data-theme="premium-light"] .history-item,
html[data-theme="premium-light"] .request-modal-panel,
html[data-theme="premium-light"] .cookie-card,
html[data-theme="premium-light"] .legal-document {
  background:
    linear-gradient(180deg, #f6f2ea 0%, #ece6dc 100%);
  border-color: rgba(27, 28, 25, 0.16);
  box-shadow: var(--shadow);
  color: var(--text);
}

html[data-theme="premium-light"] .production-section {
  border-bottom-color: rgba(42, 35, 26, 0.12);
}

html[data-theme="premium-light"] .production-section::before {
  background: radial-gradient(circle, rgba(195, 162, 100, 0.16), transparent 64%);
}

html[data-theme="premium-light"] .production-hero-card,
html[data-theme="premium-light"] .production-card {
  background: linear-gradient(180deg, #f1eadf 0%, #e9dfd0 100%);
  border-color: rgba(39, 34, 27, 0.16);
  box-shadow: 0 16px 42px rgba(42, 42, 38, 0.11);
}

html[data-theme="premium-light"] .production-hero-card img,
html[data-theme="premium-light"] .production-card img {
  background: #191b18;
}

html[data-theme="premium-light"] .production-hero-card span,
html[data-theme="premium-light"] .production-card span {
  color: #8c713f;
}

html[data-theme="premium-light"] .production-hero-card h3,
html[data-theme="premium-light"] .production-card h3 {
  color: #171816;
}

html[data-theme="premium-light"] .production-hero-card p,
html[data-theme="premium-light"] .production-card p {
  color: rgba(23, 24, 22, 0.68);
}

html[data-theme="premium-light"] .sketch-section {
  border-bottom-color: rgba(42, 35, 26, 0.12);
}

html[data-theme="premium-light"] .sketch-section::before {
  background: radial-gradient(circle, rgba(195, 162, 100, 0.16), transparent 62%);
}

html[data-theme="premium-light"] .drawing-stage,
html[data-theme="premium-light"] .drawing-info {
  background: linear-gradient(180deg, #f1eadf 0%, #e9dfd0 100%);
  border-color: rgba(39, 34, 27, 0.16);
  color: #181914;
  box-shadow: 0 16px 42px rgba(42, 42, 38, 0.11);
}

html[data-theme="premium-light"] .drawing-canvas {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(195, 162, 100, 0.10), transparent 42%),
    #111411;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

html[data-theme="premium-light"] .drawing-toolbar {
  border-bottom-color: rgba(39, 34, 27, 0.12);
}

html[data-theme="premium-light"] .drawing-view-tabs {
  background: rgba(255, 255, 255, 0.36);
  border-color: rgba(39, 34, 27, 0.12);
}

html[data-theme="premium-light"] .drawing-view-tabs button {
  color: rgba(23, 24, 22, 0.64);
}

html[data-theme="premium-light"] .drawing-view-tabs button.is-active {
  color: #f8f5ee;
  background: linear-gradient(180deg, #2d2f2c 0%, #141614 100%);
}

html[data-theme="premium-light"] .drawing-toolbar > span,
html[data-theme="premium-light"] .drawing-info > span {
  color: #8c713f;
}

html[data-theme="premium-light"] .drawing-info h3,
html[data-theme="premium-light"] .drawing-info dd {
  color: #171816;
}

html[data-theme="premium-light"] .drawing-info p,
html[data-theme="premium-light"] .drawing-info dt {
  color: rgba(23, 24, 22, 0.68);
}

html[data-theme="premium-light"] .drawing-info dl,
html[data-theme="premium-light"] .drawing-info dl div {
  border-color: rgba(39, 34, 27, 0.12);
}

html[data-theme="premium-light"] .drawing-mini-link {
  color: #181914;
  background: transparent;
  border-color: rgba(49, 42, 31, 0.16);
}

html[data-theme="premium-light"] .drawing-mini-link:hover,
html[data-theme="premium-light"] .drawing-mini-link:focus-visible {
  color: #6c552e;
  background: rgba(195, 162, 100, 0.12);
  border-color: rgba(195, 162, 100, 0.28);
}

html[data-theme="premium-light"] .calc-form {
  background: #efe7dc;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
}

html[data-theme="premium-light"] .quote-panel {
  background: #efe7dc;
  border-color: rgba(27, 28, 25, 0.18);
  backdrop-filter: none;
  box-shadow: none;
}

html[data-theme="premium-light"] .quote-panel *,
html[data-theme="premium-light"] .quote-panel *::before,
html[data-theme="premium-light"] .quote-panel *::after {
  box-shadow: none;
}

html[data-theme="premium-light"] .sample-callout {
  background: transparent;
  box-shadow: none;
}

html[data-theme="premium-light"] .sample-callout::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 254deg,
    rgba(24, 25, 22, 0.06) 276deg,
    rgba(255, 255, 255, 0.98) 294deg,
    rgba(195, 162, 100, 0.76) 310deg,
    transparent 334deg,
    transparent 360deg
  );
}

html[data-theme="premium-light"] .sample-callout::after {
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.48), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
    rgba(38, 40, 36, 0.74);
  border-color: rgba(195, 162, 100, 0.34);
}

html[data-theme="premium-light"] .sample-callout-visual {
  background: none;
  border: 0;
}

html[data-theme="premium-light"] .sample-callout-copy strong,
html[data-theme="premium-light"] .card-link,
html[data-theme="premium-light"] .material-market-grid .card-link,
html[data-theme="premium-light"] .order-history-toggle:hover,
html[data-theme="premium-light"] .order-history.is-open .order-history-toggle {
  color: #8c713f;
}

html[data-theme="premium-light"] .sample-callout-copy span {
  color: rgba(23, 24, 22, 0.66);
}

html[data-theme="premium-light"] .trust-row div,
html[data-theme="premium-light"] .trust-row span {
  color: rgba(23, 24, 22, 0.72);
}

html[data-theme="premium-light"] .trust-row svg {
  color: #8c713f;
  stroke: #8c713f;
}

html[data-theme="premium-light"] .category-face {
  background:
    linear-gradient(180deg, rgba(30, 31, 28, 0.98), rgba(17, 18, 16, 1));
  border-color: rgba(78, 58, 36, 0.24);
  box-shadow: 0 18px 48px rgba(62, 45, 28, 0.18);
}

html[data-theme="premium-light"] .category-front,
html[data-theme="premium-light"] .category-back,
html[data-theme="premium-light"] .category-dialog-panel {
  background: linear-gradient(180deg, #f7f2e8 0%, #e6ded0 100%);
  border-color: rgba(39, 34, 27, 0.16);
  color: #181914;
}

html[data-theme="premium-light"] .category-dialog-panel {
  border-color: rgba(195, 162, 100, 0.28);
  box-shadow:
    0 34px 110px rgba(72, 54, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="premium-light"] .category-card:hover .category-face,
html[data-theme="premium-light"] .category-card.is-selected .category-face,
html[data-theme="premium-light"] .category-card.is-flipped .category-face {
  border-color: rgba(195, 162, 100, 0.38);
  box-shadow: 0 24px 58px rgba(62, 45, 28, 0.18);
}

html[data-theme="premium-light"] .category-image,
html[data-theme="premium-light"] .sample-feature-media,
html[data-theme="premium-light"] .sample-gallery-thumb,
html[data-theme="premium-light"] .lightbox-media,
html[data-theme="premium-light"] .category-dialog-stage {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.08), transparent 34rem),
    linear-gradient(180deg, #20211e, #10110f);
}

html[data-theme="premium-light"] .category-image-caption,
html[data-theme="premium-light"] .sample-feature-caption {
  background: linear-gradient(180deg, rgba(10, 12, 11, 0), rgba(12, 15, 14, 0.82) 42%, rgba(12, 15, 14, 0.94));
}

html[data-theme="premium-light"] .category-image-caption h3,
html[data-theme="premium-light"] .category-back-head h3,
html[data-theme="premium-light"] .sample-tile strong,
html[data-theme="premium-light"] .sample-feature-caption strong,
html[data-theme="premium-light"] .category-dialog-panel h2,
html[data-theme="premium-light"] .category-dialog-panel h3 {
  color: #181914;
}

html[data-theme="premium-light"] .sample-tile strong,
html[data-theme="premium-light"] .sample-feature-caption strong,
html[data-theme="premium-light"] .category-gallery-thumb span {
  color: #fff7ea;
}

html[data-theme="premium-light"] .category-gallery-info h4 {
  color: #181914;
}

html[data-theme="premium-light"] .category-image-caption h3,
html[data-theme="premium-light"] .category-gallery-thumb span {
  color: #fff7ea;
}

html[data-theme="premium-light"] .category-body,
html[data-theme="premium-light"] .category-back {
  color: #181914;
}

html[data-theme="premium-light"] .sample-tile,
html[data-theme="premium-light"] .sample-feature {
  color: #f8f4ec;
}

html[data-theme="premium-light"] .category-body p,
html[data-theme="premium-light"] .category-back-head p,
html[data-theme="premium-light"] .category-gallery-head p {
  color: rgba(24, 25, 20, 0.66);
}

html[data-theme="premium-light"] .category-gallery-info p {
  color: #5f625f;
}

html[data-theme="premium-light"] .category-gallery-facts span {
  color: #755c31;
  background: rgba(195, 162, 100, 0.13);
  border-color: rgba(195, 162, 100, 0.26);
}

html[data-theme="premium-light"] .sample-tile {
  background:
    linear-gradient(180deg, #252620 0%, #151713 100%);
  border-color: rgba(195, 162, 100, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

html[data-theme="premium-light"] .sample-tile > span,
html[data-theme="premium-light"] .sample-feature-copy,
html[data-theme="premium-light"] .category-back-head p {
  color: rgba(248, 244, 236, 0.68);
}

html[data-theme="premium-light"] .category-gallery-badges span,
html[data-theme="premium-light"] .category-gallery-facts span {
  color: #f7e5c5;
  background: linear-gradient(180deg, rgba(208, 160, 90, 0.18), rgba(208, 160, 90, 0.07));
  border-color: rgba(208, 160, 90, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(208, 160, 90, 0.10);
}

html[data-theme="premium-light"] .category-gallery-badges span:first-child {
  color: #fff7ea;
  background: linear-gradient(180deg, rgba(208, 160, 90, 0.28), rgba(208, 160, 90, 0.12));
  border-color: rgba(208, 160, 90, 0.48);
}

html[data-theme="premium-light"] .category-gallery-strip {
  scrollbar-color: rgba(208, 160, 90, 0.42) rgba(255, 255, 255, 0.05);
}

html[data-theme="premium-light"] .category-gallery-nav {
  color: #fff7ea;
  background:
    radial-gradient(circle at 50% 42%, rgba(208, 160, 90, 0.20), transparent 70%),
    rgba(17, 18, 16, 0.72);
  border-color: rgba(208, 160, 90, 0.30);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(208, 160, 90, 0.10);
}

html[data-theme="premium-light"] .category-gallery-nav:hover,
html[data-theme="premium-light"] .category-gallery-nav:focus-visible {
  background:
    radial-gradient(circle at 50% 42%, rgba(208, 160, 90, 0.34), transparent 72%),
    rgba(95, 62, 30, 0.68);
  border-color: rgba(208, 160, 90, 0.56);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(208, 160, 90, 0.18);
}

html[data-theme="premium-light"] .category-gallery-info,
html[data-theme="premium-light"] .category-gallery-thumb {
  background: linear-gradient(180deg, #24261f 0%, #151713 100%);
  border-color: rgba(195, 162, 100, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

html[data-theme="premium-light"] .category-gallery-info {
  background: linear-gradient(180deg, #fbf7ed 0%, #e8dfd0 100%);
  border-color: rgba(195, 162, 100, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 28px rgba(72, 54, 34, 0.11);
}

html[data-theme="premium-light"] .category-dialog .card-link {
  color: #f8f5ee;
  background: linear-gradient(180deg, #2d2f2c 0%, #141614 100%);
  border-color: rgba(195, 162, 100, 0.34);
  box-shadow: 0 16px 36px rgba(24, 25, 22, 0.20);
}

html[data-theme="premium-light"] .category-dialog .card-link:hover,
html[data-theme="premium-light"] .category-dialog .card-link:focus-visible {
  background: linear-gradient(180deg, #363833 0%, #191b18 100%);
  border-color: rgba(195, 162, 100, 0.48);
}

html[data-theme="premium-light"] .category-gallery-thumb:hover,
html[data-theme="premium-light"] .category-gallery-thumb:focus-visible,
html[data-theme="premium-light"] .category-gallery-thumb.is-active,
html[data-theme="premium-light"] .sample-gallery-thumb.is-current,
html[data-theme="premium-light"] .sample-tile.is-picked {
  background: linear-gradient(180deg, #2b2c25 0%, #171914 100%);
  border-color: rgba(195, 162, 100, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 34px rgba(0, 0, 0, 0.20),
    0 0 0 1px rgba(195, 162, 100, 0.10);
}

html[data-theme="premium-light"] .sample-feature {
  background: linear-gradient(180deg, #23251f 0%, #151713 100%);
  border-color: rgba(195, 162, 100, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

html[data-theme="premium-light"] .sample-feature-media,
html[data-theme="premium-light"] .sample-gallery-thumb,
html[data-theme="premium-light"] .category-gallery-media {
  border-color: rgba(195, 162, 100, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="premium-light"] .sample-feature-copy strong,
html[data-theme="premium-light"] .category-gallery-info small {
  color: #8c713f;
}

html[data-theme="premium-light"] .category-image-caption span,
html[data-theme="premium-light"] .category-back-head span {
  background: rgba(195, 162, 100, 0.16);
  border-color: rgba(195, 162, 100, 0.30);
  color: #e7c987;
}

html[data-theme="premium-light"] .material-market-grid span,
html[data-theme="premium-light"] .material-card-body > span,
html[data-theme="premium-light"] .sample-badge span {
  background: rgba(195, 162, 100, 0.14);
  border-color: rgba(195, 162, 100, 0.28);
  color: #7d6334;
}

html[data-theme="premium-light"] input,
html[data-theme="premium-light"] select,
html[data-theme="premium-light"] textarea,
html[data-theme="premium-light"] .custom-select-button {
  background: transparent;
  border-color: rgba(49, 42, 31, 0.20);
  color: #181914;
  box-shadow: none;
}

html[data-theme="premium-light"] .quote-panel .tabs,
html[data-theme="premium-light"] .quote-panel .tab,
html[data-theme="premium-light"] .calc-form label span,
html[data-theme="premium-light"] .choice-label,
html[data-theme="premium-light"] .custom-select-value,
html[data-theme="premium-light"] .check-option,
html[data-theme="premium-light"] .check-option span,
html[data-theme="premium-light"] .upload-box,
html[data-theme="premium-light"] .upload-box span,
html[data-theme="premium-light"] .order-summary,
html[data-theme="premium-light"] .order-summary td,
html[data-theme="premium-light"] .order-summary th {
  color: #181914;
}

html[data-theme="premium-light"] .contact-action,
html[data-theme="premium-light"] .company-details article,
html[data-theme="premium-light"] .contact-form {
  background: linear-gradient(180deg, #fbf7ef 0%, #e9e0d2 100%);
  border-color: rgba(39, 34, 27, 0.15);
  box-shadow:
    0 18px 46px rgba(72, 54, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #181914;
}

html[data-theme="premium-light"] .contact-action:hover,
html[data-theme="premium-light"] .company-details article:hover {
  background: linear-gradient(180deg, #fffaf1 0%, #eadfce 100%);
  border-color: rgba(195, 162, 100, 0.34);
}

html[data-theme="premium-light"] .contact-action > span:not(.contact-action-icon),
html[data-theme="premium-light"] .company-details span {
  color: #9b7842;
}

html[data-theme="premium-light"] .contact-action strong,
html[data-theme="premium-light"] .company-details strong {
  color: #181914;
}

html[data-theme="premium-light"] .contact-action small,
html[data-theme="premium-light"] .company-details p,
html[data-theme="premium-light"] .contact-form .form-head p {
  color: #5f625f;
}

html[data-theme="premium-light"] .calc-form label > span,
html[data-theme="premium-light"] .choice-label,
html[data-theme="premium-light"] .order-summary caption,
html[data-theme="premium-light"] .order-summary th {
  color: rgba(23, 24, 22, 0.62);
}

html[data-theme="premium-light"] .check-option,
html[data-theme="premium-light"] .upload-box {
  background: transparent;
  border-color: rgba(49, 42, 31, 0.18);
  box-shadow: none;
}

html[data-theme="premium-light"] .privacy-consent {
  background: transparent;
  border-color: rgba(49, 42, 31, 0.14);
}

html[data-theme="premium-light"] .clear-order,
html[data-theme="premium-light"] .site-footer,
html[data-theme="premium-light"] .site-footer a,
html[data-theme="premium-light"] .footer-cookie-button {
  color: rgba(23, 24, 22, 0.72);
}

html[data-theme="premium-light"] .sample-callout-action {
  background: transparent;
  border-color: transparent;
  color: #f8f5ee;
}

html[data-theme="premium-light"] .sample-callout:hover .sample-callout-action,
html[data-theme="premium-light"] .sample-callout:focus-visible .sample-callout-action,
html[data-theme="premium-light"] .sample-callout-action:hover,
html[data-theme="premium-light"] .sample-callout-action:focus-visible {
  background: transparent;
  border-color: transparent;
  color: #fff7ea;
}

html[data-theme="premium-light"] .category-image-caption span,
html[data-theme="premium-light"] .category-back-head span,
html[data-theme="premium-light"] .category-gallery-badges span,
html[data-theme="premium-light"] .category-gallery-badges span:first-child,
html[data-theme="premium-light"] .category-gallery-facts span,
html[data-theme="premium-light"] .material-market-grid span,
html[data-theme="premium-light"] .material-card-body > span,
html[data-theme="premium-light"] .sample-badge span {
  background: linear-gradient(180deg, #34342e 0%, #1d1f1b 100%);
  border-color: rgba(195, 162, 100, 0.38);
  color: #f8f5ee;
  box-shadow: none;
}

html[data-theme="premium-light"] .category-back-head p,
html[data-theme="premium-light"] .category-gallery-head p,
html[data-theme="premium-light"] .category-gallery-info p,
html[data-theme="premium-light"] .category-body p {
  color: #5f625f;
}

html[data-theme="premium-light"] .category-gallery-info small,
html[data-theme="premium-light"] .sample-feature-copy strong {
  color: #8c713f;
}

html[data-theme="premium-light"] .sample-badge {
  background: transparent;
  border-color: rgba(195, 162, 100, 0.34);
}

html[data-theme="premium-light"] .sample-badge span {
  background: transparent;
  border: 0;
  color: #181914;
}

html[data-theme="premium-light"] .sample-badge strong {
  color: #181914;
}

html[data-theme="premium-light"] .delivery-summary .button.ghost {
  background: linear-gradient(180deg, #2d2f2c 0%, #141614 100%);
  border-color: rgba(195, 162, 100, 0.34);
  color: #f8f5ee;
}

html[data-theme="premium-light"] .delivery-summary .button.ghost:hover,
html[data-theme="premium-light"] .delivery-summary .button.ghost:focus-visible {
  background: linear-gradient(180deg, #363833 0%, #191b18 100%);
  border-color: rgba(195, 162, 100, 0.50);
  color: #fff7ea;
}

html[data-theme="premium-light"] .clear-order:hover,
html[data-theme="premium-light"] .site-footer a:hover,
html[data-theme="premium-light"] .footer-cookie-button:hover,
html[data-theme="premium-light"] .footer-cookie-button:focus-visible {
  color: #6c552e;
}

html[data-theme="premium-light"] .footer-cookie-button {
  background: rgba(247, 245, 238, 0.72);
  border-color: rgba(27, 28, 25, 0.14);
}

html[data-theme="premium-light"] input::placeholder,
html[data-theme="premium-light"] textarea::placeholder {
  color: rgba(23, 24, 22, 0.42);
}

html[data-theme="premium-light"] .custom-select-list {
  background:
    linear-gradient(180deg, rgba(249, 247, 241, 0.98), rgba(234, 230, 220, 0.98));
  border-color: rgba(27, 28, 25, 0.16);
  box-shadow: 0 18px 46px rgba(42, 42, 38, 0.16);
}

html[data-theme="premium-light"] .custom-select-option {
  color: #1d1d18;
}

html[data-theme="premium-light"] .custom-select-option:hover,
html[data-theme="premium-light"] .custom-select-option:focus-visible,
html[data-theme="premium-light"] .custom-select-option.is-selected {
  background: rgba(195, 162, 100, 0.18);
  color: #181914;
}

html[data-theme="premium-light"] .upload-box,
html[data-theme="premium-light"] .order-summary,
html[data-theme="premium-light"] .privacy-consent {
  background: transparent;
  border-color: rgba(49, 42, 31, 0.14);
}

html[data-theme="premium-light"] .order-summary {
  background: transparent;
  border-color: rgba(49, 42, 31, 0.15);
}

html[data-theme="premium-light"] .order-summary tr,
html[data-theme="premium-light"] .history-item,
html[data-theme="premium-light"] .material-card dl div {
  border-color: rgba(39, 34, 27, 0.12);
}

html[data-theme="premium-light"] .history-status::before {
  background: #8c713f;
}

html[data-theme="premium-light"] .order-history.has-new .order-history-count {
  background: transparent;
  border-color: #c3a264;
  color: #8c713f;
}

html[data-theme="premium-light"] .order-history-count {
  background: transparent;
  border-color: rgba(39, 34, 27, 0.22);
  color: #171816;
}

html[data-theme="premium-light"] .material-advice-card,
html[data-theme="premium-light"] .delivery-summary,
html[data-theme="premium-light"] .material-cta {
  background:
    radial-gradient(circle at 88% 20%, rgba(195, 162, 100, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(247, 245, 238, 0.90), rgba(229, 224, 214, 0.82));
  border-color: rgba(195, 162, 100, 0.22);
}

html[data-theme="premium-light"] .notice,
html[data-theme="premium-light"] .success-toast {
  background: rgba(247, 245, 238, 0.94);
  border-color: rgba(195, 162, 100, 0.30);
  color: #181914;
}

html[data-theme="premium-light"] .request-modal,
html[data-theme="premium-light"] .category-dialog,
html[data-theme="premium-light"] .lightbox,
html[data-theme="premium-light"] .cookie-consent {
  background: rgba(30, 25, 18, 0.34);
  backdrop-filter: blur(14px);
}

html[data-theme="premium-light"] .site-footer {
  border-top-color: rgba(39, 34, 27, 0.14);
  color: rgba(23, 24, 22, 0.70);
}

html[data-theme="graphite-blue"] {
  --bg: #061016;
  --bg-soft: #0c171d;
  --panel: rgba(13, 22, 27, 0.90);
  --panel-strong: #101b22;
  --line: rgba(190, 225, 242, 0.18);
  --text: #f2fbff;
  --muted: #adbec7;
  --muted-2: #748b94;
  --green: #4f8da0;
  --green-2: #9fdcf2;
  --kraft: #c28a4a;
  --kraft-soft: #e3bd7c;
  color-scheme: dark;
}

html[data-theme="graphite-blue"] body {
  background:
    radial-gradient(circle at 70% 18%, rgba(91, 184, 224, 0.17), transparent 34rem),
    radial-gradient(circle at 42% 58%, rgba(194, 138, 74, 0.11), transparent 28rem),
    linear-gradient(180deg, #061016 0%, #0b151a 48%, #071015 100%);
}

html[data-theme="graphite-blue"] body::before {
  background-image:
    linear-gradient(rgba(190, 225, 242, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 225, 242, 0.028) 1px, transparent 1px);
}

html[data-theme="graphite-blue"] .site-header {
  background: rgba(7, 14, 18, 0.84);
  border-bottom-color: rgba(190, 225, 242, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.30);
}

html[data-theme="graphite-blue"] .desktop-nav a:hover,
html[data-theme="graphite-blue"] .mobile-menu a:hover,
html[data-theme="graphite-blue"] .phone-link:hover .phone-link-number,
html[data-theme="graphite-blue"] .card-link,
html[data-theme="graphite-blue"] .material-market-grid .card-link,
html[data-theme="graphite-blue"] .clear-order:hover,
html[data-theme="graphite-blue"] .site-footer a:hover,
html[data-theme="graphite-blue"] .footer-cookie-button:hover,
html[data-theme="graphite-blue"] .footer-cookie-button:focus-visible {
  color: #9cdefa;
}

html[data-theme="graphite-blue"] .button.primary,
html[data-theme="graphite-blue"] .header-cta,
html[data-theme="graphite-blue"] .calc-form .button.full,
html[data-theme="graphite-blue"] .request-modal-submit,
html[data-theme="graphite-blue"] .contact-form .button.full {
  color: #f8fcff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(143, 211, 234, 0.12), rgba(143, 211, 234, 0.045)),
    rgba(7, 17, 21, 0.46);
  border-color: rgba(143, 211, 234, 0.40);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(143, 211, 234, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -18px 34px rgba(143, 211, 234, 0.055);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

html[data-theme="graphite-blue"] .button.primary:hover,
html[data-theme="graphite-blue"] .header-cta:hover,
html[data-theme="graphite-blue"] .calc-form .button.full:hover,
html[data-theme="graphite-blue"] .request-modal-submit:hover,
html[data-theme="graphite-blue"] .contact-form .button.full:hover {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(143, 211, 234, 0.19), rgba(143, 211, 234, 0.085)),
    rgba(11, 27, 33, 0.58);
  border-color: rgba(162, 226, 255, 0.62);
  box-shadow:
    0 20px 52px rgba(29, 112, 149, 0.24),
    0 0 0 1px rgba(143, 211, 234, 0.16) inset,
    0 0 34px rgba(143, 211, 234, 0.16);
}

html[data-theme="graphite-blue"] .button.ghost,
html[data-theme="graphite-blue"] .order-history-toggle,
html[data-theme="graphite-blue"] .history-action,
html[data-theme="graphite-blue"] .order-history-clear,
html[data-theme="graphite-blue"] .category-dialog-close,
html[data-theme="graphite-blue"] .request-modal-close,
html[data-theme="graphite-blue"] .footer-cookie-button {
  background: rgba(190, 225, 242, 0.045);
  border-color: rgba(190, 225, 242, 0.18);
  color: #f6fbff;
}

html[data-theme="graphite-blue"] .button.ghost:hover,
html[data-theme="graphite-blue"] .order-history-toggle:hover,
html[data-theme="graphite-blue"] .order-history.is-open .order-history-toggle,
html[data-theme="graphite-blue"] .history-action:hover,
html[data-theme="graphite-blue"] .order-history-clear:hover,
html[data-theme="graphite-blue"] .category-dialog-close:hover,
html[data-theme="graphite-blue"] .request-modal-close:hover {
  background: rgba(143, 211, 234, 0.10);
  border-color: rgba(143, 211, 234, 0.30);
}

html[data-theme="graphite-blue"] .phone-link-icon,
html[data-theme="graphite-blue"] .contact-action-icon,
html[data-theme="graphite-blue"] .messenger-link {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(143, 211, 234, 0.045)),
    rgba(7, 13, 16, 0.72);
  border-color: rgba(190, 225, 242, 0.18);
}

html[data-theme="graphite-blue"] .quote-panel,
html[data-theme="graphite-blue"] .calc-form,
html[data-theme="graphite-blue"] .catalog-map,
html[data-theme="graphite-blue"] .production-hero-card,
html[data-theme="graphite-blue"] .production-card,
html[data-theme="graphite-blue"] .drawing-stage,
html[data-theme="graphite-blue"] .drawing-info,
html[data-theme="graphite-blue"] .material-market-grid article,
html[data-theme="graphite-blue"] .material-cta,
html[data-theme="graphite-blue"] .material-card,
html[data-theme="graphite-blue"] .delivery-grid article,
html[data-theme="graphite-blue"] .delivery-summary,
html[data-theme="graphite-blue"] .contact-action,
html[data-theme="graphite-blue"] .company-details article,
html[data-theme="graphite-blue"] .contact-form,
html[data-theme="graphite-blue"] .order-history-menu,
html[data-theme="graphite-blue"] .history-item,
html[data-theme="graphite-blue"] .request-modal-panel,
html[data-theme="graphite-blue"] .cookie-card,
html[data-theme="graphite-blue"] .legal-document {
  background:
    linear-gradient(180deg, rgba(15, 24, 28, 0.90), rgba(8, 14, 17, 0.84));
  border-color: rgba(190, 225, 242, 0.14);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="graphite-blue"] .category-card,
html[data-theme="graphite-blue"] .catalog-map-card,
html[data-theme="graphite-blue"] .category-dialog-panel,
html[data-theme="graphite-blue"] .category-dialog-card,
html[data-theme="graphite-blue"] .subcategory-card,
html[data-theme="graphite-blue"] .category-model-preview,
html[data-theme="graphite-blue"] .sample-feature,
html[data-theme="graphite-blue"] .sample-tile,
html[data-theme="graphite-blue"] .category-gallery-thumb,
html[data-theme="graphite-blue"] .sample-gallery-thumb {
  background:
    linear-gradient(180deg, rgba(13, 22, 26, 0.92), rgba(7, 13, 16, 0.88));
  border-color: rgba(190, 225, 242, 0.14);
}

html[data-theme="graphite-blue"] .catalog-map {
  background:
    radial-gradient(circle at 12% 0%, rgba(159, 220, 242, 0.14), transparent 40%),
    radial-gradient(circle at 82% 20%, rgba(194, 138, 74, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(15, 28, 34, 0.92), rgba(7, 14, 18, 0.86));
}

html[data-theme="graphite-blue"] .catalog-map-head span,
html[data-theme="graphite-blue"] .catalog-map-card > span,
html[data-theme="graphite-blue"] .catalog-map-card em,
html[data-theme="graphite-blue"] .subcategory-browser-head span,
html[data-theme="graphite-blue"] .category-dialog-kicker,
html[data-theme="graphite-blue"] .model-preview-head span {
  color: #9fdcf2;
}

html[data-theme="graphite-blue"] .catalog-map-card:hover,
html[data-theme="graphite-blue"] .catalog-map-card:focus-visible {
  background:
    radial-gradient(circle at 16% 0%, rgba(159, 220, 242, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 39, 47, 0.88), rgba(7, 15, 18, 0.76));
  border-color: rgba(143, 211, 234, 0.42);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.30),
    0 0 36px rgba(143, 211, 234, 0.11);
}

html[data-theme="graphite-blue"] .category-card.is-map-highlight .category-face {
  border-color: rgba(143, 211, 234, 0.58);
  box-shadow:
    0 24px 70px rgba(29, 112, 149, 0.18),
    0 0 0 3px rgba(143, 211, 234, 0.12),
    var(--shadow);
}

html[data-theme="graphite-blue"] .category-card:hover,
html[data-theme="graphite-blue"] .category-card:focus-visible,
html[data-theme="graphite-blue"] .subcategory-card:hover,
html[data-theme="graphite-blue"] .subcategory-card:focus-visible,
html[data-theme="graphite-blue"] .category-gallery-thumb:hover,
html[data-theme="graphite-blue"] .category-gallery-thumb:focus-visible,
html[data-theme="graphite-blue"] .category-gallery-thumb.is-active,
html[data-theme="graphite-blue"] .sample-gallery-thumb.is-current,
html[data-theme="graphite-blue"] .sample-tile.is-picked {
  border-color: rgba(143, 211, 234, 0.40);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(143, 211, 234, 0.08) inset;
}

html[data-theme="graphite-blue"] .category-image-caption span,
html[data-theme="graphite-blue"] .category-back-head span,
html[data-theme="graphite-blue"] .category-gallery-badges span,
html[data-theme="graphite-blue"] .category-gallery-badges span:first-child,
html[data-theme="graphite-blue"] .category-gallery-facts span,
html[data-theme="graphite-blue"] .category-taxonomy-chips span,
html[data-theme="graphite-blue"] .model-preview-tabs button.is-active,
html[data-theme="graphite-blue"] .material-market-grid span,
html[data-theme="graphite-blue"] .material-card-body > span,
html[data-theme="graphite-blue"] .sample-badge span {
  background:
    linear-gradient(180deg, rgba(16, 32, 38, 0.82), rgba(7, 15, 18, 0.78));
  border-color: rgba(143, 211, 234, 0.26);
  color: #dff5ff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

html[data-theme="graphite-blue"] .category-taxonomy-preview strong,
html[data-theme="graphite-blue"] .category-taxonomy-map > strong {
  color: #9fdcf2;
}

html[data-theme="graphite-blue"] .category-taxonomy-map {
  background:
    radial-gradient(circle at 12% 0%, rgba(159, 220, 242, 0.14), transparent 48%),
    linear-gradient(135deg, rgba(159, 220, 242, 0.075), rgba(194, 138, 74, 0.045)),
    rgba(7, 15, 18, 0.62);
  border-color: rgba(143, 211, 234, 0.20);
}

html[data-theme="graphite-blue"] .category-taxonomy-map-grid > div > span {
  color: rgba(223, 245, 255, 0.58);
}

html[data-theme="graphite-blue"] .category-taxonomy-map p {
  color: rgba(223, 245, 255, 0.70);
}

html[data-theme="graphite-blue"] .category-image-caption h3,
html[data-theme="graphite-blue"] .category-dialog-panel h2,
html[data-theme="graphite-blue"] .category-dialog-panel h3,
html[data-theme="graphite-blue"] .subcategory-card-copy strong,
html[data-theme="graphite-blue"] .model-preview-head strong,
html[data-theme="graphite-blue"] .material-market-grid h3,
html[data-theme="graphite-blue"] .material-card h3,
html[data-theme="graphite-blue"] .delivery-grid h3,
html[data-theme="graphite-blue"] .contact-action strong,
html[data-theme="graphite-blue"] .company-details strong {
  color: #f7fbff;
}

html[data-theme="graphite-blue"] .category-body p,
html[data-theme="graphite-blue"] .category-back-head p,
html[data-theme="graphite-blue"] .category-gallery-head p,
html[data-theme="graphite-blue"] .category-gallery-info p,
html[data-theme="graphite-blue"] .subcategory-browser-head p,
html[data-theme="graphite-blue"] .subcategory-card-copy small,
html[data-theme="graphite-blue"] .material-market-grid p,
html[data-theme="graphite-blue"] .material-card p,
html[data-theme="graphite-blue"] .delivery-grid p,
html[data-theme="graphite-blue"] .company-details p,
html[data-theme="graphite-blue"] .contact-form .form-head p {
  color: rgba(225, 236, 241, 0.70);
}

html[data-theme="graphite-blue"] input,
html[data-theme="graphite-blue"] select,
html[data-theme="graphite-blue"] textarea,
html[data-theme="graphite-blue"] .custom-select-button {
  background: rgba(2, 7, 9, 0.48);
  border-color: rgba(190, 225, 242, 0.18);
  color: #f6fbff;
}

html[data-theme="graphite-blue"] input:focus,
html[data-theme="graphite-blue"] select:focus,
html[data-theme="graphite-blue"] textarea:focus,
html[data-theme="graphite-blue"] .custom-select-button:focus-visible,
html[data-theme="graphite-blue"] .custom-select.is-open .custom-select-button {
  border-color: rgba(143, 211, 234, 0.62);
  box-shadow: 0 0 0 3px rgba(143, 211, 234, 0.12);
}

html[data-theme="graphite-blue"] .custom-select-list {
  background:
    linear-gradient(180deg, rgba(12, 23, 28, 0.98), rgba(6, 13, 16, 0.98));
  border-color: rgba(143, 211, 234, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

html[data-theme="graphite-blue"] .custom-select-option {
  color: #f0f8fc;
}

html[data-theme="graphite-blue"] .custom-select-option:hover,
html[data-theme="graphite-blue"] .custom-select-option:focus-visible,
html[data-theme="graphite-blue"] .custom-select-option.is-selected {
  background: rgba(143, 211, 234, 0.13);
  color: #ffffff;
}

html[data-theme="graphite-blue"] .check-option,
html[data-theme="graphite-blue"] .upload-box,
html[data-theme="graphite-blue"] .order-summary,
html[data-theme="graphite-blue"] .privacy-consent {
  background: rgba(2, 7, 9, 0.30);
  border-color: rgba(190, 225, 242, 0.15);
}

html[data-theme="graphite-blue"] .order-summary tr,
html[data-theme="graphite-blue"] .history-item,
html[data-theme="graphite-blue"] .material-card dl div {
  border-color: rgba(190, 225, 242, 0.11);
}

html[data-theme="graphite-blue"] .order-history.has-new .order-history-count {
  background: transparent;
  border-color: #9fdcf2;
  color: #9fdcf2;
}

html[data-theme="graphite-blue"] .order-history-count {
  background: transparent;
  border-color: rgba(190, 225, 242, 0.22);
  color: #dff5ff;
}

html[data-theme="graphite-blue"] .sample-callout::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 254deg,
    rgba(255, 255, 255, 0.08) 276deg,
    rgba(255, 255, 255, 0.96) 294deg,
    rgba(143, 211, 234, 0.74) 310deg,
    transparent 334deg,
    transparent 360deg
  );
}

html[data-theme="graphite-blue"] .sample-callout::after {
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.20), transparent 29%),
    linear-gradient(145deg, rgba(190, 225, 242, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(9, 18, 22, 0.52);
  border-color: rgba(190, 225, 242, 0.20);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(143, 211, 234, 0.06) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 44px rgba(143, 211, 234, 0.06);
}

html[data-theme="graphite-blue"] .sample-callout:hover::after,
html[data-theme="graphite-blue"] .sample-callout:focus-visible::after {
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.18), transparent 29%),
    linear-gradient(145deg, rgba(143, 211, 234, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(19, 52, 62, 0.64);
  border-color: rgba(143, 211, 234, 0.44);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(143, 211, 234, 0.16) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 44px rgba(143, 211, 234, 0.10);
}

html[data-theme="graphite-blue"] .sample-callout-action em,
html[data-theme="graphite-blue"] .subcategory-card-copy em,
html[data-theme="graphite-blue"] .category-gallery-info small,
html[data-theme="graphite-blue"] .sample-feature-copy strong,
html[data-theme="graphite-blue"] .contact-action > span:not(.contact-action-icon),
html[data-theme="graphite-blue"] .company-details span {
  color: #e3bd7c;
}

html[data-theme="graphite-blue"] .notice,
html[data-theme="graphite-blue"] .success-toast,
html[data-theme="graphite-blue"] .material-advice-card,
html[data-theme="graphite-blue"] .material-cta,
html[data-theme="graphite-blue"] .delivery-summary {
  background:
    radial-gradient(circle at 88% 20%, rgba(143, 211, 234, 0.11), transparent 20rem),
    linear-gradient(180deg, rgba(16, 27, 31, 0.92), rgba(8, 15, 18, 0.86));
  border-color: rgba(143, 211, 234, 0.22);
}

html[data-theme="graphite-blue"] .request-modal,
html[data-theme="graphite-blue"] .category-dialog,
html[data-theme="graphite-blue"] .lightbox,
html[data-theme="graphite-blue"] .cookie-consent {
  background: rgba(2, 8, 11, 0.50);
  backdrop-filter: blur(14px);
}

html[data-theme="graphite-blue"] .hero-section {
  border-bottom-color: rgba(190, 225, 242, 0.11);
}

html[data-theme="graphite-blue"] .hero-section::before {
  background:
    radial-gradient(circle at 51% 58%, rgba(143, 211, 234, 0.10), transparent 24rem),
    radial-gradient(circle at 39% 67%, rgba(194, 138, 74, 0.08), transparent 22rem);
}

html[data-theme="graphite-blue"] .hero-section::after {
  background:
    linear-gradient(90deg, rgba(5, 9, 11, 0.97) 0%, rgba(5, 9, 11, 0.68) 34%, rgba(5, 9, 11, 0.08) 56%, rgba(5, 9, 11, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 9, 11, 0.12), rgba(5, 9, 11, 0.76) 92%);
}

html[data-theme="graphite-blue"] .hero-visual img,
html[data-theme="graphite-blue"] .hero-mobile-visual img,
html[data-theme="graphite-blue"] .category-image img,
html[data-theme="graphite-blue"] .material-market-grid img {
  filter: brightness(0.98) contrast(1.04) saturate(0.96);
}

html[data-theme="graphite-blue"] .site-footer {
  border-top-color: rgba(190, 225, 242, 0.11);
}

.category-dialog-card-manual {
  min-height: min(720px, calc(100vh - 52px));
}

.subcategory-browser-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.manual-model-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.manual-model-browser {
  display: grid;
  gap: 16px;
  min-width: 0;
  min-height: 0;
}

.manual-model-head {
  display: grid;
  gap: 7px;
  max-width: 840px;
  padding-right: 54px;
}

.manual-model-head span {
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-model-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  line-height: 1.04;
}

.manual-model-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.manual-model-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
  max-height: min(58vh, 620px);
  overflow: auto;
  padding: 2px 6px 2px 2px;
  scrollbar-color: rgba(126, 196, 109, 0.45) rgba(255, 255, 255, 0.06);
}

.manual-model-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(126, 196, 109, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(10, 15, 14, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.manual-model-preview {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 120px;
  color: rgba(248, 244, 236, 0.62);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(3, 8, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.manual-model-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 240ms ease, filter 240ms ease;
}

.manual-model-preview:hover img {
  filter: brightness(1.05);
  transform: scale(1.045);
}

.manual-model-preview--empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-style: dashed;
}

.manual-model-preview--empty span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-model-card-head {
  display: grid;
  gap: 6px;
}

.manual-model-card-head span {
  color: rgba(225, 189, 131, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-model-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.17;
}

.manual-model-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.manual-model-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.manual-model-meta div {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.manual-model-meta dt {
  color: rgba(248, 244, 236, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.manual-model-meta dd {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.42;
}

.manual-model-evidence {
  color: var(--muted);
  font-size: 0.86rem;
}

.manual-model-evidence summary {
  color: rgba(225, 189, 131, 0.9);
  font-weight: 800;
  cursor: pointer;
}

.manual-model-evidence p {
  margin-top: 8px;
}

.manual-model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.manual-model-actions .card-link,
.manual-model-actions .card-secondary {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.manual-model-link {
  text-decoration: none;
}

.is-attention-pulse {
  animation: calculator-attention-pulse 1200ms ease-in-out 2;
}

@keyframes calculator-attention-pulse {
  0%,
  100% {
    box-shadow: none;
  }
  40% {
    box-shadow:
      0 0 0 1px rgba(126, 196, 109, 0.42),
      0 0 42px rgba(126, 196, 109, 0.18);
  }
}

html[data-theme="graphite-blue"] .manual-model-count,
html[data-theme="graphite-blue"] .manual-model-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(143, 211, 234, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(8, 19, 23, 0.84);
  border-color: rgba(190, 225, 242, 0.16);
}

html[data-theme="graphite-blue"] .manual-model-head span,
html[data-theme="graphite-blue"] .subcategory-browser-head span,
html[data-theme="graphite-blue"] .category-dialog-kicker {
  color: #8fd3ea;
}

html[data-theme="graphite-blue"] .manual-model-card-head span,
html[data-theme="graphite-blue"] .manual-model-evidence summary {
  color: #e3bd7c;
}

@media (max-width: 1040px) {
  .manual-model-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .subcategory-browser-head {
    grid-template-columns: 1fr;
  }

  .manual-model-count {
    justify-self: start;
  }

  .manual-model-list {
    grid-template-columns: 1fr;
    max-height: 62vh;
  }

  .manual-model-actions .card-link,
  .manual-model-actions .card-secondary {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.home-app {
  height: 100dvh;
  overflow: hidden;
}

.home-app .site-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.home-app main {
  min-height: 0;
  overflow: hidden;
}

.home-app main > section:not(.hero-section),
.home-app .site-footer {
  display: none;
}

.home-app .hero-section {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 4vw, 64px);
  border-bottom: 0;
  overflow-y: auto;
}

/* Keep the decorative layer out of the hero's scrollable overflow. */
.home-app .hero-section::before {
  bottom: 0;
}

@font-face {
  font-family: "GrandPack Roboto Condensed";
  src: url("../fonts/roboto-condensed/RobotoCondensed-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.home-app .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 96px;
  width: 100%;
  min-height: 480px;
  height: 100%;
  margin: 0;
  text-align: left;
}

.home-app .hero-intro { padding-top: 28px; }

.home-app .hero-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.home-app .hero-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.home-app .hero-copy h1 {
  max-width: none;
  margin: 0;
  font-family: "GrandPack Roboto Condensed", "Arial Narrow", sans-serif;
  font-synthesis: none;
  font-size: 52px;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-app .hero-copy h1 span { display: inline; }
.home-app .hero-copy .hero-title-heavy { font-weight: 700; }
.home-app .hero-copy .hero-title-light { font-weight: 300; }

.home-app .hero-lead {
  max-width: 610px;
  margin: 24px 0 0 74px;
  color: #dededb;
  font-size: 21px;
  line-height: 1.6;
  text-wrap: pretty;
}

.home-app .hero-offer {
  margin: 0 0 14px;
  color: #f1eee7;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

.home-app .hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid #ffffff30;
}

.home-app .hero-sample-button {
  min-height: 56px;
  padding: 15px 26px;
  border: 1px solid #a68b53;
  border-radius: 4px;
  background: #191b1de6;
  color: #f5ead5;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.home-app .hero-sample-button:hover {
  background: #27282a;
  border-color: #ddbd7b;
}

.home-app .hero-actions :focus-visible {
  outline: 2px solid #ddbd7b;
  outline-offset: 5px;
}

.home-app .hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 24px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c8c8c3;
  font-size: 15px;
  line-height: 1.5;
}

.home-app .hero-facts li + li {
  padding-left: 24px;
  border-left: 1px solid #ffffff29;
}

@media (max-width: 1100px) {
  .home-app .hero-copy h1 { font-size: 44px; }
  .home-app .hero-offer { font-size: 20px; }
}

@media (max-width: 680px) {
  .home-app .hero-copy { min-height: 620px; gap: 72px; }
  .home-app .hero-intro { padding-top: 8px; }
  .home-app .hero-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-app .hero-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .home-app .hero-copy h1 { font-size: 36px; }
  .home-app .hero-lead { font-size: 18px; line-height: 1.55; margin: 20px 0 0; }
  .home-app .hero-actions { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; }
  .home-app .hero-sample-button { padding: 12px 18px; justify-self: start; max-width: 100%; }
  .home-app .hero-facts { flex-direction: column; gap: 8px; }
  .home-app .hero-facts li + li { padding-left: 0; border-left: 0; }
}

@media (max-width: 360px) {
  .home-app .hero-copy h1 { font-size: 30px; }
}

.home-app [hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .home-app .site-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .home-app .hero-section {
    align-items: start;
    padding: 24px 18px;
    overflow-y: auto;
  }
}

.hero-section .sample-callout {
  position: static;
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 44px;
  margin-top: 24px;
  padding: 0 16px;
  gap: 10px;
  color: #f8f4ec;
  background: rgba(15, 19, 18, 0.88);
  border: 1px solid rgba(225, 189, 131, 0.42);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.hero-section .sample-callout::before,
.hero-section .sample-callout::after {
  display: none;
}

.hero-section .sample-callout-visual {
  position: static;
  display: grid;
  width: 26px;
  height: 22px;
  opacity: 0.88;
  filter: none;
  transform: none;
}

.hero-section .sample-callout-visual svg {
  width: 26px;
  stroke: #e1bd83;
  filter: none;
}

.hero-section .sample-callout-action {
  display: inline-flex;
  flex-direction: row;
  width: auto;
  height: auto;
  padding: 0;
  gap: 8px;
  border-radius: 0;
  white-space: nowrap;
}

.hero-section .sample-callout-action strong,
.hero-section .sample-callout-action em {
  max-width: none;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  animation: none;
}

.hero-section .sample-callout-action em {
  color: rgba(248, 244, 236, 0.58);
  font-weight: 600;
}

.hero-section .trust-row {
  margin-top: 28px;
}

@media (max-width: 680px) {
  .hero-section .sample-callout {
    width: 100%;
    justify-content: center;
  }

  .hero-section .sample-callout-action {
    white-space: normal;
  }
}

