/**
 * NelNelSA Booking – Frontend styles (minimal, works with or without theme)
 */

.nelnelsa-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.nelnelsa-service-card {
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
}

.nelnelsa-service-card__image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4/5;
	object-fit: cover;
}

.nelnelsa-service-card__body {
	padding: 1.25rem;
}

.nelnelsa-service-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.nelnelsa-service-card__desc {
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 0.75rem;
}

.nelnelsa-service-card__meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.nelnelsa-btn {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	background: #000;
	color: #fff;
	text-decoration: none;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.nelnelsa-btn:hover {
	background: #C9A227;
	color: #000;
}

.nelnelsa-booking-container {
	background: #f7f7f7;
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding: 3rem 2rem;
	text-align: center;
	min-height: 280px;
}

.nelnelsa-booking-placeholder h3 {
	margin-top: 0;
}

.nelnelsa-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.5rem;
}

.nelnelsa-gallery-item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

.nelnelsa-before-after-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.nelnelsa-ba-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	position: relative;
}

.nelnelsa-ba-images img {
	width: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	display: block;
}

.nelnelsa-ba-label {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #000;
	color: #fff;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 2px 8px;
}

.nelnelsa-ba-after .nelnelsa-ba-label--after {
	left: auto;
	right: 8px;
	background: #C9A227;
	color: #000;
}

.nelnelsa-placeholder {
	padding: 2rem;
	background: #f7f7f7;
	border: 1px dashed rgba(0, 0, 0, 0.12);
	text-align: center;
	color: #777;
}

/* ===== Booking App ===== */
.nelnelsa-booking-app {
  max-width: 640px;
  margin: 0 auto;
  font-family: inherit;
}

.nelnelsa-booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  justify-content: center;
}

.nelnelsa-booking-steps li {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nelnelsa-booking-steps li span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.nelnelsa-booking-steps li.is-active { color: #000; font-weight: 500; }
.nelnelsa-booking-steps li.is-active span { background: #000; color: #fff; border-color: #000; }
.nelnelsa-booking-steps li.is-done span { background: #C9A227; border-color: #C9A227; color: #000; }

.nelnelsa-booking-panel__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  text-align: center;
}

.nelnelsa-booking-services {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nelnelsa-svc-option {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-align: left;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
}

.nelnelsa-svc-option:hover,
.nelnelsa-svc-option.is-selected {
  border-color: #C9A227;
}

.nelnelsa-svc-option img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.nelnelsa-svc-option__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nelnelsa-svc-option__body small { color: #777; }
.nelnelsa-svc-option__meta { font-size: 0.85rem; color: #555; }

/* Calendar */
.nelnelsa-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nelnelsa-calendar__nav button {
  background: none;
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
}

.nelnelsa-calendar__label { font-weight: 500; }

.nelnelsa-calendar__weekdays,
.nelnelsa-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.nelnelsa-calendar__weekdays span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #999;
  padding: 0.35rem 0;
}

.nelnelsa-cal-day {
  aspect-ratio: 1;
  border: none;
  background: #f5f5f5;
  cursor: default;
  font-size: 0.875rem;
  border-radius: 4px;
}

.nelnelsa-cal-day.is-available {
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
}

.nelnelsa-cal-day.is-available:hover { border-color: #C9A227; }
.nelnelsa-cal-day.is-selected { background: #000; color: #fff; border-color: #000; }
.nelnelsa-cal-day.is-unavailable { color: #ccc; }
.nelnelsa-cal-day.is-empty { background: transparent; }

/* Slots */
.nelnelsa-booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}

.nelnelsa-slot {
  padding: 0.75rem 0.5rem;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: center;
}

.nelnelsa-slot:hover,
.nelnelsa-slot.is-selected {
  border-color: #C9A227;
  background: #000;
  color: #fff;
}

/* Form */
.nelnelsa-booking-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.nelnelsa-booking-form input,
.nelnelsa-booking-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  font: inherit;
}

.nelnelsa-booking-form input:focus,
.nelnelsa-booking-form textarea:focus {
  outline: none;
  border-color: #C9A227;
}

.nelnelsa-bf-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .nelnelsa-bf-row--2 { grid-template-columns: 1fr; }
}

/* Review */
.nelnelsa-review-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
}

.nelnelsa-review-list dt { color: #777; font-size: 0.85rem; }
.nelnelsa-review-list dd { margin: 0; font-weight: 500; }

/* Nav */
.nelnelsa-booking-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.nelnelsa-btn--ghost {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

.nelnelsa-btn--ghost:hover {
  background: #000;
  color: #fff;
}

.nelnelsa-booking-hint {
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  margin-top: 1rem;
}

.nelnelsa-booking-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.nelnelsa-booking-success {
  text-align: center;
  padding: 2rem 1rem;
}

.nelnelsa-booking-code {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0.5rem 0 1.5rem;
}

.nelnelsa-booking-code-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #777;
  margin: 0;
}

.nelnelsa-booking-loading {
  text-align: center;
  color: #777;
  padding: 2rem;
}

.nelnelsa-service-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A227;
  margin-bottom: 0.35rem;
}

.nelnelsa-service-card__fee {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.75rem;
}

/* Booking fee / non-refundable notice */
.nelnelsa-booking-fee-box {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid #C9A227;
  background: #FFFBF0;
}
.nelnelsa-booking-fee-box__title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #000;
}
.nelnelsa-booking-fee-box__amount {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}
.nelnelsa-booking-fee-box__note,
.nelnelsa-booking-fee-box__policy {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #333;
}
.nelnelsa-booking-fee-box__policy {
  padding: 0.75rem;
  background: #fff;
  border-left: 3px solid #C9A227;
}
.nelnelsa-booking-accept {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
  margin: 0;
}
.nelnelsa-booking-accept input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.nelnelsa-review-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
}
.nelnelsa-review-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
}
.nelnelsa-review-list dd {
  margin: 0;
  font-weight: 500;
}
