.mpw {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  font-family: Archivo;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mpw__title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #232426;
  line-height: 110%;
}

/* ---------- Main Layout: Left + Right ---------- */
.mpw__content {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.mpw__left {
  flex: 1;
  display: flex;
  position: relative;
  max-height: 500px;
}

.mpw__right {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
}

/* ---------- Room Tabs ---------- */
.mpw__tabs {
  flex-shrink: 0;
  width: 110px;
  z-index: 3;
  position: absolute;
}

.mpw__tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: 30px;
  left: 10px;
}

.mpw__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 14px 6px 12px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  text-align: center;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mpw__tab:hover {
  background: #f7f7f7;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.mpw__tab:focus-visible {
  box-shadow: 0 0 0 2px #1a1a1a;
}

.mpw__tab--active {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.mpw__tab--active:hover {
  background: #1a1a1a;
}

.mpw__tab-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpw__tab-icon svg {
  width: 100%;
  height: 100%;
}

.mpw__tab--active .mpw__tab-icon svg {
  stroke: #fff;
}

.mpw__tab-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 126%;
  white-space: nowrap;
  color: #818181;
}

.mpw__tab--active .mpw__tab-label {
  color: #E6E6E6;
}

/* ---------- Hero Image ---------- */
.mpw__hero {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.mpw__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.mpw__cta {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #333642;
  box-shadow: 0px 9px 14px -2px #0000001F;
  color: #ffffff;
  text-decoration: none;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.2s ease;
  z-index: 4;
  width: 179px;
  height: 52px;
  justify-content: center;
  line-height: 150%;
}

.mpw__cta:hover {
  background: #333;

}

.mpw__cta svg {
  transition: transform 0.25s ease;
}

.mpw__cta:hover svg {
  transform: translateX(3px);
}

/* ---------- Thumbnail Carousel ---------- */
.mpw__carousel-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mpw__thumb {
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  max-height: 144px;
}

/* .mpw__thumb:hover {
  transform: scale(1.015);
} */

.mpw__thumb:focus-visible {
  box-shadow: 0 0 0 2px #1a1a1a;
}

.mpw__thumb--active {
  border-color: #1a1a1a;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.13);
}

.mpw__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Nav */
.mpw__carousel-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 18px;
}

.mpw__nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d4;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: all 0.25s ease;
  outline: none;
}

.mpw__nav-btn:hover:not(:disabled) {
  border-color: #1a1a1a;
  background: #f7f7f7;
}

.mpw__nav-btn:focus-visible {
  box-shadow: 0 0 0 2px #1a1a1a;
}

.mpw__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Fade animation helper */
.mpw--fade {
  animation: mpwFade 0.35s ease;
}

@keyframes mpwFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .mpw__content {
    min-height: 440px;
  }

  .mpw__left {
    min-height: 440px;
  }

  .mpw__right {
    width: 210px;
  }

  .mpw__thumb {
    height: 128px;
  }

  .mpw__title {
    font-size: 26px;
  }

  .mpw__tab {
    width: 88px;
    padding: 12px 5px 10px;
  }

  .mpw__tab-label {
    font-size: 14px;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 767px) {

  .mpw__title {
      background: linear-gradient(to right, #7C35E9 -10%, #3A3A3A 20%, #3A3A3A 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 24px;
      text-align: center;
  }

  .mpw__content {
    flex-direction: column;
    gap: 8px;
    min-height: auto;
  }

  .mpw__left {
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .mpw__tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;

  }

  .mpw__tab-label {
    font-size: 14px;
  }

  .mpw__tabs::-webkit-scrollbar {
    display: none;
  }

  .mpw__tab:hover {
    background: unset;
    box-shadow: unset;
  }

  .mpw__tab-list {
    flex-direction: row;
    position: static;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0px;
    overflow-x: auto;
  }

  .mpw__tab {
    width: auto;
    min-width: 130px;
    flex-direction: row;
    padding: 9px 14px;
    gap: 11px;
    border-radius: 50px;
    height: unset;
    border: 1px solid #E6E6E8;
    box-shadow: none;
  }

  .mpw__tab--active {
    background: #E6E6E8;
    border: 1px solid #EEEEEF;

  }

  .mpw__tab--active:hover {
    background-color: #E6E6E8;
  }

  .mpw__tab--active .mpw__tab-label {
    color: #000000;
  }

  .mpw__tab-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0;
  }

  .mpw__tab-icon img {
    width: 26px;
    height: 26px;
  }

  .mpw__hero {
    margin-left: 0;
    min-height: 350px;
    border-radius: 14px;
    padding: 0 16px;
    background: transparent;
    max-height: 350px;
  }

  .mpw__hero-img {
    border-radius: 20px;
    min-height: 350px;
  }

  .mpw__right {
    width: 100%;
  }

  .mpw__thumb {
    border: 2px solid transparent;
  }

  .mpw__thumb--active {
    border-color: #545454;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.13);
  }

  .mpw__tab-list> :first-child,
  .mpw__carousel-track> :first-child {
    margin-left: 16px;
  }

  .mpw__tab-list> :last-child,
  .mpw__carousel-track> :last-child {
    margin-right: 16px;
  }

  .mpw__carousel-track {
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .mpw__carousel-track::-webkit-scrollbar {
    display: none;
  }

  .mpw__thumb {
    width: 100px;
    height: 65px;
    border-radius: 10px;
    box-shadow: none;
  }

  .mpw__carousel-nav {
    display: none;
  }

  .mpw__cta {
    bottom: 20px;
    right: 30px;
    box-shadow: unset;
    padding: 4px 18px;
    font-size: 12px;
    line-height: 24px;
    width: 100px;
    height: 26px;
    background: #202129;
    white-space: nowrap;
  }

  .mpw__cta svg {
    display: none;
  }
}