/* Canito Skin — public booking (accent via --business-accent) */

.booking-page {
  background: #fff;
  min-height: 100vh;
}

.booking-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.booking-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(ellipse 80% 70% at 20% 30%, color-mix(in srgb, var(--business-accent) 35%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 20%, color-mix(in srgb, var(--business-accent) 22%, transparent), transparent 50%),
    linear-gradient(160deg, color-mix(in srgb, var(--business-accent) 18%, #f8fafc) 0%, #fff 55%, color-mix(in srgb, var(--business-accent) 8%, #f1f5f9) 100%);
  padding: 2rem 1.25rem 2.25rem;
}

.booking-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.booking-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--text-secondary);
  font-size: var(--text-meta);
}

.booking-meta-row svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.svc-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
  grid-column: 1 / -1;
}

.svc-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.svc-card:hover {
  border-color: color-mix(in srgb, var(--business-accent) 40%, var(--border-color));
  box-shadow: var(--shadow-card-soft);
}

.svc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.svc-card__price {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary, #18181b);
  white-space: nowrap;
}

.svc-card__sena {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.svc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.svc-card__dur {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-meta-sm);
  color: var(--text-secondary);
}

.svc-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 7.5rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--business-accent);
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 150ms ease;
  position: relative;
  z-index: 2;
}

.svc-card__btn:hover {
  background: var(--business-accent-hover);
}

.team-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: #fff;
  background: var(--business-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-accent) 18%, white);
}

.team-avatar--img {
  object-fit: cover;
  display: block;
  padding: 0;
  background: #fff;
}

.wizard-shell {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.wizard-progress {
  height: 4px;
  border-radius: 9999px;
  background: #e4e4e7;
  overflow: hidden;
  margin: 0.75rem 0 1.5rem;
}

.wizard-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: var(--business-accent);
  transition: width 280ms ease;
}

.pro-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  text-align: left;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.pro-chip:hover {
  border-color: color-mix(in srgb, var(--business-accent) 45%, var(--border-color));
}

.pro-chip.is-selected {
  border-color: var(--business-accent);
  background: var(--business-accent-light);
}

.pro-chip__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #fff;
  background: var(--business-accent);
  flex-shrink: 0;
}

.pro-chip__avatar--img {
  object-fit: cover;
  display: block;
  padding: 0;
  background: #e4e4e7;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cal-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-primary);
  cursor: pointer;
}

.cal-nav button:hover {
  background: var(--neutral-bg);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}

.cal-dow {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
}

.cal-day:hover:not(:disabled):not(.is-selected) {
  background: var(--business-accent-light);
}

.cal-day.is-outside,
.cal-day:disabled {
  color: #d4d4d8;
  cursor: default;
}

.cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px var(--business-accent);
  color: var(--business-accent);
  font-weight: 600;
}

.cal-day.is-selected {
  background: var(--business-accent);
  color: #fff;
  font-weight: 600;
}

.slot-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.slot-pill:hover:not(:disabled):not(.is-selected) {
  border-color: var(--business-accent);
  background: var(--business-accent-light);
}

.slot-pill.is-selected {
  background: var(--business-accent);
  border-color: var(--business-accent);
  color: #fff;
}

.slot-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.summary-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  background: var(--business-accent-light);
  padding: 1rem 1.125rem;
  font-size: var(--text-meta);
  color: var(--text-primary);
}

.summary-card strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8125rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: var(--business-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}

.btn-accent:hover:not(:disabled) {
  background: var(--business-accent-hover);
}

.btn-accent:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-meta);
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.field-label {
  display: block;
  font-size: var(--text-meta);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.field-input {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: #fff;
  color: var(--text-primary);
}

.field-input:focus {
  outline: none;
  border-color: var(--business-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-accent) 20%, transparent);
}

.pay-box {
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #fafafa;
  padding: 1rem;
  font-size: var(--text-meta);
  line-height: 1.55;
}

.pay-box dt {
  color: var(--text-secondary);
  font-size: var(--text-meta-sm);
}

.pay-box dd {
  font-weight: 600;
  margin: 0 0 0.5rem;
  word-break: break-all;
}

.help-drawer {
  border-top: 1px solid var(--border-color);
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

.help-drawer summary {
  cursor: pointer;
  list-style: none;
  font-size: var(--text-meta);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-drawer summary::-webkit-details-marker {
  display: none;
}

.help-drawer[open] summary {
  color: var(--text-primary);
}

.nav-links {
  display: none;
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }
}

.canito-pieles-tile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: var(--text-primary);
  transition: background 150ms ease;
}

.cart-link:hover {
  background: var(--neutral-bg);
}

.cart-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--business-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.admin-fab {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 30;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 24, 27, 0.45);
  color: #fff;
  opacity: 0.55;
  transition: opacity 150ms ease;
}

.admin-fab:hover {
  opacity: 1;
}

@media (min-width: 640px) {
  .booking-hero {
    border-radius: 0 0 28px 28px;
    padding: 2.5rem 2rem 2.75rem;
  }

  .svc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    align-items: stretch;
  }

  .svc-card {
    height: 100%;
  }
}
