/**
 * LIMAS Jewellery — Private Jewellery Viewing page.
 * Brand: Cristalle (headings), Jost (body).
 * Palette: #4E0C1A (burgundy) + #F9F5E3 (cream).
 */

:root {
  --limas-burgundy: #4E0C1A;
  --limas-burgundy-light: #6B1E2E;
  --limas-burgundy-dark: #3A0912;
  --limas-cream: #F9F5E3;
  --limas-cream-dark: #EDE8D4;
  --limas-font-heading: 'Cristalle', 'Playfair Display', serif;
  --limas-font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --limas-text: #4E0C1A;
  --limas-text-muted: #8B6F6F;
  --limas-border: #E5D9C5;
}

.limas-pv-page {
  font-family: var(--limas-font-body);
  color: var(--limas-text);
  background: var(--limas-cream);
}

.limas-pv-page .site-main {
  max-width: 100%;
  padding: 0;
}

/* ==========================================================================
   1. Mosaic Hero
   ========================================================================== */

.limas-pv-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
}

.limas-pv-hero__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 4px;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.limas-pv-hero__cell--1 { grid-row: 1 / 3; grid-column: 1; }
.limas-pv-hero__cell--2 { grid-row: 1; grid-column: 2; }
.limas-pv-hero__cell--3 { grid-row: 1; grid-column: 3; }
.limas-pv-hero__cell--4 { grid-row: 2; grid-column: 2 / 4; }

.limas-pv-hero__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-pv-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
  padding: 3rem 2rem;
  background: rgba(78, 12, 26, 1);
}

.limas-pv-hero__title {
  font-family: var(--limas-font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--limas-cream);
  margin: 0 0 0.8rem;
}

.limas-pv-hero__subtitle {
  font-family: var(--limas-font-body);
  font-weight: 300;
  font-size: 1rem;
  color: rgba(249, 245, 227, 0.78);
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   2. Booking — info + form
   ========================================================================== */

.limas-pv-booking {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  background: var(--limas-cream);
}

.limas-pv-booking__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: start;
}

/* Left — decorative info */
.limas-pv-booking__left {
  padding-top: 1.5rem;
}

.limas-pv-gem {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--limas-burgundy);
  stroke-width: 1;
  stroke-linejoin: round;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.limas-pv-booking__tagline {
  font-family: var(--limas-font-heading);
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--limas-text);
  margin: 0 0 1rem;
}

.limas-pv-booking__note {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--limas-text-muted);
  margin: 0 0 1.5rem;
}

.limas-pv-booking__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.limas-pv-booking__perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--limas-text);
}

.limas-pv-booking__perks li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E0C1A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Right — form */
.limas-pv-booking__heading {
  font-family: var(--limas-font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--limas-text);
  margin: 0 0 1.2rem;
}

.limas-pv-form-wrap {
  background: #fffdf7;
  border: 1px solid var(--limas-border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 28px rgba(78, 12, 26, 0.06);
}

/* Two-column rows inside CF7 */
.limas-pv-form-wrap .limas-pv-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.2rem;
}

.limas-pv-form-wrap .limas-pv-field {
  flex: 1;
  margin-bottom: 0.8rem;
}

.limas-pv-form-wrap .limas-pv-field label {
  font-family: var(--limas-font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--limas-text-muted);
  display: block;
  margin-bottom: 0;
}

.limas-pv-form-wrap .wpcf7-form-control-wrap {
  display: block;
}

.limas-pv-form-wrap input[type="text"],
.limas-pv-form-wrap input[type="email"],
.limas-pv-form-wrap input[type="tel"] {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--limas-border);
  border-radius: 0;
  padding: 0.55rem 0;
  font-family: var(--limas-font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--limas-text);
  background: transparent;
  transition: border-color 0.25s;
  box-sizing: border-box;
}

.limas-pv-form-wrap input[type="text"]:focus,
.limas-pv-form-wrap input[type="email"]:focus,
.limas-pv-form-wrap input[type="tel"]:focus {
  border-color: var(--limas-burgundy);
  outline: none;
  box-shadow: none;
}

.limas-pv-form-wrap input[type="hidden"] { display: none; }
.limas-pv-form-wrap p:empty { display: none; margin: 0; padding: 0; }
.limas-pv-form-wrap .wpcf7-form > p { margin: 0; }

/* Submit */
.limas-pv-form-wrap input[type="submit"],
.limas-pv-form-wrap .wpcf7-submit {
  display: block;
  width: 100%;
  background: var(--limas-burgundy) !important;
  color: var(--limas-cream) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--limas-font-body) !important;
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 1rem 2rem !important;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 0.5rem;
}

.limas-pv-form-wrap input[type="submit"]:hover,
.limas-pv-form-wrap .wpcf7-submit:hover {
  background: var(--limas-burgundy-light) !important;
}

.limas-pv-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.76rem;
  color: #c33;
  margin-top: 0.2rem;
}

.limas-pv-form-wrap .wpcf7-response-output {
  border-color: var(--limas-burgundy) !important;
  font-family: var(--limas-font-body);
  font-size: 0.84rem;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  margin: 0.8rem 0 0;
}

/* ==========================================================================
   Calendar
   ========================================================================== */

.lpv-cal {
  margin: 0.5rem 0 0.6rem;
}

.lpv-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0 0.8rem;
  border-bottom: 1px solid var(--limas-border);
  margin-bottom: 0.6rem;
}

.lpv-cal__mo {
  font-family: var(--limas-font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--limas-text);
}

.lpv-cal__arr {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--limas-text-muted);
  cursor: pointer;
  padding: 0 0.4rem;
  transition: color 0.2s;
}

.lpv-cal__arr:hover {
  color: var(--limas-burgundy);
}

.lpv-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.3rem;
}

.lpv-cal__days span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--limas-text-muted);
  padding: 0.3rem 0;
}

.lpv-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  row-gap: 2px;
}

.lpv-cal__c {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  font-size: 0.88rem;
  font-weight: 300;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: var(--limas-text);
}

.lpv-cal__c--empty {
  cursor: default;
}

.lpv-cal__c--past {
  color: #ccc;
  cursor: default;
}

.lpv-cal__c:not(.lpv-cal__c--empty):not(.lpv-cal__c--past):hover {
  background: rgba(78, 12, 26, 0.1);
}

.lpv-cal__c--today {
  border: 1.5px solid var(--limas-text);
}

.lpv-cal__c--sel {
  background: var(--limas-burgundy) !important;
  color: var(--limas-cream) !important;
  font-weight: 500;
}

/* ==========================================================================
   Time Picker
   ========================================================================== */

.lpv-time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0;
  border-top: 1px solid var(--limas-border);
  margin-top: 0.2rem;
}

.lpv-time__arr {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--limas-text-muted);
  cursor: pointer;
  padding: 0 0.8rem;
  transition: color 0.2s;
}

.lpv-time__arr:hover {
  color: var(--limas-burgundy);
}

.lpv-time__mid {
  text-align: center;
  min-width: 110px;
}

.lpv-time__val {
  display: block;
  font-family: var(--limas-font-heading);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--limas-text);
}

.lpv-time__lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--limas-burgundy);
  margin-top: 0.15rem;
}

/* ==========================================================================
   3. CTA Banner
   ========================================================================== */

.limas-pv-cta {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.limas-pv-cta__overlay {
  background: rgba(78, 12, 26, 1);
  text-align: center;
  padding: 5rem 2rem;
}

.limas-pv-cta__title {
  font-family: var(--limas-font-heading);
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  color: var(--limas-cream);
  margin: 0 0 0.7rem;
}

.limas-pv-cta__text {
  font-family: var(--limas-font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(249, 245, 227, 0.78);
  margin: 0 auto 1.8rem;
  max-width: 420px;
  line-height: 1.7;
}

.limas-pv-cta__btn {
  display: inline-block;
  font-family: var(--limas-font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--limas-cream) !important;
  border: 1px solid var(--limas-cream);
  padding: 0.8rem 2.2rem;
  text-decoration: none !important;
  transition: background 0.25s, color 0.25s;
}

.limas-pv-cta__btn:hover {
  background: var(--limas-cream);
  color: var(--limas-burgundy) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .limas-pv-hero,
  .limas-pv-hero__overlay { min-height: 340px; }

  .limas-pv-hero__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 170px;
  }
  .limas-pv-hero__cell--1 { grid-row: 1; grid-column: 1; }
  .limas-pv-hero__cell--4 { grid-column: 2; }

  .limas-pv-hero__overlay { padding: 2rem 1.25rem; }

  .limas-pv-booking { padding: 2rem 1rem; }

  .limas-pv-booking__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .limas-pv-booking__left {
    padding-top: 0;
    text-align: center;
  }

  .limas-pv-booking__perks { align-items: center; }

  .limas-pv-form-wrap { padding: 1.5rem 1.25rem; }

  .limas-pv-form-wrap .limas-pv-row {
    flex-direction: column;
    gap: 0;
  }

  .limas-pv-cta__overlay { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .limas-pv-hero__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 170px 170px;
  }
  .limas-pv-hero__cell--2,
  .limas-pv-hero__cell--3 { display: none; }
  .limas-pv-hero__cell--1 { grid-row: 1; grid-column: 1; }
  .limas-pv-hero__cell--4 { grid-row: 2; grid-column: 1; }

  .lpv-cal__c { width: 32px; height: 32px; font-size: 0.82rem; }
}
