.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(217, 164, 65, .34) 18.4%, transparent 19.1% 100%),
    linear-gradient(128deg, transparent 0 61%, rgba(52, 211, 153, .22) 61.4%, transparent 62.2% 100%),
    linear-gradient(92deg, transparent 0 77%, rgba(217, 164, 65, .28) 77.2%, transparent 78% 100%),
    linear-gradient(180deg, rgba(14, 13, 11, .08), rgba(14, 13, 11, .46));
  mix-blend-mode: screen;
  opacity: .9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(217, 164, 65, .22), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 90px);
  opacity: .55;
  transform: skewY(-4deg);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-price-callout {
  display: grid;
  gap: 12px;
  max-width: min(880px, 100%);
  margin: 0 0 22px;
  line-height: .94;
}

.hero-price-eyebrow {
  width: fit-content;
  max-width: 100%;
  color: #f8e6bd;
  border: 1px solid rgba(217, 164, 65, .55);
  background: rgba(14, 13, 11, .58);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(217, 164, 65, .2);
}

.hero-price-main {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(3.1rem, 8.3vw, 7.8rem);
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(217, 164, 65, .28),
    0 0 24px rgba(217, 164, 65, .18),
    0 24px 46px rgba(0, 0, 0, .58);
}

.hero-price-main span {
  display: block;
}

.hero-price-value {
  color: var(--accent);
  text-shadow:
    0 0 18px rgba(217, 164, 65, .58),
    0 18px 38px rgba(0, 0, 0, .52);
}

.hero-price-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-price-sub span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: #181009;
  background: linear-gradient(135deg, #f0c56a, #d9a441);
  border: 1px solid rgba(255, 243, 201, .38);
  border-radius: 6px;
  padding: 8px 11px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(217, 164, 65, .32);
}

.hero-price-sub em {
  color: #f3ece1;
  font-size: .9rem;
  font-style: normal;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .48);
}

@media (max-width: 640px) {
  .hero-price-callout {
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-price-main {
    font-size: clamp(2.35rem, 14vw, 4.4rem);
  }

  .hero-price-sub em {
    width: 100%;
  }
}

.suggestion-launcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 95;
  display: grid;
  gap: 4px;
  justify-items: center;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.suggestion-launcher .suggestion-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #1a1406;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .38);
  font-weight: 800;
  font-size: 1.2rem;
}

.suggestion-launcher span:last-child {
  font-size: .72rem;
  font-weight: 700;
  text-shadow: 0 2px 8px #000;
}

.suggestion-panel {
  position: fixed;
  left: 18px;
  bottom: 86px;
  z-index: 96;
  width: min(360px, calc(100vw - 36px));
  display: none;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.suggestion-panel.open {
  display: grid;
}

.suggestion-panel h3,
.suggestion-panel p {
  margin: 0;
}

.suggestion-panel h3 {
  font-size: 1rem;
}

.suggestion-panel p {
  color: var(--text-dim);
  font-size: .86rem;
}

.suggestion-panel label {
  display: grid;
  gap: 5px;
  color: var(--text-dim);
  font-size: .76rem;
  font-weight: 700;
}

.suggestion-panel input,
.suggestion-panel textarea,
.barber-profit-panel input,
.booking-full-name-row input,
.barber-date-filter input,
.fixed-schedule-panel input,
.fixed-schedule-panel select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0e0d0b;
  color: var(--text);
  padding: 10px 11px;
  font: inherit;
}

.booking-full-name-row small {
  min-height: 18px;
  color: #ffb4b4;
  font-size: .74rem;
}

.booking-full-name-row .field-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .12);
}

.suggestion-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.suggestion-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.barber-profit-panel {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 27, 23, .98), rgba(23, 21, 18, .98));
}

.barber-profit-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.barber-profit-head h3,
.barber-profit-head p {
  margin: 0;
}

.barber-profit-head p {
  color: var(--text-dim);
  font-size: .88rem;
}

.barber-profit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.barber-profit-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.barber-profit-card span {
  color: var(--text-mute);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.barber-profit-card strong {
  font-size: 1.25rem;
}

.barber-profit-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.barber-profit-meter span {
  display: block;
  height: 100%;
  width: var(--profit-progress, 0%);
  background: var(--accent);
}

.barber-profit-goal {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 10px;
  align-items: end;
}

.barber-date-filter {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 27, 23, .98), rgba(23, 21, 18, .98));
}

.barber-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.barber-filter-head h3,
.barber-filter-head p,
.barber-date-filter h4 {
  margin: 0;
}

.barber-filter-head p {
  color: var(--text-dim);
  font-size: .88rem;
}

.barber-filter-head label {
  display: grid;
  gap: 6px;
  min-width: min(220px, 100%);
  color: var(--text-dim);
  font-size: .76rem;
  font-weight: 700;
}

.barber-filter-date-control {
  display: grid;
  gap: 8px;
  min-width: min(260px, 100%);
}

.barber-filter-date-actions {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 7px;
}

.barber-filter-date-actions button {
  min-height: 36px;
  border: 1px solid rgba(217, 164, 65, .48);
  border-radius: 8px;
  background: rgba(217, 164, 65, .12);
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.barber-filter-date-actions button:hover {
  background: rgba(217, 164, 65, .2);
}

.barber-date-filter input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.barber-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 14px;
}

.barber-filter-grid > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.barber-filter-list {
  display: grid;
  gap: 8px;
}

.barber-filter-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.barber-filter-item small {
  grid-column: 1 / -1;
  color: var(--text-dim);
}

.barber-slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.barber-slot-free {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(217, 164, 65, .45);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(217, 164, 65, .08);
  font-weight: 700;
}

.fixed-schedule-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 27, 23, .98), rgba(23, 21, 18, .98));
}

.fixed-schedule-head h3,
.fixed-schedule-head p {
  margin: 0;
}

.fixed-schedule-head p,
.fixed-schedule-message {
  color: var(--text-dim);
  font-size: .88rem;
}

.fixed-schedule-message.error {
  color: #ffb4b4;
}

.fixed-schedule-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.fixed-schedule-form label {
  display: grid;
  gap: 6px;
  color: var(--text-dim);
  font-size: .76rem;
  font-weight: 700;
}

.fixed-schedule-list {
  display: grid;
  gap: 8px;
}

.fixed-schedule-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(160px, auto) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.fixed-schedule-item div {
  display: grid;
  gap: 2px;
}

.fixed-schedule-item small {
  color: var(--text-dim);
}

.fixed-schedule-item button {
  border: 1px solid rgba(226, 87, 87, .45);
  border-radius: 8px;
  background: rgba(226, 87, 87, .1);
  color: #ffb4b4;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

@media (max-width: 760px) {
  .barber-profit-head,
  .barber-profit-goal,
  .barber-filter-head {
    grid-template-columns: 1fr;
    display: grid;
    align-items: stretch;
  }

  .barber-profit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .barber-filter-grid {
    grid-template-columns: 1fr;
  }

  .fixed-schedule-form,
  .fixed-schedule-item {
    grid-template-columns: 1fr;
  }
}
