/* ==========================================================================
   Crane Sanat — components.css
   Buttons, chips, cards, catalogue filters, product page, forms, dialogs
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-border: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 12px 26px -14px rgba(38, 132, 255, 0.85); }

.btn--accent { background: var(--orange); border-color: var(--orange); color: #2A1504; }
.btn--accent:hover { background: #FF9A42; border-color: #FF9A42; box-shadow: 0 12px 26px -14px rgba(255, 138, 36, 0.8); }

.btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); }

.btn--outline { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--navy-700); background: var(--off-white); }

.btn--dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--sm { padding: 9px 16px; font-size: 0.82rem; }
.btn--lg { padding: 16px 30px; font-size: 0.98rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 12px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy-700);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.24s var(--ease); }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.link-arrow:hover svg { transform: translateX(-4px); }
.link-arrow--on-dark { color: #D6E2EE; }
.link-arrow--on-dark:hover { color: var(--orange); border-color: var(--orange); }
.link-arrow--orange { color: var(--orange); }
.link-arrow--orange:hover { color: #fff; border-color: #fff; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.chip::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.chip--owned { background: rgba(38, 132, 255, 0.14); color: #8FC0FF; border-color: rgba(38, 132, 255, 0.35); }
.chip--consignment { background: rgba(107, 92, 224, 0.16); color: #BCB3FF; border-color: rgba(107, 92, 224, 0.35); }
.chip--sourcing { background: rgba(255, 138, 36, 0.14); color: #FFB877; border-color: rgba(255, 138, 36, 0.38); }

.chip--available { background: var(--green-soft); color: #0E6B48; border-color: #C8EBDC; }
.chip--reserved { background: #EEF4FF; color: #1D4E8F; border-color: #D3E2F8; }
.chip--sold { background: #F1F4F7; color: #64748B; border-color: #E2E8F0; }
.chip--sourcing-status { background: var(--orange-soft); color: #9A5209; border-color: #F4DCC2; }

.chip--outline { border-color: var(--border-strong); color: var(--muted); background: transparent; }
.chip--outline::before { display: none; }
.chip--dot::before { display: block; }
.chip--no-dot::before { display: none; }

.chip--outline::before { display: none; }

/* ---------- Quick access strip ---------- */
.quickbar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}
.quick-search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 140px;
  gap: 12px;
  align-items: center;
}

.quickbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quickbar__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  border-inline-start: 1px solid var(--border);
  transition: background 0.24s var(--ease);
}
.quickbar__item:first-child { border-inline-start: 0; }
.quickbar__item:hover { background: var(--off-white); }
.quickbar__icon {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy-700);
  background: var(--off-white);
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.quickbar__icon svg { width: 19px; height: 19px; }
.quickbar__item:hover .quickbar__icon { color: var(--blue); border-color: rgba(38, 132, 255, 0.4); }
.quickbar__text { display: grid; gap: 3px; }
.quickbar__text strong { font-size: 0.94rem; font-weight: 600; }
.quickbar__text span { font-size: 0.78rem; color: var(--muted); line-height: 1.7; }

/* ---------- Product card ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8EDF3;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badges {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.product-card__code {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  font-size: 0.7rem !important;
  font-family: var(--font-mono, monospace);
  color: var(--steel, #64748b) !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.05em;
  line-height: 1.3;
  direction: ltr !important;
  margin: 0 !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  inset-block-end: auto !important;
  inset-inline-start: auto !important;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.product-card__cat {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin: 0;
}
.product-card h3 {
  font-size: 1.06rem;
  line-height: 1.45;
  font-weight: 600;
}
.product-card h3 a { transition: color 0.2s var(--ease); }
.product-card h3 a:hover { color: var(--blue); }
.product-card__brand {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card__brand span { color: var(--steel); }
.product-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 6px 0 4px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.product-card__specs div {
  background: #FBFCFD;
  padding: 8px 10px;
  display: grid;
  gap: 1px;
}
.product-card__specs dt { font-size: 0.66rem; color: var(--steel); }
.product-card__specs dd { margin: 0; font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.price { display: grid; gap: 1px; }
.price__label { font-size: 0.66rem; color: var(--steel); }
.price__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.price__value small { font-size: 0.68rem; font-weight: 500; color: var(--muted); margin-inline-start: 3px; }
.price__value--quote { color: var(--orange); background: var(--orange-soft); padding: 2px 8px; border-radius: 2px; font-size: 0.86rem; display: inline-block; }
.product-card__cta { flex-shrink: 0; }
.product-card.is-sold .product-card__media img { filter: grayscale(0.55) brightness(0.95); }

/* ---------- Feature (why us) ---------- */
.feature {
  position: relative;
  padding: 26px 4px 4px;
  border-top: 1px solid var(--border);
}
.feature__icon {
  width: 38px; height: 38px;
  margin: 18px 0 16px;
  color: var(--navy-700);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: 0.85rem; color: var(--muted); line-height: 1.9; margin: 0; }
.feature::after {
  content: '';
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.4s var(--ease);
}
.feature:hover::after { width: 48px; }

/* ---------- Services rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1fr 44px;
  gap: clamp(16px, 2.5vw, 34px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px) 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s var(--ease);
}
.service-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.service-row:hover { background: rgba(255, 255, 255, 0.025); }
.service-row h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
}
.service-row__en {
  display: block;
  margin-top: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
.service-row p { font-size: 0.87rem; color: #A9BBCD; line-height: 1.9; margin: 0; }
.service-row__arrow {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  align-self: center;
}
.service-row__arrow svg { width: 16px; height: 16px; }
.service-row:hover .service-row__arrow { background: var(--orange); border-color: var(--orange); color: var(--navy-900); transform: translateX(-3px); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  counter-reset: step;
}
.step {
  position: relative;
  padding-inline-end: clamp(14px, 2vw, 30px);
  padding-top: 30px;
}
.step::before {
  content: '';
  position: absolute;
  inset-block-start: 8px;
  inset-inline: 0;
  height: 1px;
  background: var(--border);
}
.step::after {
  content: '';
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  z-index: 1;
}
.step:last-child::before { background: linear-gradient(to left, var(--border) 60%, transparent); }
.step__num {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.82rem; color: var(--muted); line-height: 1.85; margin: 0; }

.steps--dark .step::before { background: rgba(255, 255, 255, 0.16); }
.steps--dark .step::after { background: var(--navy-900); border-color: var(--orange); }
.steps--dark .step__num { color: rgba(255, 255, 255, 0.45); }
.steps--dark .step p { color: var(--muted-dark); }

/* ---------- Application tiles ---------- */
.app-tile {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  isolation: isolate;
}
.app-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  z-index: -2;
}
.app-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 38, 0.95) 4%, rgba(7, 20, 38, 0.55) 46%, rgba(7, 20, 38, 0.1) 100%);
  z-index: -1;
}
.app-tile:hover img { transform: scale(1.05); }
.app-tile__body {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 22px;
  color: #fff;
}
.app-tile__body h3 { font-size: 1.06rem; margin-bottom: 5px; }
.app-tile__body p { font-size: 0.8rem; color: #B7C7D7; margin: 0; line-height: 1.8; }
.app-tile__tag {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  font-size: 0.64rem;
  padding: 4px 8px;
  background: rgba(7, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #DCE6F0;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 60px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 120% at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 120% at 80% 20%, #000, transparent 75%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; }
.cta-band p { margin-top: 12px; color: #A9BBCD; font-size: 0.92rem; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band--orange { background: linear-gradient(120deg, #FF8A24, #F0741A); color: #2A1504; }
.cta-band--orange p { color: #5C350E; }
.cta-band--orange .btn--ghost { color: #2A1504; border-color: rgba(42, 21, 4, 0.3); background: rgba(255, 255, 255, 0.18); }
.cta-band--orange .btn--ghost:hover { background: rgba(255, 255, 255, 0.35); }
.cta-band--orange::before { opacity: 0.5; }

/* ---------- Catalogue layout ---------- */
.catalogue { padding-block: clamp(36px, 5vw, 56px) var(--section-y); background: var(--off-white); }
.catalogue__layout {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.filters {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  position: sticky;
  inset-block-start: calc(var(--header-h) + 20px);
  direction: rtl;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 18px;
}

.filters__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #071426;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.filters__title svg {
  width: 18px;
  height: 18px;
  color: #ff8c00;
  flex-shrink: 0;
}

.filters__reset {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filters__reset:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  text-decoration: none;
}

/* Modern Form Controls within Filter Sidebar */
.filter-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.filter-group input[type="text"],
.filter-group input[type="search"] {
  width: 100% !important;
  box-sizing: border-box !important;
  height: 42px !important;
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  direction: rtl !important;
  box-shadow: none !important;
}

.filter-group input[type="text"]:focus,
.filter-group input[type="search"]:focus {
  background-color: #ffffff !important;
  border-color: #ff8c00 !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15) !important;
}

.filter-group select {
  width: 100% !important;
  box-sizing: border-box !important;
  height: 42px !important;
  padding: 8px 14px 8px 36px !important;
  font-size: 0.82rem !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  outline: none !important;
  direction: rtl !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 12px center !important;
  background-size: 16px !important;
  box-shadow: none !important;
}

.filter-group select:hover {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

.filter-group select:focus {
  background-color: #ffffff !important;
  border-color: #ff8c00 !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15) !important;
}

.filter-input-wrap {
  position: relative;
  width: 100%;
}

.filter-input-wrap svg.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.filters__body { display: grid; }
.filters__group {
  border-bottom: 1px solid var(--border);
  padding-block: 14px;
}
.filters__group:last-child { border-bottom: 0; }
.filters__group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}
.filters__group-title span { font-size: 0.64rem; color: var(--steel); font-weight: 500; letter-spacing: 0.08em; }
.filters__options { display: grid; gap: 3px; }
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 2px;
  font-size: 0.82rem;
  color: #3C4C5E;
  cursor: pointer;
  border-radius: 2px;
}
.check:hover { color: var(--ink); }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px; height: 15px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--navy-700); border-color: var(--navy-700); }
.check input:checked::after {
  content: '';
  width: 7px; height: 4px;
  border-inline-start: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.check input[type="radio"]:checked::after {
  width: 5px; height: 5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}
.check input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.check__count { margin-inline-start: auto; font-size: 0.68rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.check.is-disabled { opacity: 0.45; pointer-events: none; }

.filters__range { display: flex; align-items: center; gap: 8px; }
.filters__range input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--off-white);
  font-variant-numeric: tabular-nums;
}
.filters__range input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.filters__range span { color: var(--steel); font-size: 0.72rem; }
.filters__hint { margin: 8px 0 0; font-size: 0.68rem; color: var(--steel); line-height: 1.7; }
.filters__search { position: relative; }
.filters__search input {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  background: var(--off-white);
  color: var(--ink);
}
.filters__search svg {
  position: absolute;
  inset-inline-end: 11px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--steel);
  pointer-events: none;
}

/* toolbar */
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.results-count { font-size: 0.84rem; color: var(--muted); margin: 0; }
.results-count strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.results-toolbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort-control { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); }
.sort-control select {
  font-family: inherit;
  font-size: 0.8rem;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.filter-toggle { display: none; }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.active-filters:empty { display: none; }
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 10px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 0.74rem;
  color: #3C4C5E;
}
.filter-tag button {
  border: 0;
  background: none;
  padding: 0;
  width: 15px; height: 15px;
  display: grid;
  place-items: center;
  color: var(--steel);
  cursor: pointer;
  border-radius: 50%;
}
.filter-tag button:hover { background: var(--off-white); color: var(--ink); }
.filter-tag svg { width: 11px; height: 11px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.results-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.results-more__progress { font-size: 0.76rem; color: var(--steel); }

.empty-state {
  background: #fff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 64px) 24px;
  text-align: center;
}
.empty-state__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--steel);
}
.empty-state__icon svg { width: 24px; height: 24px; }
.empty-state h3 { font-size: 1.15rem; margin-bottom: 8px; }
.empty-state p { font-size: 0.86rem; color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.catalogue-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.catalogue-cta h3 { font-size: 1rem; margin-bottom: 4px; }
.catalogue-cta p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ---------- Product detail ---------- */
.product-page { background: var(--off-white); }
.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 3.5vw, 46px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 46px);
}

.gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #E4EAF1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__stage img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.25s var(--ease);
}
.gallery__stage button.gallery__expand {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.74rem;
  color: #fff;
  background: rgba(7, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.gallery__stage button.gallery__expand svg { width: 14px; height: 14px; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.gallery__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
  background: #E4EAF1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0.7;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--orange); border-width: 2px; opacity: 1; }

.product-panel {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 26px);
  box-shadow: var(--shadow-sm);
}
.product-panel__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-panel h1 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.45;
  margin-bottom: 8px;
}
.product-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.product-panel__meta span { display: inline-flex; align-items: center; gap: 5px; }
.product-panel__meta svg { width: 13px; height: 13px; color: var(--steel); }

.key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-inline-start: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.key-specs div {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  border-inline-end: 1px solid var(--border);
  background: #FBFCFD;
}
.key-specs dt { font-size: 0.67rem; color: var(--steel); margin-bottom: 2px; }
.key-specs dd { margin: 0; font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.price-box {
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.price-box__label { font-size: 0.7rem; color: var(--steel); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-box__value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.price-box__value small { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.price-box__value--quote { font-size: 1.12rem; color: #9A5209; }
.price-box__note { font-size: 0.7rem; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
.product-panel__actions { display: grid; gap: 9px; }
.product-panel__actions .btn { width: 100%; }
.product-panel__fine {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.72rem;
  color: var(--steel);
  line-height: 1.8;
  display: flex;
  gap: 8px;
}
.product-panel__fine svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--orange); }

.product-details {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 3.5vw, 46px);
  align-items: start;
  padding-bottom: var(--section-y);
}
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px);
}
.detail-card + .detail-card { margin-top: 20px; }
.detail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.detail-card__head h2 { font-size: 1.12rem; display: flex; align-items: center; gap: 9px; }
.detail-card__head h2 svg { width: 18px; height: 18px; color: var(--navy-700); }
.detail-card__note { font-size: 0.7rem; color: var(--steel); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.spec-table caption { text-align: start; font-size: 0.72rem; color: var(--steel); padding-bottom: 10px; }
.spec-table tr { border-bottom: 1px dashed var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th,
.spec-table td { padding: 10px 4px; text-align: start; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; font-size: 0.8rem; }
.spec-table td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-table tr.is-extra { display: none; }
.spec-table.is-expanded tr.is-extra { display: table-row; }
.spec-more { margin-top: 16px; }

.product-body h2 { font-size: 1.05rem; margin-bottom: 10px; }
.product-body p, .product-body li { font-size: 0.88rem; color: #3C4C5E; line-height: 1.95; }
.product-body ul { display: grid; gap: 6px; margin: 10px 0 18px; }
.product-body ul li { display: flex; gap: 9px; }
.product-body ul li::before {
  content: '';
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: 10px;
  background: var(--blue);
  border-radius: 50%;
}
.product-body h2:not(:first-child) { margin-top: 26px; }
.supply-terms {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-top: 16px;
}
.supply-terms__row { display: flex; gap: 10px; font-size: 0.82rem; color: #3C4C5E; }
.supply-terms__row strong { color: var(--ink); font-weight: 600; min-width: 92px; }

.sticky-side { position: sticky; inset-block-start: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.side-card {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.side-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 100% 0, rgba(38, 132, 255, 0.28), transparent 60%);
  pointer-events: none;
}
.side-card > * { position: relative; }
.side-card h2 { font-size: 1rem; margin-bottom: 8px; }
.side-card p { font-size: 0.82rem; color: #A9BBCD; line-height: 1.85; margin-bottom: 14px; }
.side-card ul { display: grid; gap: 8px; margin-bottom: 16px; }
.side-card li { font-size: 0.8rem; color: #C7D5E3; display: flex; gap: 8px; line-height: 1.7; }
.side-card li::before { content: ''; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; margin-top: 8px; flex: 0 0 auto; }
.side-card .btn { width: 100%; }

/* mobile action bar */
.mobile-actionbar {
  display: none;
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 90;
  background: rgba(7, 20, 38, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  align-items: center;
  backdrop-filter: blur(8px);
}
.mobile-actionbar__price { flex: 0 0 auto; color: #fff; }
.mobile-actionbar__price span { display: block; font-size: 0.6rem; color: #93A7BB; }
.mobile-actionbar__price strong { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mobile-actionbar .btn { flex: 1; padding: 11px 12px; font-size: 0.78rem; }

/* ---------- Dialog / modal ---------- */
dialog.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  color: var(--ink);
}
dialog.modal::backdrop {
  background: rgba(4, 12, 22, 0.72);
  backdrop-filter: blur(3px);
}
.modal__panel {
  background: #fff;
  border-radius: var(--radius);
  width: min(560px, calc(100vw - 32px));
  margin: 6vh auto;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(22px, 3vw, 30px);
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.26s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}
.modal__close:hover { color: var(--ink); background: var(--off-white); }
.modal__close svg { width: 16px; height: 16px; }
.modal__eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--steel); margin-bottom: 6px; }
.modal__title { font-size: 1.25rem; margin-bottom: 6px; padding-inline-end: 30px; }
.modal__product {
  font-size: 0.82rem;
  color: var(--navy-700);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal__product svg { width: 15px; height: 15px; color: var(--orange); flex: 0 0 auto; }

/* lightbox */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}
dialog.lightbox::backdrop { background: rgba(3, 10, 20, 0.94); }
.lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
}
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.lightbox__caption {
  position: absolute;
  inset-block-end: 18px;
  inset-inline: 0;
  text-align: center;
  color: #AEbfd1;
  color: #AEBFD1;
  font-size: 0.78rem;
  padding-inline: 20px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { inset-block-start: 16px; inset-inline-end: 16px; }
.lightbox__nav svg, .lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav--prev { inset-inline-start: 12px; inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__nav--next { inset-inline-end: 12px; inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-start: 22px;
  color: #AEBFD1;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label,
.field__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}
.field__req { color: var(--orange); font-size: 0.9rem; line-height: 1; }
.field__optional { font-size: 0.68rem; color: var(--steel); font-weight: 400; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="email"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  min-height: 44px;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.8; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B8794' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-inline-start: 32px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.14);
}
.field__hint { font-size: 0.7rem; color: var(--steel); line-height: 1.7; margin: 0; }
.field__error {
  font-size: 0.72rem;
  color: #C0392B;
  display: none;
  align-items: center;
  gap: 5px;
  line-height: 1.6;
}
.field__error svg { width: 12px; height: 12px; flex: 0 0 auto; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #D9534F; box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12); }
.field.is-invalid .field__error { display: flex; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #3C4C5E;
  line-height: 1.8;
  cursor: pointer;
}
.checkbox-line input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px; height: 17px;
  margin: 4px 0 0;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.checkbox-line input:checked { background: var(--navy-700); border-color: var(--navy-700); }
.checkbox-line input:checked::after {
  content: '';
  width: 8px; height: 4px;
  border-inline-start: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.checkbox-line input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.field.is-invalid .checkbox-line input { border-color: #D9534F; }

.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  background: #fff;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card__title { font-size: 0.86rem; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.radio-card__title svg { width: 16px; height: 16px; color: var(--steel); }
.radio-card__desc { font-size: 0.7rem; color: var(--steel); line-height: 1.7; }
.radio-card:has(input:checked) { border-color: var(--navy-700); background: #F7FAFE; box-shadow: inset 0 0 0 1px var(--navy-700); }
.radio-card:has(input:checked) .radio-card__title svg { color: var(--blue); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }

.form-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title span { font-size: 0.66rem; color: var(--steel); letter-spacing: 0.1em; font-weight: 500; }
.form-note {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.form-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--steel); }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(26px, 4vw, 48px) 20px;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h2 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { font-size: 0.86rem; color: var(--muted); max-width: 46ch; margin: 0 auto 18px; line-height: 1.9; }
.form-success__ref {
  display: inline-block;
  font-size: 0.78rem;
  background: var(--off-white);
  border: 1px dashed var(--border-strong);
  border-radius: 2px;
  padding: 8px 14px;
  color: var(--navy-700);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

/* multi-step */
.steps-rail {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  counter-reset: none;
}
.steps-rail__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  padding-inline-end: 10px;
}
.steps-rail__item::before {
  content: '';
  position: absolute;
  inset-block-start: 15px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 1px;
  background: var(--border);
}
.steps-rail__item:last-child::before { display: none; }
.steps-rail__dot {
  width: 31px; height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--steel);
  position: relative;
  z-index: 1;
}
.steps-rail__label { font-size: 0.76rem; color: var(--steel); line-height: 1.5; }
.steps-rail__item.is-active .steps-rail__dot { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.steps-rail__item.is-active .steps-rail__label { color: var(--ink); font-weight: 600; }
.steps-rail__item.is-done .steps-rail__dot { background: var(--green-soft); border-color: #B9E3D1; color: var(--green); }
.steps-rail__item.is-done .steps-rail__label { color: var(--muted); }

.step-panel { display: none; }
.step-panel.is-active { display: block; animation: panelIn 0.3s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.form-actions__hint { font-size: 0.72rem; color: var(--steel); }

.summary-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.summary-list__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #FBFCFD;
  font-size: 0.82rem;
}
.summary-list__row:nth-child(even) { background: #fff; }
.summary-list__row:last-child { border-bottom: 0; }
.summary-list__row dt { color: var(--muted); font-size: 0.78rem; }
.summary-list__row dd { margin: 0; font-weight: 600; color: var(--ink); }
.summary-list__empty { color: var(--steel); font-weight: 400; }

/* ---------- Supply request page ---------- */
.request-section {
  background: var(--off-white);
  padding-block: clamp(30px, 4.5vw, 56px) var(--section-y);
}
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.request-side { display: grid; gap: 16px; position: sticky; inset-block-start: calc(var(--header-h) + 20px); }
.side-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.side-panel h2 { font-size: 0.95rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-panel h2 svg { width: 17px; height: 17px; color: var(--navy-700); }
.side-panel p { font-size: 0.82rem; color: var(--muted); line-height: 1.9; }
.side-panel__list { display: grid; gap: 12px; margin-top: 4px; }
.side-panel__list li { display: flex; gap: 10px; font-size: 0.8rem; color: #3C4C5E; line-height: 1.8; }
.side-panel__list li svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 4px; color: var(--green); }
.side-panel--dark { background: var(--navy-800); color: #fff; }
.side-panel--dark h2 { color: #fff; }
.side-panel--dark h2 svg { color: var(--orange); }
.side-panel--dark p { color: #A9BBCD; }

/* ---------- Services page ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #E8EDF3; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card__index { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--steel); }
.service-card h2 { font-size: 1.12rem; }
.service-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.9; margin: 0; }
.service-card__steps { display: grid; gap: 7px; margin: 6px 0 4px; counter-reset: svc; }
.service-card__steps li {
  display: flex;
  gap: 9px;
  font-size: 0.78rem;
  color: #3C4C5E;
  line-height: 1.75;
  counter-increment: svc;
}
.service-card__steps li::before {
  content: counter(svc);
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--navy-700);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  margin-top: 2px;
}
.service-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.service-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-feature__body { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.service-feature__body h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.service-feature__body p { font-size: 0.88rem; color: #A9BBCD; line-height: 1.95; margin: 0; }
.service-feature__media { min-height: 260px; }
.service-feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.about-figure { position: relative; }
.about-figure img { width: 100%; border-radius: var(--radius); }
.about-figure__caption {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  font-size: 0.64rem;
  color: #E8F0F7;
  background: rgba(7, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.about-figure__frame {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: -14px;
  width: 70px;
  height: 70px;
  border-top: 1px solid var(--orange);
  border-inline-start: 1px solid var(--orange);
  pointer-events: none;
}
.about-points { display: grid; gap: 18px; margin-top: 24px; }
.about-point { display: flex; gap: 14px; }
.about-point h3 { font-size: 0.98rem; margin-bottom: 4px; }
.about-point p { font-size: 0.84rem; color: var(--muted); line-height: 1.9; margin: 0; }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.model-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}
.model-card__tag { display: inline-flex; margin-bottom: 14px; }
.model-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.model-card p { font-size: 0.84rem; color: #A9BBCD; line-height: 1.9; margin: 0; }

.activity-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.activity-tags li {
  font-size: 0.78rem;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: #3C4C5E;
  background: #fff;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--off-white);
  padding-block: clamp(30px, 4.5vw, 56px) var(--section-y);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-channel {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-channel__icon {
  width: 38px; height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy-700);
}
.contact-channel__icon svg { width: 18px; height: 18px; }
.contact-channel h2 { font-size: 0.92rem; margin-bottom: 3px; }
.contact-channel p { font-size: 0.8rem; color: var(--muted); line-height: 1.85; margin: 0; }
.contact-channel__pending {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: #9A5209;
  background: var(--orange-soft);
  border: 1px dashed #F0CFA9;
  padding: 2px 8px;
  border-radius: 2px;
}
.map-placeholder {
  position: relative;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}
.map-placeholder > * { position: relative; }
.map-placeholder h2 { font-size: 0.92rem; }
.map-placeholder p { font-size: 0.78rem; color: var(--muted); line-height: 1.85; margin: 0; max-width: 34ch; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E8EDF3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-card__body h2 { font-size: 1rem; }
.project-card__body p { font-size: 0.82rem; color: var(--muted); line-height: 1.85; margin: 0; }
.project-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--steel);
}
.project-card__foot a { color: var(--blue); }
.project-card__foot a:hover { text-decoration: underline; }

/* ---------- Small responsive helpers ---------- */
.only-mobile { display: none; }
.only-desktop { display: initial; }

/* ========================================================
   CRANE SANAT - BLOG & NEWS MULTI-LAYOUT STYLES (v1.5.0)
   ======================================================== */
.crane-blog-section { padding-top: clamp(48px, 6vw, 84px); }

/* Layout 1: Modern 3-Column Grid */
.crane-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.crane-post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.crane-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 20, 38, 0.08);
  border-color: var(--orange);
}
.crane-post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
  display: block;
}
.crane-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.crane-post-card:hover .crane-post-card__thumb img { transform: scale(1.05); }
.crane-post-card__cat {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 20, 38, 0.85);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 140, 0, 0.3);
}
.crane-post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.crane-post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--steel);
  margin-bottom: 10px;
}
.crane-post-card__title { font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin: 0 0 10px; }
.crane-post-card__title a { color: var(--navy-900); transition: color 0.2s; }
.crane-post-card__title a:hover { color: var(--orange); }
.crane-post-card__excerpt { font-size: 0.84rem; color: var(--muted); line-height: 1.8; margin: 0 0 18px; flex: 1; }
.crane-post-card__foot { padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }

/* Layout 2: Horizontal List */
.crane-blog-list-flow { display: flex; flex-direction: column; gap: 18px; }
.crane-blog-list-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 16px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.crane-blog-list-item:hover { transform: translateX(-4px); border-color: var(--orange); }
.crane-blog-list-thumb {
  width: 240px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.crane-blog-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crane-blog-list-body { flex: 1; min-width: 0; }
.crane-blog-meta { font-size: 0.74rem; color: var(--steel); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.crane-blog-title { font-size: 1.1rem; font-weight: 600; line-height: 1.45; margin: 0 0 8px; }
.crane-blog-title a { color: var(--navy-900); }
.crane-blog-title a:hover { color: var(--orange); }
.crane-blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.75; margin: 0 0 12px; }

/* Layout 3: Hero Featured + Stack */
.crane-blog-hero-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.crane-blog-hero-featured {
  background: var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
}
.crane-blog-hero-media { position: absolute; inset: 0; z-index: 0; opacity: 0.45; }
.crane-blog-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.crane-blog-hero-content { position: relative; z-index: 2; }
.crane-blog-hero-content .tag-accent {
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}
.crane-blog-hero-content h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.4; margin: 0 0 10px; }
.crane-blog-hero-content h3 a { color: #fff; }
.crane-blog-hero-content p { font-size: 0.88rem; color: #cbd5e1; line-height: 1.8; margin: 0 0 14px; max-width: 50ch; }
.crane-blog-hero-stack { display: flex; flex-direction: column; gap: 16px; }
.crane-blog-stack-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}
.crane-blog-stack-card:hover { transform: translateX(-4px); border-color: var(--orange); }
.crane-blog-stack-card h4 { font-size: 0.98rem; font-weight: 600; margin: 6px 0 8px; line-height: 1.5; }
.crane-blog-stack-card h4 a { color: var(--navy-900); }
.crane-blog-stack-card p { font-size: 0.82rem; color: var(--muted); margin: 0 0 10px; line-height: 1.7; }

/* Layout 4: Compact Modern */
.crane-blog-compact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.crane-blog-compact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.crane-blog-compact-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.crane-blog-compact-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.crane-badge-date { font-size: 0.72rem; font-weight: 500; color: var(--orange); background: rgba(255,140,0,0.1); padding: 2px 8px; border-radius: 4px; }
.crane-blog-category { font-size: 0.72rem; color: var(--steel); }
.crane-blog-compact-card .crane-blog-title { font-size: 0.92rem; font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.crane-blog-compact-card .crane-blog-excerpt { font-size: 0.78rem; color: var(--muted); line-height: 1.6; margin: 0 0 12px; flex: 1; }
.crane-blog-compact-link { font-size: 0.75rem; font-weight: 500; color: var(--orange); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.crane-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
@media (max-width: 640px) {
  .product-grid,
  .crane-services-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 991px) {
  .crane-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .crane-blog-hero-layout { grid-template-columns: 1fr; }
  .crane-blog-compact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .crane-blog-grid { grid-template-columns: 1fr; }
  .crane-blog-list-item { flex-direction: column; align-items: stretch; }
  .crane-blog-list-thumb { width: 100%; height: 180px; }
  .crane-blog-compact-grid { grid-template-columns: 1fr; }
}
