/* ========== FtMgnt — стили сайта ==========
   Тёплая палитра, мягкие тени, скруглённые углы.
   Mobile-first, адаптивно, без зависимостей.
=========================================== */

:root {
  --c-bg: #FFFAF3;
  --c-bg-2: #FFF3E2;
  --c-surface: #FFFFFF;
  --c-text: #2A2118;
  --c-muted: #7A6E60;
  --c-border: #F1E3CE;

  --c-primary: #FF6B35;
  --c-primary-hover: #E85A28;
  --c-accent: #FFC93C;
  --c-accent-soft: #FFE69A;
  --c-success: #25D366;

  --shadow-sm: 0 2px 6px rgba(42, 33, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 33, 24, 0.10);
  --shadow-lg: 0 20px 50px rgba(255, 107, 53, 0.18);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1180px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-muted);
  transition: all 0.18s;
}

.nav a:hover,
.nav a.is-active {
  background: var(--c-bg-2);
  color: var(--c-text);
}

.lang-switch {
  display: inline-flex;
  background: var(--c-bg-2);
  border-radius: var(--r-pill);
  padding: 3px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--c-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  transition: all 0.18s;
}

.lang-switch button.is-active {
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--c-bg-2);
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: 20px;
  color: var(--c-text);
}

/* ========== Кнопки ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  border: 0;
  transition: transform 0.15s, box-shadow 0.18s, background 0.18s;
  text-align: center;
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.35);
}
.btn--primary:hover { background: var(--c-primary-hover); transform: translateY(-1px); }

.btn--secondary {
  background: var(--c-surface);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--secondary:hover { background: var(--c-bg-2); }

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  padding: 8px 14px;
  font-size: 14px;
}
.btn--ghost:hover { background: var(--c-bg-2); }

.btn--whatsapp {
  background: var(--c-success);
  color: #fff;
}
.btn--whatsapp:hover { background: #1ebb59; }

/* ========== Hero ========== */

.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 201, 60, 0.35), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 107, 53, 0.25), transparent 45%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
}

.hero__title span {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--c-muted);
  margin: 0 0 30px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__badge { display: flex; flex-direction: column; }
.hero__badge b {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.hero__badge span { font-size: 13px; color: var(--c-muted); }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  justify-self: end;
}

.hero__card {
  position: absolute;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  overflow: hidden;
}

.hero__card--1 {
  top: 0; left: 0;
  width: 65%;
  aspect-ratio: 1 / 1;
  transform: rotate(-6deg);
  z-index: 2;
}
.hero__card--2 {
  bottom: 0; right: 0;
  width: 55%;
  aspect-ratio: 1 / 1;
  transform: rotate(7deg);
  z-index: 3;
  background: linear-gradient(135deg, var(--c-accent-soft), var(--c-accent));
}
.hero__card--3 {
  bottom: 15%; left: 5%;
  width: 35%;
  aspect-ratio: 1 / 1;
  transform: rotate(-12deg);
  z-index: 1;
  background: linear-gradient(135deg, var(--c-primary), #ff8b5a);
}

.hero__card svg { width: 100%; height: 100%; }

/* ========== Секции ========== */

.section { padding: 60px 0; }

.section__head { text-align: center; margin-bottom: 40px; }

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section__subtitle { color: var(--c-muted); font-size: 17px; margin: 0; }

/* ========== Категории ========== */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.cat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-accent-soft), var(--c-accent));
  display: grid;
  place-items: center;
  font-size: 28px;
  flex-shrink: 0;
}

.cat-card__body { flex: 1; min-width: 0; }
.cat-card__title { font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.cat-card__desc { color: var(--c-muted); font-size: 14px; }
.cat-card__count { color: var(--c-primary); font-size: 13px; font-weight: 600; margin-top: 6px; }
.cat-card__arrow { color: var(--c-primary); font-size: 22px; font-weight: 600; }

/* ========== Карточка товара ========== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.product__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-bg-2);
  overflow: hidden;
  cursor: pointer;
}

.product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product__image-wrap:hover .product__image { transform: scale(1.04); }

.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product__gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(42, 33, 24, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product__cat {
  font-size: 12px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product__size { font-size: 13px; color: var(--c-muted); }

.product__price {
  font-weight: 800;
  color: var(--c-primary);
  font-size: 16px;
}

.product__details { align-self: flex-start; margin-top: 4px; }

/* ========== Каталог ========== */

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  align-items: center;
}

.catalog-search {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.catalog-search input {
  width: 100%;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--r-pill);
  padding: 13px 18px 13px 44px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.catalog-search input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}
.catalog-search::before {
  content: "🔍";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  pointer-events: none;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.chip {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s;
}
.chip:hover { background: var(--c-bg-2); color: var(--c-text); }
.chip.is-active { background: var(--c-text); color: #fff; border-color: var(--c-text); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-lg);
}

/* ========== О нас ========== */

.about {
  background: linear-gradient(180deg, transparent, var(--c-bg-2) 50%, transparent);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__text p {
  font-size: 17px;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature__title { font-weight: 700; font-size: 16px; }
.feature__text { color: var(--c-muted); font-size: 14px; }

/* ========== Контакты ========== */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.contact:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.contact__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-bg-2);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin: 0 auto 4px;
}

.contact__label {
  font-size: 13px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact__value {
  font-weight: 700;
  font-size: 16px;
  word-break: break-all;
}

.contact__btn { margin-top: auto; }

/* ========== Форма ========== */

.order-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-form__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
}
.order-form input, .order-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.order-form input:focus, .order-form textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}
.order-form textarea { min-height: 110px; resize: vertical; }
.order-form__note { font-size: 13px; color: var(--c-muted); margin: 4px 0 0; }

/* ========== Footer ========== */

.footer {
  margin-top: 60px;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: 36px 0 26px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer__tagline { color: var(--c-muted); font-size: 14px; }

.footer__small {
  color: var(--c-muted);
  font-size: 13px;
  text-align: right;
}

/* ========== Модальное окно ========== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }

.modal__body {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--c-bg-2);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  z-index: 5;
  transition: background 0.18s;
}
.modal__close:hover { background: var(--c-border); }

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal__image-col {
  display: flex;
  flex-direction: column;
  background: var(--c-bg-2);
}

.modal__image-wrap {
  background: var(--c-bg-2);
  aspect-ratio: 1 / 1;
}
.modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.18s;
}

.modal__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  overflow-x: auto;
  background: var(--c-bg-2);
}

.modal__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-surface);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s;
}
.modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal__thumb.is-active {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}
.modal__thumb:hover { border-color: var(--c-border); }
.modal__thumb.is-active:hover { border-color: var(--c-primary); }

.modal__info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__cat {
  font-size: 13px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.modal__title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.modal__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.modal__meta-label {
  color: var(--c-muted);
  font-size: 13px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.modal__meta-value { font-weight: 600; }
.modal__price {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-primary);
}
.modal__desc {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.modal__order { margin-top: 8px; align-self: flex-start; }

/* ========== Адаптив ========== */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { justify-self: center; max-width: 380px; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__image-wrap { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    gap: 0;
    padding: 8px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    width: 100%;
    text-align: left;
    border-radius: 12px;
  }
  .lang-switch { margin-left: auto; }
  .header__inner { position: relative; }
  .hero { padding: 36px 0 50px; }
  .section { padding: 40px 0; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__small { text-align: center; }
  .modal__info { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product__body { padding: 12px; }
  .hero__badges { gap: 18px; }
}

/* ========== Кнопка Kaspi + блок actions ========== */

.btn--kaspi {
  background: #FF3B30;
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 59, 48, 0.28);
}
.btn--kaspi:hover {
  background: #e62a20;
  transform: translateY(-1px);
}

.product__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.product__actions .btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
}

.modal__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.modal__buttons .btn { flex: 1 1 auto; min-width: 180px; }

@media (max-width: 480px) {
  .product__actions .btn { padding: 9px 12px; font-size: 13px; }
}

/* ========== Подфильтры (города) ========== */
.chips--sub {
  display: none;
  margin-top: -16px;
  padding-left: 4px;
  padding-bottom: 4px;
}
.chips--sub.is-visible {
  display: flex;
}
.chip--sub {
  background: var(--c-bg-2);
  border-color: transparent;
  font-size: 13px;
  padding: 7px 13px;
}
.chip--sub:hover { background: var(--c-accent-soft); color: var(--c-text); }
.chip--sub.is-active {
  background: var(--c-accent);
  color: var(--c-text);
  border-color: var(--c-accent);
}


/* ========== Акцентные категории ========== */
/* Карточка категории на главной с акцентным цветом */
.cat-card[data-accent] {
  border-color: var(--accent-color, var(--c-border));
  background: linear-gradient(135deg, rgba(255,255,255,0.95), color-mix(in srgb, var(--accent-color) 10%, white));
  box-shadow: 0 0 0 1px var(--accent-color);
}
.cat-card[data-accent] .cat-card__icon {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 70%, white));
  color: #fff;
}
.cat-card[data-accent] .cat-card__count,
.cat-card[data-accent] .cat-card__arrow {
  color: var(--accent-color);
}
.cat-card[data-accent]:hover {
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

/* Чип фильтра с акцентным цветом, когда активен */
.chip[data-accent].is-active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}
.chip[data-accent]:not(.is-active) {
  border-color: color-mix(in srgb, var(--accent-color) 30%, var(--c-border));
  color: var(--accent-color);
}
.chip[data-accent]:not(.is-active):hover {
  background: color-mix(in srgb, var(--accent-color) 12%, white);
}

/* ========== Быстрые разделы ========== */
.section--quicklinks { padding-top: 30px; }

.quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.quicklink {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  overflow: hidden;
}
.quicklink:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.quicklink::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 22px;
  color: inherit;
  opacity: 0.4;
  transition: transform 0.18s, opacity 0.18s;
}
.quicklink:hover::after { opacity: 1; transform: translateX(4px); }
.quicklink__icon { font-size: 38px; line-height: 1; }
.quicklink__title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; padding-right: 28px; }
.quicklink__desc { color: var(--c-muted); font-size: 14px; line-height: 1.4; }

/* Цветовые варианты */
.quicklink--photo {
  background: linear-gradient(135deg, #fff5e0, #ffe6c2);
  border-color: var(--c-accent);
}
.quicklink--b2b {
  background: linear-gradient(135deg, #fff, #f4f0e8);
  border-color: #b8a888;
}
.quicklink--b2b .quicklink__title { color: #5c4a2a; }
.quicklink--islam {
  background: linear-gradient(135deg, #e6f5ec, #c7e8d0);
  border-color: #1B8B3E;
}
.quicklink--islam .quicklink__title { color: #1B8B3E; }
.quicklink--kz {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  border-color: #00ACC1;
}
.quicklink--kz .quicklink__title { color: #007989; }
.quicklink--love {
  background: linear-gradient(135deg, #ffeef0, #ffd6dc);
  border-color: #e84a5f;
}
.quicklink--love .quicklink__title { color: #c4374a; }
.quicklink--cities {
  background: linear-gradient(135deg, #fff3e2, #ffe2bb);
  border-color: var(--c-primary);
}
.quicklink--cities .quicklink__title { color: var(--c-primary); }

@media (max-width: 480px) {
  .quicklinks { grid-template-columns: 1fr; }
  .quicklink { padding: 20px 18px; }
  .quicklink__icon { font-size: 32px; }
  .quicklink__title { font-size: 16px; }
}

/* Акцент для карточки-превью на главной */
.quicklink--preview {
  background: linear-gradient(135deg, #f4ecff, #e3d3ff);
  border-color: #7a4fff;
}
.quicklink--preview .quicklink__title { color: #5a2dd0; }

/* ========================================================================
   Photo preview (страница photo-preview.html)
   ======================================================================== */

.preview .section__title { letter-spacing: -0.02em; }

.preview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .preview__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---- Левая колонка ---- */
.preview__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 32px 22px;
  border: 2px dashed color-mix(in srgb, var(--c-primary) 35%, var(--c-border));
  border-radius: var(--r-lg);
  background: var(--c-surface);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.dropzone:hover {
  border-color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 5%, white);
}
.dropzone.is-drag {
  border-color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 10%, white);
  transform: scale(1.01);
}
.dropzone__icon { font-size: 38px; line-height: 1; }
.dropzone__title { font-weight: 800; font-size: 17px; }
.dropzone__subtitle { color: var(--c-muted); font-size: 14px; }
.dropzone__hint {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 12px;
  opacity: 0.8;
}

.preview__sliders {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

.slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text);
}
.slider__value {
  font-variant-numeric: tabular-nums;
  color: var(--c-muted);
  font-weight: 700;
  font-size: 13px;
}
.slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-bg-2);
  outline: none;
}
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
  cursor: pointer;
}
.slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
  cursor: pointer;
}

.preview__hint {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}
.preview__reset {
  align-self: flex-start;
  padding: 9px 16px;
  font-size: 13px;
}

.preview__quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}
.qty { display: flex; flex-direction: column; gap: 6px; }
.qty__label { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.qty__row {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--c-bg);
}
.qty__btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  transition: background 0.15s;
}
.qty__btn:hover { background: var(--c-bg-2); }
.qty__row input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  color: var(--c-text);
  font-family: inherit;
  -moz-appearance: textfield;
}
.qty__row input::-webkit-outer-spin-button,
.qty__row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.preview__total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: var(--c-muted);
}
.preview__total b {
  font-size: 22px;
  color: var(--c-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.preview__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview__actions .btn {
  width: 100%;
  padding: 14px 22px;
  font-size: 15px;
}
.preview__order[disabled],
.preview__actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.preview__note {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ---- Правая колонка: магнит (мокап-стиль) ---- */
.preview__stage {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 60px 30px 80px;
  background: linear-gradient(135deg, #ededef 0%, #e2e4e8 60%, #d9dbe0 100%);
  border-radius: var(--r-lg);
  perspective: 1600px;
  perspective-origin: 50% 30%;
  overflow: hidden;
}
.preview__stage::before {
  /* мягкое окружающее освещение */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 10%, rgba(255,255,255,0.55), transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .preview__stage {
    position: static;
    order: -1;
    padding: 40px 16px 56px;
  }
}

.magnet {
  position: relative;
  width: 360px;
  height: 360px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #efefe9;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  /* 3D-наклон как на мокапе */
  transform: rotateX(34deg) rotateZ(-22deg);
  transform-origin: 50% 60%;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  /* мягкая длинная тень + контурный блик */
  box-shadow:
    0 2px 0 rgba(0,0,0,0.18),
    0 10px 18px rgba(0,0,0,0.18),
    30px 50px 80px -10px rgba(20, 20, 30, 0.45),
    50px 80px 120px -20px rgba(20, 20, 30, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.55),
    inset 0 0 0 2px rgba(0,0,0,0.05);
}
.magnet.is-dragging {
  /* Полностью выпрямляем, чтобы перетаскивание совпадало с осями фото */
  cursor: grabbing;
  transform: rotateX(0deg) rotateZ(0deg);
  transition: transform 0.15s ease-out;
}
.magnet:hover:not(.is-dragging) {
  transform: rotateX(28deg) rotateZ(-18deg);
}

.magnet__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.magnet__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 6px;
  /* Стекло/глянец: широкая диагональная полоса + угловые блики + тонкая нижняя тень */
  background:
    /* верхний светлый блик */
    linear-gradient(155deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.18) 14%,
      rgba(255,255,255,0.0)  28%,
      rgba(255,255,255,0.0)  60%,
      rgba(255,255,255,0.22) 78%,
      rgba(255,255,255,0.45) 100%
    ),
    /* тонкая поперечная полоса-отражение */
    linear-gradient(115deg,
      transparent 35%,
      rgba(255,255,255,0.25) 47%,
      rgba(255,255,255,0.35) 50%,
      rgba(255,255,255,0.10) 53%,
      transparent 65%
    ),
    /* лёгкое затемнение в углу */
    radial-gradient(60% 40% at 100% 100%, rgba(0,0,0,0.18), transparent 70%);
  mix-blend-mode: screen;
}
.magnet__overlay::after {
  /* тонкая внутренняя рамка-стекло */
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
  pointer-events: none;
}

.magnet__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6c6e75;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.magnet__placeholder-icon {
  font-size: 52px;
  opacity: 0.5;
}
.magnet.has-photo { cursor: grab; }

.magnet__caption {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: #5c5e66;
  margin-top: 30px;
}
.magnet__caption b { color: #2a2c33; font-weight: 800; margin-right: 4px; }

@media (max-width: 480px) {
  .magnet { width: 280px; height: 280px; }
}

/* ---- Как это работает ---- */
.preview__how { padding-top: 0; }
.preview__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.preview__step {
  padding: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.preview__step-title { font-weight: 800; font-size: 16px; }
.preview__step-text { color: var(--c-muted); font-size: 14px; line-height: 1.5; }

/* ===== B2B page ===== */
.section--alt { background: var(--c-bg-2); }
.section--cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
}
.section--cta .section__title { color: #fff; }
.section--cta .section__subtitle { color: rgba(255,255,255,0.92); }

.b2b-hero { padding-top: 24px; }
.b2b-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.b2b-cta .btn { min-width: 220px; }

.b2b-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.b2b-tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.b2b-tier:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.b2b-tier--popular {
  border-color: var(--c-primary);
  border-width: 2px;
  background: linear-gradient(180deg, #fff, var(--c-bg-2));
}
.b2b-tier__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.b2b-tier__head { font-size: 14px; color: var(--c-muted); font-weight: 600; margin-bottom: 8px; }
.b2b-tier__price { font-size: 32px; font-weight: 900; color: var(--c-text); line-height: 1; }
.b2b-tier__note { font-size: 13px; color: var(--c-muted); margin-top: 8px; }
.b2b-pricing-foot {
  text-align: center;
  color: var(--c-muted);
  font-size: 14px;
  margin-top: 20px;
}

.b2b-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.b2b-case {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 24px 20px;
  transition: transform .15s ease;
}
.b2b-case:hover { transform: translateY(-2px); }
.b2b-case__icon { font-size: 32px; margin-bottom: 12px; }
.b2b-case__title { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.b2b-case__text { color: var(--c-muted); font-size: 14px; line-height: 1.5; }

.b2b-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.b2b-step {
  background: var(--c-bg-2);
  border-radius: 18px;
  padding: 24px 20px;
}
.b2b-step__num {
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}
.b2b-step__title { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.b2b-step__text { color: var(--c-muted); font-size: 14px; line-height: 1.5; }

.b2b-finale { text-align: center; }
.b2b-finale .b2b-cta { margin-top: 28px; }
.b2b-finale .btn--whatsapp { background: #fff; color: var(--c-primary); }
.b2b-finale .btn--whatsapp:hover { background: var(--c-bg); }

/* ===== Компактные карточки категорий (главная) ===== */
.cat-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.cat-grid--compact .cat-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 10px 14px;
}
.cat-grid--compact .cat-card__icon {
  width: 44px;
  height: 44px;
  font-size: 22px;
}
.cat-grid--compact .cat-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.cat-grid--compact .cat-card__desc { display: none; }
.cat-grid--compact .cat-card__count {
  font-size: 11px;
  margin: 2px 0 0;
  font-weight: 500;
  opacity: 0.7;
}
.cat-grid--compact .cat-card__arrow { display: none; }
@media (max-width: 640px) {
  .cat-grid--compact { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .cat-grid--compact .cat-card { padding: 12px 8px 10px; }
  .cat-grid--compact .cat-card__icon { width: 38px; height: 38px; font-size: 20px; }
  .cat-grid--compact .cat-card__title { font-size: 12px; }
}

/* ===== Компактный «Быстрый переход» (2 карточки) ===== */
.quicklinks--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Section Landing (большие подкатегории внутри раздела) ===== */
.section-landing {
  padding: 8px 0 0;
  grid-column: 1 / -1; /* растягиваем на всю ширину родительского грида */
}
.section-landing__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 8px;
}
.section-landing__slogan {
  text-align: center;
  font-style: italic;
  color: var(--c-muted);
  font-size: 16px;
  margin: 0 0 28px;
}
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.subcat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-color) 8%, white) 0%, white 70%);
  border: 1px solid color-mix(in srgb, var(--card-color) 18%, var(--c-border));
  border-radius: 18px;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  overflow: hidden;
}
.subcat-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 70px; height: 70px;
  background: var(--card-color);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}
.subcat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  border-color: var(--card-color);
}
.subcat-card--soon { opacity: 0.7; cursor: not-allowed; }
.subcat-card--soon:hover { transform: none; box-shadow: none; }
.subcat-card__icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--card-color) 20%, transparent);
}
.subcat-card__body { flex: 1; min-width: 0; }
.subcat-card__name-main {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.subcat-card__name-sub {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.subcat-card__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--card-color);
}
.subcat-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--c-bg-2);
  color: var(--c-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .subcat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section-landing__title { font-size: 24px; }
  .subcat-card { padding: 14px; gap: 10px; }
  .subcat-card__icon { width: 40px; height: 40px; font-size: 20px; }
  .subcat-card__name-main { font-size: 15px; }
  .subcat-card__name-sub { display: none; }
}

/* ===== Хлебные крошки на каталоге ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--c-muted);
  margin: 0 0 16px;
}
.breadcrumb a {
  color: var(--c-primary);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .bc__sep {
  color: var(--c-muted);
  opacity: 0.6;
}

/* ===== 7 разделов сайта на главной ===== */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.section-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--sec-color) 8%, white) 0%, white 70%);
  border: 1px solid color-mix(in srgb, var(--sec-color) 20%, var(--c-border));
  border-radius: 20px;
  color: var(--c-text);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
}
.section-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--sec-color);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
  transition: transform .25s, opacity .25s;
}
.section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border-color: var(--sec-color);
}
.section-card:hover::before {
  transform: translate(15%, -15%) scale(1.5);
  opacity: 0.14;
}
.section-card__icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: white;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--sec-color) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec-color) 30%, transparent);
}
.section-card__body { flex: 1; min-width: 0; }
.section-card__name-main {
  font-weight: 800;
  font-size: 19px;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 2px;
}
.section-card__name-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.section-card__slogan {
  font-style: italic;
  font-size: 14px;
  color: var(--sec-color);
  line-height: 1.35;
  margin-bottom: 10px;
}
/* Старые классы (на случай если рендерится старая разметка) */
.section-card__name-kz, .section-card__name-ru,
.section-card__slogan-kz, .section-card__slogan-ru { display: none; }
.section-card__count {
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.section-card__arrow {
  position: absolute;
  bottom: 18px;
  right: 22px;
  color: var(--sec-color);
  font-size: 22px;
  opacity: 0.4;
  transition: transform .15s, opacity .15s;
}
.section-card:hover .section-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .sections-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-card { padding: 18px; }
  .section-card__icon { width: 48px; height: 48px; font-size: 24px; }
  .section-card__name-kz { font-size: 17px; }
}

/* ===== Реалистичное превью (фото-мокап) ===== */
.preview__mockup-sect { padding-top: 0; }
.mockup-toggle-row {
  text-align: center;
  margin-bottom: 20px;
}
.mockup-toggle { min-width: 240px; }
.mockup-toggle.is-active {
  background: var(--c-primary);
  color: #fff;
}
.mockup-stage {
  text-align: center;
}
.mockup-stage__wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 720px;
  line-height: 0;
}
.mockup-stage__bg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f3f3f3;
}
.mockup-stage__photo {
  /* size + transform set by JS (matrix3d) */
}
.mockup-stage__hint {
  text-align: center;
  color: var(--c-muted);
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.5;
}

/* ===== 3D-превью (Three.js) ===== */
.preview__3d-sect { padding-top: 0; }
.threed-stage {
  text-align: center;
}
.threed-stage__canvas {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 540px;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f6f6 0%, #e9e9e9 100%);
  cursor: grab;
  touch-action: none;
}
.threed-stage__canvas:active { cursor: grabbing; }
@media (max-width: 640px) {
  .threed-stage__canvas { height: 380px; }
}

/* ===== Заказать на Kaspi (3 размера) ===== */
.kaspi-sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.kaspi-size {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 28px 20px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.kaspi-size:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: var(--c-primary);
}
.kaspi-size--popular {
  border-color: var(--c-primary);
  border-width: 2px;
  background: linear-gradient(180deg, #fff, var(--c-bg-2));
}
.kaspi-size__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.kaspi-size__dim {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -.5px;
}
.kaspi-size__hint {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.kaspi-size__btn {
  margin-top: 4px;
  width: 100%;
}
.kaspi-sizes-foot {
  text-align: center;
  color: var(--c-muted);
  font-size: 14px;
  margin-top: 20px;
}
