/* WP Cennik Frontend - matching luxmedica.co.uk exactly */
.wpc-pricing {
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    color: #1E3448;
}

/* Section title - matches .heading.size-2 */
.wpc-section {
    margin-bottom: 28px;
}

.wpc-section-title {
    font-size: 36px;
    line-height: 43px;
    font-weight: 400;
    color: #1E3448;
    margin: 0 0 20px 0;
}

/* Level 1 accordion - matches .item.level-1 */
.wpc-accordion.wpc-level-1 {
    background: #F7EFEC;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 7px;
}

.wpc-accordion.wpc-level-1:last-child {
    margin-bottom: 0;
}

/* L1 header - matches .item.level-1 > .opener */
.wpc-accordion.wpc-level-1 > .wpc-accordion-header {
    background: #F7EFEC;
    border-radius: 15px;
    padding: 17px 50px 17px 17px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
    line-height: 24px;
    color: #1E3448;
    transition: all 0.3s ease-in-out;
    user-select: none;
    display: block;
}

/* L1 open header - pink gradient */
.wpc-accordion.wpc-level-1.open > .wpc-accordion-header {
    color: #fff;
    background: linear-gradient(to right, #E790A9 0%, #EC8BA4 16%, #E788A1 19%, #E989A2 20%, #E887A0 21%, #E87C95 46%, #EA7891 59%, #E9758E 62%, #EA768F 63%, #EB657E 100%);
}

.wpc-accordion.wpc-level-1 > .wpc-accordion-header .wpc-accordion-label {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: inherit;
}

/* Arrow circle - matches .item > .opener span */
.wpc-accordion-arrow {
    width: 27px;
    height: 27px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    margin-top: -13px;
    right: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

/* Arrow triangle inside circle */
.wpc-accordion-arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #1E3448 transparent transparent transparent;
}

/* Arrow rotation when open */
.wpc-accordion.open > .wpc-accordion-header .wpc-accordion-arrow {
    transform: rotate(180deg);
}

/* L1 body - matches .item.level-1 > .content */
.wpc-accordion-body {
    display: none;
    overflow: hidden;
}

.wpc-accordion.open > .wpc-accordion-body {
    display: block;
}

.wpc-accordion.wpc-level-1 > .wpc-accordion-body {
    padding: 20px;
}

/* Level 2 accordion - matches .item.level-2 */
.wpc-accordion.wpc-level-2 {
    margin-bottom: 5px;
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
}

/* L2 header - matches .item.level-2 .opener */
.wpc-accordion.wpc-level-2 > .wpc-accordion-header {
    background: #fff;
    border-radius: 10px;
    padding: 15px 50px 15px 15px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
    line-height: 24px;
    color: #1E3448;
    transition: all 0.3s ease-in-out;
    user-select: none;
    display: flex;
    align-items: center;
}

.wpc-accordion.wpc-level-2 > .wpc-accordion-header .wpc-accordion-label {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #1E3448;
    flex: 1;
}

/* Price in L2 header (for packages) */
.wpc-header-price {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: #1E3448;
    white-space: nowrap;
    margin-right: 40px;
}

/* L2 body - matches .price-list */
.wpc-accordion.wpc-level-2 > .wpc-accordion-body {
    padding: 15px;
}

/* Note - matches .accordion-note */
.wpc-note {
    margin: 16px 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff5f6;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
    line-height: 1.55;
    color: #1f2a37;
}

.wpc-note strong {
    font-weight: 700;
}

/* Service rows - matches .price-list p */
.wpc-services-list {
    padding: 0;
}

.wpc-service-row {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 18px;
    color: #4B5D6D;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Zebra striping - matches .price-list p:nth-child(odd) */
.wpc-service-row:nth-child(odd) {
    background: #FCF8F7;
}

.wpc-service-name {
    width: calc(100% - 140px);
    font-size: 15px;
    line-height: 18px;
    color: #4B5D6D;
}

.wpc-service-price {
    font-weight: 500;
    margin-left: auto;
    width: 130px;
    text-align: right;
    display: inline-block;
    font-size: 15px;
    line-height: 18px;
    color: #4B5D6D;
}

/* Responsive */
@media (max-width: 991px) {
    .wpc-section-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .wpc-section-title {
        font-size: 24px;
        line-height: 30px;
    }

    .wpc-accordion.wpc-level-1 > .wpc-accordion-header,
    .wpc-accordion.wpc-level-2 > .wpc-accordion-header {
        font-size: 16px;
        line-height: 20px;
    }

    .wpc-accordion.wpc-level-1 > .wpc-accordion-header .wpc-accordion-label,
    .wpc-accordion.wpc-level-2 > .wpc-accordion-header .wpc-accordion-label {
        font-size: 16px;
        line-height: 20px;
    }

    .wpc-header-price {
        font-size: 16px;
    }

    .wpc-service-name {
        width: calc(100% - 100px);
        font-size: 13px;
    }

    .wpc-service-price {
        width: 90px;
        font-size: 13px;
    }

    .wpc-accordion.wpc-level-1 > .wpc-accordion-body {
        padding: 12px;
    }
}

/* ========== FAQ Section ========== */
.wpc-faq {
    margin-top: 40px;
}

.wpc-faq-title {
    font-size: 28px;
    line-height: 34px;
    font-weight: 400;
    color: #1E3448;
    margin: 0 0 20px 0;
}

.wpc-faq-item {
    background: #F7EFEC;
    border-radius: 12px;
    margin-bottom: 6px;
    overflow: hidden;
}

.wpc-faq-question {
    padding: 16px 50px 16px 20px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #1E3448;
    user-select: none;
    transition: background 0.2s;
}

.wpc-faq-question:hover {
    background: rgba(0,0,0,0.02);
}

.wpc-faq-q-text {
    display: block;
    padding-right: 10px;
}

.wpc-faq-arrow {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.wpc-faq-arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #1E3448 transparent transparent transparent;
}

.wpc-faq-item.open .wpc-faq-arrow {
    transform: rotate(180deg);
}

.wpc-faq-answer {
    display: none;
    padding: 0 20px 18px;
}

.wpc-faq-item.open .wpc-faq-answer {
    display: block;
}

.wpc-faq-answer p {
    font-size: 15px;
    line-height: 24px;
    color: #4B5D6D;
    margin: 0;
}

.wpc-faq-answer a {
    color: #E87C95;
    text-decoration: underline;
}

.wpc-faq-answer a:hover {
    color: #1E3448;
}

@media (max-width: 600px) {
    .wpc-faq-title {
        font-size: 22px;
        line-height: 28px;
    }

    .wpc-faq-question {
        font-size: 14px;
        line-height: 20px;
        padding: 14px 44px 14px 16px;
    }

    .wpc-faq-answer p {
        font-size: 13px;
        line-height: 21px;
    }
}

/* Accessibility */
.wpc-accordion-header:focus-visible,
.wpc-faq-question:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: -2px;
}
