/* ═══════════════════════════════════════════════════════
   Microtel Inn & Suites by Wyndham — Williston, ND
   kitchenette.css  |  KITCHENETTE SUITE PAGE STYLES
═══════════════════════════════════════════════════════ */

/* Hero background */
.kit-hero-bg {
  background-image: url('https://res.cloudinary.com/djcgfqesd/image/upload/v1778701568/microtel-williston-extended-stay-suite-kitchen-bedroom_hld6cm.jpg');
}

/* Extended-stay hero highlight link */
.kit-hero-ext-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 1.6rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-l);
  background: rgba(58, 170, 150, 0.15);
  border: 1px solid rgba(58, 170, 150, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 9px 20px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, gap 0.22s;
}
.kit-hero-ext-link:hover {
  background: rgba(58, 170, 150, 0.28);
  border-color: rgba(58, 170, 150, 0.7);
  color: #fff;
  gap: 13px;
}
.kit-hero-ext-icon { font-size: 1rem; }

/* Best-for tags */
.best-for-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.best-for-tags span {
  font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-d); background: var(--teal-pale);
  border: 1px solid rgba(13,127,110,0.2); padding: 6px 14px; border-radius: 999px;
  transition: background 0.22s, color 0.22s;
}
.best-for-tags span:hover { background: var(--teal); color: #fff; }

/* Equipment groups */
.equip-group { margin-top: 2rem; }
.equip-group:first-child { margin-top: 1.2rem; }
.equip-group-title {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-pale);
}

/* Room spec grid */
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 1.2rem;
}
.spec-item {
  display: flex; flex-direction: column; gap: 3px; padding: 1rem 1.2rem;
  background: var(--white); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.spec-item:nth-child(3n) { border-right: none; }
.spec-item:nth-last-child(-n+3) { border-bottom: none; }
.spec-item span { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-l); }
.spec-item strong { font-size: 0.84rem; font-weight: 500; color: var(--ink); }

/* Rate cards */
.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.rate-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem;
  background: var(--white); position: relative;
  transition: box-shadow 0.25s;
}
.rate-card:hover { box-shadow: 0 6px 28px rgba(13,127,110,0.1); }
.rate-card--featured { border: 2px solid var(--teal); }
.rc-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--teal); color: #fff; padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.rc-type {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink);
  margin-bottom: 0.5rem; margin-top: 0.5rem;
}
.rc-desc { font-size: 0.76rem; font-weight: 300; line-height: 1.6; color: var(--ink-m); margin-bottom: 1.2rem; }
.rc-btn {
  display: block; text-align: center; width: 100%;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px; border-radius: 8px; background: var(--ink); color: #fff;
  border: none; transition: background 0.22s;
}
.rc-btn:hover { background: var(--ink-m); }
.rc-btn--teal { background: var(--teal); }
.rc-btn--teal:hover { background: var(--teal-l); }

/* Explore More links inside sidebar */
.kit-nav-links { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.kit-nav-links a {
  font-size: 0.72rem; font-weight: 500; color: var(--teal);
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s;
}
.kit-nav-links a:last-child { border-bottom: none; }
.kit-nav-links a:hover { color: var(--teal-d); gap: 10px; }

/* ── IMPROVED SIDEBAR STICKY OFFSET ── */
.d-sidebar { position: sticky; top: 82px; }

/* ── EQUIPMENT LIST IMPROVEMENTS ── */
.equip-group { margin-top: 2rem; }
.equip-group:first-child { margin-top: 1.4rem; }

/* Spec grid improved */
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 1.2rem;
}

/* ── GALLERY — mosaic: wide left + 2×2 thumbnails right ── */
.d-gallery {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  border-radius: 12px;
  gap: 6px;
}
.d-gimg--wide {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: unset;
}
.d-gimg { aspect-ratio: unset; }
.d-gimg img, .d-gimg--wide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.kit-gallery-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem;
}
.kit-view-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); border: 1px solid var(--teal);
  background: transparent; border-radius: 8px; padding: 9px 18px;
  cursor: pointer; transition: background 0.22s, color 0.22s;
}
.kit-view-all:hover { background: var(--teal); color: #fff; }
.kit-view-all svg { width: 14px; height: 14px; flex-shrink: 0; }
.kit-gallery-hint {
  font-size: 0.7rem; font-weight: 300; color: var(--ink-l);
}

/* ═══════════════════════════════════════
   RESPONSIVE — KITCHENETTE PAGE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-item:nth-child(3n)      { border-right: 1px solid var(--border); }
  .spec-item:nth-child(even)    { border-right: none; }
  .spec-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .spec-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 768px) {
  .rate-cards { grid-template-columns: 1fr; }
  .d-gallery {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 150px 150px;
  }
  .d-gimg--wide { grid-column: 1; grid-row: 1 / 3; }
}
@media (max-width: 480px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-item { border-right: none; }
  .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .spec-item:last-child { border-bottom: none; }
  .best-for-tags span { font-size: 0.58rem; padding: 5px 10px; }
  .d-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 130px;
  }
}
