/*
 * Shared Laser Zone price table component.
 * Canonical visual owner for the price navigation, PDF link and table surface
 * on both laser epilation and LPG/RSL pages.
 */
.price {
    padding-bottom: 150px;
}

.price_allss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.price_all-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .18s ease;
}

.price_all-link svg {
    width: 25px;
    height: 26px;
    flex: 0 0 auto;
    color: var(--color-brand);
    opacity: 1;
}

.price_all-link:hover,
.price_all-link:focus-visible {
    color: var(--color-brand);
}

.price_all-btns {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 20px;
}

.price_all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #dedfdc;
    border-radius: 16px;
    background: #fff;
    color: #9a9a98;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.price_all-btn:hover {
    border-color: #cbd2c6;
    color: var(--color-text);
    transform: translateY(-1px);
}

.price_all-btn--active {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 122, 40, .12);
}

.price_all-select {
    display: none;
}

.price_all-scroll {
    width: 100%;
    max-width: 100%;
}

.price_all-table {
    width: 100%;
    table-layout: fixed;
    border: 1px solid #e8eae6;
    border-spacing: 0;
    border-collapse: separate;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.price_all-table thead th {
    padding: 22px 16px;
    border-right: 1px solid #e8eae6;
    border-bottom: 1px solid #e8eae6;
    background: #f8f9f7;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
}

.price_all-table thead th:first-child {
    text-align: left;
}

.price_all-table thead th:last-child,
.price_all-table tbody td:last-child {
    border-right: 0;
}

.price_all-table tbody td {
    padding: 19px 20px;
    border-right: 1px solid #e8eae6;
    border-bottom: 1px solid #e8eae6;
    background: #fff;
    color: var(--color-text);
    vertical-align: middle;
    transition: background .16s ease;
}

.price_all-table tbody tr:last-child td {
    border-bottom: 0;
}

.price_all-table tbody tr:hover td {
    background: #fbfcfa;
}

.price_all-table tbody td:nth-child(n + 2) {
    text-align: center;
}

.price_all-table tbody td h5 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.15;
}

.price_all-table-p {
    margin-top: 8px !important;
    color: rgba(34, 34, 34, .62) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.price_all-table tbody td p {
    max-width: 338px;
    margin: 0 auto;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.price_all-table tbody td span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: none;
    margin: 8px auto 0;
    padding: 5px 10px;
    border-radius: 10px;
    background: #edf4e7;
    color: #426a26;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.price-ticket-icon {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px;
    color: currentColor;
    opacity: 1;
}

.table-none {
    display: none;
}

.border-right-none {
    border-right: 0 !important;
}

.none-border {
    border-bottom: 0 !important;
}

@media (max-width: 900px) {
    .price_all-btn {
        min-height: 44px;
        padding-inline: 10px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .price {
        padding-bottom: 70px;
    }

    .price_allss {
        align-items: flex-end;
        gap: 16px;
    }

    .price_all-link {
        gap: 8px;
        font-size: 14px;
    }

    .price_all-link svg {
        width: 23px;
        height: 24px;
    }

    .price_all-btns {
        display: none;
    }

    .price_all-select {
        position: relative;
        z-index: 4;
        display: block;
        width: 100%;
        height: 46px;
        margin: 28px 0 20px;
        padding: 8px 42px 8px 13px;
        border: 1px solid #d9ddd5;
        border-radius: 14px;
        background-color: #fff;
        color: var(--color-text);
        font-family: var(--font-body);
        font-size: 16px;
        line-height: 1.2;
        cursor: pointer;
    }

    .price_all {
        width: 100%;
        overflow: visible !important;
    }

    .price_all-scroll {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 16px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(79, 122, 40, .28) transparent;
    }

    .price_all-scroll::-webkit-scrollbar {
        height: 5px;
    }

    .price_all-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .price_all-scroll::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(79, 122, 40, .28);
    }

    .price_all-scroll .price_all-table {
        width: 100%;
        min-width: 610px;
        border-radius: 16px;
    }

    .price_all-table thead th {
        padding: 16px 10px;
        font-size: 14px;
        line-height: 1.35;
    }

    .price_all-table tbody td {
        padding: 12px 10px;
    }

    .price_all-table tbody td h5 {
        font-size: 16px;
    }

    .price_all-table-p {
        margin-top: 6px !important;
        font-size: 12px !important;
    }

    .price_all-table tbody td p {
        font-size: 14px;
    }

    .price_all-table tbody td span {
        gap: 5px;
        margin-top: 7px;
        padding: 4px 7px;
        border-radius: 9px;
        font-size: 12px;
    }

    .price_all-table thead th:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        width: 180px;
        background: #f8f9f7;
    }

    .price_all-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        width: 180px;
        background: #fff;
    }

    .price_all-table tbody tr:hover td:first-child {
        background: #fbfcfa;
    }
}

@media (max-width: 560px) {
    .price_allss {
        align-items: flex-start;
    }

    .price_allss .title-2 {
        flex: 1 1 auto;
    }

    .price_all-link {
        flex: 0 0 auto;
    }
}

@media (max-width: 430px) {
    .price_all-scroll .price_all-table {
        min-width: 590px;
    }

    .price_all-table thead th:first-child,
    .price_all-table tbody td:first-child {
        width: 168px;
    }
}
