/* Общие стили и обнуление */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #f9f9f9;
    line-height: 1.5;
    padding-top: 80px; /* Отступ под плавающую шапку */
}

html {
  scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Плавающая шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__logo {
    font-size: 22px;
    font-weight: 700;
    color: #0056b3;
}

.menu-list {
    display: flex;
    gap: 15px;
}

.menu-link {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.logo-header {
    width: 232px;
  height: 80px;
  object-position: center;
  position: relative;
  top: 4px;
  object-fit: cover;
    
}

.menu-link:hover {
    color: #0056b3;
}

.header__info {
    font-size: 12px;
    color: #666666;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-item--email a:hover {
    color: #0056b3;
}

.info-item--email a {
    color: #0056b3;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__phone {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.header__messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e8f9ed;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.header__messenger:hover {
    transform: scale(1.1);
}

/* Первый экран */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero__content {
    flex: 1;
    max-width: 600px;
}

.hero__title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    color: #102a43;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    color: #486581;
    margin-bottom: 40px;
}

/* Триггеры мотивации */
.hero__triggers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trigger-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trigger-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trigger-text {
    font-size: 16px;
    font-weight: 600;
    color: #102a43;
}

/* Форма заявки */
.hero__form-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 5px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #627d98;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #bcccdc;
    border-radius: 8px;
    font-size: 15px;
    color: #102a43;
    outline: none;
    background-color: #f8fafc;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: #0056b3;
    background-color: #ffffff;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23486581' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-btn {
    width: 100%;
    padding: 16px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.form-btn:hover {
    background-color: #e68a00;
}

.form-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    color: #627d98;
    cursor: pointer;
}

.form-policy input {
    margin-top: 2px;
}

/* ==========================================================================
   5. ВТОРОЙ ЭКРАН (BUYBACK SECTION)
   ========================================================================== */
.buyback {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #102a43;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #627d98;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.buyback__grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.buyback__info {
    flex: 1;
    max-width: 450px;
}

.buyback__block-title {
    font-size: 22px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 25px;
}

/* Пошаговый процесс */
.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-num {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: #0056b3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: #486581;
    line-height: 1.4;
}

.buyback__guarantee {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 12px;
    font-size: 14px;
    color: #486581;
    line-height: 1.5;
    border: 1px dashed #bcccdc;
}

/* Сетка карточек выкупа */
.buyback__cards {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.buyback-card {
    background-color: #f8fafc;
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buyback-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.buyback-card__image {
    width: 100%;
    height: 180px;
    background-color: #eceff1;
    overflow: hidden;
}

.buyback-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buyback-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.buyback-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 8px;
}

.buyback-card__price {
    font-size: 14px;
    color: #627d98;
    margin-bottom: 20px;
}

.buyback-card__price span {
    font-size: 18px;
    font-weight: 700;
    color: #0056b3;
}

.buyback-card__btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 12px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    background: linear-gradient(45deg, #44CCFF, #2B34BA, #9433DE);
}

.buyback-card__btn:hover {
    background-color: #20ba5a;
    background: linear-gradient(45deg, #80E0FF, #525CEB, #B166FA);
}

/* Блок карты под гарантией */
.buyback__map-block {
    margin-top: 30px;
}

.buyback__map-title {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 12px;
}

.buyback__map-wrapper {
    width: 100%;
    height: 250px;
    background-color: #eceff1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4e9f0;
}

.buyback__map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   6. ТРЕТИЙ ЭКРАН (CATALOG SECTION)
   ========================================================================== */
.catalog {
    padding: 100px 0;
    background-color: #f8fafc;
}

/* Переключатели табов */
.catalog__tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid #e4e9f0;
    color: #486581;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: #0056b3;
    color: #0056b3;
}

.tab-btn--active {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}

.tab-btn--active:hover {
    color: #ffffff;
}

/* Сетка товаров */
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.product-card__image {
    width: 100%;
    height: 220px;
    background-color: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card__desc {
    font-size: 14px;
    color: #486581;
    line-height: 1.5;
    margin-bottom: 25px;
}

.product-card__bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-card__price {
    font-size: 22px;
    font-weight: 800;
    color: #102a43;
}

.product-card__btn {
    padding: 10px 24px;
    background-color: #0056b3;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.product-card__btn:hover {
    background-color: #004085;
}

/* Блок Доставка и Оплата */
.catalog__info-panel {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    background-color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e4e9f0;
}

.info-block {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-block__icon {
    font-size: 32px;
    line-height: 1;
}

.info-block__content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 6px;
}

.info-block__content p {
    font-size: 14px;
    color: #627d98;
    line-height: 1.5;
}


/* ==========================================================================
   7. ЧЕТВЕРТЫЙ ЭКРАН (REPAIR SECTION)
   ========================================================================== */
.repair {
    padding: 100px 0;
    background-color: #ffffff;
}

/* Карточки преимуществ */
.repair__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background-color: #f8fafc;
    border: 1px solid #e4e9f0;
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
}

.feature-card__icon {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: 14px;
    color: #486581;
    line-height: 1.5;
}

/* Сетка контента */
.repair__grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.repair__price-list {
    flex: 1;
    max-width: 650px;
}

.repair__block-title {
    font-size: 22px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 25px;
}

/* Стилизация таблицы цен */
.price-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    overflow: hidden;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e4e9f0;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:nth-child(even) {
    background-color: #f8fafc;
}

.price-name {
    font-size: 15px;
    font-weight: 500;
    color: #334e68;
    padding-right: 15px;
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: #0056b3;
    white-space: nowrap;
}

/* Форма-калькулятор */
.repair__calc-wrapper {
    width: 100%;
    max-width: 420px;
    align-self: flex-start;
    position: sticky;
  top: 63px;
}

.repair__calc-form {
    background-color: #f0f4f8;
    padding: 35px 30px;
    border-radius: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #486581;
    margin-bottom: 6px;
}


/* ==========================================================================
   8. БЛОК О КОМПАНИИ (ABOUT SECTION)
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
}

.about__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about__text {
    flex: 1;
    max-width: 600px;
}

.about__text p {
    font-size: 16px;
    color: #486581;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* Сетка показателей */
.about__stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    background-color: #ffffff;
    border: 1px solid #e4e9f0;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #0056b3;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #102a43;
    line-height: 1.4;
}

/* ==========================================================================
   9. БЛОК КОНТАКТЫ И ПОДВАЛ (CONTACTS & FOOTER)
   ========================================================================== */
.contacts {
    padding: 100px 0;
    background-color: #ffffff;
}

.contacts__grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contacts__info {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card__icon {
    font-size: 24px;
    line-height: 1;
    background-color: #f0f4f8;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card__content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 6px;
}

.contact-card__content p {
    font-size: 15px;
    color: #486581;
    line-height: 1.5;
}

.contact-card__content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Карта в контактах */
.contacts__map {
    flex: 1.2;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e9f0;
    height: 400px;
}

.contacts__map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Стилизация футера */
.footer {
    background-color: #102a43;
    color: #bcccdc;
    padding: 30px 0;
    font-size: 14px;
    border-top: 1px solid #243e56;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__subtext {
    font-size: 12px;
    color: #627d98;
    margin-top: 4px;
}

.footer__policy:hover {
    color: #ffffff;
    text-decoration: underline;
}

/**/
.about__slider-wrapper {
    position: relative;
    max-width: 100%;
    margin-top: 40px;
    --visible-slides: 3; /* По умолчанию на десктопе видно 3 слайда */
    --gap: 20px; /* Зазор между картинками */
}

.about__slider {
    overflow: hidden;
    width: 100%;
    padding: 10px 0; /* Чтобы тени или рамки картинок не резались */
}

.slider-track {
    display: flex;
    gap: var(--gap);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide {
    /* Рассчитываем ширину так, чтобы влезало ровно столько картинок, сколько в переменной */
    width: calc((100% - (var(--visible-slides) - 1) * var(--gap)) / var(--visible-slides));
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 280px; /* Чуть уменьшил высоту, раз их три в ряд */
    object-fit: cover;
    border: 1px solid #e4e9f0; /* Твоя рамка */
    border-radius: 16px; /* Твое скругление */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01); /* Твоя тень */
    display: block;
}

/* Кнопки управления */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e4e9f0;
    color: #0056b3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s, color 0.2s;
    z-index: 5;
}

.slider-btn:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.prev-btn { left: -22px; }
.next-btn { right: -22px; }

/**/

.products-section {
    padding: 60px 0;
    background-color: #f8fafc; /* Легкий фон, чтобы белые карточки выделились */
}

/* Переключалка табов (флекс, центр, врап) */
.products-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid #e4e9f0; /* Твоя рамка */
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #102a43;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: #0056b3;
}

.tab-btn.active {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}

/* Сетки товаров */
.products-grid {
    display: none; /* Прячем неактивные табы */
    grid-template-columns: repeat(3, 1fr); /* 3 в ряд на десктопе */
    gap: 30px;
}

.products-grid.active {
    display: grid; /* Показываем активный таб */
}

/* Карточка товара */
.product-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e4e9f0; /* Твоя рамка */
    border-radius: 16px; /* Твое скругление */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01); /* Твоя тень */
    display: flex;
    flex-direction: column; /* Кнопка уйдет вниз */
}

/* Зеленый шильдик «В наличии» */
.product-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: #25D366; /* Твой зеленый */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Внутренний мини-слайдер */
.product-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.prod-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.prod-slide {
    width: 100%;
    flex-shrink: 0;
}

.prod-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Стрелочки мини-слайдера */
.prod-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #102a43;
    z-index: 5;
    transition: background 0.2s;
}

.prod-nav:hover { background: #ffffff; }
.prod-prev { left: 10px; }
.prod-next { right: 10px; }

/* Текстовка */
.product-title {
    font-size: 18px;
    font-weight: 800;
    color: #102a43;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #627d98;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Твоя кнопка с градиентом */
.buyback-card__btn {
    margin-top: auto; /* Намертво прижимает кнопку к низу карточки */
    display: block;
    text-align: center;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    background: linear-gradient(45deg, #44CCFF, #2B34BA, #9433DE); /* Твой градиент */
}

.buyback-card__btn:hover {
    opacity: 0.9; /* Легкий отклик при наведении */
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto; /* Забирает на себя прижим к низу, выталкивая кнопку */
    margin-bottom: 15px; /* Отступ до твоей кнопки */
}

.price-current {
    font-size: 22px;
    font-weight: 800;
    color: #0056b3; /* Твой фирменный синий */
    line-height: 1;
}

.price-old {
    font-size: 14px;
    font-weight: 600;
    color: #a0aec0; /* Серый аккуратный цвет */
    text-decoration: line-through; /* Перечеркивание */
}

.buyback-card__btn {
    /* margin-top: auto; <-- Эту строку убираем, теперь она управляется через .product-price */
    display: block;
    text-align: center;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    background: linear-gradient(45deg, #44CCFF, #2B34BA, #9433DE);
}

/**/
/* Фоновая подложка лайтбокса */
.lightbox {
    display: none; /* По умолчанию скрыт */
    position: fixed;
    z-index: 2000; /* Перекрывает абсолютно всё на сайте */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(16, 42, 67, 0.9); /* Твой темный цвет с прозрачностью */
    backdrop-filter: blur(4px); /* Модный эффект размытия заднего плана */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Класс, который будет добавляться через JS для анимации появления */
.lightbox.show {
    display: block;
    opacity: 1;
}

/* Сама увеличенная картинка */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 16px; /* Твое фирменное скругление */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1); /* Плавное увеличение картинки при появлении */
}

/* Кнопка закрытия (Крестик) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #44CCFF; /* Твой цвет из градиента при наведении */
}

/**/
/* Базовые стили для десктопов */
.service-banner {
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #212529;
}

.service-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.service-banner__text, 
.service-banner__schedule {
    margin: 0;
    line-height: 1.4;
}

.schedule-title {
    font-weight: 600;
    margin-right: 5px;
}

.schedule-days {
    display: inline-flex;
    gap: 8px;
}

.mobile-break {
    display: none;
}


/**/
/**/

#popup__cookie {
  background-color: white;
    
    margin: 0 auto;
    position: fixed;
    
    z-index: 300;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.4);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.4);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.4);
    bottom: 10px;
    left: 50%;
    border-radius: 8px;
    transform: translateX(-50%);
}

.popup-cont_cookie {
  display: flex;
    padding: 10px 20px;
    align-items: center;
}

.cookie-text {
  margin-right: 20px;
  font-size:12px;
}

.cookie-text__span {
  color: #1591c7;
}

.cookie-text__span:hover {
  text-decoration: underline;
  color: #226e8f;
}

.btn-cookie {
  display: block;
  font-size: 14px;
  min-width: 140px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid gray;
  background-color: rgb(49, 49, 49);
  color: white;
  cursor: pointer;
}

.btn-cookie:hover {
  background-color: rgb(65, 65, 65);
}

@media (max-width: 900px) {
  .popup-cont_cookie {
    flex-direction: column;
    
    align-items: start;
  }
  .cookie-text {
    margin-bottom: 10px;
  }
  
  .btn-cookie {
  height: 34px;
  line-height: 32px;
  margin: 0 auto;
}

#popup__cookie {
    position: fixed;
    max-width: 90vw;
    width: 90vw;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
}

/* Блок Авито в оригинальном стиле сайта COMPUNITY с логотипом */
.compunity-avito {
  background-color: #f4f4f4; /* Фирменный светло-серый фон сайта */
  padding: 40px 24px;
  margin: 40px 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px; /* Скругление карточек как в каталоге */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333333;
}

.compunity-avito__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.compunity-avito__info {
  flex: 1;
}

/* Контейнер для логотипа и заголовка */
.compunity-avito__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* Иконка-логотип */
.compunity-avito__logo {
  flex-shrink: 0;
  display: block;
}

/* Заголовок */
.compunity-avito__heading {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0;
  line-height: 1.2;
}

/* Текст описания */
.compunity-avito__desc {
  font-size: 15px;
  color: #666666;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.compunity-avito__meta {
  display: flex;
  align-items: center;
}

/* Текстовая ссылка на бренд */
.compunity-avito__text-link {
  font-size: 14px;
  color: #007bff; /* Стандартный синий цвет ссылок */
  text-decoration: none;
  border-bottom: 1px dashed #007bff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.compunity-avito__text-link:hover {
  color: #0056b3;
  border-bottom-color: #0056b3;
}

.compunity-avito__control {
  flex-shrink: 0;
}

/* Кнопка действия (в стиле кнопок «Купить» на сайте) */
.compunity-avito__button {
  display: inline-block;
  background-color: #111111; /* Строгий темный цвет */
  color: #ffffff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.compunity-avito__button:hover {
  background-color: #333333;
}

.compunity-avito__button:active {
  transform: scale(0.97);
}

/* Адаптивность для мобильных телефонов и планшетов */
@media (max-width: 768px) {
  .compunity-avito {
    padding: 24px 16px;
    margin: 24px 12px;
  }

  .compunity-avito__wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .compunity-avito__header {
    gap: 10px;
  }

  .compunity-avito__logo {
    width: 32px;
    height: 32px; /* Чуть уменьшаем иконку на смартфонах */
  }

  .compunity-avito__heading {
    font-size: 18px;
  }

  .compunity-avito__desc {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .compunity-avito__button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
  }
}
