.sidebar-wrapper {
    border-right: 1px solid #989b7b;
    position: sticky;
    top: 120px;
    padding: 2vmax 0;
}

.service-navi li a {
    display: block;
    padding: clamp(8px, 0.65vw, 16px) 20px;
    position: relative;
    color: #333;
}

.service-navi li a:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url(/assets/img/pattern.svg);
    transition: opacity 0.2s;
    opacity: 0;
}

.service-navi li a:hover:before {
    opacity: 0.3;
}

.service-navi li:not(:last-of-type) a {
    border-bottom: 1px solid #989b7b;
}

.section-wrapper {
    background-color: #fffdf5;
}

.prices-wrapper {
    display: none;
    background-color: #fffdf5;
}

@media (min-width: 651px) {
    .prices-wrapper {
        display: block !important;
        height: unset !important;
    }

    .prices-wrapper .header-cell {
        grid-column: 1/4;
        background-color: #fffdf5;
        padding: 24px 0 12px;
    }

    .prices-wrapper .header-cell.subheader {
        border-bottom: 1px solid #333;
    }

    .prices-wrapper .header-cell:not(.subheader) {
        position: sticky;
        top: clamp(75px, 10vw, 105px);
        z-index: 2;
    }

    .prices-wrapper .header-cell:not(.subheader) h2 {
        font-size: clamp(18px, 3vw, 32px);
    }

    .prices-wrapper > .price-entry {
        border-top: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry .primary-data {
        display: grid;
        grid-template-columns: 160px 1fr 200px;
        position: relative;
    }

    .prices-wrapper > .price-entry .primary-data > * {
        padding: 0.7em;
    }

    .prices-wrapper > .price-entry-group > .primary-data > .name {
        font-weight: bold;
    }

    .prices-wrapper > .price-entry-group .price-entry-group > .primary-data .name {
        font-weight: bold;
    }

    .prices-wrapper > .price-entry .subitems {
        border-top: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry .subitems:empty {
        display: none;
    }

    .prices-wrapper > .price-entry .subitems .price-entry {
        border-bottom: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry .subitems .price-entry .primary-data {
        display: grid;
        grid-template-columns: 160px 1fr 200px;
    }

    .prices-wrapper > .price-entry .subitems .price-entry .primary-data .code-wrapper {
        border-right: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry .subitems .price-entry .primary-data > * {
        padding: 0.5em 0.7em;
    }

    .prices-wrapper > .price-entry .subitems .subitems {
        padding: 0;
        background-color: #f8f6e9;
        border-top: 0;
    }

    .prices-wrapper > .price-entry .subitems .subitems .price-entry:first-of-type {
        border-top: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry .subitems .subitems .price-entry-group .price-entry .name {
        padding-left: 60px;
    }

    .prices-wrapper > .price-entry .subitems .price-entry:last-of-type {
        border-bottom: 0;
    }

    .prices-wrapper > .price-entry:last-of-type {
        border-bottom: 1px solid #ccc;
    }

    .prices-wrapper .primary-data {
        position: relative;
    }

    .prices-wrapper .primary-data:before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        background-image: url("/assets/img/pattern.svg");
        opacity: 0.2;
        pointer-events: none;
        opacity: 0;
    }

    .prices-wrapper .price-entry:hover > .primary-data:before {
        opacity: 0.2;
    }

    .prices-wrapper .label {
        background-color: #989b7b;
        color: #fff;
        padding: 0 0.75em;
        font-size: clamp(12px, 2vw, 14px);
        line-height: 1.6em;
        display: inline-block;
        border-radius: 6px;
    }
}

@media (max-width: 650px) {
    .prices-wrapper {
        padding-top: 20px;
    }

    .prices-wrapper .code-wrapper:empty, .prices-wrapper .subitems:empty {
        display: none;
    }

    .prices-wrapper .price {
        white-space: nowrap;
    }

    .prices-wrapper .price:empty {
        display: none;
    }

    .prices-wrapper > .price-entry {
        margin-bottom: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .prices-wrapper > .price-entry > .primary-data > .name {
        padding: 0.75em;
        font-weight: bold;
        font-size: 1.2rem;
    }

    .prices-wrapper > .price-entry > .primary-data > .price {
        padding: 0.75em;
        white-space: nowrap;
        text-align: right;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .prices-wrapper > .price-entry > .primary-data > .price:empty {
        display: none;
    }

    .prices-wrapper > .price-entry > .primary-data .code-wrapper {
        padding: 0 0.75em;
    }

    .prices-wrapper > .price-entry > .primary-data .code-wrapper .code {
        display: inline-block;
        line-height: 2em;
        padding: 0 0.75em;
        background-color: black;
        color: #fff;
    }

    .prices-wrapper > .price-entry > .subitems {
        padding: 0.75em;
        padding-top: 0;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry {
        border-top: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data {
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data .label {
        display: inline-block;
        background-color: #989b7b;
        color: #fff;
        padding: 0 0.75em;
        line-height: 1.75em;
        border-radius: 6px;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.wrap {
        flex-direction: column;
        gap: 0;
        padding: 0.75em 0;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.wrap ~ .subitems {
        margin-bottom: 1rem;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.ultra-wide {
        flex-wrap: wrap;
        gap: 0;
        padding: 0.75em 0;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.ultra-wide .code-wrapper {
        width: 100%;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.ultra-wide .code-wrapper .code {
        display: inline-block;
        background-color: #989b7b;
        line-height: 1.75em;
        padding: 0 0.75em;
        color: #fff;
        font-size: 12px;
        border-radius: 6px;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data.ultra-wide .name {
        width: calc(100% - 120px);
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry .primary-data > * {
        padding: 0.6em 0.4em;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry-group > .primary-data > .name {
        font-weight: bold;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry > .subitems {
        border-left: 2px solid #777;
        padding-left: 1em;
        margin-left: 2px;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry > .subitems .price-entry {
        border-top: 1px solid #ccc;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry > .subitems .price-entry .subitems .name {
        padding-left: 40px;
    }

    .prices-wrapper > .price-entry > .subitems > .price-entry > .subitems .price-entry-group > .primary-data .name {
        font-weight: bold;
    }
}

.price-wrapper h2 {
    background-color: #fffdf5;
    font-size: clamp(21px, 3vw, 26px);
    letter-spacing: 0;
    font-weight: bold;
    margin-bottom: 1em;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 100px;
    width: 100%;
    padding: 20px;
    z-index: 2;
    margin-bottom: 0;
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    align-items: center;
    -webkit-hyphens: none;
    hyphens: none;
}

.price-wrapper h2:before {
    display: none;
}

@media (max-width: 650px) {
    .price-wrapper h2 {
        top: 75px;
    }
}

.price-wrapper h2 span {
    font-size: unset;
    color: unset !important;
    width: calc(100% - 60px);
}

.price-wrapper h2 i {
    display: inline-block;
    transition: transform 0.4s;
    transform: rotate(0deg);
}

@media (min-width: 651px) {
    .price-wrapper h2 i {
        display: none;
    }
}

.price-wrapper h2.active i {
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

.price-wrapper h3 {
    font-size: clamp(18px, 3vw, 21px);
    margin: 0;
}