.eight-menu-page {
    background: #fff;
    padding: 72px 20px 0;
}

.eight-menu-page__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.eight-service-menu-page #access {
    margin-top: 0;
    padding-top: 96px;
}

.eight-menu-page__lead {
    max-width: 820px;
    margin: 0 auto 36px;
    color: #333;
    font-size: 18px;
    line-height: 2;
    text-align: center;
}

.eight-catalog__intro {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid #ecd7d7;
    border-radius: 18px;
    background: #fffafa;
}

.eight-catalog__intro-title,
.eight-catalog__conditions h2 {
    margin: 0;
    color: #2b2929;
    font-size: clamp(22px, 2.8vw, 30px);
    line-height: 1.5;
    text-align: center;
}

.eight-catalog__intro-body {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.eight-catalog__intro-body p,
.eight-catalog__intro-note p,
.eight-catalog__conditions p {
    margin: 0;
    color: #4f4646;
    line-height: 1.8;
}

.eight-catalog__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.eight-catalog__features p {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8e9e9;
    color: #7a4346;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.eight-catalog__intro-note {
    display: grid;
    gap: 4px;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #fff;
}

.eight-catalog__intro-note p {
    color: #6b5b5b;
    font-size: 13px;
}

.eight-catalog__category-nav {
    margin: 36px auto 0;
}

.eight-catalog__category-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eight-catalog__category-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #cd5a5e;
    border-radius: 999px;
    color: #923f43;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.eight-catalog__category-nav a:focus-visible {
    outline: 3px solid #d7ae4b;
    outline-offset: 3px;
}

.eight-catalog__conditions {
    max-width: 820px;
    margin: 40px auto 64px;
    padding: 28px 32px;
    border-left: 4px solid #cd5a5e;
    background: #fff8f8;
}

.eight-catalog__conditions h2 {
    margin-bottom: 18px;
    font-size: 24px;
    text-align: left;
}

.eight-catalog__conditions p + p {
    margin-top: 6px;
}

.eight-price-sheets {
    --eight-price-primary: #cd5a5e;
    --eight-price-primary-dark: #923f43;
    --eight-price-primary-light: #f8e9e9;
    --eight-price-accent: #d7ae4b;
    --eight-price-bg: #fffafa;
    --eight-price-row-alt: #fff8f8;
    --eight-price-border: #eadede;
    --eight-price-text: #2b2929;
    --eight-price-muted: #4f4646;
    --eight-price-white: #fff;
    margin: 64px auto;
    color: var(--eight-price-text);
}

.eight-price-sheets__header {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.eight-price-sheets__header h2 {
    margin: 0 0 20px;
    color: var(--eight-price-text);
    font-size: clamp(28px, 3.4vw, 40px);
}

.eight-price-sheets__header p {
    margin: 6px 0;
    color: var(--eight-price-muted);
    line-height: 1.8;
}

.eight-price-sheets__header .eight-price-tax-note {
    margin: 22px auto;
    padding: 14px 18px;
    border-left: 4px solid var(--eight-price-primary);
    background: var(--eight-price-primary-light);
    color: var(--eight-price-primary-dark);
    font-weight: 700;
    text-align: left;
}

.eight-price-sheets__header .eight-price-tax-note strong {
    color: inherit;
}

.eight-price-sheet {
    margin-top: 40px;
    padding: 32px;
    border: 1px solid var(--eight-price-border);
    border-radius: 18px;
    background: var(--eight-price-bg);
}

.eight-price-sheet h3 {
    margin: 0;
    color: var(--eight-price-text);
    font-size: 26px;
    text-align: center;
}

.eight-price-sheet h3::after {
    display: block;
    width: 64px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--eight-price-accent);
    content: "";
}

.eight-price-sheet h4 {
    margin: 32px 0 10px;
    color: var(--eight-price-primary-dark);
    font-size: 20px;
}

.eight-price-sheet__description,
.eight-price-sheet__section-description,
.eight-price-sheet__note,
.eight-price-sheet__pdf-note {
    color: var(--eight-price-muted);
    line-height: 1.8;
}

.eight-price-sheet__description {
    text-align: center;
}

.eight-price-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: var(--eight-price-white);
}

.eight-price-table th,
.eight-price-table td {
    padding: 15px 16px;
    border: 1px solid var(--eight-price-border);
    color: var(--eight-price-text);
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.eight-price-table thead th {
    background: var(--eight-price-primary-dark);
    color: var(--eight-price-white);
    font-weight: 700;
    text-align: center;
}

.eight-price-table thead th:nth-child(1) {
    width: 28%;
}

.eight-price-table thead th:nth-child(2) {
    width: 22%;
}

.eight-price-table thead th:nth-child(3) {
    width: 16%;
}

.eight-price-table thead th:nth-child(4) {
    width: 34%;
}

.eight-price-table tbody tr:nth-child(even) td {
    background: var(--eight-price-row-alt);
}

.eight-price-table tbody tr:hover td {
    background: #fcf5f5;
}

.eight-price-table__item {
    background: var(--eight-price-primary-light) !important;
    color: var(--eight-price-primary-dark) !important;
    font-weight: 700;
    text-align: left !important;
}

.eight-price-table__price {
    white-space: nowrap;
    background: #fff6dc;
    color: var(--eight-price-primary-dark) !important;
    font-size: 1.08em !important;
    font-weight: 700;
    text-align: right !important;
}

.eight-price-table__notes {
    color: var(--eight-price-muted) !important;
    font-size: 0.94em !important;
}

.eight-price-sheet__pdf {
    margin: 22px 0 8px;
}

.eight-price-sheet__pdf a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--eight-price-primary-dark);
    border-radius: 999px;
    background: var(--eight-price-white);
    color: var(--eight-price-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.eight-price-sheet__pdf a:hover {
    background: var(--eight-price-primary-light);
}

.eight-price-sheet__pdf a:focus-visible,
.eight-price-sheets__service-link a:focus-visible {
    outline: 3px solid var(--eight-price-accent);
    outline-offset: 3px;
}

.eight-price-sheet__pdf-label {
    display: inline-flex;
    min-width: 38px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--eight-price-primary-dark);
    color: var(--eight-price-white);
    font-size: 12px;
    line-height: 1;
}

.eight-price-sheet__pdf-note {
    margin: 0;
    font-size: 13px;
}

.eight-price-sheets__common-note {
    max-width: 820px;
    margin: 48px auto 0;
    padding: 28px 32px;
    border: 1px solid var(--eight-price-border);
    border-left: 4px solid var(--eight-price-primary);
    border-radius: 0 12px 12px 0;
    background: var(--eight-price-row-alt);
}

.eight-price-sheets__common-note h3 {
    margin: 0 0 16px;
    color: var(--eight-price-text);
    font-size: 22px;
}

.eight-price-sheets__common-note p {
    margin: 6px 0;
    color: var(--eight-price-muted);
    line-height: 1.8;
}

.eight-price-sheets__service-link {
    margin: 28px 0 0;
    text-align: center;
}

.eight-price-sheets__service-link a {
    color: var(--eight-price-primary-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.eight-catalog__group {
    scroll-margin-top: 150px;
}

.eight-catalog__group + .eight-catalog__group {
    margin-top: 64px;
}

.eight-catalog__group-title {
    margin-bottom: 28px;
    color: #2b2929;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.5;
    text-align: center;
}

.eight-catalog__group-title::after {
    display: block;
    width: 64px;
    height: 2px;
    margin: 14px auto 0;
    background: #cd5a5e;
    content: "";
}

.eight-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.eight-catalog__card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #ecd7d7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(92, 58, 58, 0.08);
}

.eight-catalog__card.is-featured {
    border-color: #d7ae4b;
}

.eight-catalog__badge {
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff6dc;
    color: #795d19;
    font-size: 13px;
    font-weight: 700;
}

.eight-catalog__image {
    overflow: hidden;
    margin: -8px -8px 20px;
    border-radius: 14px;
}

.eight-catalog__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.eight-catalog__title {
    margin: 0;
    color: #2b2929;
    font-size: 21px;
    line-height: 1.55;
}

.eight-catalog__description {
    margin: 14px 0 0;
    color: #555;
    line-height: 1.75;
}

.eight-catalog__price {
    margin: 20px 0 0;
    color: #b7474c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.eight-catalog__notes {
    margin: 18px 0 0;
    padding: 14px;
    border-radius: 10px;
    background: #fff8f8;
    color: #5a4747;
    font-size: 13px;
    line-height: 1.8;
}

.eight-catalog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.eight-catalog__button {
    display: inline-flex;
    min-height: 48px;
    flex: 1 1 150px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #2b2929;
    border-radius: 999px;
    background: #2b2929;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.eight-catalog__button--line {
    border-color: #60bd68;
    background: #60bd68;
}

.eight-catalog__button:focus-visible {
    outline: 3px solid #d7ae4b;
    outline-offset: 3px;
}

.eight-catalog__empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid #ecd7d7;
    border-radius: 18px;
    background: #fff8f8;
    text-align: center;
}

.eight-catalog__empty .eight-catalog__button {
    max-width: 320px;
    margin-top: 18px;
}

@media screen and (max-width: 900px) {
    .eight-service-menu-page #access {
        padding-top: 80px;
    }

    .eight-catalog__intro {
        padding: 30px;
    }

    .eight-catalog__conditions {
        margin-bottom: 56px;
    }

    .eight-price-sheet {
        padding: 26px 22px;
    }

    .eight-price-table th,
    .eight-price-table td {
        padding: 13px 12px;
    }

    .eight-price-table thead th:nth-child(1) {
        width: 27%;
    }

    .eight-price-table thead th:nth-child(2) {
        width: 21%;
    }

    .eight-price-table thead th:nth-child(3) {
        width: 17%;
    }

    .eight-price-table thead th:nth-child(4) {
        width: 35%;
    }

    .eight-catalog__group {
        scroll-margin-top: 110px;
    }

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

@media screen and (max-width: 767px) {
    .eight-price-sheets {
        margin: 48px auto;
    }

    .eight-price-sheets__header {
        text-align: left;
    }

    .eight-price-sheets__header .eight-price-tax-note {
        margin: 18px 0;
        padding: 13px 14px;
    }

    .eight-price-sheet {
        margin-top: 28px;
        padding: 22px 18px;
    }

    .eight-price-sheet h3 {
        font-size: 23px;
        text-align: left;
    }

    .eight-price-sheet h3::after {
        margin-left: 0;
    }

    .eight-price-sheet h4 {
        font-size: 19px;
    }

    .eight-price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .eight-price-table,
    .eight-price-table tbody,
    .eight-price-table tr,
    .eight-price-table th,
    .eight-price-table td {
        display: block;
        width: 100%;
    }

    .eight-price-table {
        background: transparent;
    }

    .eight-price-table tr {
        overflow: hidden;
        margin: 0 0 16px;
        border: 1px solid var(--eight-price-border);
        border-radius: 12px;
        background: var(--eight-price-white);
    }

    .eight-price-table th,
    .eight-price-table td {
        display: grid;
        grid-template-columns: minmax(88px, 31%) minmax(0, 1fr);
        gap: 10px;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid var(--eight-price-border);
        background: var(--eight-price-white);
        font-size: 16px;
    }

    .eight-price-table tbody tr:nth-child(even) td,
    .eight-price-table tbody tr:hover td {
        background: var(--eight-price-white);
    }

    .eight-price-table__item {
        background: var(--eight-price-primary-light) !important;
        font-size: 17px !important;
    }

    .eight-price-table__price {
        background: #fff6dc !important;
        text-align: left !important;
    }

    .eight-price-table th:last-child,
    .eight-price-table td:last-child {
        border-bottom: 0;
    }

    .eight-price-table th::before,
    .eight-price-table td::before {
        color: var(--eight-price-primary-dark);
        font-size: 13px;
        font-weight: 700;
        content: attr(data-label);
    }

    .eight-price-sheets__common-note {
        padding: 22px 20px;
    }
}

@media screen and (max-width: 640px) {
    .eight-service-menu-page #access {
        padding-top: 60px;
    }

    .eight-menu-page {
        padding: 48px 18px 0;
    }

    .eight-menu-page__lead {
        margin-bottom: 28px;
        font-size: 16px;
        text-align: left;
    }

    .eight-catalog__intro {
        padding: 24px 20px;
    }

    .eight-catalog__intro-title {
        text-align: left;
    }

    .eight-catalog__intro-body {
        gap: 10px;
        margin-top: 18px;
    }

    .eight-catalog__features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .eight-catalog__features p {
        min-height: 44px;
    }

    .eight-catalog__intro-note {
        margin-top: 20px;
        padding: 16px;
    }

    .eight-catalog__category-nav {
        margin-top: 28px;
    }

    .eight-catalog__category-nav ul {
        justify-content: flex-start;
    }

    .eight-catalog__category-nav a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .eight-catalog__conditions {
        margin: 32px auto 48px;
        padding: 22px 20px;
    }

    .eight-catalog__conditions h2 {
        font-size: 21px;
    }

    .eight-catalog__group {
        scroll-margin-top: 90px;
    }

    .eight-catalog__group + .eight-catalog__group {
        margin-top: 52px;
    }

    .eight-catalog__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eight-catalog__card {
        padding: 22px;
    }

}

@media print {
    .eight-price-sheets {
        color: #000;
    }

    .eight-price-sheet {
        margin-top: 24px;
        padding: 18px;
        border: 1px solid #777;
        background: #fff;
        box-shadow: none;
        break-inside: avoid;
    }

    .eight-price-table {
        table-layout: auto;
    }

    .eight-price-table thead th,
    .eight-price-table__item,
    .eight-price-table__price,
    .eight-price-table tbody tr:nth-child(even) td {
        border-color: #777;
        background: #fff !important;
        color: #000 !important;
    }

    .eight-price-table tr {
        break-inside: avoid;
    }

    .eight-price-sheet__pdf,
    .eight-price-sheet__pdf-note,
    .eight-price-sheets__service-link,
    .mobile_fixed_actions {
        display: none !important;
    }

    .eight-price-sheets__common-note,
    .eight-price-sheets__header .eight-price-tax-note {
        border-color: #777;
        background: #fff;
        color: #000;
    }
}
