/* Секция специальных предложений */
.special-offer-section {
    padding: 0px 0 20px 0;
    background-color: var(--color-background);
}

.special-offer-section .special-offer-section-title {
    position: relative;
    background: var(--color-background);
    padding: 0 20px;
    font-size: 48px;
    font-family: var(--font-heading);
    color: #a8845d;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    margin: -40px auto 30px auto;
    z-index: 1;
}

/* Контейнер слайдера */
.special-offer-section .special-offer-section-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1720px;
    margin: 0 auto;
}

.special-offer-section .special-offer-section-viewport {
    flex-grow: 1;
    overflow: hidden;
    width: 100%;
}

.special-offer-section .special-offer-section-slider {
    display: flex;
    gap: 20px; /* Соответствует переменной gap в JS */
    transition: transform 0.5s ease;
}

/* Карточка специалиста */
.special-offer-section .special-offer-section-card {
    flex: 0 0 calc(25% - 15px); /* 4 колонки с учетом gap */
    background: #F6EFE5; /*********************************************/
    /*background: #F6EF55;**/
    
    border-radius: 24px;
    text-align: center;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.05);* bug fix*/
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    
}

.special-offer-section .special-offer-section-card .special-offer-section-avatar {
    width: 100%;
    height: 100%;    
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0e6d6;
}

.special-offer-section .special-offer-section-card .special-offer-section-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-offer-section .special-offer-section-card h3 {
    font-size: 17px;
    color: var(--color-text-dark);
    margin-top: 30px;
    margin-bottom: 30px;
    min-height: 60px;
    font-family: var(--font-heading);
}

.special-offer-section .special-offer-section-card p {
    color: #8c6b4f;
    font-size: 15px;
    margin-bottom: 20px;
}

.special-offer-section .special-offer-section-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
}

/* Кнопки управления */
.special-offer-section .special-offer-section-arrow {
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.special-offer-section .special-offer-section-arrow.left { left: -10px; }
.special-offer-section .special-offer-section-arrow.right { right: -10px; }

.special-offer-section .special-offer-section-btn {
    display: inline-block;
    margin-top: auto;
    padding: 10px 25px;
    border: 1px solid var(--color-gold);
    border-radius: 25px;
    color: var(--color-gold);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.special-offer-section .special-offer-section-btn:hover {
    background-color: var(--color-gold);
    color: #fff;
}




.special-offer-section .offer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.special-offer-section .offer-label {
  font-size: 16px;
  color: #AA7735;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.special-offer-section .offer-icon {
  width: 56px;
  height: 55px;
}

.special-offer-section .offer-title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #25170E;
  line-height: 1.3;
  margin-bottom: 15px;
  min-height: 60px;
}

.special-offer-section .offer-card__price-label {
  font-size: 14px;
  color: #AA7735;
  margin-bottom: 0px;
}

.special-offer-section .offer-price {
  font-size: 30px;
  font-family: var(--font-heading);
  color: #25170E;
  margin-bottom: 10px;
  margin-top: -10px;
}

.special-offer-section .offer-card__button {
  margin-top: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #967252;
  background-color: #DBD2CC;
  color: #967252;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}



.special-offer-section .offer-card-alt {
  /*max-width: 270px;* bug fix*/
  width: 270px;
  padding: 40px 24px;
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 95%;
}

@media (min-width: 992px) {
  .special-offer-section .offer-card-alt {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}


.special-offer-section .h1-title-line {
  width: 83%;
}


.special-offer-section .h1-title-wrap {
  margin: 30px auto 30px auto;
}

.special-offer-section .special-offer-annotation {
    color: #25170E;
    font-size: 16px;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

.special-offer-section .special-offer-annotation2 {
    color: #25170E;
    font-size: 14px;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}


@media (max-width: 991px) {
  .special-offer-section .h1-title-text {
    padding: 0 10px;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-top: -125px;
    background: none;
  }
  .special-offer-section .h1-title-line {
    display: none;
  }
    .special-offer-section .special-offer-annotation {
    font-size: 14px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    }  
    .special-offer-section .special-offer-annotation2 {
    font-size: 14px;
    width: 90%;
    font-weight: 400;
    }    
}

/* Адаптивность */
@media (max-width: 1199px) {
    .special-offer-section .special-offer-section-card { flex: 0 0 calc(33.333% - 14px); }
}

@media (max-width: 991px) {
    .special-offer-section .special-offer-section-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 767px) {
    .special-offer-section { padding: 30px 0 50px 0; }
    .special-offer-section .special-offer-section-card { flex: 0 0 100%; }
    .special-offer-section .special-offer-section-card h3 { font-size: 18px; }
    .special-offer-section .special-offer-section-line { width: 50%; margin-bottom: 12px; }
}