/* Friser Child Theme — Overrides */

:root {
    --accent: #ec4899;
    --accent-hover: #db2777;
    --accent-light: #fdf2f8;
    --accent-subtle: #fef7fb;
}

/* === Treatment Price List Section === */
.treatment-section {
    padding: 80px 0;
    background: var(--surface);
}

.treatment-section .section-title {
    margin-bottom: 12px;
}

.treatment-categories {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .treatment-categories {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.treatment-category {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border);
}

.treatment-category h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    color: var(--heading);
}

.treatment-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.treatment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.treatment-item-info {
    flex: 1;
    margin-right: 16px;
}

.treatment-item-name {
    font-weight: 600;
    color: var(--heading);
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.treatment-item-desc {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.treatment-item-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 4px;
}

.treatment-item-duration svg {
    opacity: 0.6;
}

.treatment-item-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9375rem;
    white-space: nowrap;
    text-align: right;
}

.treatment-item-price .price-prefix {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    text-align: right;
}

/* === Booking CTA Section === */
.booking-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg, #fff) 0%, var(--accent-subtle) 100%);
}

.booking-section h2 {
    margin-bottom: 16px;
}

.booking-section p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.booking-phone {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 24px;
}

.booking-phone a {
    color: var(--accent);
    text-decoration: none;
}

.booking-phone a:hover {
    color: var(--accent-hover);
}

.booking-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 24px;
    margin-top: 24px;
}

.booking-availability-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === Salon Booking Modal === */
.salon-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.salon-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.salon-modal {
    background: var(--elevated, #fff);
    border-radius: var(--radius-lg, 12px);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0,0,0,0.1));
    transform: translateY(20px);
    transition: transform 0.25s;
    max-height: 90vh;
    overflow-y: auto;
}
.salon-modal-overlay.active .salon-modal {
    transform: translateY(0);
}
.salon-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}
.salon-modal-close:hover { color: var(--heading); }
.salon-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--heading);
}
.salon-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.salon-modal .form-group {
    margin-bottom: 14px;
}
.salon-modal .form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}
.salon-modal input,
.salon-modal select,
.salon-modal textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}
.salon-modal input:focus,
.salon-modal select:focus,
.salon-modal textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.salon-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.salon-modal-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.salon-modal .btn-block {
    width: 100%;
    margin-top: 8px;
}
.salon-duration-hint {
    display: flex;
    align-items: center;
    height: 42px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}
.salon-modal-msg {
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    border-radius: var(--radius);
    text-align: center;
}
.salon-modal-msg.success {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px;
    margin-bottom: 16px;
}
.salon-modal-msg.error {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .salon-modal {
        padding: 24px;
    }
    .salon-modal-row,
    .salon-modal-row-3 {
        grid-template-columns: 1fr;
    }
    .salon-duration-hint {
        height: auto;
        margin-bottom: 8px;
    }
}
