/* ============================================================
   fitted.css — styles for /fittedbedroomwardrobes and /fittedkitchens
   ============================================================ */

/* ------ Banner section (#sec-be71 uses u-section-6) ---------- */

#sec-be71 .u-sheet-1 {
  min-height: 206px;
}

#sec-be71 .u-group-1 {
  min-height: 209px;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
}

#sec-be71 .u-container-layout-1 {
  padding: 0;
}

#sec-be71 .u-image-1 {
  height: 207px;
  margin: 0;
}

#sec-be71 .u-group-2 {
  width: 594px;
  min-height: 52px;
  height: auto;
  margin: -189px 0 0 auto;
}

#sec-be71 .u-container-layout-2 {
  padding-left: 0;
  padding-right: 0;
}

#sec-be71 .u-text-1 {
  margin-bottom: 0;
  margin-top: 0;
}

#sec-be71 .u-group-3 {
  min-height: 52px;
  height: auto;
  width: 524px;
  background-image: none;
  margin: 1px 70px 0 auto;
}

#sec-be71 .u-container-layout-3 {
  padding-left: 0;
  padding-right: 0;
}

#sec-be71 .u-text-2 {
  margin: 0 auto 0 0;
}

/* ------ Nav / filter bar (#block-1 uses u-section-2) --------- */
/* Override the 666px min-height that causes the blank gap        */

#block-1 .u-sheet-1 {
  min-height: auto !important;
}

#block-1 .u-image-1 {
  min-height: auto !important;
  background-image: none !important;
}

#block-1 .u-group-3 {
  margin-top: 0 !important;
}

#block-1 .u-layout-cell-2 {
  min-height: auto !important;
}

/* Compact the yellow bar — single row: breadcrumb left, nav links right */
#block-1 .u-group-1 {
  min-height: auto !important;
}

#block-1 .u-container-layout-1 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  padding-top: 10px !important;
  padding-bottom: 16px !important;
}

#block-1 .u-text-2 {
  order: 1;
  margin: 0 !important;
  line-height: 1.5;
  text-align: left !important;
}

#block-1 .u-text-1 {
  order: 2;
  margin: 0 !important;
  margin-left: 0 !important;
  line-height: 1.5;
  text-align: right !important;
}

/* Nav links — button chips */
#block-1 .u-text-1 .u-btn {
  display: inline-block;
  padding: 4px 11px !important;
  margin: 0 2px !important;
  border: 1px solid rgba(0, 0, 0, 0.45) !important;
  border-radius: 3px !important;
  background: rgba(0, 0, 0, 0.1) !important;
  color: #111 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  vertical-align: middle;
}

#block-1 .u-text-1 .u-btn:hover,
#block-1 .u-text-1 .u-btn:focus {
  background: rgba(0, 0, 0, 0.22) !important;
  color: #000 !important;
}

/* Breadcrumb text — black */
#block-1 .u-text-2,
#block-1 .u-text-2 .u-btn,
#block-1 .u-text-2 a {
  color: #000 !important;
  font-size: 0.82rem !important;
}

/* ------ Responsive: banner (#sec-be71) ----------------------- */

@media (max-width: 1399px) {
  #sec-be71 {
    min-height: auto;
  }

  #sec-be71 .u-group-1 {
    height: auto;
  }

  #sec-be71 .u-image-1 {
    height: 179px;
    margin-right: initial;
    margin-left: initial;
  }

  #sec-be71 .u-group-2 {
    margin-top: -161px;
    height: auto;
  }

  #sec-be71 .u-group-3 {
    height: auto;
  }
}

@media (max-width: 1199px) {
  #sec-be71 .u-image-1 {
    height: 148px;
    margin-right: initial;
    margin-left: initial;
  }

  #sec-be71 .u-group-2 {
    margin-top: -130px;
  }
}

@media (max-width: 991px) {
  #sec-be71 .u-image-1 {
    height: 113px;
    margin-right: initial;
    margin-left: initial;
  }

  #sec-be71 .u-group-2 {
    margin-top: -95px;
  }

  .u-section-22 .u-sheet-1 {
    min-height: auto !important;
  }
}

@media (max-width: 767px) {
  #sec-be71 .u-image-1 {
    height: 85px;
    margin-right: initial;
    margin-left: initial;
  }

  #sec-be71 .u-group-2 {
    width: 540px;
    margin-top: -67px;
  }

  #sec-be71 .u-group-3 {
    margin-right: 16px;
  }

  .u-section-22 .u-sheet-1 {
    min-height: auto !important;
  }

  .u-section-6 .u-sheet-1 {
    min-height: auto !important;
  }

  .u-section-2 .u-sheet-1 {
    min-height: auto !important;
  }
}

@media (max-width: 575px) {
  #sec-be71 .u-image-1 {
    height: 54px;
    margin-right: initial;
    margin-left: initial;
  }

  #sec-be71 .u-group-2 {
    width: 340px;
    margin-top: -36px;
  }

  #sec-be71 .u-group-3 {
    width: 340px;
    margin-right: 0;
  }

  .u-section-22 .u-sheet-1 {
    min-height: auto !important;
  }

  .u-section-6 .u-sheet-1 {
    min-height: auto !important;
  }

  .u-section-2 .u-sheet-1 {
    min-height: auto !important;
  }

  .u-section-22 .u-group-2 {
    margin-top: 20px !important;
  }

  .u-section-22 .u-text-4 {
    margin-top: 0 !important;
  }

  section {
    min-height: auto !important;
  }

  .u-sheet {
    min-height: auto !important;
  }
}

/* ============================================================
   2nd-level hero carousel — full-width slider with arrows + dots
   ============================================================ */

.xeeni-hero-section {
  padding: 0 0 12px !important;
  background: #111 !important;
}

.xeeni-hero-carousel {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: #111;
}

.xeeni-hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s ease;
}

.xeeni-hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.xeeni-hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}

.xeeni-hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.xeeni-hero-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.xeeni-hero-carousel-btn.prev { left: 20px; }
.xeeni-hero-carousel-btn.next { right: 20px; }

.xeeni-hero-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.xeeni-hero-carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}

.xeeni-hero-carousel-dot.is-active {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 1199px) {
  .xeeni-hero-carousel { height: 520px; }
}

@media (max-width: 991px) {
  .xeeni-hero-carousel { height: 420px; }
}

@media (max-width: 767px) {
  .xeeni-hero-carousel { height: 300px; }
  .xeeni-hero-carousel-btn { width: 40px; height: 40px; font-size: 1.8rem; }
  .xeeni-hero-carousel-btn.prev { left: 10px; }
  .xeeni-hero-carousel-btn.next { right: 10px; }
}

@media (max-width: 575px) {
  .xeeni-hero-carousel { height: 220px; }
}

/* ============================================================
   Fitted product gallery — full-width masonry grid with load more
   ============================================================ */

.xeeni-fitted-breadcrumb {
  background: #f4f4f4;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #555;
  border-bottom: 1px solid #ddd;
}

.xeeni-fitted-breadcrumb a {
  color: #333;
  text-decoration: none;
}

.xeeni-fitted-breadcrumb a:hover {
  text-decoration: underline;
}

.xeeni-fitted-step {
  float: right;
  font-size: 0.78rem;
  color: #888;
}

.xeeni-fitted-gallery-section {
  padding: 32px 0 12px;
  width: 100%;
  background: #2b2b2b;
}

.xeeni-fitted-gallery-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 10px;
  box-sizing: border-box;
}

/* Level-1 shell: matches Nicepage u-sheet width at each breakpoint */
.xeeni-fitted-gallery-shell.xeeni-fitted-gallery-shell--level1 {
  width: var(--theme-sheet-width-xl, 1140px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .xeeni-fitted-gallery-shell.xeeni-fitted-gallery-shell--level1 {
    width: var(--theme-sheet-width-xxl, 1536px);
  }
}

.xeeni-fitted-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Level-1 grid cards: gap handles spacing, no extra bottom margin */
.xeeni-fitted-gallery-grid:not(.xeeni-fitted-gallery-grid--level2) .xeeni-fitted-gallery-card {
  margin-bottom: 0;
}

/* Level-2: masonry column-count layout */
.xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 {
  display: block;
  column-count: 6;
  column-gap: 12px;
}

.xeeni-fitted-gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  text-decoration: none;
  color: inherit;
  break-inside: avoid;
}

.xeeni-fitted-gallery-card.is-hidden {
  display: none;
}

.xeeni-fitted-gallery-frame {
  position: relative;
  display: block;
  padding: 5px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xeeni-fitted-gallery-card:hover .xeeni-fitted-gallery-frame,
.xeeni-fitted-gallery-card:focus .xeeni-fitted-gallery-frame {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.xeeni-fitted-gallery-photo {
  display: block;
  width: 100%;
  height: auto;
}

.xeeni-fitted-gallery-no-img {
  display: block;
  width: 100%;
  height: 180px;
  background: #e0e0e0;
}

.xeeni-fitted-gallery-price {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5c800;
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.xeeni-fitted-gallery-name {
  display: block;
  text-align: center;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 6px 4px 2px;
}

.xeeni-fitted-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-bottom: 24px;
}

.xeeni-fitted-gallery-load-more {
  min-width: 180px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
  color: #000;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  animation: xeeniFittedBlink 1.4s ease-in-out infinite;
}

.xeeni-fitted-gallery-load-more:hover,
.xeeni-fitted-gallery-load-more:focus {
  animation-play-state: paused;
}

@keyframes xeeniFittedBlink {
  0%   { opacity: 1;    box-shadow: 0 0 0    rgba(255,255,255,0); }
  50%  { opacity: 0.55; box-shadow: 0 0 18px rgba(255,255,255,0.22); }
  100% { opacity: 1;    box-shadow: 0 0 0    rgba(255,255,255,0); }
}

/* ------ 2nd-level grid: 6 columns ----------------------------- */

.xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 {
  column-count: 6;
}

@media (max-width: 1199px) {
  .xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 { column-count: 5; }
}

@media (max-width: 1199px) {
  .xeeni-fitted-gallery-grid:not(.xeeni-fitted-gallery-grid--level2) { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
  .xeeni-fitted-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 { column-count: 4; }
}

@media (max-width: 767px) {
  .xeeni-fitted-gallery-section { padding-top: 20px; }
  .xeeni-fitted-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 { column-count: 2; }
  .xeeni-fitted-gallery-shell { padding: 0 10px; }
  .xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 .xeeni-fitted-gallery-card { margin-bottom: 10px; }
}

@media (max-width: 575px) {
  .xeeni-fitted-gallery-grid { grid-template-columns: 1fr; }
  .xeeni-fitted-gallery-grid.xeeni-fitted-gallery-grid--level2 { column-count: 1; }
}

/* ============================================================
   Level-1 navigation card layout (style/finish/etc. landing)
   ============================================================ */

.xeeni-fitted-gallery-section--level1 {
  background: #fff;
  padding: 24px 0 40px;
}

.xeeni-fitted-gallery-card--nav {
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.xeeni-fitted-gallery-card--nav .xeeni-fitted-gallery-frame {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.xeeni-fitted-gallery-card--nav .xeeni-fitted-gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: 1;
}

.xeeni-fitted-gallery-card--nav:hover .xeeni-fitted-gallery-frame,
.xeeni-fitted-gallery-card--nav:focus .xeeni-fitted-gallery-frame {
  transform: none;
  box-shadow: none;
}

.xeeni-fitted-gallery-card--nav .xeeni-fitted-gallery-name {
  display: block;
  color: #00008b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 6px 0 4px;
}

.xeeni-fitted-gallery-view-btn {
  display: block;
  background: #00008b;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: auto;
  width: 75%;
}

.xeeni-fitted-gallery-card--nav:hover .xeeni-fitted-gallery-view-btn {
  background: #0000aa;
}
