/* Price · Editorial skin: serif category ledger with +/− rules, underline search, hairline tables */
.hm-price { --_hl: var(--hm-c-accent); }
.hm-price__inner { max-width: calc(1080px + var(--hm-gutter) * 2); }
.hm-price__head { gap: 18px; margin-bottom: 48px; }
.hm-price__eyebrow { font-size: var(--hm-fs-eyebrow); font-weight: 500; letter-spacing: .24em; color: var(--hm-c-accent); }

.hm-price__search { margin-bottom: 36px; }
.hm-price__search-icon { left: 0; width: 18px; height: 18px; margin-top: -9px; color: var(--hm-c-text); }
.hm-price__input {
    height: 56px;
    padding: 0 44px 0 32px;
    border: 0;
    border-bottom: 1px solid var(--hm-c-text);
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 300;
}
.hm-price__input:focus { background: transparent; box-shadow: 0 1px 0 var(--hm-c-text); }
.hm-price__clear { right: 0; border-radius: 0; }

.hm-price__cats { gap: 0; border-top: 1px solid var(--hm-c-line); }
.hm-price__cat { border-bottom: 1px solid var(--hm-c-line); }
.hm-price__toggle {
    min-height: 0;
    padding: 26px 0;
    gap: 20px;
    border-radius: 0;
    background: transparent;
    color: var(--hm-c-text);
    font-family: var(--hm-font-head);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 300;
    line-height: 1.1;
    transition: color var(--hm-dur);
}
.hm-price__toggle:hover { filter: none; color: var(--hm-c-accent); }
.hm-price__count {
    display: block;
    font-family: var(--hm-font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--hm-c-muted);
    white-space: nowrap;
}
.hm-price__icon { width: 18px; height: 18px; }
.hm-price__icon::before,
.hm-price__icon::after {
    content: "";
    position: absolute;
    inset: auto 0;
    top: 50%;
    height: 1px;
    border: 0;
    background: currentColor;
    transform: none;
    transition: transform var(--hm-dur) var(--hm-ease);
}
.hm-price__icon::after { transform: rotate(90deg); }
.hm-price__cat.is-open .hm-price__icon::before { transform: none; }
.hm-price__cat.is-open .hm-price__icon::after { transform: rotate(0deg); }

.hm-price__panel-inner > :last-child { padding-bottom: 32px; }
.hm-price__sub { margin: 6px 0 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.hm-price__group + .hm-price__group .hm-price__sub { margin-top: 28px; }

.hm-price__table { font-size: 14.5px; }
.hm-price__table th {
    padding: 0 16px 10px 0;
    border-bottom: 1px solid var(--hm-c-text);
    background: transparent;
    color: var(--hm-c-muted);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.hm-price__table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hm-c-line); background: transparent; }
.hm-price__table tr > :last-child { padding-right: 0; }
td.hm-price__c-name { font-weight: 300; }
.hm-price__c-meta { font-size: 13px; letter-spacing: .04em; }
th.hm-price__c-cost { font-weight: 500; }
td.hm-price__c-cost { font-family: var(--hm-font-head); font-size: 21px; font-weight: 400; font-variant-numeric: lining-nums; }
.hm-price__row { transition: background-color .2s; }
.hm-price__row:hover td { background: color-mix(in srgb, var(--hm-c-alt) 60%, transparent); }
.hm-price__mark { border-radius: 0; background: color-mix(in srgb, var(--hm-c-accent-2) 55%, transparent); }

.hm-price__empty { padding: 64px 16px; }
.hm-price__empty-title { font-family: var(--hm-font-head); font-size: 34px; font-style: italic; font-weight: 300; }
.hm-price__empty-text { font-weight: 300; }
.hm-price__note { margin-top: 28px; font-size: 17px; font-weight: 300; font-style: italic; font-family: var(--hm-font-head); }

@media (max-width: 767px) {
    .hm-price__toggle { padding: 22px 0; gap: 14px; }
    .hm-price__count { display: none; }
    .hm-price__sub { margin-inline: 0; }
    .hm-price__table tbody { gap: 0; border-top: 1px solid var(--hm-c-text); }
    .hm-price__row { padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--hm-c-line); background: transparent; }
    .hm-price__table td { border: 0; padding: 0; }
    .hm-price__row:hover td { background: none; }
    td.hm-price__c-name { font-size: 15px; }
    td.hm-price__c-cost { font-size: 22px; }
    .hm-price__table td:not(.hm-price__c-name)::before { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; }
}
