/* ========================================
   The Spot Barbershop - Main Styles
   Consolidated CSS from all pages
   ======================================== */

@font-face {
    font-family: 'Inter';
    src: url('fonts/InterVariable.woff2?v=1') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------
   Reset & Base Styles
   ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f5f7;
    min-height: 100vh;
    touch-action: manipulation;
}

body.bg-black {
    background-color: #000;
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
}

.container-no-top {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px 24px 24px;
}

.container-no-top footer {
    border-top: 1px solid #d2d2d7;
    margin-left: -24px;
    margin-right: -24px;
    padding: 32px 24px;
}

/* ----------------------------------------
   Page Display
   ---------------------------------------- */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

h1.large-margin {
    margin-bottom: 32px;
}

.subtitle {
    font-size: 17px;
    color: #86868b;
    margin-bottom: 32px;
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.header {
    margin-bottom: 24px;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.header .date {
    font-size: 15px;
    color: #86868b;
}

/* ----------------------------------------
   Module (Card Component)
   ---------------------------------------- */
.module {
    background-color: white;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.module h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1d1d1f;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.module-header h2 {
    margin-bottom: 0;
}

.edit-link {
    background: none;
    border: none;
    color: #007aff;
    font-size: 17px;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
}

@media (hover: hover) {
    .edit-link:hover {
        opacity: 0.7;
    }
}

.module h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

/* ----------------------------------------
   Forms
   ---------------------------------------- */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 14px;
    color: #424245;
    margin-bottom: 8px;
    font-weight: 500;
}

label:has(.optional-tag) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.optional-tag {
    color: var(--t3, #a1a1a6);
    font-weight: 400;
}

.form-label {
    display: block;
    font-size: 15px;
    color: #1d1d1f;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 17px;
    color: #1d1d1f;
    background-color: white;
    transition: border-color 0.2s;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #007aff;
}

input::placeholder,
textarea::placeholder {
    color: #c7c7cc;
    opacity: 1;
}

.required-mark {
    color: #d70015;
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.note-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 15px;
    color: #1d1d1f;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin-top: 12px;
}

.note-input:focus {
    outline: none;
    border-color: #007aff;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

@media (hover: hover) {
    .btn-primary:hover {
        background-color: #0051d5;
    }
}

.btn-primary:disabled {
    background-color: #d2d2d7;
    cursor: not-allowed;
}

.btn-primary-black {
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: white;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

@media (hover: hover) {
    .btn-primary-black:hover {
        background-color: #333;
    }
}

.btn-secondary {
    width: 100%;
    padding: 16px;
    background-color: white;
    color: #007aff;
    border: 2px solid #007aff;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

@media (hover: hover) {
    .btn-secondary:hover {
        background-color: #f5f5f7;
    }
}

.btn-secondary-gray {
    width: 100%;
    padding: 14px;
    background-color: white;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
}

@media (hover: hover) {
    .btn-secondary-gray:hover {
        background-color: #f5f5f7;
    }
}

.btn-blue {
    width: 100%;
    padding: 14px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #007aff;
    font-size: 17px;
    cursor: pointer;
    margin-bottom: 16px;
    padding: 0;
}

@media (hover: hover) {
    .back-button:hover {
        opacity: 0.7;
    }
}

/* ----------------------------------------
   Calendar
   ---------------------------------------- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    background: none;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    color: #1d1d1f;
    transition: all 0.2s;
}

@media (hover: hover) {
    .calendar-nav button:hover {
        background-color: #f5f5f7;
    }
}

.calendar-day-name {
    text-align: center;
    font-size: 12px;
    color: #86868b;
    font-weight: 600;
    padding: 8px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    color: #1d1d1f;
    background-color: white;
    border: 1px solid #d2d2d7;
}

@media (hover: hover) {
    .calendar-day:hover:not(.blocked):not(.empty) {
        background-color: #f5f5f7;
    }
}

.calendar-day.selected {
    border: 2px solid #007aff;
    background-color: #f5f5f7;
    font-weight: 600;
}

.calendar-day.blocked {
    color: #d2d2d7;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.empty {
    cursor: default;
    background-color: transparent;
    border-color: transparent;
}

/* ----------------------------------------
   Time Slots
   ---------------------------------------- */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.time-slot {
    padding: 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    color: #1d1d1f;
    transition: all 0.2s;
    background-color: white;
}

@media (hover: hover) {
    .time-slot:hover:not(.unavailable) {
        background-color: #f5f5f7;
    }
}

.time-slot.selected {
    border: 2px solid #007aff;
    background-color: #f5f5f7;
    font-weight: 600;
}

.time-slot.unavailable {
    color: #d2d2d7;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.disabled-cap {
    color: #d2d2d7;
    cursor: not-allowed;
}

/* ----------------------------------------
   Confirmation
   ---------------------------------------- */

.confirmation-message {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.confirmation-details {
    background-color: #f5f5f7;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ----------------------------------------
   Detail Rows
   ---------------------------------------- */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.detail-label {
    font-size: 15px;
    color: #86868b;
}

.review-row-value-link {
    color: #007aff;
    text-decoration: none;
}

.review-row-value-link:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   Info Box
   ---------------------------------------- */
.info-box {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.info-box p {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.5;
}

/* ----------------------------------------
   Info Rows
   ---------------------------------------- */
.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row-padded {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.info-row-simple {
    margin-bottom: 8px;
}

.info-label {
    font-size: 15px;
    color: #86868b;
}

.info-value {
    font-size: 15px;
    color: #1d1d1f;
    font-weight: 500;
    text-align: right;
}

.info-value-block {
    font-size: 17px;
    color: #1d1d1f;
    font-weight: 500;
    margin-top: 4px;
}

/* ----------------------------------------
   Item Rows
   ---------------------------------------- */
.item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
    color: #1d1d1f;
    padding-right: 20px;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
footer {
    text-align: center;
    padding: 32px 24px;
    color: #86868b;
}

footer.bordered {
    border-top: 1px solid #d2d2d7;
}

.company-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.copyright {
    font-size: 13px;
}

/* ----------------------------------------
   Services
   ---------------------------------------- */
.service-item {
    padding: 12px 0;
    border-bottom: 1px solid #e8e8ed;
}

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.service-price {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.service-date {
    font-size: 13px;
    color: #86868b;
}

/* ----------------------------------------
   Products
   ---------------------------------------- */
.product-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8ed;
}

.product-item:last-child {
    border-bottom: none;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.product-image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-image-placeholder svg {
    width: 28px;
    height: 28px;
    color: #86868b;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.product-details {
    font-size: 13px;
    color: #86868b;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: right;
}

/* ----------------------------------------
   Collapsible Sections
   ---------------------------------------- */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.collapsible-header span:first-child {
    font-size: 17px;
    color: #1d1d1f;
}

.collapsible-header .right-side {
    display: flex;
    align-items: center;
    gap: 8px;
}

.collapsible-header .amount {
    font-size: 17px;
    color: #1d1d1f;
}

.arrow {
    font-size: 24px;
    color: #86868b;
    font-weight: 400;
    margin-left: 8px;
}

.collapsible-header .arrow {
    transition: transform 0.2s;
    width: 12px;
    text-align: right;
}

.collapsible-header .arrow.expanded {
    transform: rotate(90deg);
}

.collapsible-content {
    display: none;
    margin-top: 12px;
}

.collapsible-content.expanded {
    display: block;
}

/* ----------------------------------------
   Badges
   ---------------------------------------- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background-color: #e8f5e9;
    color: #388e3c;
}

/* ----------------------------------------
   Dividers
   ---------------------------------------- */
.divider {
    border-bottom: 1px solid #e8e8ed;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.section-divider {
    height: 1px;
    background-color: #e8e8ed;
    margin: 20px 0;
}

/* ----------------------------------------
   Tip Selection
   ---------------------------------------- */
.tip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 0;
}

.tip-button {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    background-color: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: #1d1d1f;
    transition: all 0.2s;
}

.tip-button.selected {
    border: 2px solid #007aff;
    background-color: #f5f5f7;
    font-weight: 600;
}

.custom-tip-input {
    display: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-size: 15px;
    margin-top: 8px;
}

.custom-tip-input.active {
    display: block;
}

/* ----------------------------------------
   Total Row
   ---------------------------------------- */
.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    padding-right: 20px;
}

/* ----------------------------------------
   Section Title
   ---------------------------------------- */
.section-title {
    font-size: 15px;
    font-weight: 500;
    color: #86868b;
    margin-bottom: 8px;
    margin-top: 12px;
}

.section-title:first-child {
    margin-top: 0;
}

/* ----------------------------------------
   Security Text
   ---------------------------------------- */
.security-text {
    font-size: 13px;
    color: #86868b;
    text-align: center;
    margin-top: 12px;
}

/* ----------------------------------------
   FAQ module
   ---------------------------------------- */
.faq-module {
    background-color: #FAFAF7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 8px 20px;
    margin-top: 50px;
    margin-bottom: 16px;
}

.faq-module-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #86868b;
    padding: 12px 0 4px;
    margin: 0;
}

.faq-item {
    border-top: 1px solid #f0f0f2;
}

.faq-item summary {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: #86868b;
    line-height: 1;
    transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #515154;
    margin: 0;
    padding: 0 0 14px;
}

/* ----------------------------------------
   Terms
   ---------------------------------------- */
.terms-text {
    font-size: 13px;
    color: #86868b;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 32px;
}

.terms-text .terms-link {
    color: inherit;
    text-decoration: underline;
}

.terms-link {
    color: #007aff;
    text-decoration: none;
}

.terms-content {
    background-color: white;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.terms-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.terms-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.terms-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 16px;
}

/* ----------------------------------------
   Success Container
   ---------------------------------------- */
.success-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 32px;
}

.checkmark {
    width: 80px;
    height: 80px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: white;
}

.success-container h1 {
    margin-bottom: 12px;
}

.success-container p {
    font-size: 17px;
    color: #86868b;
}

/* ----------------------------------------
   Star Rating
   ---------------------------------------- */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.star-button {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    color: #d2d2d7;
}

.star-button.filled {
    color: #ffd700;
}

/* ----------------------------------------
   Confetti Animation
   ---------------------------------------- */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% {
        top: -10px;
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: rotate(720deg);
    }
}

/* ----------------------------------------
   Fade Out Animation
   ---------------------------------------- */
.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.overflow-hidden {
    overflow: hidden;
}

.text-center {
    text-align: center;
}

/* ----------------------------------------
   Location Listings
   ---------------------------------------- */
.location-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8ed;
    cursor: pointer;
}

.location-row:last-child {
    border-bottom: none;
}

.location-info {
    flex: 1;
}

.location-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.location-address {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 4px;
}

.location-meta {
    font-size: 13px;
    color: #86868b;
}

.location-meta span {
    margin-right: 12px;
}

.badge-open {
    background-color: #e8f5e9;
    color: #388e3c;
}

.badge-closed {
    background-color: #ffebee;
    color: #d32f2f;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.hours-row:last-child {
    padding-bottom: 0;
}

.sort-select {
    width: auto;
    padding: 8px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    color: #1d1d1f;
    background-color: white;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #007aff;
}

.location-group-header {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 0 8px 0;
    border-bottom: 1px solid #e8e8ed;
}

.location-group-header:first-child {
    padding-top: 0;
}

/* ----------------------------------------
   Sticky Bottom Button
   ---------------------------------------- */
.sticky-bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: white;
    border-top: 1px solid #e8e8ed;
}

.sticky-bottom-btn .btn-primary {
    width: 100%;
    max-width: 552px;
    margin: 0 auto;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* ----------------------------------------
   Frontdesk Design Adaptation
   ---------------------------------------- */
:root {
    --bg: #F2F2F7;
    --app-bg: #FAFAF7;
    --s1: #FFFFFF;
    --s2: #F8F8F8;
    --s3: #EFEFEF;
    --s4: #E5E5EA;
    --b1: rgba(0,0,0,0.06);
    --b2: rgba(0,0,0,0.10);
    --b3: rgba(0,0,0,0.16);
    --t1: #1A1A1A;
    --t2: rgba(0,0,0,0.50);
    --t3: rgba(0,0,0,0.32);
    --blue: #2B6FED;
    --blue-strong: #2563EB;
    --blue-dim: rgba(43,111,237,0.10);
    --blue-mid: rgba(43,111,237,0.20);
    --amber: #D97706;
    --amber-dim: rgba(217,119,6,0.10);
    --red: #E5342A;
    --red-dim: rgba(229,52,42,0.09);
}

html {
    background: var(--app-bg);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--app-bg);
    color: var(--t1);
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container,
.container-no-top {
    width: min(100%, 680px);
    max-width: 680px;
    padding: 28px 20px 32px;
}

.container-with-sticky {
    padding-bottom: 112px;
}

h1 {
    color: var(--t1);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.subtitle {
    color: var(--t2);
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 24px;
}

.header h1 {
    color: var(--t1);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.header .date {
    color: var(--t3);
    font-size: 13px;
}

.module,
.metric-card,
.stat-box,
.terms-content {
    background: var(--s1);
    border: 1px solid var(--b2);
    border-radius: 12px;
}

.module {
    padding: 20px;
    margin-bottom: 14px;
}

.module h2,
.module-header h2,
.module-heading-row h2,
.collapsible-header h2 {
    color: var(--t1);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.module-header,
.module-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.module-header h2,
.module-heading-row h2,
.collapsible-header h2 {
    margin-bottom: 0;
}

label,
.form-label,
.metric-label,
.stat-label,
.detail-label,
.info-label,
.section-title,
.location-group-header {
    color: var(--t3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

label {
    color: #424245;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea,
.form-input,
.prompt-input,
.note-input,
.custom-tip-input,
.sort-select {
    min-height: 44px;
    background: var(--s1);
    border: 1px solid var(--b2);
    border-radius: 10px;
    color: var(--t1);
    font-size: 15px;
    transition: border-color 0.12s, background 0.12s;
}

input:focus,
select:focus,
textarea:focus,
.prompt-input:focus,
.note-input:focus,
.sort-select:focus {
    border-color: var(--blue);
}

.display-value,
.info-value,
.info-value-block,
.product-price,
.service-price,
.hours-row span:last-child {
    color: var(--t1);
    font-weight: 600;
}

.info-value,
.product-price,
.metric-value,
.stat-value,
.appointment-time,
.time-slot,
.calendar-day {
    font-variant-numeric: tabular-nums;
}

.info-link,
.edit-link,
.terms-link {
    color: var(--blue);
}

.btn-primary,
.btn-blue {
    min-height: 48px;
    background: var(--blue-strong);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.1px;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

@media (hover: hover) {
    .btn-primary:hover,
    .btn-blue:hover {
        background: var(--blue);
    }
}

.btn-primary:disabled {
    background: var(--s4);
    color: var(--t3);
}

.btn-secondary,
.btn-secondary-gray,
.back-button,
.calendar-nav button {
    border-color: var(--b2);
    color: var(--t2);
}

.btn-secondary,
.btn-secondary-gray {
    min-height: 46px;
    border-width: 1px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

@media (hover: hover) {
    .btn-secondary:hover,
    .btn-secondary-gray:hover,
    .calendar-nav button:hover,
    .back-button:hover {
        background: var(--s3);
        color: var(--t1);
        opacity: 1;
    }
}

.calendar-header h3 {
    color: var(--t1);
    font-size: 15px;
    font-weight: 700;
}

.calendar-day-name {
    color: var(--t3);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar-day,
.time-slot {
    border-color: var(--b2);
    border-radius: 8px;
    color: var(--t1);
}

@media (hover: hover) {
    .calendar-day:hover:not(.blocked):not(.empty),
    .time-slot:hover:not(.unavailable) {
        background: var(--s3);
    }
}

.calendar-day.selected,
.time-slot.selected,
.tip-button.selected {
    background: var(--blue-dim);
    border: 1px solid var(--blue);
    color: var(--blue);
    font-weight: 700;
}

.calendar-day.blocked,
.time-slot.unavailable {
    color: var(--t4, rgba(0,0,0,0.15));
}

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

.barber-option {
    position: relative;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px 12px 12px;
    background: var(--s1);
    border: 1px solid var(--b2);
    border-radius: 10px;
    color: var(--t1);
    cursor: pointer;
    text-align: left;
    transition: background 0.12s, border-color 0.12s;
}

.barber-option.selected::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center no-repeat;
}

.time-pill {
    padding: 8px 14px;
    border: 1px solid var(--b2, #d2d2d7);
    border-radius: 999px;
    background: #fff;
    color: var(--t1, #1d1d1f);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

@media (hover: hover) {
    .time-pill:hover {
        background: var(--s3, #f5f5f7);
    }
}

.time-pill.selected {
    border-color: #007aff;
    background: var(--s3, #f5f5f7);
    color: #007aff;
}

.barber-time-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.barber-name-meta {
    color: var(--t2, #86868b);
    font-weight: 400;
    margin-left: 6px;
}

@media (hover: hover) {
    .barber-option:hover {
        background: var(--s3);
        border-color: var(--b3);
    }
}

.barber-option.selected {
    background: var(--blue-dim);
    border-color: var(--blue);
}

.barber-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    overflow: hidden;
}

.barber-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.barber-recent-star {
    display: inline-block;
    color: #000;
    margin-left: 4px;
    font-size: 12px;
}

.barber-avatar-walkin {
    background: #1d1d1f;
    color: #fff;
}

.barber-time-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.barber-time-section:last-of-type {
    margin-bottom: 8px;
}

.barber-time-section--by-barber {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--b2, #d2d2d7);
}

.barber-time-section--by-barber:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.module .barber-time-header {
    margin: 0;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: #424245;
}

.module .barber-time-header--name {
    font-size: 15px;
    font-weight: 600;
    color: var(--t1, #1d1d1f);
}

.barber-option-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.barber-option-name {
    color: var(--t1);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.1px;
}

.barber-option-meta {
    color: var(--t2);
    font-size: 12px;
    line-height: 1.3;
}

.barber-option-copy {
    flex: 1;
}

.barber-option-slot {
    flex: 0 0 auto;
    color: var(--t1);
    font-size: 14px;
    font-weight: 700;
    margin-left: auto;
}

.confirmation-message {
    color: var(--t1);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.confirmation-copy {
    color: var(--t2);
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.confirmation-icon,
.checkmark {
    width: 72px;
    height: 72px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
    font-weight: 700;
}

.confirmation-details,
.info-box {
    background: var(--s2);
    border: 1px solid var(--b1);
    border-radius: 10px;
}

.info-box {
    background: var(--blue-dim);
    border-color: var(--blue-mid);
}

.info-box p {
    color: var(--t1);
}

footer {
    color: var(--t3);
}

.company-name {
    color: var(--t2);
}

.location-row,
.product-item,
.service-item {
    border-bottom-color: var(--b1);
}

.location-row {
    border-radius: 10px;
    margin: 0 -8px;
    padding: 14px 8px;
    transition: background 0.12s;
}

@media (hover: hover) {
    .location-row:hover {
        background: var(--s3);
    }
}

.location-title,
.product-name,
.service-name {
    color: var(--t1);
    font-size: 15px;
    letter-spacing: -0.1px;
}

.location-address,
.location-meta,
.product-details,
.service-date {
    color: var(--t2);
}

.location-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.badge,
.appointment-status {
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-open,
.appointment-status.confirmed,
.badge {
    background: var(--blue-dim);
    color: var(--blue);
}

.badge-closed,
.appointment-status.no-show {
    background: var(--red-dim);
    color: var(--red);
}

.sticky-bottom-btn {
    background: rgba(250,250,247,0.96);
    border-top: 1px solid var(--b1);
    padding: 14px 20px;
}

@media (min-width: 860px) {
    .container {
        padding-top: 40px;
    }

    #booking-page .container {
        width: min(100%, 960px);
        max-width: 960px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
        gap: 14px;
        align-items: start;
    }

    #booking-page h1,
    #booking-page .subtitle,
    #booking-page footer,
    #booking-page #book-btn {
        grid-column: 1 / -1;
    }

    #booking-page .module:nth-of-type(1),
    #booking-page .module:nth-of-type(2),
    #booking-page .module:nth-of-type(3) {
        grid-column: 1;
    }

    #booking-page .module:nth-of-type(4) {
        grid-column: 2;
        grid-row: 3 / span 3;
    }

    #booking-page .module:nth-of-type(5) {
        grid-column: 1;
    }

    #booking-page #book-btn {
        max-width: 400px;
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .container,
    .container-no-top {
        padding: 20px 20px 28px;
    }

    .container-with-sticky {
        padding-bottom: 104px;
    }

    h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .module {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .module h2,
    .module-header h2,
    .module-heading-row h2,
    .collapsible-header h2 {
        font-size: 16px;
    }

    .form-row,
    .metrics-grid,
    .quick-stats {
        grid-template-columns: 1fr;
    }

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

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        min-height: 38px;
        aspect-ratio: auto;
        font-size: 14px;
    }

    .appointment-header,
    .detail-row,
    .info-row-padded,
    .hours-row {
        gap: 12px;
    }

    .info-value {
        max-width: 58%;
        overflow-wrap: anywhere;
    }

    .sticky-bottom-btn {
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    }
}

/* ----------------------------------------
   Booking Wizard
   ---------------------------------------- */
.wizard-container {
    max-width: 680px;
}

.wizard-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 24px;
}

.wizard-header > div:first-child {
    grid-column: 2;
}

.wizard-header h1 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
}

.slot-timer {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #d2d2d7;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}

/* Review card */
.review-card {
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.review-barber {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #d2d2d7;
}

.review-barber-info {
    flex: 1 1 auto;
    min-width: 0;
}

.review-barber .slot-timer {
    margin-left: auto;
    flex: 0 0 auto;
}

.review-avatar-stack {
    position: relative;
    flex: 0 0 auto;
}

.review-avatar-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #34c759;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-ref {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #d2d2d7;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.review-row-emphasis .review-row-value {
    font-size: 18px;
    font-weight: 600;
}

.review-barber-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    background: #1d1d1f;
}

.review-barber-avatar-walkin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.review-barber-avatar-walkin[hidden] {
    display: none;
}

.review-barber-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #86868b;
    margin-bottom: 4px;
}

.review-barber-name {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 4px;
}

.review-barber-rating {
    font-size: 13px;
    color: #6e6e73;
}

.review-rows {
    display: flex;
    flex-direction: column;
}

.review-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #d2d2d7;
    gap: 16px;
}

.review-row:last-child {
    border-bottom: 0;
}

.review-row-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #86868b;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.review-row-value {
    font-size: 15px;
    color: #1d1d1f;
    text-align: right;
}

.review-price {
    padding: 16px 20px 20px;
    border-top: 1px solid #d2d2d7;
    background: #FAF9F1;
}

.payment-section {
    margin-bottom: 14px;
}

.payment-section[hidden] {
    display: none;
}

.payment-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #86868b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.payment-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px;
    background: #EEE9DB;
    border-radius: 14px;
}

.payment-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.payment-toggle-btn.active {
    background: #fff;
    color: #1d1d1f;
}

.payment-toggle-btn:disabled {
    cursor: not-allowed;
    color: #a5a19a;
    opacity: 0.65;
}

.payment-policy-note {
    margin: 10px 2px 0;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.45;
}

.square-card-wrap {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(29, 29, 31, 0.12);
    border-radius: 14px;
    background: #fff;
}

.square-card-status {
    margin: 8px 2px 0;
    min-height: 18px;
    font-size: 12px;
    color: #6e6e73;
}

.square-card-status.error {
    color: #b42318;
}

.payment-toggle-btn svg {
    flex: 0 0 auto;
}

.review-price-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.review-price-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #1d1d1f;
}

.promo-box {
    margin: 14px 0 12px;
}

.promo-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #86868b;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-entry {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.promo-entry input {
    min-width: 0;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    background: #fff;
    padding: 0 12px;
    font-size: 15px;
    text-transform: uppercase;
}

.promo-entry button {
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #1d1d1f;
    color: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.promo-entry button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.promo-message {
    min-height: 18px;
    margin: 6px 0 0;
    color: #2f7d32;
    font-size: 13px;
}

.promo-message.error {
    color: #c62828;
}

.review-price-total {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
    border-top: 1px dashed #d2d2d7;
    border-bottom: 1px dashed #d2d2d7;
    padding-top: 12px;
    padding-bottom: 12px;
}

.review-price .review-assurances {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding: 0;
}

.review-price .review-check strong {
    font-weight: 600;
}

.review-price.free-booking .review-check:first-child {
    display: none;
}

.review-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1d1d1f;
}

.review-check svg {
    flex: 0 0 auto;
}

.wizard-actions.review-actions {
    grid-template-columns: auto 1fr;
}

.wizard-actions.review-actions .btn-secondary {
    border: none;
    background: transparent;
    text-decoration: underline;
    width: auto;
    padding: 0 8px;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 500;
}

.review-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #86868b;
    margin-top: 25px;
}

.review-trust[hidden] {
    display: none;
}

.review-trust svg {
    flex: 0 0 auto;
}

.wizard-header .subtitle {
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
    font-size: 15px;
}


.wizard-progress {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: var(--s4);
}

.wizard-progress-bar {
    height: 100%;
    width: 0;
    background: #E69420;
    transition: width 0.2s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: wizardStepIn 0.18s ease-out;
}

@keyframes wizardStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    margin-top: 26px;
}

.wizard-actions .btn-secondary {
    margin-top: 0;
}

.location-choice-list {
    display: grid;
    gap: 10px;
}

.location-choice-list.addon-grid {
    grid-template-columns: repeat(3, 1fr);
}

.location-choice-list.addon-grid .choice-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 110px;
}

.service-section-label {
    display: block;
    margin: 20px 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #424245;
    letter-spacing: 0.5px;
}

.choice-card {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--b2);
    border-radius: 10px;
    background: var(--s1);
    color: var(--t1);
    cursor: pointer;
    text-align: left;
    transition: background 0.12s, border-color 0.12s;
}

@media (hover: hover) {
    .choice-card:hover {
        background: var(--s3);
        border-color: var(--b3);
    }
}

.choice-card.selected {
    background: var(--blue-dim);
    border-color: var(--blue);
}

.choice-title,
.choice-meta {
    display: block;
}

.choice-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.1px;
}

.choice-meta {
    margin-top: 5px;
    color: var(--t2);
    font-size: 13px;
    line-height: 1.35;
}

.choice-status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--blue-dim);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.step-helper {
    color: var(--t2);
    font-size: 14px;
    line-height: 1.45;
    margin-top: -8px;
    text-align: center;
}

/* ----------------------------------------
   Pick Tray (time-step multi-select affordance)
   ---------------------------------------- */
.pick-tray {
    margin-bottom: 24px;
}

.pick-tray-counter-row {
    display: none;
    justify-content: center;
    margin-bottom: 12px;
}

.pick-tray-counter {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--s4);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--t1);
    letter-spacing: 0.02em;
}

.pick-tray-counter.complete {
    background: var(--blue-dim);
    color: var(--blue);
}

.pick-tray-chips {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    justify-content: center;
    gap: 2px;
}

.pick-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border: 1.5px dashed #d2d2d7;
    border-radius: 40px;
    background: transparent;
    text-align: left;
    cursor: default;
    min-height: 34px;
    transition: border-color 0.15s, background 0.15s;
}

.pick-chip-num {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--s4);
    color: var(--t2);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pick-chip-label {
    font-size: 13px;
    color: var(--t2);
    line-height: 1.2;
}

.pick-chip-label em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 11px;
    color: #a1a1a6;
}

.pick-chip.filled {
    border: 1.5px solid #EEE9DB;
    background: #EEE9DB;
    cursor: pointer;
}

.pick-chip.filled .pick-chip-num {
    background: #1d1d1f;
    color: #fff;
}

.pick-chip.filled .pick-chip-label {
    color: var(--t1);
    font-weight: 600;
}

.pick-tray-chips .pick-chip:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.pick-tray-chips .pick-chip:nth-child(2) {
    border-radius: 0;
}

.pick-tray-chips .pick-chip:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 640px) {
    .pick-tray-chips {
        grid-template-columns: repeat(3, 110px);
        gap: 2px;
    }

    .pick-chip {
        padding: 4px 8px;
        gap: 6px;
        min-height: 32px;
    }

    .pick-chip-label {
        font-size: 12px;
    }

    .pick-chip-num {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

.calendar-day,
.time-slot {
    appearance: none;
    -webkit-appearance: none;
}

.calendar-day:disabled,
.time-slot:disabled {
    background: transparent;
}

.confirmation-container {
    position: relative;
}

.celebration-module {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 32px 20px;
    margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
}

.celebration-module::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(249, 202, 36, 0.16), transparent 24%),
        radial-gradient(circle at 82% 10%, rgba(76, 205, 196, 0.16), transparent 24%),
        radial-gradient(circle at 50% 0%, rgba(43, 111, 237, 0.12), transparent 28%);
    pointer-events: none;
}

.celebration-module > * {
    position: relative;
}

.celebration-burst {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.celebration-burst span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    animation: burstFloat 2.8s ease-in-out infinite;
}

.celebration-burst span:nth-child(1) {
    top: 42px;
    left: 14%;
    background: #f9ca24;
}

.celebration-burst span:nth-child(2) {
    top: 86px;
    right: 12%;
    background: #4ecdc4;
    animation-delay: 0.25s;
}

.celebration-burst span:nth-child(3) {
    top: 210px;
    left: 9%;
    background: #ff6b6b;
    animation-delay: 0.5s;
}

.celebration-burst span:nth-child(4) {
    top: 250px;
    right: 16%;
    background: #6c5ce7;
    animation-delay: 0.75s;
}

@keyframes burstFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(18deg);
    }
}

@media (min-width: 860px) {
    #booking-page .wizard-container {
        width: min(100%, 680px);
        max-width: 680px;
        display: block;
    }

    #booking-page .wizard-container h1,
    #booking-page .wizard-container .subtitle,
    #booking-page .wizard-container footer,
    #booking-page .wizard-container .module,
    #booking-page .wizard-container .wizard-actions {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .wizard-actions {
        grid-template-columns: 1fr;
    }

    .wizard-actions .btn-secondary {
        order: 2;
    }

    .wizard-actions.review-actions {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .wizard-actions.review-actions .btn-secondary {
        order: 0;
    }

    .wizard-actions.review-actions .btn-primary {
        padding: 20px;
        font-size: 18px;
    }

    .choice-card {
        align-items: flex-start;
    }
}

#booking-page .module {
    background: transparent;
    border: none;
    padding: 0;
}

#booking-page .wizard-header {
    margin-top: 26px;
}

/* Nav Hamburger */
.nav-hamburger {
    position: fixed;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #000;
    border-radius: 1px;
}

/* Nav Panel */
.nav-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-panel-overlay.open {
    opacity: 1;
}

.nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 360px;
    background: #fff;
    z-index: 301;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.nav-panel.open {
    transform: translateX(0);
}

.nav-panel-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
}

.nav-panel-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--t1, #1d1d1f);
    cursor: pointer;
    padding: 0;
}

.nav-panel-body {
    padding: 8px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nav-panel-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-panel-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--t2, #6e6e73);
}

.nav-panel-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--t1, #1d1d1f);
}

.nav-panel-link {
    font-size: 14px;
    color: var(--t2, #6e6e73);
    text-decoration: underline;
    margin-top: 2px;
}

.nav-panel-login {
    width: 100%;
}

.nav-panel-section + .nav-panel-section {
    border-top: 1px solid #d2d2d7;
    padding-top: 28px;
}

/* Inline-style replacements */
.is-hidden { display: none; }
