/* ============================================================
   ELLIE LUMIÈRE — STYLES.CSS
   Romantic boutique aesthetic
   Colors: dusty rose / blush / nude / white / dark brown
   Fonts: Great Vibes (brand) / Cormorant (headings) / Lato (body)
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --rose:       #C17B8F;
  --rose-dark:  #9D5E72;
  --blush:      #EDD5DB;
  --blush-pale: #FAF0F3;
  --nude:       #FAF3F0;
  --cream:      #FEFAF8;
  --brown:      #2C1A1A;
  --brown-mid:  #6B3A3A;
  --brown-pale: #9C7070;
  --gold:       #C9A97A;
  --white:      #FFFFFF;
  --border:     #EADCDD;
  --shadow:     rgba(193,123,143,0.12);

  --font-brand:   'Great Vibes', cursive;
  --font-heading: 'Cormorant', serif;
  --font-body:    'Lato', sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--nude);
  color: var(--brown);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

input, select, textarea, button { font-family: var(--font-body); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--white);
  text-align: center;
}

/* Awning stripes */
.awning {
  height: 52px;
  background: repeating-linear-gradient(
    90deg,
    var(--rose)  0px,
    var(--rose)  22px,
    var(--white) 22px,
    var(--white) 44px
  );
}

.brand-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 20px 16px;
}

.brand-deco {
  color: var(--rose);
  font-size: 18px;
  opacity: 0.6;
  margin-top: -4px;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 48px;
  color: var(--brown);
  line-height: 1;
  letter-spacing: 1px;
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--rose);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}

/* Scalloped bottom of header */
.scallop-border {
  height: 18px;
  background-color: var(--nude);
  background-image: radial-gradient(circle at 50% 0, var(--white) 13px, transparent 14px);
  background-size: 26px 18px;
  background-repeat: repeat-x;
  background-position: 13px 0;
}

/* ============================================================
   STEP INDICATOR
   ============================================================ */

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 8px;
  max-width: 400px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--brown-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.step-lbl {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown-pale);
  font-family: var(--font-heading);
  transition: color 0.2s;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 18px;
}

.step-item.active .step-num {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}
.step-item.active .step-lbl { color: var(--rose); }

.step-item.completed .step-num {
  background: var(--blush);
  border-color: var(--rose);
  color: var(--rose);
}
.step-item.completed .step-lbl { color: var(--rose-dark); }

/* ============================================================
   SHARED LAYOUT
   ============================================================ */

.section-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--brown);
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

/* ============================================================
   PAGE 1 — WELCOME
   ============================================================ */

.welcome-section {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.welcome-heading {
  font-family: var(--font-brand);
  font-size: 46px;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.1;
}

.welcome-message {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 16px;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-lg {
  width: auto;
  display: inline-block;
  padding: 17px 40px;
  font-size: 16px;
}

/* ============================================================
   GOWN GALLERY (multiple gown cards)
   ============================================================ */

.gown-gallery-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ============================================================
   STEP 1 — GOWN CARD
   ============================================================ */

.gown-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1px solid var(--border);
}

.gown-photo-wrap {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.gown-photo-zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(44,26,26,0.55);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.gown-photo-wrap:hover .gown-photo-zoom,
.gown-photo-wrap:active .gown-photo-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gown-photo-wrap:hover .gown-photo {
  transform: scale(1.04);
}

.gown-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--cream);
  display: block;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}

.gown-photo-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--blush-pale) 0%, var(--blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.gown-photo-placeholder-icon {
  font-size: 48px;
  opacity: 0.5;
}

.gown-photo-placeholder-text {
  font-family: var(--font-brand);
  font-size: 36px;
  color: var(--rose);
  opacity: 0.7;
}

.gown-details {
  padding: 24px 24px 28px;
}

.gown-tier {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.gown-name-display {
  font-family: var(--font-brand);
  font-size: 38px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 4px;
}

.gown-price {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--rose);
  margin-bottom: 12px;
  font-weight: 500;
}

.gown-price small {
  font-size: 14px;
  color: var(--brown-pale);
  font-weight: 300;
}

.gown-desc {
  color: var(--brown-mid);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.freebies-wrap {
  margin-bottom: 16px;
}

.freebies-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-pale);
  margin-bottom: 8px;
}

.freebies {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.freebie {
  background: var(--blush-pale);
  border: 1px solid var(--blush);
  color: var(--rose-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.gown-vision {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--brown-pale);
  font-size: 13px;
  border-left: 2px solid var(--blush);
  padding-left: 12px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============================================================
   STEP 2 — FORM
   ============================================================ */

.form-card {
  background: var(--white);
  border-radius: 3px;
  padding: 28px 24px 24px;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 7px;
}

.req { color: var(--rose); }
.optional { font-size: 10px; color: var(--brown-pale); text-transform: none; letter-spacing: 0; font-style: italic; }

/* Contact platform pills */
.platform-pills {
  display: flex;
  gap: 10px;
}

.platform-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  cursor: pointer;
  font-size: 14px;
  color: var(--brown);
  transition: all 0.15s;
}

.platform-pill input { position: absolute; opacity: 0; width: 0; height: 0; }

.platform-pill:hover { border-color: var(--rose); background: var(--white); }

.platform-pill.selected {
  border-color: var(--rose);
  background: var(--blush-pale);
  color: var(--rose-dark);
  font-weight: 700;
}

/* Inline field feedback (e.g. date availability) */
.field-note {
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}

.field-note.checking   { color: var(--brown-pale); font-style: italic; }
.field-note.available  { color: #2E7D32; }
.field-note.unavailable { color: #C62828; font-weight: 600; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--brown);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C17B8F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(193,123,143,0.1);
  background: var(--white);
}

textarea { resize: vertical; min-height: 72px; }

input[type="file"] {
  background: var(--cream);
  border: 1px dashed var(--border);
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--brown-pale);
}

/* Delivery Options */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--cream);
}

.delivery-opt:hover { border-color: var(--rose); background: var(--white); }

.delivery-opt.selected {
  border-color: var(--rose);
  background: var(--blush-pale);
}

.delivery-opt input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
  accent-color: var(--rose);
  cursor: pointer;
  margin-top: 3px;
}

.delivery-opt-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  gap: 10px;
}

.delivery-opt-body { flex: 1; min-width: 0; }

.delivery-opt-name {
  font-size: 13px;
  color: var(--brown);
}

.delivery-opt-note {
  font-size: 11px;
  color: var(--brown-pale);
  font-style: italic;
  margin-top: 3px;
  line-height: 1.5;
}

.delivery-opt-fee {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--rose);
  font-weight: 500;
  flex-shrink: 0;
  max-width: 90px;
  text-align: right;
  line-height: 1.3;
  white-space: normal;
}

/* Price Preview */
.price-preview {
  background: var(--blush-pale);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 16px 16px 12px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  color: var(--brown-mid);
}

.price-row small {
  font-size: 11px;
  font-weight: 300;
  opacity: 0.8;
  margin-left: 4px;
}

.price-total {
  border-top: 1px solid var(--blush);
  margin-top: 8px;
  padding-top: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--brown);
  font-weight: 600;
}

.price-due {
  color: var(--rose-dark);
  font-size: 12px;
  font-style: italic;
  margin-top: 4px;
  padding-top: 4px;
}

/* ============================================================
   STEP 3 — PAYMENT
   ============================================================ */

.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px 20px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px var(--shadow);
}

.summary-heading {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-pale);
  margin-bottom: 14px;
  font-weight: 400;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 5px 0;
  color: var(--brown-mid);
  gap: 12px;
}

.summary-row span:first-child { flex-shrink: 0; }
.summary-row strong { color: var(--brown); }

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.summary-total {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--brown);
  padding-top: 8px;
}

.payment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px 24px 20px;
  box-shadow: 0 4px 24px var(--shadow);
}

.payment-heading {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-pale);
  margin-bottom: 16px;
  font-weight: 400;
}

.amount-due-box {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 20px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.amount-due-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}

.amount-due-breakdown {
  margin-bottom: 12px;
  text-align: left;
}

.adb-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  opacity: 0.9;
}

.adb-row small { opacity: 0.8; font-weight: 300; }

.adb-divider {
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 8px 0;
}

.amount-due-value {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.amount-due-note {
  font-size: 12px;
  opacity: 0.8;
  font-style: italic;
}

.gcash-box {
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 2px;
  text-align: center;
  padding: 16px;
  margin-bottom: 20px;
}

.gcash-qr {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.gcash-qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 2px;
  font-size: 36px;
  opacity: 0.4;
}

.gcash-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.gcash-name {
  font-size: 12px;
  color: var(--brown-pale);
  letter-spacing: 1px;
  font-style: italic;
}

.policy-box {
  background: var(--blush-pale);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--brown-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Rental Rules */
.rules-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.rules-heading {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rules-list li {
  font-size: 12px;
  color: var(--brown-mid);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.rules-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rose);
}

/* ============================================================
   SUCCESS
   ============================================================ */

.success-section {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.success-icon {
  font-size: 52px;
  margin-bottom: 16px;
  display: block;
}

.success-title {
  font-family: var(--font-brand);
  font-size: 42px;
  color: var(--brown);
  margin-bottom: 16px;
}

.success-text {
  color: var(--brown-mid);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.success-screenshot-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: var(--white);
  border-radius: 3px;
  padding: 16px 18px;
  margin: 20px 0;
  text-align: left;
  box-shadow: 0 4px 20px var(--shadow);
}

.ssn-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.ssn-text {
  font-size: 13px;
  line-height: 1.6;
}

.ssn-text strong { font-weight: 700; }

.success-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.success-row {
  padding: 8px 0;
  font-size: 14px;
  color: var(--brown-mid);
  border-bottom: 1px solid var(--blush-pale);
}
.success-row:last-child { border-bottom: none; }

.success-confirm {
  font-size: 13px;
  color: var(--brown-pale);
  margin-bottom: 8px;
  font-style: italic;
}

.success-love {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--rose);
  font-style: italic;
  margin-top: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: var(--rose);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.btn-primary:hover { background: var(--rose-dark); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:disabled { background: var(--brown-pale); cursor: not-allowed; }

.btn-secondary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  color: var(--brown-mid);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.btn-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 20px;
}

.btn-group-single {
  margin-top: 20px;
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */

.admin-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.admin-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.admin-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--brown);
}

.admin-header p {
  font-size: 12px;
  color: var(--brown-pale);
  letter-spacing: 1px;
}

.btn-sm {
  padding: 6px 14px !important;
  font-size: 12px !important;
  width: auto !important;
  margin-left: auto;
}

.stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px 20px;
  text-align: center;
  min-width: 120px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--rose);
  font-weight: 600;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-pale);
  margin-top: 2px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 3px;
  box-shadow: 0 2px 12px var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
  min-width: 800px;
}

.admin-table th {
  background: var(--blush-pale);
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-mid);
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--blush-pale);
  color: var(--brown);
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--cream); }
.admin-table tr:last-child td { border-bottom: none; }

.muted { color: var(--brown-pale); font-size: 11px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 500;
}

.badge-pending   { background: #FFF4E0; color: #A0700A; }
.badge-confirmed { background: #E6F4EA; color: #2E7D32; }
.badge-cancelled { background: #FCE8E8; color: #C62828; }
.badge-completed { background: #E8EAF6; color: #3949AB; }

.link { color: var(--rose); font-size: 12px; }

/* Admin row actions */
.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bc-action-btn {
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.bc-action-btn:hover { opacity: 0.85; }

.bc-action-btn.confirm { background: #2E7D32; color: var(--white); }
.bc-action-btn.cancel  { background: #C62828; color: var(--white); }
.bc-action-btn.view    { background: var(--rose); color: var(--white); }

.loading { color: var(--brown-pale); font-style: italic; padding: 32px 0; text-align: center; }
.empty-state { color: var(--brown-pale); text-align: center; padding: 48px 0; font-style: italic; }
.error { color: #C62828; padding: 16px; background: #FCE8E8; border-radius: 2px; font-size: 13px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 12px;
  color: var(--brown-pale);
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.footer-line {
  margin: 0 0 4px;
}

.footer-line:last-of-type {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--rose);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28,16,16,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 40px 20px;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: min(92vw, 640px);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px rgba(193,123,143,0.35);
  cursor: default;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), opacity 0.4s ease;
  position: relative;
  z-index: 1;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-toggle {
  display: none;
  gap: 10px;
}

.lightbox-toggle-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lightbox-toggle-btn:hover {
  border-color: var(--rose);
  color: var(--white);
}

.lightbox-toggle-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  transform: rotate(90deg);
}

/* Sparkle / magical effect */
.lightbox-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.spark {
  position: absolute;
  color: var(--gold);
  font-size: 20px;
  opacity: 0;
  text-shadow: 0 0 12px rgba(201,169,122,0.8);
}

.lightbox.open .spark {
  animation: sparkle-float 2.6s ease-in-out infinite;
}

.spark.s1 { top: 12%; left: 18%; font-size: 16px; animation-delay: 0s;   }
.spark.s2 { top: 22%; left: 82%; font-size: 22px; animation-delay: 0.3s; }
.spark.s3 { top: 74%; left: 12%; font-size: 18px; animation-delay: 0.6s; }
.spark.s4 { top: 82%; left: 78%; font-size: 20px; animation-delay: 0.9s; }
.spark.s5 { top: 8%;  left: 52%; font-size: 14px; animation-delay: 1.2s; }
.spark.s6 { top: 90%; left: 46%; font-size: 16px; animation-delay: 1.5s; }

@keyframes sparkle-float {
  0%   { opacity: 0; transform: translateY(6px) scale(0.6) rotate(0deg); }
  50%  { opacity: 1; transform: translateY(-6px) scale(1) rotate(180deg); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.6) rotate(360deg); }
}

/* ============================================================
   AVAILABILITY CALENDAR MODAL
   ============================================================ */

.avail-modal {
  position: fixed;
  inset: 0;
  background: rgba(28,16,16,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.avail-modal.open { opacity: 1; }

.avail-modal-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px 24px;
  max-width: 340px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
}

.avail-modal.open .avail-modal-card {
  transform: scale(1);
  opacity: 1;
}

.avail-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--brown-mid);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.avail-modal-close:hover { background: var(--blush-pale); color: var(--rose); }

.avail-modal-title {
  font-family: var(--font-brand);
  font-size: 28px;
  color: var(--brown);
  text-align: center;
  margin-bottom: 2px;
}

.avail-modal-sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  text-align: center;
  margin-bottom: 18px;
}

.avail-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.avail-cal-nav button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--brown);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}

.avail-cal-nav button:hover:not(:disabled) { border-color: var(--rose); color: var(--rose); }
.avail-cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }

#avail-cal-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
}

.avail-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.avail-cal-weekdays span {
  text-align: center;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-pale);
}

.avail-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}

.avail-cal-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 0;
  color: var(--brown-pale);
  font-style: italic;
  font-size: 13px;
}

.avail-cal-error {
  text-align: center;
  padding: 24px 12px;
  color: #C62828;
  font-size: 13px;
  line-height: 1.6;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

/* :not(.selected) matters: :hover + :not() together are MORE specific than
   .selected alone, so without this a lingering mobile "sticky hover" on the
   tapped day would override its selected-rose background. */
.cal-day:hover:not(.disabled):not(.selected) { background: var(--blush-pale); }
.cal-day.other-month { visibility: hidden; }

.cal-day.disabled {
  color: var(--border);
  cursor: not-allowed;
}

.cal-day.booked {
  background: #FCE8E8;
  color: #C62828;
  text-decoration: line-through;
}

/* A day that's part of the customer's own confirmed selection always shows
   the same solid rose highlight — even if, on its own, that day would also
   register as "booked" for a hypothetical different start date. It's part
   of one continuous rental, so it should never look partially unavailable. */
.cal-day.selected,
.cal-day.selected.booked,
.cal-day.selected.disabled {
  background: var(--rose);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   RENTAL DURATION MODAL
   ============================================================ */

.duration-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.duration-opt {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
}

.duration-opt:hover {
  border-color: var(--rose);
  background: var(--blush-pale);
  color: var(--rose-dark);
}

/* ============================================================
   RENTAL DATES SUMMARY (read-only, in the reservation form)
   ============================================================ */

.rental-dates-summary {
  background: var(--blush-pale);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 12px 16px;
}

.rds-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--brown-mid);
  padding: 4px 0;
}

.rds-row strong { color: var(--brown); }

/* ============================================================
   TERMS & CONDITIONS MODAL
   ============================================================ */

.terms-modal-card {
  max-width: 420px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
}

.terms-modal-title {
  margin-bottom: 14px;
}

.terms-scroll {
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  background: var(--cream);
  margin-bottom: 14px;
  flex: 1;
  min-height: 0;
}

.terms-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terms-list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown-mid);
}

.terms-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--brown);
  margin-bottom: 3px;
}

.terms-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--brown-mid);
  line-height: 1.5;
  margin-bottom: 14px;
  cursor: pointer;
}

.terms-checkbox-row input {
  margin-top: 2px;
  width: auto;
  accent-color: var(--rose);
}

.terms-cancel-link {
  background: none;
  border: none;
  color: var(--brown-pale);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
  padding: 4px;
  width: 100%;
  text-align: center;
}

.terms-cancel-link:hover { color: var(--rose); }

/* ============================================================
   UTILITIES
   ============================================================ */

.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
  .brand-name { font-size: 38px; }
  .awning { height: 40px; }

  .step-lbl { font-size: 9px; }
  .step-num { width: 28px; height: 28px; font-size: 12px; }

  .gown-photo-placeholder { height: 220px; }
  .gown-name-display { font-size: 32px; }

  .form-card, .payment-card, .summary-card { padding: 18px 16px; }

  .amount-due-value { font-size: 30px; }

  .btn-group { grid-template-columns: 1fr 1.5fr; }

  .success-title { font-size: 34px; }

  .lightbox-close { top: 14px; right: 14px; width: 34px; height: 34px; font-size: 18px; }
}
