.tdfl,
.tdfl * {
  box-sizing: border-box;
}

.tdfl {
  background: #fff;
  padding: clamp(20px, 3vw, 30px) 16px;
}

.tdfl__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.tdfl__bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 16px;
  border: 1px solid #e4e8ee;
}

.tdfl__tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Bebas Neue", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 20px;
  color: rgb(27, 46, 75);
}

.tdfl__tab--active,
.tdfl__tab[aria-selected="true"] {
  background: rgb(27, 46, 75);
  color: #fff;
}

.tdfl__panel {
  display: none;
}

.tdfl__panel--active {
  display: block;
}

.tdfl__layout {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(300px, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.tdfl__media-wrap {
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.tdfl__image {
  display: block;
  width: 100%;
  height: clamp(280px, 35vw, 430px);
  object-fit: cover;
  border-radius: 6px;
}

.tdfl__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: rgb(27, 46, 75);
  font-size: 42px;
  line-height: 1.1;
}

.tdfl__subtitle {
  margin: 6px 0 16px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 600;
  color: rgb(74, 144, 217);
  font-size: 18px;
  line-height: 1.35;
}

.tdfl__capacity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
  margin-bottom: 18px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(27, 46, 75);
  font-size: 18px;
  line-height: 1.35;
}

.tdfl__capacity-icon {
  font-size: 16px;
}

.tdfl__list-label {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.12em;
  color: #9da8b7;
}

.tdfl__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.tdfl__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(27, 46, 75);
  font-size: 18px;
  line-height: 1.45;
}

.tdfl__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #89b8ea;
  box-sizing: border-box;
}

.tdfl__size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tdfl__size-card {
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  text-align: center;
  padding: 14px 10px;
  background: #fff;
}

.tdfl__size-value {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  color: rgb(27, 46, 75);
  font-size: 42px;
  line-height: 1;
}

.tdfl__size-label {
  margin-top: 3px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  color: #a3adbb;
  font-size: 16px;
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .tdfl__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tdfl__bar {
    width: 100%;
    overflow-x: auto;
  }

  .tdfl__tab {
    white-space: nowrap;
  }

  .tdfl__size-grid {
    grid-template-columns: 1fr;
  }
}
