:root {
  --ink: #050b18;
  --ink-soft: #101a2b;
  --cream: #f7f4ed;
  --paper: #f2f0ea;
  --lime: #dfff11;
  --lime-deep: #c9e600;
  --muted: #747982;
  --line: #d9d7d0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  width: min(100% - 56px, 1480px);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a3445;
}

.brand {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 650;
}

.header-meta span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgb(223 255 17 / 8%);
}

.header-divider {
  width: 1px;
  height: 28px;
  background: #455064;
}

.hero {
  width: min(100% - 56px, 1480px);
  min-height: 500px;
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lime-deep);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(3.35rem, 5vw, 6rem);
  font-stretch: condensed;
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.91;
  text-transform: uppercase;
}

.hero-line {
  width: 122%;
  display: block;
  white-space: nowrap;
  transform: scaleX(.82);
  transform-origin: left center;
}
.hero h1 em { color: var(--lime); font-style: normal; }

.hero-text {
  max-width: 650px;
  margin: 28px 0;
  color: #d7dae1;
  font-size: clamp(1rem, 1.3vw, 1.23rem);
  line-height: 1.55;
}

.primary-button {
  width: min(100%, 340px);
  min-height: 62px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lime);
  color: var(--ink);
  border-radius: 10px;
  font-size: 1.06rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button span { font-size: 1.4rem; }
.primary-button:hover { background: #efff72; transform: translateY(-2px); }

.discount-badge {
  position: relative;
  min-height: 340px;
  padding: 34px 38px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--ink);
  background: var(--lime);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 78%, 0 22%);
  animation: badge-in 420ms cubic-bezier(.2,.75,.2,1) both;
}

.discount-badge::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgb(5 11 24 / 20%);
  clip-path: inherit;
}

.discount-badge small {
  position: absolute;
  top: 42px;
  left: 76px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.discount-badge strong {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(7.2rem, 12vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.75;
}

.discount-badge span {
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured {
  width: min(100% - 40px, 1480px);
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-card {
  min-height: 280px;
  padding: 16px;
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 16px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgb(0 0 0 / 28%);
}

.featured-image-button, .product-image-button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ddd;
}

.featured-image-button {
  min-height: 246px;
  border-radius: 7px;
}

.featured-image-button img, .product-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.featured-card:hover img, .product-card:hover .product-image-button img {
  transform: scale(1.025);
}

.featured-card-copy {
  padding: 8px 14px 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.photo-number {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-card h2 {
  margin: 5px 0 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.3rem, 1.65vw, 1.7rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.compact-price-stack, .price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.old-price {
  color: #6c7076;
  font-size: 0.98rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.compact-price-stack strong {
  margin-top: 4px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stock-pill {
  padding: 9px 13px;
  display: inline-flex;
  background: var(--lime);
  color: var(--ink);
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 900;
}

.catalog-section {
  padding: 104px max(28px, calc((100vw - 1480px) / 2));
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2, .buy-section h2 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(3rem, 5.8vw, 6.5rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 310px;
  margin: 0;
  color: #626872;
  font-size: 0.95rem;
  text-align: right;
}

.catalog-tools {
  margin: 42px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.search-box {
  width: min(100%, 410px);
  min-height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.search-box span { color: #6a6f76; font-size: 1.5rem; }

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-box:focus-within {
  border-color: #8ba000;
  box-shadow: 0 0 0 3px rgb(201 230 0 / 16%);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.category-button {
  min-height: 42px;
  padding: 0 16px;
  color: #4c525b;
  background: transparent;
  border: 1px solid #c9c8c3;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.category-button:hover, .category-button.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime-deep);
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #c6d56d;
  box-shadow: 0 18px 38px rgb(5 11 24 / 10%);
}

.product-image-button {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.9;
}

.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  color: #fff;
  background: rgb(5 11 24 / 78%);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.product-card-copy {
  min-height: 270px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-card h3 {
  min-height: 50px;
  margin: 4px 0 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.stock-count {
  flex: 0 0 auto;
  padding: 6px 8px;
  background: #eff4ce;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.price-stack { margin-top: 24px; }

.price-stack strong {
  margin-top: 3px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 2.5vw, 2.7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.request-price, .compact-request-price { color: var(--ink); font-weight: 950; }
.request-price { margin-top: 40px; font-size: 1.5rem; }
.compact-request-price { font-size: 1.2rem; }

.reserve-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 850;
  transition: background 180ms ease;
}

.reserve-button:hover { color: var(--ink); background: var(--lime); }

.empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.empty-state strong { font-size: 1.8rem; }
.empty-state p { color: #676c74; }

.empty-state button {
  min-height: 44px;
  padding: 0 18px;
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}

.buy-section {
  width: min(100% - 56px, 1480px);
  margin: 0 auto;
  padding: 112px 0;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 0.75fr);
  gap: 84px;
  align-items: start;
}

.buy-section > div:first-child > p:last-child {
  max-width: 610px;
  margin: 28px 0 0;
  color: #bbc0ca;
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-panel {
  padding: 28px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 14px;
}

.contact-primary { display: flex; flex-direction: column; gap: 6px; }

.contact-primary span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-primary strong {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  font-weight: 950;
  letter-spacing: -0.065em;
}

.contact-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.contact-grid a {
  min-height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.contact-grid a:hover { background: var(--ink-soft); }

.contact-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #566071;
  border-radius: 50%;
  font-size: 0.68rem;
}

.contact-note { margin: 17px 0 0; font-size: 0.82rem; line-height: 1.45; }

footer {
  width: min(100% - 56px, 1480px);
  min-height: 106px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #2a3445;
}

footer p { color: #9da4af; text-align: center; }
footer > a:last-child { justify-self: end; font-weight: 850; }
.mobile-contact-bar { display: none; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgb(0 4 12 / 78%);
  backdrop-filter: blur(10px);
  animation: fade-in 180ms ease both;
}

.product-modal {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(90vh, 760px);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 34px;
  overflow: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 35px 110px rgb(0 0 0 / 48%);
  animation: modal-in 220ms cubic-bezier(.2,.75,.2,1) both;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(5 11 24 / 78%);
  border: 0;
  border-radius: 50%;
  font-size: 1.7rem;
}

.modal-gallery > img {
  width: 100%;
  height: min(59vh, 580px);
  object-fit: contain;
  background: #e5e3dd;
  border-radius: 10px;
}

.thumbnail-row { margin-top: 10px; display: flex; gap: 8px; }

.thumbnail {
  width: 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  border: 2px solid transparent;
  border-radius: 7px;
}

.thumbnail.active { border-color: #91a500; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.modal-copy {
  padding: 40px 20px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-copy h2 {
  margin: 7px 0 18px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.modal-copy .price-stack, .modal-copy .request-price { margin-top: 34px; }
.modal-copy .price-stack strong { font-size: clamp(3rem, 5.7vw, 5.4rem); }

.modal-copy > p {
  margin: 26px 0;
  color: #5f646c;
  line-height: 1.55;
}

.modal-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
}

.modal-actions a {
  min-height: 52px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.modal-call { color: #fff; background: var(--ink); }
.modal-whatsapp { color: var(--ink); background: var(--lime); }

.telegram-link {
  margin-top: 18px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes badge-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: 30px; }
  .discount-badge { min-height: 290px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image-button { min-height: 200px; }
  .featured-card-copy { min-height: 210px; padding: 4px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .category-list { justify-content: flex-start; }
}

@media (max-width: 780px) {
  body { padding-bottom: 66px; }
  .site-header { width: min(100% - 32px, 1480px); min-height: 72px; }
  .header-meta { display: none; }
  .brand { font-size: 1.35rem; }

  .hero {
    width: min(100% - 32px, 1480px);
    min-height: auto;
    padding: 44px 0 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); line-height: 0.9; }
  .hero-line {
    width: 100%;
    white-space: normal;
    transform: none;
  }
  .hero-text { margin: 24px 0; }
  .primary-button { width: 100%; }
  .discount-badge { min-height: 210px; padding: 26px; }
  .discount-badge small { top: 28px; left: 56px; }
  .discount-badge strong { font-size: clamp(7rem, 34vw, 10rem); }
  .discount-badge span { margin-top: 15px; font-size: 0.7rem; }

  .featured {
    width: 100%;
    margin: 10px 0 72px;
    padding: 0 16px 10px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .featured-card {
    flex: 0 0 84vw;
    min-height: 255px;
    grid-template-columns: 52% 48%;
    scroll-snap-align: center;
  }

  .featured-image-button { min-height: 225px; }
  .featured-card-copy { min-height: 225px; padding-right: 2px; }
  .featured-card h2 { font-size: 1.25rem; }
  .compact-price-stack strong { font-size: 2rem; }

  .catalog-section { padding: 72px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .buy-section h2 { font-size: clamp(3.1rem, 14vw, 5.1rem); }
  .section-heading > p { text-align: left; }
  .catalog-tools { margin: 30px 0 24px; }
  .search-box { width: 100%; }

  .category-list {
    margin-right: -16px;
    padding-right: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .category-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image-button { aspect-ratio: 1 / 1; }
  .product-card-copy { min-height: 246px; padding: 14px; }
  .product-title-row { display: block; }
  .product-card h3 { min-height: 43px; font-size: 0.93rem; }
  .stock-count { margin-top: 8px; display: inline-flex; }
  .price-stack { margin-top: 18px; }
  .price-stack strong { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .old-price { font-size: 0.8rem; }
  .request-price { min-height: 46px; margin-top: 25px; font-size: 1.05rem; }
  .reserve-button { min-height: 42px; padding: 7px 8px; font-size: 0.72rem; }

  .buy-section {
    width: min(100% - 32px, 1480px);
    padding: 78px 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-panel { padding: 22px; }
  .contact-primary strong { font-size: 2.65rem; }

  footer {
    width: min(100% - 32px, 1480px);
    padding: 26px 0;
    grid-template-columns: 1fr;
  }

  footer p { margin: 0; text-align: left; }
  footer > a:last-child { justify-self: start; }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgb(5 11 24 / 92%);
    border-top: 1px solid #3e4859;
    backdrop-filter: blur(12px);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 900;
  }

  .mobile-contact-bar a:first-child { color: var(--ink); background: var(--lime); }
  .mobile-contact-bar a:last-child { color: #fff; background: #1c283b; }
  .modal-backdrop { padding: 10px; }

  .product-modal {
    max-height: 94vh;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal-gallery > img { height: min(48vh, 440px); }
  .modal-copy { padding: 18px 8px 10px; }
  .modal-copy h2 { font-size: 2.5rem; }
  .modal-copy .price-stack, .modal-copy .request-price { margin-top: 22px; }
  .modal-copy > p { margin: 18px 0; }
  .modal-actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image-button { aspect-ratio: 1.2 / 1; }
  .product-card-copy { min-height: 232px; }
  .featured-card { flex-basis: 90vw; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
