:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --ink: #1b1d1b;
  --muted: #6e726d;
  --line: #dcded9;
  --accent: #24584d;
  --accent-soft: #e7efec;
  --sale: #c95536;
  --sale-soft: #f8ebe6;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
}
.brand { font-size: 15px; font-weight: 750; }
.site-header nav { display: flex; gap: 28px; font-size: 14px; font-weight: 650; }
.site-header nav a:hover, .header-email:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-email { color: var(--accent); font-size: 14px; font-weight: 700; }
.language-switch { display: flex; gap: 3px; padding: 3px; background: var(--bg); border-radius: 6px; }
.lang-link { min-width: 34px; padding: 6px 8px; border-radius: 4px; text-align: center; font-size: 11px; font-weight: 750; }
.lang-link.is-active { color: white; background: var(--ink); }

.hero {
  max-width: var(--max);
  min-height: 610px;
  margin: 0 auto;
  padding: 58px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: 42px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-content::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--sale);
}
.hero h1, .lot-hero h1, .section-heading h2, .contact-band h2 {
  margin: 0;
  font-weight: 730;
  letter-spacing: 0;
}
.hero h1 { max-width: 620px; font-size: 72px; line-height: .98; }
.hero-copy { max-width: 520px; margin: 28px 0 0; color: #454944; font-size: 20px; line-height: 1.55; }
.hero-actions { margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}
.button span { font-size: 18px; }
.button-primary { color: white; border-color: var(--accent); background: var(--accent); }
.button-primary:hover { background: #19473e; }
.button-light { color: var(--ink); border-color: var(--ink); background: white; }
.button-dark { color: white; border-color: var(--ink); background: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-link {
  min-height: 48px;
  min-width: 138px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 750;
  transition: filter .18s ease, transform .18s ease;
}
.contact-link:hover { filter: brightness(.92); transform: translateY(-1px); }
.contact-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.contact-link img { width: 20px; height: 20px; flex: 0 0 20px; }
.contact-whatsapp { background: #128c7e; }
.contact-viber { background: #665cac; }
.hero-trust, .eyebrow { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.hero-trust { margin: 24px 0 0; }
.hero-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}
.hero-image img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); min-width: 0; min-height: 0; max-height: calc(100% - 48px); object-fit: contain; }
.hero-image--mosaic {
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
}
.hero-image--mosaic > img { inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.hero-mosaic-label {
  position: absolute;
  z-index: 2;
  max-width: 22%;
  padding: 2px 0 2px 9px;
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--sale);
  background: transparent;
  transition: transform .18s ease, color .18s ease;
}
.hero-mosaic-label:hover { color: var(--accent); transform: translateY(-2px); }
.hero-mosaic-label strong { font-size: 13px; line-height: 1.15; }
.hero-mosaic-label span { color: #565b56; font-size: 9px; line-height: 1.25; }
.hero-mosaic-label-umbrellas { top: 4%; left: 3%; max-width: 22%; }
.hero-mosaic-label-textiles { top: 4%; left: 61%; max-width: 14%; }
.hero-mosaic-label-teak { top: 43%; left: 3%; max-width: 20%; }
.hero-mosaic-label-mattresses { top: 43%; left: 65%; max-width: 15%; }
.hero-mosaic-label-horeca { top: 74%; left: 3%; max-width: 30%; }

.lots-section, .products-section { max-width: var(--max); margin: 0 auto; padding: 92px 24px 100px; }
.lots-section { border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading .eyebrow { margin: 0 0 10px; color: var(--sale); }
.section-heading h2 { font-size: 44px; line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.lots-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lot-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 330px auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lot-card:hover { border-color: #b9beb7; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(25,35,30,.07); }
.lot-index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.lot-cover { min-width: 0; display: grid; place-items: center; overflow: hidden; padding: 32px 34px 18px; background: #fafaf8; }
.lot-cover img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; object-fit: contain; transition: transform .22s ease; }
.lot-card:hover .lot-cover img { transform: scale(1.015); }
.lot-card-body { min-width: 0; display: block; padding: 24px; border-top: 1px solid var(--line); }
.lot-title { display: block; font-size: 25px; line-height: 1.2; }
.lot-summary { display: block; min-height: 76px; margin-top: 9px; color: #565b56; font-size: 13px; line-height: 1.45; }
.lot-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.stock-count { min-width: 0; display: grid; gap: 2px; }
.stock-count small { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.stock-count strong { font-size: 19px; line-height: 1.15; }
.lot-card-footer > i { margin-left: auto; color: var(--sale); font-style: normal; font-size: 22px; }
.price-line {
  margin-top: 22px;
  padding-top: 19px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line);
}
.price-line > span { min-width: 0; display: flex; flex-direction: column; }
.price-line small, .offer-old span, .offer-price span, .product-price small { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.current-price strong { color: var(--accent); font-size: 29px; line-height: 1.1; }
.unit-hint { margin-top: 4px; color: var(--muted); font-size: 12px; }
.catalogue-price small { color: #4d514d; font-size: 11px; font-weight: 800; }
.catalogue-price s { margin-top: 4px; color: #343834; font-size: 19px; font-weight: 700; text-decoration-color: var(--sale); text-decoration-thickness: 2px; }
.saving-box { align-self: center; padding: 7px 10px; display: flex; flex-direction: column; color: var(--sale); border-radius: 4px; background: var(--sale-soft); }
.saving-box small { color: inherit; }
.saving-box b { margin-top: 1px; font-size: 19px; line-height: 1; }
.vat-line { margin-top: 18px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.vat-line i { color: var(--sale); font-style: normal; font-size: 18px; }

.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-band ul { max-width: var(--max); margin: 0 auto; padding: 30px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; }
.trust-band li { padding-left: 16px; border-left: 2px solid var(--accent); font-size: 14px; font-weight: 650; }

.lot-hero {
  max-width: var(--max);
  min-height: 540px;
  margin: 0 auto;
  padding: 50px 24px 38px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: 44px;
  align-items: center;
}
.lot-hero-copy { min-width: 0; max-width: 610px; }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--muted); font-size: 13px; font-weight: 650; }
.lot-hero-copy .eyebrow { margin: 0 0 12px; color: var(--sale); }
.lot-hero h1 { font-size: 54px; line-height: 1.02; }
.lot-hero-copy > p:not(.eyebrow) { max-width: 580px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.lot-hero-image { position: relative; height: 430px; min-width: 0; min-height: 0; overflow: hidden; border-radius: 6px; background: var(--surface); }
.lot-hero-image img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); min-width: 0; min-height: 0; max-height: calc(100% - 48px); object-fit: contain; }
.lot-facts { margin-top: 34px; display: flex; gap: 34px; }
.lot-facts span { display: flex; flex-direction: column; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.lot-facts strong { color: var(--ink); font-size: 25px; line-height: 1.1; }
.offer-band {
  max-width: calc(var(--max) - 48px);
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(280px, 1fr) auto;
  gap: 38px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.offer-old, .offer-price { display: grid; gap: 4px; }
.offer-old span { color: #4d514d; font-size: 11px; font-weight: 800; }
.offer-old s { color: #343834; font-size: 22px; font-weight: 700; text-decoration-color: var(--sale); text-decoration-thickness: 2px; }
.offer-price strong { max-width: 340px; color: var(--accent); font-size: 23px; line-height: 1.15; }
.offer-note { display: grid; gap: 9px; color: var(--muted); font-size: 13px; }
.offer-badges { display: flex; gap: 8px; }
.offer-badges b { padding: 7px 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-size: 11px; }
.offer-badges b:last-child { color: var(--sale); border-color: transparent; background: var(--sale-soft); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.product-image { height: 280px; padding: 28px; display: grid; place-items: center; overflow: hidden; background: #fafaf8; }
.product-image img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; object-fit: contain; }
.product-copy { padding: 20px; border-top: 1px solid var(--line); }
.product-top { min-height: 80px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
.product-top p { min-height: 18px; margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.product-top h3 { margin: 0; font-size: 18px; line-height: 1.28; }
.quantity-badge { min-width: 54px; align-self: start; padding: 7px 8px; display: grid; border: 1px solid var(--line); border-radius: 5px; text-align: center; }
.quantity-badge strong { font-size: 18px; line-height: 1; }
.quantity-badge span { color: var(--muted); font-size: 10px; }
.product-price { margin-top: 18px; padding-top: 16px; display: grid; gap: 7px; border-top: 1px solid var(--line); }
.product-price span { display: flex; gap: 12px; align-items: baseline; }
.product-price s { color: var(--muted); font-size: 14px; text-decoration-color: var(--sale); }
.product-price strong { color: var(--accent); font-size: 21px; }
.product-price b { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.price-tiers { margin-top: 5px; display: grid; border-top: 1px solid var(--line); }
.price-tiers span { min-height: 34px; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.price-tiers span:last-child { border-bottom: 0; }
.price-tiers small { color: var(--muted); font-size: 11px; }
.price-tiers strong { font-size: 16px; }
details { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
summary { cursor: pointer; color: var(--accent); font-size: 13px; font-weight: 700; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.contact-band { margin-top: 72px; padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 26px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; color: white; background: #202521; }
.contact-band .eyebrow { margin: 0 0 11px; color: #b9c9c4; }
.contact-band h2 { max-width: 780px; font-size: 43px; line-height: 1.08; }
.contact-band p:not(.eyebrow) { max-width: 640px; margin: 18px 0 0; color: #c7cbc8; }
.contact-band > .contact-actions { justify-content: flex-end; }
.footer-line { grid-column: 1 / -1; margin-top: 38px; padding-top: 17px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #424743; color: #b8bdb9; font-size: 12px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero, .lot-hero { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: 58px; }
  .hero-image { height: 410px; }
  .hero-image--mosaic { width: 100%; height: auto; }
  .lot-card { grid-template-rows: 280px auto; }
  .price-line { gap: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-band { margin: 0 24px; grid-template-columns: minmax(220px, auto) 1fr; }
  .offer-band .button { grid-column: 1 / -1; justify-self: start; }
  .offer-band > .contact-actions { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  .site-header { min-height: 60px; padding: 0 16px; gap: 12px; }
  .brand { max-width: 125px; font-size: 13px; line-height: 1.2; }
  .header-actions { gap: 10px; }
  .header-email { display: none; }
  .lang-link { min-width: 31px; padding: 5px 6px; }
  .hero, .lot-hero { min-height: 0; padding: 42px 16px 34px; grid-template-columns: 1fr; }
  .hero-content::before { margin-bottom: 22px; }
  .hero h1 { font-size: 45px; }
  .hero-copy { font-size: 17px; }
  .hero-image { height: 310px; order: -1; }
  .hero-image--mosaic { height: auto; }
  .hero-mosaic-label { max-width: 34%; padding: 6px 7px; border-left-width: 2px; }
  .hero-mosaic-label strong { font-size: 10px; }
  .hero-mosaic-label span { display: none; }
  .hero-actions { margin-top: 26px; }
  .lots-section, .products-section { padding: 64px 16px 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading h2 { font-size: 35px; }
  .lots-grid, .product-grid { grid-template-columns: 1fr; }
  .lot-card { grid-template-rows: 260px auto; }
  .lot-title { font-size: 22px; }
  .lot-summary { min-height: 0; }
  .lot-card-footer { margin-top: 18px; }
  .price-line { grid-template-columns: 1fr auto; }
  .saving-box { grid-column: 2; grid-row: 1 / span 2; }
  .trust-band ul { grid-template-columns: 1fr; gap: 20px; padding: 28px 16px; }
  .lot-hero h1 { font-size: 40px; }
  html[lang="ru"] .lot-hero h1 { font-size: 36px; }
  .lot-hero-image { height: 310px; order: -1; }
  .lot-facts { gap: 20px; flex-wrap: wrap; }
  .offer-band { margin: 0 16px; grid-template-columns: 1fr; gap: 18px; }
  .offer-badges { grid-column: auto; }
  .offer-band .button { width: 100%; }
  .offer-band > .contact-actions, .contact-band > .contact-actions { width: 100%; justify-content: flex-start; }
  .contact-link { min-width: 0; flex: 1 1 130px; }
  .product-image { height: 270px; }
  .contact-band { margin-top: 40px; padding: 55px 16px 24px; grid-template-columns: 1fr; align-items: start; }
  .contact-band h2 { font-size: 34px; }
  .footer-line { flex-direction: column; }
}
