.header-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid var(--border-surface-color);
}

.area-name-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  position: relative;
}

.area-address {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-text-color);
  text-decoration: underline;
}

.area-address svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: var(--orange-color);
}

.share-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.availability-list {
  display: flex;
  flex-direction: column;
  width: 26.4rem;
  height: 27.6rem;
  padding: 2.4rem 2.4rem 1.6rem;
  gap: 0;
  border-radius: 1.5rem;
  border: 0.1rem solid var(--orange-color);
  box-shadow: 0 4px 10px rgb(36, 52, 82, 0.15);
}

.availability-list h2 {
  margin-bottom: 0.8rem;
}

.availability-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
  height: 4rem;
  padding: 0.8rem 0;
  margin: 0;
  position: relative;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: middle;
  color: var(--secondary-text-color);
  border-bottom: 1px solid var(--border-surface-color);
}

.availability-item:last-of-type {
  border-bottom: none;
}

.availability-item.unavailable {
  color: var(--disabled-text-color);
}

.availability-item svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--orange-color);
}

.availability-item.unavailable svg {
  fill: var(--gray-color);
}

.availability-item .quantity {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-text-color);
}

.availability-item.unavailable .quantity {
  color: var(--disabled-text-color);
}

.slider-wrapper {
  flex: 1;
  max-width: 84rem;
  --slider-height: 27.6rem;
  height: 27.6rem;
  position: relative;
}

.slider-container {
  height: var(--slider-height);
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  border-radius: 1.5rem;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease-out;
  will-change: transform;
  gap: 1.2rem;
}

.slider-slide {
  height: var(--slider-height);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.slider-slide img {
  width: auto;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 6rem;
  background: var(--white-color);
  box-shadow: 0 4px 10px rgb(36, 52, 82, 0.25);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.slider-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--primary-text-color);
}

.slider-prev {
  left: 1.6rem;
}

.slider-next {
  right: 1.6rem;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 0.8rem;
}

.slider-dot {
  width: 3.4rem;
  height: 0.3rem;
  background: var(--gray-color);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: var(--orange-color);
}


.warehouses-section {
  display: flex;
  gap: 2.5rem;
  height: 65rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid var(--border-surface-color);
	--warehouses-container-width: 48.2rem;
	--warehouses-container-padding: 2.4rem;
}

.warehouses-container-wrapper {
	width: calc(var(--warehouses-container-width) + 0.5rem);
	height: 100%;
	background-color: var(--tabs-surface-color);
	overflow-y: hidden;
  overflow-x: hidden;
  border-radius: 1.5rem;
}

.warehouses-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
  overflow-x: hidden;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: var(--warehouses-container-padding);
  border-radius: 1.5rem;
}

.filters {
	width: calc(var(--warehouses-container-width) - 2*var(--warehouses-container-padding));
}

.open-plan-popup-btn {
  display: none;
}

.warehouse-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: calc(var(--warehouses-container-width) - 2*var(--warehouses-container-padding));
}

.warehouse-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  height: 13.6rem;
  background-color: var(--white-color);
  border: 1px solid var(--border-surface-color);
  border-radius: 1.4rem;
  padding: 1.6rem;
  gap: 1.6rem;
}

.warehouse-title-n-params {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 18.1rem;
}

.warehouse-title {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.25;
	vertical-align: middle;
	color: var(--primary-text-color);
}

.warehouse-params {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.warehouse-param {
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.3;
	color: var(--secondary-text-color);
}

.warehouse-param span {
	font-weight: 500;
	color: var(--primary-text-color);
}

.warehouse-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  padding: 0.8rem;
}

.warehouse-image svg {
  width: 100%;
  height: auto;
  max-height: 8.5rem;
  fill: var(--light-text-color);
}

.warehouse-card:focus-visible .warehouse-image svg,
.warehouse-card:hover .warehouse-image svg,
.warehouse-card.highlighted .warehouse-image svg {
  fill: var(--orange-color);
}

.warehouse-price {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
  flex-direction: column;
	font-weight: bold;
}

.warehouse-price .price-old,
.warehouse-price .price-new {
  text-align: right;
}

.warehouse-pagination {
  display: flex;
  justify-content: center;
  margin-top: 0.8rem;
}

.info-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  height: 100%;
}

.info-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2rem;
  border-radius: 1.2rem;
  background-color: var(--orange-surface-color);
}

.availability-indicator {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 2rem;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.indicator-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.indicator-circle.available {
  background-color: var(--blue-color);
}

.indicator-circle.unavailable {
  background-color: var(--tabs-surface-color);
}

.plans-container {
  flex: 1;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plans-container .tab-btn {
  border-radius: 1.5rem 1.5rem 0 0;
  max-width: 50%;
}

.plans-container .tab-container {
  flex: 1;
  padding: 2.4rem;
  gap: 1rem;
  position: relative;
}

.plan-container {
  position: relative;
  background-color: var(--white-color);
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.features-section {
	display: flex;
	justify-content: space-between;
	gap: 2.4rem;
  margin-bottom: 4.8rem;
}

.feature {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	min-height: 26.4rem;
	background: white;
	border: 1px solid var(--border-surface-color);
	border-radius: 1.5rem;
	padding: 2.4rem;
	box-shadow: 0 4px 10px rgb(36, 52, 82, 0.15);
	transition: transform 0.3s ease;
}
	
.feature-content {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.feature-description {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 0.8rem;
}

.feature-item svg {
  width: 2rem;
  height: 2rem;
}

.feature-description.feature-answers {
  gap: inherit;
}

.feature-answer a {
  color: var(--primary-text-color);
  text-decoration: underline;
}

.locations-section {
  gap: 4.8rem;
  margin-bottom: 4.8rem;
  flex-direction: column;
  align-items: flex-start;
}

.locations-list {
  display: flex;
  width: 100%;
  gap: 2.4rem;
  flex-direction: row;
  flex-wrap: wrap;
}

.plan-controls {
  position: absolute;
  z-index: 5;
  bottom: 1.6rem;
  right: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;  
}

.plan-zoom-in,
.plan-zoom-out {
  opacity: 0.8;
  background-color: var(--white-color);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgb(36, 52, 82, 0.25);
}

.plan-zoom-in:hover,
.plan-zoom-out:hover {
  opacity: 1;
  box-shadow: 0 2px 10px rgb(36, 52, 82, 0.25);
}

.svg-container {
  display: inline-block;
  transform-origin: 0 0;
  position: absolute;
  padding: 2.4rem;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.svg-container svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.svg-container svg .highlighted {
  fill: var(--orange-color) !important;
  opacity: 1;
  cursor: pointer;
}

.svg-container svg .available {
  fill: var(--blue-color);
  opacity: 1;
}

.svg-container svg .unavailable {
  fill: var(--tabs-surface-color) !important;
  opacity: 1;
}

.svg-container svg .svg-label {
  fill: var(--primary-text-color);
  font-size: 1.2rem;
}

.svg-container svg .svg-label.available {
  fill: var(--white-color);
}

.svg-container svg text {
  pointer-events: none;
}

.warehouse-popup-content {
  display: none;
}

.warehouse-popup {
  display: flex;
  position: absolute;
  top: calc(var(--y, 0) * 1px);
  left: calc(var(--x, 0) * 1px);
  padding: 0;
  width: 22rem;
  transform: translate(-50%, 0.8rem);
  z-index: 100;
}

.warehouse-popup .warehouse-card {
  background-color: var(--tabs-surface-color);
}

.warehouse-popup .warehouse-card .btn svg {
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
}

.close-warehouse-popup-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M1.19434 1.19434L7.64575 7.64575M14.0972 14.0972L7.64575 7.64575M7.64575 7.64575L1.19434 14.0972L14.0972 1.19434' stroke='%23243452' stroke-width='1.07524' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.warehouse-popup .warehouse-card {
  flex-wrap: wrap;
  height: auto;
  padding: 1.2rem;
  gap: 1.2rem;
}

.warehouse-popup .warehouse-price {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.warehouse-popup .warehouse-price .price-old, 
.warehouse-popup .warehouse-price .price-new {
    text-align: left;
}

.warehouse-popup .warehouse-image {
  justify-content: flex-end;
  padding-right: 0;
}

.warehouse-popup .warehouse-image svg {
  width: auto;
}

@media (min-width: 961px) {
  .area-name {
    font-size: 3.5rem;
    font-weight: 600;
  }
}

@media (max-width: 960px) {
  .header-section {
    padding-bottom: 0;
    border-bottom: none;
  }

  .back-btn {
    order: 1;
  }

  .area-name-wrapper {
    order: 2;
  }

  .area-address {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .area-address svg {
    width: 2rem;
    height: 2rem;
  }

  .share-btn {
    top: initial;
    bottom: -8.5rem;
    transform: none;
    z-index: 10;
    --btn-size: 4.5rem;
    --btn-icon-size: 2.8rem;
    width: var(--btn-size);
    border-radius: var(--btn-size);
    background-color: var(--white-color);
    box-shadow: 0 4px 10px rgb(36, 52, 82, 0.25);
    opacity: 0.9;
    justify-content: center;
    align-items: center;
  }

  .share-btn span {
    display: none;
  }

  .share-btn svg {
    fill: var(--blue-color);
  }

  .slider-wrapper {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: calc(100% + 2 * var(--mobile-base-padding));
    max-width: initial;
    margin-left: calc(-1 * var(--mobile-base-padding));
    margin-right: calc(-1 * var(--mobile-base-padding));
  }

  .slider-container {
    border-radius: initial;
  }

  .slider-btn {
    display: none;
  }

  .slider-dots {
    display: flex;
  }

  .slider-slide {
    min-width: 100%;
    max-width: 100%;
  }

  .slider-slide img {
    width: 100%;
  }

  .availability-list {
    order: 4;
    border: none;
    border-radius: initial;
    box-shadow: none;
    padding: 0 0 2.4rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .availability-list h2 {
    width: 100%;
    margin-bottom: 0.4rem;
  }

  .availability-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border-surface-color);
    border-radius: 0.4rem;
    padding: 0.8rem;
    gap: 0.4rem;
    height: auto;
    max-width: 100%;
    margin: initial;
    flex: 1;
  }

  .availability-item:last-of-type {
    border-bottom: 1px solid var(--border-surface-color);
  }

  .availability-item svg {
    display: none;
  }

  .availability-item .quantity {
    margin-left: 0;
  }

  .warehouses-section {
    flex-direction: column-reverse;
    height: auto;
    gap: 0;
    --warehouses-container-width: 100%;
    border-bottom: none;
  }

  .open-plan-popup-btn {
    display: flex;
  }

  .info-sidebar {
    width: calc(100% + 2 * var(--mobile-base-padding));
    height: auto;
    margin-left: calc(-1 * var(--mobile-base-padding));
    margin-right: calc(-1 * var(--mobile-base-padding));
  }

  .info-box {
    border-radius: initial;
    gap: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .availability-indicator {
    display: none;
  }

  .warehouses-container-wrapper {
    width: calc(100% + 2 * var(--mobile-base-padding));
    height: auto;
    margin-left: calc(-1 * var(--mobile-base-padding));
    margin-right: calc(-1 * var(--mobile-base-padding));
    border-radius: initial;
  }

  .warehouses-container {
    border-radius: initial;
    overflow-y: overlay;
  }

  .filters {
    width: 100%;
  }

  .warehouse-list {
    width: 100%;
  }

  .warehouse-card {
    flex-wrap: wrap;
    height: auto;
    padding: 1.2rem;
    gap: 1.2rem;
  }

  .warehouse-price {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .warehouse-price .price-old, 
  .warehouse-price .price-new {
      text-align: left;
  }

  .warehouse-image {
    justify-content: flex-end;
    padding-right: 0;
  }

  .warehouse-image svg {
    width: auto;
  }

	.features-section {
		flex-direction: column;
    gap: 0;
	}

	.feature {
		width: 100%;
    min-height: initial;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 1.2rem;
	}

  .feature:nth-child(1) {
    border: 1px solid var(--orange-color);
    box-shadow: 0 4px 10px rgb(36, 52, 82, 0.15);
    padding: 2rem;
    margin-bottom: 4.8rem;
  }

  .feature:nth-child(2) {
    margin-bottom: 2.4rem;
  }

  .feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--border-element-color);
  }

  .locations-section {
    gap: 2.4rem;
    margin-bottom: 0;
  }

  .locations-list {
    gap: 1.6rem;
  }

  .plans-popup {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    height: 100vh;
    max-height: 100vh;
  }

  .plans-popup .popup-close {
    margin-right: 1.6rem;
  }

  .plans-popup .popup-content {
    gap: 0;
  }

  .plans-popup .plan-footer {
    padding: 1.6rem;
    background-color: var(--primary-text-color);
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;    
  }

  .plans-container {
    border-radius: unset;
    margin-top: 0.8rem;
  }

  .plans-container .tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .plans-container .tab-btn {
    max-width: max-content;
    min-width: 50%;
  }

  .plan-container {
    height: auto;
  }

  .plans-popup .area-price {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .plans-popup .area-price .price-old, 
  .plans-popup .area-price .price-new {
      text-align: left;
      font-size: 1.6rem;
      color: white;
  }

  .plans-popup .area-price .price-old {
    font-size: 1.2rem;
  }
}