/* ============================================================
   Tee's Beauty Spa — services.css
   Accordion brochure layout — matches tees_services.pdf +
   facials_info.pdf exactly.
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.services-hero {
    background: linear-gradient(135deg, #ED8DBF 0%, #FFA8D5 100%);
    color: #fff;
    padding: 72px 20px 60px;
    text-align: center;
}
.services-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.services-hero p {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

/* ── Section wrapper ────────────────────────────────────── */
.services-section {
    /*padding: 48px 0 80px;*/
    background: #fff;
}
.services-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Suppress old card/grid */
.services-grid { display: block !important; }
.service-card  { all: unset; display: block !important; }

/* ── Accordion list ─────────────────────────────────────── */
.accordion-list { list-style: none; margin: 0; padding: 0; }
.accordion-item { border-bottom: 1px solid #f0e6ec; }
.accordion-item:first-child { border-top: 1px solid #f0e6ec; }

/* ── Category trigger ───────────────────────────────────── */
.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 4px;
    background: #FFCAE2;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
    gap: 16px;
}
.accordion-trigger:hover { background: #fdf6fa; }
.accordion-trigger:focus-visible {
    outline: 2px solid #ED8DBF;
    outline-offset: 2px;
    border-radius: 4px;
}
.accordion-trigger-name {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: -0.2px;
    line-height: 1.2;
    flex: 1;
}
.accordion-chevron {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #ED8DBF;
    transition: transform 0.3s ease;
}
.accordion-item.is-open .accordion-chevron {
    transform: rotate(180deg);
}

/* ── Panel ──────────────────────────────────────────────── */
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.accordion-panel-inner { padding: 4px 0 20px; }

/* ── Service row ────────────────────────────────────────── */
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 36px 0;
    border-bottom: 1px solid #f5edf3;
}
.service-row:last-child { border-bottom: none; }

.service-text { flex: 1 1 0%; min-width: 0; }
.service-name { font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 0 0 8px; line-height: 1.25; }
.service-desc { font-size: 14px; color: #7a7a8c; line-height: 1.65; margin: 0 0 16px; max-width: 480px; }

.service-meta-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.service-duration { font-size: 13px; color: #9a9aaa; display: flex; align-items: center; gap: 5px; }
.service-price { font-size: 18px; font-weight: 700; color: #1a1a2e; }
.service-price-consult { font-size: 14px; font-style: italic; color: #9a9aaa; font-weight: 400; }

.service-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-book {
    padding: 10px 22px; background: #ED8DBF; color: #fff;
    border: 2px solid #ED8DBF; border-radius: 8px; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s;
    font-family: inherit; white-space: nowrap;
}
.btn-book:hover { background: #e07aad; border-color: #e07aad; }
.btn-cart {
    padding: 10px 22px; background: transparent; color: #ED8DBF;
    border: 2px solid #ED8DBF; border-radius: 8px; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: background 0.2s;
    font-family: inherit; white-space: nowrap;
}
.btn-cart:hover { background: #fdf0f7; }

.service-image-wrap { flex-shrink: 0; width: 300px; }
.service-image-wrap img,
.service-image-placeholder {
    width: 100%; height: 210px; border-radius: 12px; object-fit: cover; display: block;
}
.service-image-placeholder {
    background: linear-gradient(135deg, #fdf0f7 0%, #f5e6f0 100%);
    display: flex; align-items: center; justify-content: center;
}
.service-image-placeholder span { font-size: 48px; opacity: 0.45; }

.empty-state { text-align: center; padding: 60px 20px; color: #9a9aaa; font-size: 16px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .services-section .container { padding: 0 0; }
    .service-image-wrap { width: 220px; }
    .service-image-wrap img, .service-image-placeholder { height: 160px; }
    .service-row { gap: 24px; padding: 28px 0; }
}
@media (max-width: 600px) {
    .services-hero h1 { font-size: 30px; }
    .services-hero p  { font-size: 15px; }
    .accordion-trigger-name { font-size: 18px; }
    .accordion-trigger { padding: 18px 4px; }
    .service-row { gap: 14px; padding: 22px 5px; align-items: flex-start; }
    .service-name { font-size: 15px; }
    .service-desc { font-size: 12px; margin-bottom: 10px; }
    .service-image-wrap { width: 145px; flex-shrink: 0; }
    .service-image-wrap img, .service-image-placeholder { height: 115px; border-radius: 8px; }
    .btn-book, .btn-cart { padding: 8px 12px; font-size: 12px; }
    .service-meta-row { gap: 12px; margin-bottom: 12px; }
    .service-price { font-size: 15px; }
    .service-duration { font-size: 11px; }
}
@media (max-width: 380px) {
    .service-image-wrap { width: 110px; }
    .service-image-wrap img, .service-image-placeholder { height: 90px; }
    .service-actions { gap: 6px; }
}