/* ========================================================== */
/* _tpl\main.css  - page-specific styles, extracted from templates          */
/* ========================================================== */


/* ==================== main_cats.tpl (block 1 of 1) - extracted from templates/main_cats.tpl ==================== */

/* ── Обёртка ── */
.cats-wrap {
    position: relative;
    padding: 0 0 15px 0;
    overflow: hidden;
}

/* ── Заголовок и кнопка каталога ── */
.cats-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.cats-head__title {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight: 600;
    color: #1a2744;
    line-height: 1.25;
}

.cats-head__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #4a9ede 0%, #288ede 100%);
    box-shadow: 0 6px 18px -6px rgba(74, 158, 222, .6);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.cats-head__btn i {
    font-size: 1.05em;
}

.cats-head__btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(0px);
    box-shadow: 0 12px 26px -8px rgba(74, 158, 222, .75);
    filter: brightness(1.05);
}

.cats-head__btn:focus-visible {
    outline: 3px solid #4a9ede;
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .cats-head {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    .cats-head__btn {
        justify-content: center;
        width: 100%;
    }
}

/* ── Скроллер (горизонтальный на мобильных) ── */
.cats-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.cats-scroller::-webkit-scrollbar {
    display: none;
}

/* ── Ряд категорий ── */
.cats-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    padding: 0 4px;
}

/* ── Элемент категории ── */
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 14px 10px 12px;
    border-radius: 24px;
    text-decoration: none;
    background: hsla(230, 13%, 9%, 0.02);
    border: 1px solid #e8ecf2;
    transition: all 0.2s ease;
}

.cat-item:hover {
    background: #f8fafc;
    border-color: #d0d9e6;
    /* transform: translateY(-2px); */
}

.cat-item:active {
    transform: translateY(0);
}

/* ── Иконка ── */
.cat-item__icon {
    /* width: 48px; */
    /* height: 48px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 12px;
    /* background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fb 100%); */
}

.cat-item__img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
    border-radius: 50%;
}

.cat-item:hover .cat-item__img {
    transform: scale(1.05);
}

/* ── Подпись ── */
.cat-item__name {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.15s ease;
}

.cat-item:hover .cat-item__name {
    color: #2563eb;
}

/* ── Мобильные: сетка по 3 категории в ряд, без скролла ── */
@media (max-width: 767px) {
    .cats-scroller {
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
    }

    .cats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 10px;
        width: 100%;
        padding: 0;
    }

    .cat-item {
        min-width: 0;
    }
}

/* ── Десктоп: сетка во всю ширину ── */
@media (min-width: 768px) {
    .cats-scroller {
        overflow-x: visible;
    }

    .cats-row {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 5px;
        width: 100%;
        padding: 0;
    }

    .cat-item {
        min-width: 0;
        padding: 16px 8px 14px;
    }

    .cat-item__icon {
        /* width: 56px; */
        /* height: 56px; */
    }

    .cat-item__img {
        /* width: 36px; */
        /* height: 36px; */
    }

    .cat-item__name {
        font-size: 0.81259rem;
    }
}

/* ── Мобильные: тонкая настройка ── */
@media (max-width: 575px) {
    .cats-wrap {
        padding: 12px 0;
    }

    .cat-item {
        min-width: 0;
        padding: 12px 8px 10px;
        border-radius: 14px;
    }

    .cat-item__icon {
        /* width: 44px; */
        /* height: 44px; */
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .cat-item__img {
       width:90px;
       height:90px;
    }

    .cat-item__name {
        font-size: 0.78rem;
    }
}


/* ==================== main_root.tpl (block 1 of 1) - extracted from templates/main_root.tpl ==================== */

    /* ===========================
     DESIGN SYSTEM - LIGHT GLASSMORPHISM
     =========================== */
    :root {
      /* Base palette */
      --c-primary: #4a5d89;
      --c-primary-light: #2b3b69;
      --c-accent: #4a9ede;
      --c-accent-hover: #288ede;
      --c-accent-glow: rgba(74, 158, 222, .25);

      /* Glass tokens */
      --glass-bg: rgba(255, 255, 255, .25);
      --glass-bg-hover: rgba(255, 255, 255, .85);
      --glass-border: rgba(255, 255, 255, .45);
      --glass-border-hover: rgba(74, 158, 222, .35);
      --glass-shadow: 0 8px 32px rgba(15, 23, 42, .06);
      --glass-shadow-hover: 0 12px 40px rgba(15, 23, 42, .1);
      --glass-blur: saturate(180%) blur(1px);

      /* Surface tokens */
      --surface-bg: #f0f4f8;
      --surface-text: #1e293b;
      --surface-text-2: #64748b;
      --surface-text-3: #94a3b8;
      --surface-border: #e2e8f0;

      /* Spacing scale */
      --sp-xs: clamp(4px, .5vw, 6px);
      --sp-sm: clamp(8px, 1vw, 12px);
      --sp-md: clamp(16px, 2vw, 24px);
      --sp-lg: clamp(24px, 3vw, 40px);
      --sp-xl: clamp(32px, 4vw, 56px);

      /* Radius */
      --r-sm: 10px;
      --r-md: 16px;
      --r-lg: 24px;
      --r-xl: 32px;

      /* Transition */
      --t: all .25s cubic-bezier(.4, 0, .2, 1);
    }

    /* Skip link for a11y */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 16px;
      padding: 12px 24px;
      background: var(--c-accent);
      color: #fff;
      border-radius: var(--r-sm);
      z-index: 9999;
      font-weight: 600;
      text-decoration: none;
    }

    .skip-link:focus {
      top: 16px;
    }

    /* Focus visible */
    a:focus-visible,
    button:focus-visible {
      outline: 3px solid var(--c-accent);
      outline-offset: 2px;
      border-radius: 4px;
    }

    /* ===========================
     LAYOUT
     =========================== */
    .atyt-page {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem var(--sp-md);
    }

    .atyt-page>*+* {
      margin-top: var(--sp-lg);
    }

    /* ===========================
     HERO SECTION
     =========================== */
    .atyt-hero {
      position: relative;
      text-align: center;
      /* padding: var(--sp-xl) var(--sp-md);
      border-radius: var(--r-xl);
      background: linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(74, 158, 222, .08) 100%);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      overflow: hidden; */
    }

    /* .atyt-hero::before {
      content: '';
      position: absolute;
      top: -40%;
      right: -20%;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(74, 158, 222, .12) 0%, transparent 70%);
      pointer-events: none;
    } */

    .atyt-hero::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -15%;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(74, 158, 222, .08) 0%, transparent 70%);
      pointer-events: none;
    }

    .atyt-hero__title {
      font-size: clamp(1.25rem, 4vw, 2rem);
      font-weight: 600;
      line-height: 1.15;
      color: var(--c-primary);
      margin-bottom: var(--sp-sm);
      letter-spacing: -.02em;
      position: relative;
      z-index: 1;
    }

    .atyt-hero__title span {
      background: linear-gradient(135deg, var(--c-accent) 0%, #288ede 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .atyt-hero__subtitle {
      font-size: clamp(.9rem, 2vw, 1rem);
      color: var(--surface-text-2);
      max-width: 700px;
      margin: 0 auto var(--sp-lg);
      line-height: 1.7;
      position: relative;
      z-index: 1;
    }

    .atyt-hero__title2 {
    display: block;
    font-size: 0.75em;
    line-height: 24px;
    font-weight: 500;
    margin-top: 10px;
    color: #000;
}


    .atyt-hero__cta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--sp-sm);
      position: relative;
      z-index: 1;
    }

    /* ===========================
     BUTTONS
     =========================== */
    .atyt-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 28px;
      font-size: clamp(.875rem, 1.5vw, 1rem);
      font-weight: 600;
      border-radius: var(--r-sm);
      cursor: pointer;
      text-decoration: none;
      transition: var(--t);
      border: none;
      min-height: 48px;
      white-space: nowrap;
    }

    .atyt-btn--primary {
      color: #fff;
      background: linear-gradient(135deg, var(--c-accent) 0%, #288ede 100%);
      box-shadow: 0 4px 16px rgba(74, 158, 222, .35);
    }

    .atyt-btn--primary:hover {
      box-shadow: 0 6px 24px rgba(74, 158, 222, .5);
      transform: translateY(0px);
      color: #fff;
      text-decoration: none;
    }

    .atyt-btn--ghost {
      color: var(--c-primary);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
    }

    .atyt-btn--ghost:hover {
      border-color: var(--glass-border-hover);
      color: var(--c-accent);
      box-shadow: var(--glass-shadow-hover);
      text-decoration: none;
    }

    .atyt-btn i {
      font-size: 1.1em;
    }

    /* ===========================
     STATS
     =========================== */
    .atyt-stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--sp-sm);
      padding: var(--sp-lg) var(--sp-md);
      border-radius: var(--r-lg);
      background: linear-gradient(135deg, rgba(74, 158, 222, .08) 0%, rgba(26, 39, 68, .04) 100%);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      text-align: center;
    }

    .atyt-stat__value {
      font-size: clamp(1.5rem, 3.5vw, 2.5rem);
      font-weight: 700;
      line-height: 1.1;
      background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .atyt-stat__label {
      margin-top: var(--sp-xs);
      font-size: clamp(.72rem, 1.2vw, 1rem);
      font-weight: 500;
      color: var(--surface-text-2);
      line-height: 1.3;
    }

    @media (max-width:768px) {
      .atyt-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-md) var(--sp-sm);
      }
    }

    /* ===========================
     SECTION COMMON
     =========================== */
    .atyt-section {
      margin-bottom: var(--sp-lg);
    }

    .atyt-section__header {
      text-align: center;
      margin-bottom: var(--sp-md);
      padding: 0 var(--sp-sm);
    }

    .atyt-section__title {
      font-size: clamp(1.3rem, 3vw, 1.75rem);
      font-weight: 600;
      color: var(--c-primary);
      line-height: 1.2;
      /* text-align: center; */
    }

    .atyt-section__subtitle {
      display: block;
      font-size: clamp(.8rem, 1.5vw, .9rem);
      font-weight: 500;
      color: var(--surface-text-2);
      margin-top: var(--sp-xs);
    }

    .atyt-section__title--large {
      font-size: clamp(1.6rem, 4vw, 2.1rem);
    }

    .atyt-section__title--large .atyt-section__subtitle {
      font-size: clamp(.88rem, 1.6vw, 1rem);
    }

    .atyt-section__link {
      font-size: clamp(.75rem, 1.2vw, .85rem);
      font-weight: 600;
      color: var(--c-accent);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: var(--t);
      min-height: 44px;
    }

    .atyt-section__link:hover {
      color: var(--c-accent-hover);
      gap: 8px;
      text-decoration: none;
    }

    /* ===========================
     STEPS (ordered list)
     =========================== */
    .atyt-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: var(--sp-sm);
      list-style: none;
    }

    .atyt-step {
      text-align: center;
      padding: var(--sp-lg) var(--sp-md);
      border-radius: var(--r-md);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      transition: var(--t);
      position: relative;
    }

    .atyt-step:hover {
      box-shadow: var(--glass-shadow-hover);
      /* transform: translateY(-3px); */
    }

    .atyt-step__title {
      font-size: clamp(.95rem, 1.8vw, 1.1rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-bottom: var(--sp-xs);
    }

    .atyt-step__desc {
      font-size: clamp(.8rem, 1.4vw, .9rem);
      color: var(--surface-text-2);
      line-height: 1.6;
    }

    .atyt-step__btn {
      margin-top: var(--sp-sm);
      width: 100%;
      padding: 10px 18px;
      font-size: clamp(.78rem, 1.3vw, .85rem);
    }

    .atyt-step__btn i {
      font-size: 1rem;
    }

    .atyt-step .atyt-trust__icon {
      margin: 0 auto var(--sp-sm);
    }

    /* ===========================
     TRUST / ADVANTAGES
     =========================== */
    .atyt-trust {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: var(--sp-sm);
      list-style: none;
    }

    .atyt-trust__item {
      display: flex;
      align-items: flex-start;
      gap: var(--sp-sm);
      padding: var(--sp-md);
      border-radius: var(--r-md);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      transition: var(--t);
    }

    .atyt-trust__item:hover {
      box-shadow: var(--glass-shadow-hover);
      transform: translateY(-2px);
    }

    .atyt-trust__icon {
      width: 44px;
      height: 44px;
      border-radius: var(--r-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      background: rgba(74, 158, 222, .1);
      border: 1px solid rgba(74, 158, 222, .15);
      flex-shrink: 0;
    }

    .atyt-trust__icon i {
      color: var(--c-accent);
    }

    .atyt-trust__text {
      font-size: clamp(1rem, 1.4vw, 1.1rem);
      font-weight: 600;
      color: var(--c-primary);
      line-height: 1.4;
    }

    .atyt-trust__text small {
      display: block;
      font-size: clamp(.8rem, 1.2vw, .85rem);
      font-weight: 500;
      color: var(--surface-text-2);
      margin-top: 2px;
    }

    /* ===========================
     FEATURES SLIDER
     =========================== */
    .atyt-features-slider {
      position: relative;
      border-radius: var(--r-lg);
      overflow: hidden;
      box-shadow: var(--glass-shadow);
      touch-action: pan-y;
    }

    .atyt-features-track {
      display: flex;
      transition: transform .5s cubic-bezier(.4, 0, .2, 1);
      will-change: transform;
    }

    .atyt-features-slide {
      min-width: 100%;
      display: flex;
      align-items: stretch;
      min-height: 380px;
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
    }

    .slide-content {
      flex: 1;
      padding: var(--sp-xl) var(--sp-lg);
      display: flex;
      flex-direction: column;
      justify-content: start;
      z-index: 2;
      position: relative;
    }

    .slide-title {
      font-size: clamp(1.1rem, 2.2vw, 1.5rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-bottom: var(--sp-sm);
      line-height: 1.2;
    }

    .slide-desc {
      font-size: clamp(.85rem, 1.4vw, 1rem);
      color: var(--surface-text-2);
      line-height: 1.7;
      max-width: 520px;
    }

    .slide-desc strong {
      color: var(--c-primary);
      font-weight: 600;
    }

    .slide-image {
      width: 42%;
      min-height: 380px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      flex-shrink: 0;
      position: relative;
    }

    .slide-image img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center center;
  }

    /* Placeholder gradients — replace with your own images */
    .slide-image--1  {
      background-color: #e8f0fe;
      background-image: url('/templates/images/_atyt/site/main/main_slide1.webp');
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      }
    .slide-image--2  { background-color: #e6f7ed; background-image: linear-gradient(135deg, #e6f7ed 0%, #b8e0c9 100%); }
    .slide-image--3  { background-color: #fef3e2; background-image: linear-gradient(135deg, #fef3e2 0%, #fadeb8 100%); }
    .slide-image--4  { background-color: #f0e6ff; background-image: linear-gradient(135deg, #f0e6ff 0%, #d4c2f0 100%); }
    .slide-image--5  { background-color: #fee2e2; background-image: linear-gradient(135deg, #fee2e2 0%, #f9bcbc 100%); }
    .slide-image--6  { background-color: #e0f7fa; background-image: linear-gradient(135deg, #e0f7fa 0%, #aee2e8 100%); }
    .slide-image--7  { background-color: #fff3e0; background-image: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
    .slide-image--8  { background-color: #fce4ec; background-image: linear-gradient(135deg, #fce4ec 0%, #f8b8c8 100%); }
    .slide-image--9  { background-color: #e8f5e9; background-image: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
    .slide-image--10 { background-color: #e3f2fd; background-image: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }

    /* ---- Dots navigation ---- */
    .atyt-features-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      padding: var(--sp-md) 0;
    }

    .atyt-features-dots .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--surface-text-3);
      border: none;
      cursor: pointer;
      transition: width .35s cubic-bezier(.4, 0, .2, 1),
                  border-radius .35s cubic-bezier(.4, 0, .2, 1),
                  background .25s ease;
      padding: 0;
      flex-shrink: 0;
    }

    .atyt-features-dots .dot.active {
      width: 28px;
      border-radius: 5px;
      background: var(--c-accent);
    }

    .atyt-features-dots .dot:focus-visible {
      outline: 3px solid var(--c-accent);
      outline-offset: 2px;
    }

    /* ---- Arrow buttons ---- */
    .atyt-features-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      color: var(--c-primary);
      font-size: 1.3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--t);
      padding: 0;
    }

    .atyt-features-btn:hover {
      background: var(--glass-bg-hover);
      border-color: var(--glass-border-hover);
      color: var(--c-accent);
    }

    .atyt-features-btn--prev { left: 12px; }
    .atyt-features-btn--next { right: 12px; }

    /* Noscript fallback for search engines */
    .atyt-features-noscript {
      display: none;
    }

    /* ===========================
     FEATURES SLIDER — MOBILE
     =========================== */
    @media (max-width:768px) {
      .atyt-features-slide {
        flex-direction: column-reverse;
        min-height: auto;
        position: relative;
      }

      .slide-image {
        width: 100%;
        min-height: 320px;
        position: relative;
      }

      .slide-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 1;
      }

      .slide-content {
        position: absolute;
        inset: 0;
        padding: var(--sp-lg);
        justify-content: flex-end;
        z-index: 2;
      }

      .slide-title {
        color: #fff;
        text-shadow: 0 2px 8px rgba(0,0,0,.3);
      }

      .slide-desc {
        color: rgba(255,255,255,.92);
        text-shadow: 0 1px 4px rgba(0,0,0,.25);
        max-width: 100%;
      }

      .slide-desc strong {
        color: #fff;
      }

      .atyt-features-btn {
        display: none;
      }
    }

    /* ===========================
     BOTTOM ROW: Companies + Business
     =========================== */
    .atyt-bottom-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--sp-md);
    }

    .atyt-bottom-col__title {
      font-size: clamp(1.3rem, 3vw, 1.5rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-bottom: var(--sp-sm);
    }

    .atyt-bottom-col__link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: clamp(.85rem, 1.2vw, .9rem);
      font-weight: 600;
      color: var(--c-accent);
      text-decoration: none;
      margin-top: var(--sp-sm);
      padding-left: 15px;
      min-height: 44px;
    }

    .atyt-bottom-col__link:hover {
      text-decoration: underline;
    }

    /* ===========================
     SELLERS - ВИТРИНА МАГАЗИНОВ (Вариант A)
     =========================== */
    .atyt-sellers__track {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: var(--sp-sm);
    }

    .atyt-sellers__item {
      min-width: 0;
    }

    .atyt-seller {
      position: relative;
      display: flex;
      align-items: center;
      gap: var(--sp-sm);
      height: 100%;
      padding: var(--sp-md) var(--sp-md) var(--sp-md) calc(var(--sp-md) + 4px);
      border-radius: var(--r-md);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      text-decoration: none;
      color: var(--surface-text);
      overflow: hidden;
      transition: var(--t);
    }

    .atyt-seller:hover {
      border-color: var(--glass-border-hover);
      box-shadow: var(--glass-shadow-hover);
      text-decoration: none;
      color: var(--surface-text);
    }

    /* цветная левая полоса-акцент */
    .atyt-seller__accent {
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      /* background: linear-gradient(180deg, var(--c-accent) 0%, #288ede 100%); */
      opacity: .7;
      transition: var(--t);
    }

    .atyt-seller:hover .atyt-seller__accent {
      opacity: 1;
    }

    .atyt-seller__avatar {
      position: relative;
      width: 64px;
      height: 64px;
      flex-shrink: 0;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      font-weight: 600;
      color: #fff;
      background: linear-gradient(135deg, var(--c-accent), #288ede);
    }

    .atyt-seller__avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 14px;
    }

    /* галочка верификации на аватаре */
    .atyt-seller__check {
      position: absolute;
      right: -4px;
      bottom: -4px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #fff;
      color: #059669;
      font-size: .95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(15, 23, 42, .2);
    }

    .atyt-seller__body {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
      flex: 1;
    }

    .atyt-seller__name {
      font-size: clamp(.85rem, 1.4vw, .98rem);
      font-weight: 600;
      color: var(--c-primary);
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .atyt-seller__tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      min-width: 0;
    }

    .atyt-seller__city,
    .atyt-seller__cat {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 9px;
      border-radius: 50px;
      font-size: clamp(.66rem, 1vw, .74rem);
      font-weight: 500;
      line-height: 1.5;
      white-space: nowrap;
    }

    .atyt-seller__city {
      color: var(--surface-text-2);
      background: rgba(15, 23, 42, .05);
    }

    .atyt-seller__city i {
      color: var(--c-accent);
      font-size: .8rem;
    }

    .atyt-seller__cat {
      color: var(--c-accent);
      background: rgba(74, 158, 222, .1);
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    .atyt-seller__count {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 2px;
      font-size: clamp(.72rem, 1.1vw, .8rem);
      font-weight: 600;
      color: var(--c-accent);
    }

    .atyt-seller__count i {
      font-size: .85rem;
    }

    .atyt-sellers__footer {
      margin-top: var(--sp-md);
      display: flex;
      justify-content: center;
    }

    /* Планшет: 2 колонки */
    @media (max-width: 991px) {
      .atyt-sellers__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* Мобильные: один продавец в строке, во всю ширину */
    @media (max-width: 640px) {
      .atyt-sellers__track {
        grid-template-columns: 1fr;
      }

      .atyt-seller__avatar {
        width: 56px;
        height: 56px;
      }

      .atyt-sellers__footer {
        justify-content: flex-start;
      }
    }

    /* ===========================
     LEGACY (не используются)
     =========================== */
    .atyt-badge {
      padding: 3px 10px;
      border-radius: 50px;
      font-size: clamp(.62rem, 1vw, .7rem);
      font-weight: 600;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .atyt-badge--verified {
      background: rgba(16, 185, 129, .1);
      color: #059669;
      border: 1px solid rgba(16, 185, 129, .2);
    }

    .atyt-badge--new {
      background: rgba(74, 158, 222, .1);
      color: var(--c-accent);
      border: 1px solid rgba(74, 158, 222, .2);
    }

    /* --- Business card --- */
    .atyt-business {
      padding: var(--sp-lg);
      border-radius: var(--r-md);
      background: linear-gradient(135deg, rgb(74 222 151 / 15%) 0%, rgb(0 79 255 / 12%) 100%);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid rgba(74, 158, 222, .2);
      box-shadow: var(--glass-shadow);
      color: var(--c-primary);
      position: relative;
      overflow: hidden;
    }

    .atyt-business::before {
      content: '';
      position: absolute;
      top: -25%;
      right: -15%;
      width: 250px;
      height: 250px;
      border-radius: 50%;
      background: rgba(74, 158, 222, .08);
      pointer-events: none;
    }

    .atyt-business__percent {
      font-size: clamp(1rem, 3vw, 1.25rem);
      font-weight: 600;
      line-height: 1.5rem;
      background: linear-gradient(135deg, #004070 0%, #288ede 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: var(--sp-xs);
      position: relative;
      z-index: 1;
    }

    .atyt-business__label {
      font-size: clamp(.9rem, 1.6vw, 1.05rem);
      font-weight: 600;
      margin-bottom: var(--sp-xs);
      position: relative;
      z-index: 1;
    }

    .atyt-business__desc {
      font-size: clamp(.78rem, 1.3vw, .88rem);
      color: var(--surface-text-2);
      line-height: 1.5;
      margin-bottom: var(--sp-md);
      position: relative;
      z-index: 1;
    }

    .atyt-business__list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
      position: relative;
      z-index: 1;
    }

    .atyt-business__list li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: clamp(.72rem, 1.2vw, .82rem);
      color: var(--surface-text-2);
    }

    .atyt-business__list li i {
      color: var(--c-accent);
      font-size: .9rem;
      flex-shrink: 0;
    }

    /* ===========================
     CITIES
     =========================== */
    .atyt-cities {
      padding: var(--sp-lg);
      border-radius: var(--r-lg);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
    }

    .atyt-cities__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: var(--sp-sm);
      margin-bottom: var(--sp-md);
    }

    .atyt-cities__grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 6px;
      margin-bottom: var(--sp-md);
      list-style: none;
    }

    .atyt-city {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: var(--sp-sm) var(--sp-sm);
      border-radius: var(--r-sm);
      text-decoration: none;
      color: var(--surface-text);
      font-size: clamp(.78rem, 1.3vw, .88rem);
      font-weight: 500;
      transition: var(--t);
      background: rgba(74, 158, 222, .04);
      border: 1px solid transparent;
      min-height: 44px;
    }

    .atyt-city:hover {
      background: rgba(74, 158, 222, .1);
      border-color: rgba(74, 158, 222, .2);
      color: var(--c-accent);
      text-decoration: none;
    }

    .atyt-city__dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--c-accent);
      opacity: .4;
      flex-shrink: 0;
    }

    .atyt-cities__more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: var(--sp-sm) var(--sp-md);
      font-size: clamp(.78rem, 1.3vw, .88rem);
      font-weight: 600;
      color: var(--c-accent);
      background: rgba(74, 158, 222, .06);
      border-radius: var(--r-sm);
      text-decoration: none;
      transition: var(--t);
      min-height: 44px;
    }

    .atyt-cities__more:hover {
      background: rgba(74, 158, 222, .12);
      color: var(--c-accent-hover);
      text-decoration: none;
    }

    /* --- Города: только на ПК (скрыты на мобильных) --- */
    .atyt-city--desktop {
      display: none;
    }

    @media (min-width: 992px) {
      .atyt-city--desktop {
        display: flex;
      }
    }

    /* ===========================
     CTA BOTTOM
     =========================== */
    .atyt-cta-bottom {
      padding: var(--sp-xl) var(--sp-md);
      border-radius: var(--r-lg);
      text-align: center;
      background: linear-gradient(135deg, rgba(74, 158, 222, .1) 0%, rgba(26, 39, 68, .06) 100%);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid rgba(74, 158, 222, .15);
      box-shadow: var(--glass-shadow);
      position: relative;
      overflow: hidden;
    }

    .atyt-cta-bottom::before {
      content: '';
      position: absolute;
      top: -40%;
      right: -15%;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: rgba(74, 158, 222, .06);
      pointer-events: none;
    }

    .atyt-cta-bottom__title {
      font-size: clamp(1.1rem, 3.5vw, 2rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-bottom: var(--sp-xs);
      position: relative;
      z-index: 1;
    }

    .atyt-cta-bottom__text {
      font-size: clamp(.85rem, 1.6vw, 1rem);
      color: var(--surface-text-2);
      margin-bottom: var(--sp-md);
      position: relative;
      z-index: 1;
    }

    .atyt-cta-bottom .atyt-btn {
      position: relative;
      z-index: 1;
    }

    /* ===========================
     SEO FOOTER BLOCK
     =========================== */
    .atyt-seo {
      font-size: clamp(.9rem, 1.4vw, 1rem);
      line-height: 1.8;
      color: var(--surface-text);
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      padding: var(--sp-xl) var(--sp-lg);
      margin-top: var(--sp-lg);
      border-radius: var(--r-lg);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
    }

    .atyt-seo > h2:first-child {
      font-size: clamp(1.35rem, 2.8vw, 1.5rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-top: 0;
      margin-bottom: var(--sp-md);
      padding-bottom: var(--sp-sm);
      border-bottom: 2px solid rgba(74, 158, 222, .2);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* .atyt-seo > h2:first-child::before {
      content: '\F26B';
      font-family: 'bootstrap-icons';
      font-size: 1.3em;
      color: var(--c-accent);
    } */

    .atyt-seo h3 {
      font-size: clamp(1rem, 1.8vw, 1.15rem);
      font-weight: 600;
      color: var(--c-primary);
      margin-top: var(--sp-lg);
      margin-bottom: var(--sp-sm);
      padding-left: var(--sp-sm);
      border-left: 4px solid var(--c-accent);
    }

    .atyt-seo p {
      margin: 0 0 var(--sp-md);
      color: var(--surface-text-2);
    }

    .atyt-seo p strong {
      color: var(--c-primary);
      font-weight: 600;
    }

    .atyt-seo > ul {
      margin: 0 0 var(--sp-md);
      padding: 0;
      list-style: none;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px 20px;
    }

    .atyt-seo > ul li {
      position: relative;
      padding: 6px 0 6px 24px;
      margin-bottom: 0;
      font-size: clamp(.85rem, 1.3vw, .93rem);
      color: var(--surface-text-2);
      line-height: 1.6;
    }

    .atyt-seo > ul li::before {
      content: '\F26A';
      font-family: 'bootstrap-icons';
      position: absolute;
      left: 0;
      top: 7px;
      font-size: .85rem;
      color: var(--c-accent);
    }

    .atyt-seo li strong {
      color: var(--c-primary);
      font-weight: 600;
    }

    .atyt-seo code {
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
      background: rgba(74, 158, 222, .1);
      color: var(--c-accent);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: .88em;
      font-weight: 600;
    }

    .atyt-seo em {
      color: var(--c-accent);
      font-style: normal;
      font-weight: 600;
    }

    .atyt-seo-cta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--sp-sm);
      margin-top: var(--sp-xl);
      padding-top: var(--sp-lg);
      border-top: 1px solid var(--surface-border);
    }

    @media (max-width:480px) {
      .atyt-seo-cta {
        flex-direction: column;
        align-items: stretch;
      }

      .atyt-seo-cta .atyt-btn {
        width: 100%;
      }
    }

    @media (max-width:600px) {
      .atyt-seo > ul {
        grid-template-columns: 1fr;
      }
    }

    /* ===========================
     LATEST PRODUCTS GRID
     =========================== */
    .atyt-products-section {
      padding: 0;
    }

    .atyt-products-grid { 
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: var(--sp-sm);
    }

    @media (max-width: 992px) {
      .atyt-products-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 576px) {
      .atyt-products-section {
        /*padding: var(--sp-md) var(--sp-sm);*/
      }

      .atyt-products-grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: 1fr;
        gap: var(--sp-sm);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
      }

      .atyt-products-grid__item {
        min-width: 240px;
        scroll-snap-align: start;
      }
    }

    /* ===========================
     RESPONSIVE - 1024px+
     =========================== */
    @media (min-width:1024px) {
      .atyt-bottom-row {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* ===========================
     RESPONSIVE - 768px
     =========================== */
    @media (max-width:768px) {
      .atyt-page {
        padding: var(--sp-sm);
      }

      .atyt-hero {
        padding: var(--sp-lg) var(--sp-sm);
      }

      .atyt-bottom-row {
        grid-template-columns: 1fr;
      }

      .atyt-cities__grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .atyt-cities__header {
        flex-direction: column;
        align-items: flex-start;
      }

      .atyt-steps {
        grid-template-columns: 1fr;
      }

      .atyt-trust {
        grid-template-columns: repeat(2, 1fr);
      }

      .atyt-city {
        font-size: .92rem;
      } 


    }

    /* ===========================
     RESPONSIVE - 480px
     =========================== */
    @media (max-width:480px) {
      .atyt-page {
        padding: 8px;
      }

      .atyt-hero {
        padding: var(--sp-md) var(--sp-sm);
        border-radius: var(--r-lg);
      }

      .atyt-cities__grid {
        grid-template-columns: 1fr;
      }

      .atyt-trust {
        grid-template-columns: 1fr;
      }

      .atyt-trust__text {
        font-size: 1rem;
      }

      .atyt-trust__text small {
        font-size: .8rem;
      }

      .atyt-trust__icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
      }

      .atyt-city {
        font-size: .95rem;
      }

      .atyt-seller__name {
        font-size: .85rem;
      }

      .atyt-badge {
        font-size: .6rem;
      }



      .atyt-hero__cta {
        flex-direction: column;
        align-items: stretch;
      }

      .atyt-hero__cta .atyt-btn {
        width: 100%;
      }

      .atyt-section__header {
        text-align: center;
      }
    }

    /* ===========================
     ANIMATIONS
     =========================== */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .atyt-animate {
      animation: fadeInUp .6s ease forwards;
    }

    .atyt-animate--delay-2 {
      animation-delay: .2s;
      opacity: 0;
    }

    @media (prefers-reduced-motion: reduce) {

      .atyt-animate,
      .atyt-animate--delay-2 {
        animation: none;
        opacity: 1;
      }

      .atyt-step:hover,
      .atyt-trust__item:hover {
        transform: none;
      }
    }


/* ==================== main_slider.tpl (block 1 of 1) - extracted from templates/main_slider.tpl ==================== */

/* ── Секция ── */
.main-promo {
    position: relative;
    padding: 4px 0 8px;
}

/* ── Owl: убираем стандартные отступы ── */
.main-promo__owl.owl-carousel .owl-stage {
    display: flex;
}

.main-promo__owl.owl-carousel .owl-item {
    display: flex;
}

.main-promo__owl.owl-carousel .item {
    display: flex;
    width: 100%;
    padding: 6px 2px;
}

/* ── Promo card — liquid glass ── */
.promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    padding: 22px 20px 18px;

    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    /* border: 1px solid rgb(236 236 236); */
    box-shadow:
        0 4px 16px rgba(99, 140, 210, .10),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(160, 185, 230, .12);
    transition: transform .26s cubic-bezier(.34,1.4,.64,1), box-shadow .26s ease;
}

.promo-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 0px 4px rgba(87, 130, 210, .18), 0 4px 10px rgba(87, 130, 210, .10), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ── Цветное свечение-пятно за карточкой ── */
.promo-card__glow {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    top: -50px;
    right: -40px;
    filter: blur(48px);
    opacity: .35;
    pointer-events: none;
    transition: opacity .26s;
}

.promo-card:hover .promo-card__glow {
    opacity: .55;
}

.promo-card__glow--blue   { background: radial-gradient(circle, #93c5fd, #3b82f6); }
.promo-card__glow--violet { background: radial-gradient(circle, #c4b5fd, #7c3aed); }
.promo-card__glow--teal   { background: radial-gradient(circle, #5eead4, #0d9488); }
.promo-card__glow--gold   { background: radial-gradient(circle, #fde68a, #f59e0b); }

/* ── Иконка ── */
.promo-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .26s cubic-bezier(.34,1.56,.64,1);
}

.promo-card:hover .promo-card__icon-wrap {
    transform: scale(1.10) rotate(-4deg);
}

.promo-card__icon-wrap--blue   { background: linear-gradient(135deg, #dbeafe, #93c5fd); color: #1d4ed8; }
.promo-card__icon-wrap--violet { background: linear-gradient(135deg, #ede9fe, #c4b5fd); color: #6d28d9; }
.promo-card__icon-wrap--teal   { background: linear-gradient(135deg, #ccfbf1, #5eead4); color: #0f766e; }
.promo-card__icon-wrap--gold   { background: linear-gradient(135deg, #fef9c3, #fde68a); color: #b45309; }

/* ── Контент ── */
.promo-card__body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.promo-card__title {
    font-family: 'Open Sans', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 7px;
    line-height: 1.25;
}

.promo-card__text {
    font-size: .85rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ── Список фич ── */
.promo-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.promo-card__list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 400;
    color: #2d3748;
    padding: 3px 0;
}

.promo-card__list li i {
    font-size: .8rem;
    color: #38a169;
    flex-shrink: 0;
}

/* ── CTA ── */
.promo-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: box-shadow .2s, transform .2s, background .2s;
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
    background: linear-gradient(135deg, #57a3dc, #288ede);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(40,142,222,.3);
}

.promo-card__cta:hover {
    box-shadow: 0 6px 18px rgba(40,142,222,.45);
    transform: translateX(3px);
}

.promo-card__cta i {
    transition: transform .2s;
}

.promo-card__cta:hover i {
    transform: translateX(3px);
}

.promo-card__cta--violet {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    box-shadow: 0 3px 10px rgba(124,58,237,.25);
}

.promo-card__cta--violet:hover {
    box-shadow: 0 6px 18px rgba(124,58,237,.4);
}

.promo-card__cta--teal {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    box-shadow: 0 3px 10px rgba(13,148,136,.25);
}

.promo-card__cta--teal:hover {
    box-shadow: 0 6px 18px rgba(13,148,136,.4);
}

.promo-card__cta--gold {
    background: linear-gradient(135deg, #e7d39e, #e69e4c);
    color: #1a2744 !important;
    box-shadow: 0 3px 10px rgba(217,119,6,.25);
}

.promo-card__cta--gold:hover {
    box-shadow: 0 6px 18px rgba(217,119,6,.4);
}

/* ── Адаптив ── */
@media (max-width: 575px) {
    .promo-card {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .promo-card__title {
        font-size: 1rem;
    }

    .promo-card__text {
        font-size: .85rem;
    }

    .promo-card__list li {
        font-size: .85rem;
    }
}
