:root {
  --bg: #15120f;
  --bg-deep: #0f0d0b;
  --panel: #1d1916;
  --panel-soft: #241f1a;
  --line: #3a332c;
  --ink: #f0e6d7;
  --muted: #b8b0a3;
  --accent: #c9a36a;
  --accent-strong: #e0bf84;
  --placeholder: #787878;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #1c1814, #0f0d0b 55%, #0a0908 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  gap: 64px;
}

.hero {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #6c6c6c;
  overflow: hidden;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform-origin: center;
  animation: hero-pan 18s ease-in-out infinite alternate;
}

.hero-image.is-active {
  opacity: 1;
}

@keyframes hero-pan {
  0% {
    transform: scale(1.02) translateX(0);
  }

  100% {
    transform: scale(1.08) translateX(-2%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 48px 56px;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #f7efe3;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink);
}

.hero-meta {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.catalog-head {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: -24px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
}

.btn {
  border-radius: 999px;
  border: 1px solid var(--accent-strong);
  padding: 12px 22px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.btn.primary {
  background: var(--accent);
  color: #1b140b;
  border-color: transparent;
}

.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.btn.small {
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.category-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.category-list {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.category-list li {
  color: var(--ink);
}

.image-placeholder {
  background: linear-gradient(140deg, #666666, #8c8c8c);
  border: 1px solid #4c4c4c;
  border-radius: 16px;
}

.category-preview {
  width: 140px;
  height: 46px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--panel-soft);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.card-media {
  border-radius: 16px;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease;
}

.kitchen-image {
  background-image: url("https://static.tildacdn.com/tild3931-3031-4432-a430-366538623564/kitchen.png");
}

.bedroom-image {
  background-image: url("https://static.tildacdn.com/tild6262-3063-4635-a266-643263653662/room1.png");
}

.living-image {
  background-image: url("https://static.tildacdn.com/tild6565-6134-4566-b064-343763383037/hall1.png");
}

.card-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: #f4eadb;
}

.reasons {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.reason-item {
  display: grid;
  gap: 10px;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.reason-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  margin: 0 auto;
}

.reason-item p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.model-card {
  background: var(--panel-soft);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.model-media {
  height: 180px;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.model-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.model-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.model-info p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.process {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.step {
  background: var(--panel-soft);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  gap: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #1b140b;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
}

.step h3 {
  font-size: 18px;
}

.step p {
  font-size: 12px;
}

.process-media {
  grid-column: 4 / 5;
  grid-row: 1 / span 1;
  height: 100%;
  min-height: 180px;
  border-radius: 18px;
  transition: transform 0.35s ease;
}

.process-image {
  background-image: url("https://static.tildacdn.com/tild3939-3230-4365-b933-323432393138/etapy.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.about p {
  color: var(--ink);
  margin: 0;
}

.about p+p {
  margin-top: 12px;
}

.partners {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  background: #efe9de;
  border: 1px solid #d9cdbf;
  border-radius: 18px;
  padding: 12px;
  min-height: 110px;
  display: grid;
  place-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.partner-card img {
  width: 100%;
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: saturate(1.05);
}

@media (min-width: 1101px) {
  .partners-grid .partner-card:nth-child(8) {
    grid-column: 3;
  }

  .partners-grid .partner-card:nth-child(9) {
    grid-column: 4;
  }

  .partners-grid .partner-card:nth-child(10) {
    grid-column: 5;
  }
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(130deg, #f4efe6, #e7ded2);
  color: #1c1712;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.contact h2 {
  color: #1c1712;
}

.contact p {
  color: #302a24;
}

.contact a {
  color: #1c1712;
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
}

.contact-form--popup {
  width: 100%;
}

.contact-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3a332c;
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid #c9bcae;
  padding: 12px 14px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  background: #fffaf3;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form .btn.primary {
  justify-self: center;
}

.kaspi {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  align-items: center;
}

.kaspi-content {
  display: grid;
  gap: 12px;
}

.kaspi-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 132, 0.6);
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.kaspi-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.kaspi-visual {
  min-height: 180px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease;
}

.kaspi-image {
  background-image: url("https://static.tildacdn.com/tild3039-3734-4262-b430-646132313361/kaspi.png");
}

.popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 100;
  padding: 24px;
}

.image-viewer {
  padding: 0;
}

.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.7);
  backdrop-filter: blur(6px);
}

.popup-card {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: linear-gradient(160deg, #1f1a16, #15110f);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s ease;
  max-height: 85vh;
  overflow: auto;
}

.popup-card--thanks {
  width: min(520px, 100%);
  text-align: center;
}

.popup-card--contact {
  width: min(720px, 100%);
}
.thanks-content {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(224, 191, 132, 0.16);
  border: 1px solid rgba(224, 191, 132, 0.4);
  color: var(--accent-strong);
  font-size: 30px;
}

.popup.is-open .popup-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 132, 0.3);
  background: rgba(17, 14, 12, 0.8);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.popup-header {
  display: grid;
  gap: 6px;
}

.popup-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent-strong);
}

.popup-title {
  margin: 0;
  font-size: 30px;
}

.popup-subtitle {
  margin: 0;
  color: var(--muted);
}

.popup-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.popup-product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.popup-product-media {
  height: 120px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease;
}

.popup-product-info h4 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 20px;
}

.popup-product-info p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.popup-card--gallery {
  width: min(1320px, 96vw);
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.gallery-header {
  display: grid;
  gap: 6px;
}

.gallery-header h3 {
  margin: 0;
  font-size: 28px;
}

.gallery-header p {
  margin: 0;
  color: var(--muted);
}

.gallery-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  height: 100%;
  min-height: 0;
}

.gallery-image {
  height: 100%;
  min-height: 360px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
}

.gallery-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(224, 191, 132, 0.35);
  background: rgba(17, 14, 12, 0.8);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(224, 191, 132, 0.6);
  transform: translateY(-2px);
}

.image-viewer .popup-card--viewer {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.viewer-header {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.viewer-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.viewer-controls {
  display: flex;
  gap: 8px;
}

.viewer-controls .btn.small {
  padding: 6px 12px;
  font-size: 11px;
  background: rgba(15, 12, 10, 0.7);
  border-color: rgba(224, 191, 132, 0.6);
}

.viewer-canvas {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.viewer-canvas img {
  max-width: 95vw;
  max-height: 92vh;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--zoom, 1));
  transform-origin: center;
  transition: transform 0.2s ease;
  cursor: grab;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  touch-action: none;
}

.viewer-canvas img.is-dragging {
  cursor: grabbing;
  transition: none;
}

.viewer-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  z-index: 2;
}

.site-footer {
  margin-top: 80px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(26, 22, 18, 0.9), rgba(16, 13, 10, 0.9));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  color: var(--ink);
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent-strong);
  margin: 0 0 14px;
}

.footer-brand p {
  margin: 0 0 12px;
  color: var(--muted);
}

.footer-nav,
.footer-info {
  display: grid;
  gap: 8px;
}

.footer-nav a,
.footer-info a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: var(--accent-strong);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-payments {
  width: 180px;
  height: auto;
  margin-top: 12px;
  filter: brightness(0.95);
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.process-media,
.kaspi-visual,
.footer-payments {
  animation: floaty 10s ease-in-out infinite;
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.modal-open {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  .category-card:hover,
  .model-card:hover,
  .step:hover,
  .reason-item:hover,
  .kaspi:hover,
  .about:hover,
  .partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 191, 132, 0.35);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
  }

  .contact:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.25);
  }

  .category-card:hover .card-media,
  .model-card:hover .model-media,
  .popup-product:hover .popup-product-media,
  .kaspi:hover .kaspi-visual {
    transform: scale(1.03);
  }

  .popup-close:hover {
    background: rgba(224, 191, 132, 0.2);
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .popup,
  .popup-card,
  .btn,
  .category-card,
  .model-card,
  .step,
  .reason-item,
  .kaspi,
  .about,
  .contact,
  .partner-card,
  .site-footer {
    transition: none;
  }

  .category-card.is-visible,
  .partner-card.is-visible,
  .kaspi.is-visible,
  .about.is-visible,
  .contact.is-visible,
  .process-media,
  .kaspi-visual,
  .footer-payments {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-media {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kaspi {
    grid-template-columns: 1fr;
  }

  .popup-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-info {
    justify-self: start;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero-content {
    padding: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-showcase,
  .popular-grid,
  .reasons-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-media {
    grid-column: span 1;
  }

  .kaspi-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .popup-card {
    padding: 22px;
  }

  .popup-products {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .viewer-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .viewer-canvas {
    padding: 12px;
  }

  .gallery-main {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 320px;
  }

  .gallery-nav {
    justify-self: center;
  }
}

/* Hide scrollbars for popups and galleries */
.popup-card::-webkit-scrollbar,
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.popup-card,
.gallery-thumbs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
