/* Booking wizard — matched to hibachinow.com/booking/{slug} */

.hn-book {
  padding: 7.5rem 0 4rem;
}

.hn-book__head {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.hn-book__head h1 {
  margin: 0;
  color: #dc2626;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hn-book__shell {
  width: min(100% - 1.5rem, 56rem);
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.hn-book__steps {
  background: linear-gradient(to right, #ef4444, #dc2626);
  padding: 0.85rem 1rem;
}

.hn-book__steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hn-book__step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.65);
  min-width: 4.5rem;
}

.hn-book__step.is-active,
.hn-book__step.is-done {
  color: #fff;
}

.hn-book__step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.hn-book__step.is-active .hn-book__step-num,
.hn-book__step.is-done .hn-book__step-num {
  background: #fff;
  color: #dc2626;
  border-color: #fff;
}

.hn-book__step-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hn-book__step-line {
  width: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 0.15rem 1rem;
}

.hn-book__panel {
  padding: 1rem 0.85rem 1.25rem;
}

@media (min-width: 640px) {
  .hn-book__panel { padding: 1.25rem 1.25rem 1.75rem; }
  .hn-book__step-label { font-size: 0.8rem; }
  .hn-book__step-line { width: 3rem; }
}

.hn-book__panel[hidden] { display: none !important; }

.hn-book__card {
  background: #fff;
}

.hn-book__card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: #111827;
}

.hn-book__card-head svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #dc2626;
  flex-shrink: 0;
}

.hn-book__card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hn-book__card-head--sub {
  margin-top: 1.25rem;
}

/* Calendar */
.hn-book__cal {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #f3f4f6;
}

.hn-book__cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.hn-book__cal-nav strong {
  font-size: 0.95rem;
  color: #111827;
}

.hn-book__cal-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  color: #374151;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.hn-book__cal-btn:hover { background: #f9fafb; }

.hn-book__cal-weekdays,
.hn-book__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.hn-book__cal-weekdays {
  margin-bottom: 0.35rem;
}

.hn-book__cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  padding: 0.25rem 0;
}

.hn-book__day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.hn-book__day:disabled {
  color: #d1d5db;
  cursor: default;
}

.hn-book__day.is-outside { visibility: hidden; }

.hn-book__day:not(:disabled):hover {
  background: #fef2f2;
  color: #dc2626;
}

.hn-book__day.is-selected {
  background: #dc2626;
  color: #fff;
}

.hn-book__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px #fca5a5;
}

/* Times */
.hn-book__times {
  margin-top: 1.25rem;
}

.hn-book__time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hn-book__time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .hn-book__time-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hn-book__time-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.hn-book__time {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hn-book__time:hover {
  border-color: #fca5a5;
  color: #dc2626;
}

.hn-book__time.is-selected {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.hn-book__actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.hn-book__actions--split {
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hn-book__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hn-book__primary:hover {
  background: #b91c1c;
  color: #fff;
}

.hn-book__primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hn-book__primary svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hn-book__primary--center {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
}

.hn-book__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.hn-book__ghost:hover {
  background: #f9fafb;
  color: #111827;
}

.hn-book__ghost--center {
  display: flex;
  width: fit-content;
  margin: 1rem auto 0;
}

/* Step 2 layout */
.hn-book__layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .hn-book__layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
    align-items: start;
  }
}

.hn-book__summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 600;
}

.hn-book__summary-chip svg {
  width: 0.95rem;
  height: 0.95rem;
}

.hn-book__grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 640px) {
  .hn-book__grid2 { grid-template-columns: 1fr 1fr; }
}

.hn-book__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.hn-book__field--full { grid-column: 1 / -1; }

.hn-book__field input,
.hn-book__field select,
.hn-book__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 400;
  color: #111827;
  background: #fff;
}

.hn-book__field input:focus,
.hn-book__field select:focus,
.hn-book__field textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 1px #dc2626;
}

.hn-book__field input[readonly] {
  background: #f9fafb;
  color: #6b7280;
}

.hn-book__counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.hn-book__counter button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: #f9fafb;
  color: #111827;
  font-size: 1.1rem;
  cursor: pointer;
}

.hn-book__counter button:hover { background: #f3f4f6; }

.hn-book__counter strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
}

.hn-book__agree {
  margin: 0.5rem 0 1rem;
}

.hn-book__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.hn-book__check input {
  margin-top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #dc2626;
}

/* Pricing side */
.hn-book__price-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fafafa;
  position: sticky;
  top: 5.5rem;
}

.hn-book__price-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.hn-book__price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
  color: #4b5563;
}

.hn-book__price-row strong { color: #111827; }

.hn-book__price-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.45;
}

.hn-book__menu-toggle {
  margin-top: 0.85rem;
  width: 100%;
  border: 1px solid #fecaca;
  background: #fff;
  color: #dc2626;
  border-radius: 0.5rem;
  padding: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.hn-book__menu-toggle:hover { background: #fef2f2; }

.hn-book__menu-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e7eb;
}

.hn-book__menu-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}

.hn-book__menu-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hn-book__menu-block li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #374151;
  padding: 0.2rem 0;
}

.hn-book__menu-block em {
  font-style: normal;
  color: #6b7280;
  font-weight: 600;
}

/* Success */
.hn-book__success {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1rem 0.5rem 1.5rem;
}

.hn-book__success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-book__success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.hn-book__success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #111827;
}

.hn-book__ref {
  margin: 0 0 0.75rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.hn-book__success-lead {
  margin: 0 0 1.5rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.hn-book__next-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.hn-book__next-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.hn-book__next-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hn-book__next-item > span {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.hn-book__next-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #111827;
  font-size: 1rem;
}

.hn-book__next-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.hn-book__help {
  margin: 0.5rem 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.hn-book__help a {
  color: #dc2626;
  font-weight: 600;
  text-decoration: none;
}

/* Drawer */
.hn-book__drawer[hidden] { display: none !important; }

.hn-book__drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.hn-book__drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.hn-book__drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(100%, 26rem);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 639px) {
  .hn-book__drawer-panel {
    top: auto;
    left: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 1rem 1rem 0 0;
  }
}

.hn-book__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #e5e7eb;
}

.hn-book__drawer-head button {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.hn-book__drawer-body {
  padding: 1rem 1.1rem;
  overflow: auto;
  flex: 1;
}

.hn-book__drawer-foot {
  padding: 1rem 1.1rem;
  border-top: 1px solid #e5e7eb;
}

.hn-book__drawer-foot .hn-book__primary {
  width: 100%;
}
