/* ===== AVAILABLE PAGE ===== */

#ctaBtn {
  background: var(--accent);
  color: var(--light);
  border: 1px solid var(--accent);
}
#ctaBtn:hover {
  background: transparent;
  color: var(--light);
  border-color: var(--light);
}

.avail-page {
  background: #1a1008;
  color: #FEFEFE;
}

/* Page hero */
.avail-hero {
  padding: 160px 0 60px;
}
.avail-label-top { margin-bottom: 16px; }
.avail-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FEFEFE;
}
.avail-sub {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(254,254,254,0.55);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Sets grid */
.avail-grid-section { padding: 60px 0 100px; }
.avail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* Card */
.avail-card {
  border: 1px solid rgba(254,254,254,0.09);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s ease;
}
.avail-card:hover { border-color: rgba(254,254,254,0.2); }

/* Card media */
.avail-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.avail-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.55s ease;
}
.avail-card-img.fading { opacity: 0; }
.avail-card:hover .avail-card-img { transform: scale(1.04); }

/* Badges */
.avail-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: #5C2D1E;
  color: #FEFEFE;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 5;  /* always above overlay */
}
.avail-photo-count {
  position: absolute;
  bottom: 44px; left: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(254,254,254,0.8);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}
.avail-video-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(0,0,0,0.65);
  color: #FEFEFE;
  border: 1px solid rgba(254,254,254,0.2);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* Photo rotation dots on card */
.avail-card-dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 3;
}
.avail-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(254,254,254,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.avail-dot.active {
  background: #FEFEFE;
  transform: scale(1.3);
}

/* Hover overlay — slides up from bottom, does not cover top badges */
.avail-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  top: auto;
  background: rgba(12, 6, 1, 0.95);
  border-top: 1px solid rgba(254,254,254,0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 3;
  max-height: 75%;
  overflow-y: auto;
}
.avail-card:hover .avail-overlay {
  transform: translateY(0);
  opacity: 1;
}
.avail-overlay-inner {
  padding: 18px 20px 16px;
  width: 100%;
}
.avail-overlay-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254,254,254,0.4);
  margin-bottom: 10px;
}
.avail-overlay-list {
  list-style: none;
  padding: 0; margin: 0 0 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.avail-overlay-list li {
  font-size: 0.83rem;
  color: rgba(254,254,254,0.85);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.avail-overlay-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: rgba(254,254,254,0.3);
  font-size: 0.72rem;
}
.avail-overlay-note {
  font-size: 0.78rem;
  color: rgba(254,254,254,0.4);
  line-height: 1.5;
  border-top: 1px solid rgba(254,254,254,0.1);
  padding-top: 10px;
  margin-top: 4px;
}

/* Click hint — appears on hover, bottom center */
.avail-click-hint {
  position: absolute;
  bottom: 44px; right: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(254,254,254,0.7);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.avail-card:hover .avail-click-hint { opacity: 1; }

/* Tap hint (mobile) */
.avail-tap-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 4;
  background: rgba(16,8,2,0.6);
  border: 1px solid rgba(254,254,254,0.2);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: #FEFEFE;
}

/* Card body */
.avail-card-body { padding: 22px 22px 26px; }
.avail-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FEFEFE;
}
/* Desktop: hide details list, show desc */
.avail-card-details { display: none; }
.avail-card-details li {
  font-size: 0.84rem;
  color: rgba(254,254,254,0.6);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.avail-card-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.avail-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: #FEFEFE;
  margin-bottom: 18px;
}
.avail-card-btn {
  width: 100%;
  text-align: center;
  display: block;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Empty state */
.avail-empty {
  text-align: center;
  padding: 80px 0;
  color: rgba(254,254,254,0.4);
}
.avail-empty a { color: #FEFEFE; text-decoration: underline; }

/* CTA strip */
.avail-cta-strip {
  padding: 80px 0;
  border-top: 1px solid rgba(254,254,254,0.08);
}
.avail-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.avail-cta-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.avail-cta-sub {
  font-size: 0.9rem;
  color: rgba(254,254,254,0.5);
  max-width: 440px;
  line-height: 1.6;
}

/* ===== LIGHTBOX ===== */
.avail-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.avail-lb.open { display: flex; }
.avail-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.avail-lb-panel {
  position: relative;
  z-index: 1;
  background: #1a1008;
  border: 1px solid rgba(254,254,254,0.1);
  border-radius: 6px;
  width: min(860px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.avail-lb-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(254,254,254,0.08);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: #FEFEFE;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.avail-lb-close:hover { background: rgba(254,254,254,0.18); }

/* Tabs */
.avail-lb-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(254,254,254,0.1);
  padding: 0 16px;
}
.avail-lb-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(254,254,254,0.45);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.avail-lb-tab.active {
  color: #FEFEFE;
  border-bottom-color: #8A6B5E;
}

/* Photo panel */
.avail-lb-photos {
  position: relative;
  background: #0d0704;
  flex: 1;
}
.avail-lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(520px, 55vh);
}
.avail-lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.16s ease;
}
.avail-lb-img.fading { opacity: 0; }
.avail-lb-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(254,254,254,0.15);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #FEFEFE;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.avail-lb-arrow:hover { background: rgba(0,0,0,0.8); }
.avail-lb-prev { left: 12px; }
.avail-lb-next { right: 12px; }
.avail-lb-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 6px;
}
.lb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(254,254,254,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lb-dot.active { background: #FEFEFE; transform: scale(1.25); }
.avail-lb-counter {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(254,254,254,0.35);
  padding-bottom: 6px;
  margin: 0;
}

/* Video panel — YouTube link (Shorts can't be embedded) */
.avail-lb-video { flex: 1; }
.avail-lb-yt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 24px;
  text-align: center;
}
.avail-lb-yt-hint {
  font-size: 0.9rem;
  color: rgba(254,254,254,0.5);
  margin: 0;
}
.avail-lb-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  color: #FEFEFE;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.avail-lb-yt-btn:hover { background: #cc0000; }

/* Info bar */
.avail-lb-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid rgba(254,254,254,0.1);
  gap: 16px;
}
.avail-lb-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
  color: #FEFEFE;
}
.avail-lb-price {
  font-size: 0.85rem;
  color: rgba(254,254,254,0.5);
  margin: 0;
}
.avail-lb-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== MOBILE OVERLAY ===== */
.avail-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-end;
}
.avail-mobile-overlay.open { display: flex; }
.avail-mo-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
}
.avail-mo-panel {
  position: relative; z-index: 1;
  width: 100%;
  background: #1e1008;
  border-top: 1px solid rgba(254,254,254,0.12);
  border-radius: 12px 12px 0 0;
  padding: 32px 24px 40px;
  max-height: 70vh;
  overflow-y: auto;
}
.avail-mo-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: rgba(254,254,254,0.5); cursor: pointer; padding: 4px;
}

/* ===== CONTACT MODAL ===== */
.avail-contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.avail-contact-modal.open { display: flex; }
.acm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.8);
}
.acm-panel {
  position: relative;
  z-index: 1;
  background: #1e1008;
  border: 1px solid rgba(254,254,254,0.1);
  border-radius: 6px;
  width: min(480px, 94vw);
  padding: 40px 36px 36px;
}
.acm-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(254,254,254,0.07);
  border: none; border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(254,254,254,0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.acm-close:hover { background: rgba(254,254,254,0.15); }
.acm-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254,254,254,0.35);
  margin: 0 0 6px;
}
.acm-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FEFEFE;
  margin: 0 0 10px;
}
.acm-sub {
  font-size: 0.88rem;
  color: rgba(254,254,254,0.5);
  line-height: 1.6;
  margin: 0 0 28px;
}
.acm-form { display: flex; flex-direction: column; gap: 20px; }
.acm-field { display: flex; flex-direction: column; gap: 8px; }
.acm-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(254,254,254,0.45);
}
.acm-field input[type="text"] {
  background: rgba(254,254,254,0.05);
  border: 1px solid rgba(254,254,254,0.12);
  border-radius: 4px;
  color: #FEFEFE;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.acm-field input[type="text"]:focus { border-color: rgba(254,254,254,0.35); }
.acm-field input[type="text"].acm-error { border-color: #c0392b; }
.acm-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.acm-type {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 14px;
  border: 1px solid rgba(254,254,254,0.12);
  border-radius: 20px;
  font-size: 0.82rem;
  color: rgba(254,254,254,0.6);
  transition: border-color 0.2s, color 0.2s;
}
.acm-type:has(input:checked) {
  border-color: rgba(254,254,254,0.5);
  color: #FEFEFE;
}
.acm-type input { display: none; }
.acm-submit {
  width: 100%;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
}
.acm-gdpr {
  font-size: 0.75rem;
  color: rgba(254,254,254,0.3);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.acm-gdpr a { color: rgba(254,254,254,0.5); text-decoration: underline; }
.acm-success {
  text-align: center;
  padding: 20px 0;
}
.acm-success-icon {
  font-size: 2.5rem;
  color: #8A6B5E;
  margin: 0 0 12px;
}
.acm-success-text {
  font-size: 1rem;
  color: rgba(254,254,254,0.75);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .avail-tap-hint { display: none; }
  .avail-overlay  { display: none; }
  /* Show details list, hide short desc */
  .avail-card-details {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    gap: 6px;
  }
  .avail-card-desc { display: none; }
  .avail-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .avail-grid { grid-template-columns: 1fr; }
  .avail-lb { align-items: stretch; justify-content: stretch; }
  .avail-lb-panel { width: 100%; height: 100%; max-height: 100%; border-radius: 0; border: none; overflow-y: auto; }
  .avail-lb-img-wrap { height: 70vh; min-height: 70vh; max-height: 70vh; }
  .avail-lb-info { flex-direction: column; align-items: flex-start; }
  .avail-lb-cta { width: 100%; text-align: center; display: block; }
}
