/* === ВЕРХНЯЯ ЧАСТЬ: ЗАГОЛОВКИ + КНОПКА === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    margin-bottom: 20px;
    gap: 20px;
}

.header-text {
    display: flex;
    flex-direction: column;
}

/* Красная черточка */
.header-line {
    width: 40px;
    height: 3px;
    background-color: #e74c3c;
    margin-bottom: 12px;
}

/* Надзаголовок */
.header-eyebrow {
    align-self: stretch;
    flex-grow: 0;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #eb6054;
    padding: 6px 0 0 0;
    text-transform: uppercase;
}


/* Описание */
.header-subtitle {
  flex-grow: 0;
  font-family: Inter;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #5b6d78;
  margin-bottom: 0px;
}

/* === КНОПКА "ВСЕ КАТАЛОГИ" === */
.btn-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ccc;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: #0f1e2d;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-top: auto;
}

.btn-all:hover {
    background: #f4f6f8;
    border-color: #0f1e2d;
}

.btn-all svg {
    transition: transform 0.2s ease;
}

.btn-all:hover {
    text-decoration: unset;
    color: white;
    background: black;
}

.btn-all-mobile{
        display: none;
    }

.items-dizez{
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: hidden;
    gap: 20px;
    margin-top: 12px;
}
.dizez-card{
     flex-grow: 0;
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
  color: #5b6d78;
  text-decoration: none;
  text-wrap: nowrap;
}

.dizez-card:focus{
    text-decoration: none;
}
.dizez-card.active,.dizez-card:hover{
    flex-grow: 0;
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 100px;
  background-color: #011b2b;
}

/*.owl-carousel.carousel-element.SarrCompanion{
    left: -55px;
}*/

body .section-header a:hover,.catalog-card:hover,.btn-all-mobile:hover{
	text-decoration: none;
}

.dizez-mobile {
    display: none;
    position: relative;
    width: 100%;
  }
/* =========================================
   АДАПТИВ (МЕДИА-ЗАПРОСЫ)
   ========================================= */

@media (max-width: 1920px) {
	.section-header .header-title {
		font-size: 56px;
		line-height: 1.27;
	}
	.header-subtitle {
		font-size: 16px;
		line-height: 1.2;
	}
}

@media (max-width: 1439px) {
	.section-header .header-title {
		font-size: 48px;
		line-height: 1.48;
	}
	.header-subtitle {
		font-size: 16px;
		line-height: 1.2;
	}
}

/* Планшет горизонтальный */
@media (max-width: 1279px) {
	.section-header{
		margin-bottom: 16px;
	}
	.section-header .header-title {
		font-size: 30px;
		line-height: normal;
	}
	.header-subtitle {
		font-size: 14px;
		line-height: 1.43;
        max-width: 480px;
	}
}

/* Мобильный */
@media (max-width: 779px) {
	.btn-all{
		display: none;
	}
	.btn-all-mobile{
		display: inline-flex;
	    align-items: center;
	    flex-grow: 0;
	  font-family: Inter;
	  font-size: 16px;
	  font-weight: 600;
	  font-stretch: normal;
	  font-style: normal;
	  line-height: normal;
	  letter-spacing: normal;
	  justify-content: center;
	  color: #011b2b;
	      background: transparent;
	    border: solid 0.8px #5b6d78;
	    padding: 13px 20px;
	    border-radius: 6px;
	    text-decoration: none;
        margin-top: 17px;
	}
	.btn-all-mobile:hover{
		color: white;
		background: black;
	}
    .header-title {
		font-size: 32px;
		line-height: 1;
	}
	.header-subtitle {
		font-size: 14px;
		line-height: 1.43;
	}

}

@media (max-width: 425px) {

    /* Скрываем обычный список */
    .items-dizez {
      display: none;
    }

    /* Показываем мобильный селект */
    .dizez-mobile {
        display: block;
        font-family: Inter;
        font-size: 17px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: left;
        color: #fff;
        margin-top: 8px;

    }

    /* Кнопка (заголовок выпадашки) */
    .dizez-mobile__toggle {
      font-family: Inter;
        font-size: 17px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: left;
        color: #fff;
        padding: 8px 16px;
        border-radius: 100px;
        background-color: #011b2b;
        cursor: pointer;
        width: 200px;
    }

    .dizez-mobile__toggle::-webkit-details-marker { display: none; }
    .dizez-mobile__toggle::marker { content: ""; }

    /* Стрелка */
    .dizez-mobile__toggle::after {
      content: "";
      position: absolute;
      top: 20px;
      left: 170px;
      width: 8px;
      height: 8px;
      border-right: 2px solid #666;
      border-bottom: 2px solid #666;
      transform: translateY(-70%) rotate(45deg);
      transition: transform .2s;
    }

    .dizez-mobile[open] .dizez-mobile__toggle::after {
      transform: translateY(-30%) rotate(-135deg);
    }

    /* Список внутри выпадашки */
    .dizez-mobile__list {
      display: flex;
      flex-direction: column;
      max-height: 60vh;
      overflow-y: auto;
      border-radius: 100px;
    }

    .dizez-mobile__list .dizez-card {
      display: block;
      width: 100%;
      padding: 12px 14px;
      border: none;
      border-radius: 8px;
      white-space: normal;
      text-align: left;
    }
    .dizez-mobile__list .dizez-card:hover{
        background-color: unset;
        color: #5b6d78;
        text-decoration: underline;
    }
    .dizez-mobile .dizez-card.active{
        text-decoration: underline;
        background-color: unset;
        color:#5b6d78;
    }
  }