.sv-detail {
  --sv-ink: #102543;
  --sv-muted: #526477;
  --sv-gold: #96703b;
  --sv-rule: #d8dde1;
  background: #fbfaf7;
  color: var(--sv-ink);
  text-align: left;
}
.sv-inner {
  max-width: 1520px;
  margin-inline: auto;
  padding: 22px clamp(20px, 5vw, 80px) clamp(42px, 6vw, 88px);
}
.sv-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: clamp(8px, 2vw, 30px);
  color: var(--sv-muted);
  font-size: .9375rem;
  font-weight: 700;
}
.sv-back span { font-size: 1.5rem; line-height: 1; }
.sv-back:hover { color: var(--sv-ink); text-decoration: underline; }
.sv-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: 'gallery identity' 'gallery offer';
  grid-template-rows: auto 1fr;
  gap: 0 clamp(24px, 4vw, 72px);
  align-items: start;
}
.sv-identity { grid-area: identity; padding-top: clamp(2px, 1.8vw, 28px); }
.sv-category {
  text-transform: uppercase;
  font: 700 .875rem/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: .12em;
  color: var(--sv-gold);
}
.sv-identity h1, .sv-unavailable h1 {
  font-family: Manrope, 'DM Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.15rem, 3.7vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin: 10px 0 16px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.sv-detail .sv-identity-meta {
  margin: 0 0 26px;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--sv-muted);
}
.sv-identity-meta span { font-weight: 700; color: var(--sv-ink); }
.sv-gallery, .sv-empty-photo { grid-area: gallery; min-width: 0; }
.sv-photo { position: relative; aspect-ratio: 4/3; background: #e8e9e5; }
.sv-detail .sv-enlarge {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
.sv-primary-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.sv-zoom-icon, .sv-photo-caption {
  background: #0c203ce8;
  color: white;
  position: absolute;
  bottom: 12px;
  line-height: 1.2;
}
.sv-zoom-icon { display: grid; width: 40px; height: 40px; right: 12px; place-items: center; }
.sv-photo-caption { left: 12px; padding: 8px 11px; font-size: .8125rem; font-weight: 600; pointer-events: none; }
.sv-empty-photo { display: grid; place-items: center; color: var(--sv-muted); }
.sv-thumbnails { display: flex; overflow-x: auto; gap: 10px; padding: 8px 4px 4px; }
.sv-detail .sv-thumbnails button {
  flex: 0 0 72px;
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  min-height: 44px;
}
.sv-detail .sv-thumbnails button[aria-pressed="true"] { border-color: var(--sv-ink); }
.sv-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.sv-viewer { max-width: 96vw; max-height: 94vh; padding: 0; border: 0; background: #102543; color: white; }
.sv-viewer::backdrop { background: #071223e8; }
.sv-viewer figure { margin: 0; }
.sv-large-photo { display: block; width: auto; max-width: min(92vw, 1600px); max-height: 78vh; height: auto; object-fit: contain; }
.sv-viewer figcaption { padding: .5rem 1rem; font-size: .875rem; }
.sv-viewer figcaption:empty { padding: 0; }
.sv-detail .sv-close {
  display: block;
  margin-left: auto;
  padding: 8px 17px;
  font-size: 1rem;
  color: white;
  min-height: 44px;
  border: 0;
  background: transparent;
}
.sv-close:focus-visible { outline-offset: -4px; }
.sv-offer { grid-area: offer; min-width: 0; }
.sv-key-figures {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px 22px;
  margin: 0 0 22px;
  padding: 20px 0;
  border-block: 1px solid var(--sv-rule);
}
.sv-key-figures > div { flex: 1 1 122px; }
.sv-key-figures dt, .sv-facts dt { color: var(--sv-muted); font-size: .9375rem; }
.sv-key-figures dd {
  margin: 5px 0 0;
  font: 700 clamp(1.25rem, 2.2vw, 2.25rem)/1.15 Manrope, 'DM Sans', Arial, sans-serif;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.sv-key-figures dd small { font-size: .58em; letter-spacing: 0; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-detail .sv-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--sv-ink);
  background: var(--sv-ink);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}
.sv-actions .sv-action:first-child { flex: 1; }
.sv-detail .sv-action-call { background: transparent; color: var(--sv-ink); }
.sv-detail .sv-action:hover { background: #263f60; color: white; }
.sv-detail .sv-confirm { color: var(--sv-muted); margin: 14px 0 0; line-height: 1.5; font-size: .875rem; }
.sv-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 110px);
  border-top: 1px solid var(--sv-rule);
  margin-top: clamp(32px, 5vw, 72px);
  padding-top: clamp(22px, 3vw, 42px);
}
.sv-description h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 0 0 14px; }
.sv-description h3 { margin: 25px 0 4px; font-size: 1.125rem; }
.sv-description p { margin: 0 0 14px; color: var(--sv-muted); line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.sv-facts { margin: 0; }
.sv-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 10px; border-bottom: 1px solid var(--sv-rule); }
.sv-facts > div:first-child { padding-top: 0; }
.sv-facts dd { text-align: right; font-weight: 600; margin: 0; overflow-wrap: anywhere; min-width: 0; }
.sv-unavailable { padding: 52px 6%; }

@media (max-width: 820px) {
  .sv-inner { padding-top: 8px; }
  .sv-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: 'identity' 'gallery' 'offer';
  }
  .sv-identity { padding-top: 0; }
  .sv-identity h1 { font-size: clamp(1.85rem, 6.5vw, 3.5rem); margin: 3px 0 7px; }
  .sv-detail .sv-identity-meta { margin-bottom: 13px; }
  .sv-key-figures { padding: 14px 0; margin-bottom: 14px; border-top: 0; gap: 8px 10px; }
  .sv-key-figures dd { font-size: clamp(1.3rem, 4.5vw, 2.1rem); }
  .sv-information { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 640px) {
  .sv-offer .sv-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
}
