/* ==========================================================================
   Haru Object Showroom & Cafe - Interactive Slider & Lightbox Zoom Modal
   (Inspired by demo-harucraft)
   ========================================================================== */

/* Two Column Layout */
.oja-showroom-section {
  width: 100%;
  margin-bottom: 30px;
}

.oja-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

/* Stage / Slider */
.showroom-stage {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #f1ede6;
  cursor: zoom-in;
  border-radius: 2px;
}

.showroom-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.showroom-slide.active {
  opacity: 1;
  visibility: visible;
}

.showroom-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Click to Expand Badge */
.showroom-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(18, 16, 15, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 2px;
  pointer-events: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.showroom-stage:hover .showroom-zoom-badge {
  background: rgba(18, 16, 15, 0.92);
  transform: translateY(-2px);
}

/* Under Slider Controls */
.showroom-under {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}

.showroom-caption {
  font-size: 13px;
  color: #8a8380;
  letter-spacing: 0.02em;
  padding-bottom: 15px;
}

.showroom-nav-btns {
  display: flex;
  gap: 12px;
  font-size: 11px;
}

.showroom-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #3e3b3a;
  font-size: 11px;
  font-weight: 500;
  padding: 0;
  transition: opacity 0.2s ease;
}

.showroom-nav-btn:hover {
  opacity: 0.6;
}

/* Floor Rows (Right Column) */
.oja-floor-list {
  margin-bottom: 15px;
}

.oja-floor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e6e1d9;
  cursor: pointer;
  font-size: 16px;
  color: #3e3b3a;
  transition: all 0.2s ease;
  font-weight: 400;
}

.oja-floor-row:hover {
  color: #000000;
  padding-left: 6px;
}

.oja-floor-row.active {
  padding-left: 10px;
  color: #000000;
  font-weight: 700;
  border-bottom-color: #3e3b3a;
}

/* View Map Button */
/* View Map Button */
.showroom-btn-map {
  display: inline-block;
  position: relative;
  padding: 12px 0;
  color: #000 !important;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
  border-radius: 0;
}

/* Gạch chân tự động theo chữ */
.showroom-btn-map::after {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  margin: 4px auto 0;
  background-color: currentColor;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.showroom-btn-map:hover::after {
  width: 100%;
  opacity: 1;
}

.showroom-btn-map:hover {
  color: #000 !important;
}

/* ==========================================================================
   Full-Screen Lightbox Zoom Modal (Matching Image 2)
   ========================================================================== */
body.showroom-lightbox-active {
  overflow: hidden !important;
}

.showroom-lightbox-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100% !important;
  background: #141210 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box !important;
}

.showroom-lightbox-overlay.open {
  display: flex !important;
  animation: fadeInLightbox 0.25s ease forwards;
}

@keyframes fadeInLightbox {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.showroom-lightbox-dialog {
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.showroom-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 40px;
  height: 40px;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  z-index: 10;
}

.showroom-lightbox-close:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.showroom-lightbox-media {
  width: 100%;
  max-height: 72vh;
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.showroom-lightbox-media img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  transition: transform 0.35s ease;
  cursor: zoom-in;
  display: block;
}

.showroom-lightbox-media img.zoomed {
  transform: scale(1.45);
  cursor: zoom-out;
}

.showroom-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  flex-wrap: wrap;
  gap: 16px;
}

.showroom-lightbox-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.showroom-lightbox-desc {
  font-size: 13.5px;
  color: #cccccc;
  margin-top: 4px;
  line-height: 1.45;
}

.showroom-lightbox-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 7px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.showroom-lightbox-counter {
  color: #aaaaaa;
  font-size: 12.5px;
  font-family: monospace;
  letter-spacing: 0.05em;
  min-width: 44px;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 849px) {
  .oja-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showroom-stage {
    height: 380px;
  }
}

@media (max-width: 549px) {
  .showroom-stage {
    height: 300px;
  }

  .oja-two-col {
    gap: 0px;
  }

  .showroom-lightbox-overlay {
    padding: 16px;
  }

  .showroom-lightbox-close {
    top: -50px;
    right: -17px;
  }

  .showroom-lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .showroom-lightbox-title {
    font-size: 20px;
  }

  .showroom-lightbox-desc {
    font-size: 12.5px;
  }
}