.price-category-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 28px;
    padding: 12px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.price-category-label {
    margin: 0 5px 0 3px;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price-category-button {
    appearance: none;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #d7dce2;
    border-radius: 999px;
    background: #fff;
    color: #303741;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease,
        background 160ms ease, border-color 160ms ease;
}

.price-category-button:hover {
    transform: translateY(-1px);
    border-color: #9ca3af;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.price-category-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.price-category-button[aria-pressed="true"] {
    border-color: #20252c;
    background: #20252c;
    color: #fff;
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.2);
}

body[data-price-theme="black-gold"] .price-category-nav,
body[data-price-theme="red-black"] .price-category-nav {
    border-color: #353535;
    background: #151515;
    box-shadow: none;
}

body[data-price-theme="black-gold"] .price-category-label,
body[data-price-theme="red-black"] .price-category-label {
    color: #a3a3a3;
}

body[data-price-theme="black-gold"] .price-category-button,
body[data-price-theme="red-black"] .price-category-button {
    border-color: #3f3f46;
    background: #242424;
    color: #f5f5f5;
}

body[data-price-theme="red-black"] .price-category-button[data-price-category="all"][aria-pressed="true"] {
    border-color: #b91c1c;
    background: #b91c1c;
}

body[data-price-theme="slate"] .price-category-nav {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(35, 39, 46, 0.92);
    box-shadow: none;
}

body[data-price-theme="slate"] .price-category-label {
    color: #c7cbd1;
}

body[data-price-theme="slate"] .price-category-button {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

body[data-price-theme="navy"] .price-category-nav {
    border-color: #475569;
    background: #0f172a;
    box-shadow: none;
}

body[data-price-theme="navy"] .price-category-label {
    color: #94a3b8;
}

body[data-price-theme="navy"] .price-category-button {
    border-color: #475569;
    background: #1e293b;
    color: #e2e8f0;
}

body[data-price-theme="corporate"] .price-category-nav {
    border-color: #e5e7eb;
    background: #ffffff;
}

body[data-price-theme="cafe24"] .price-category-nav {
    justify-content: center;
    border-color: #e6dfcd;
    background: #fffdf8;
    box-shadow: 0 8px 18px rgba(26, 31, 44, 0.07);
}

body[data-price-theme="cafe24"] .price-category-label {
    color: #8b7428;
}

body[data-price-theme="slate"] .price-container > header,
body[data-price-theme="navy"] .price-container > header,
body[data-price-theme="red-black"] .top-banner {
    margin-bottom: 18px;
}

.price-category-button[data-price-category="gold"][aria-pressed="true"] {
    border-color: #9a6c00;
    background: linear-gradient(135deg, #d5a821, #9a6c00);
}

.price-category-button[data-price-category="silver"][aria-pressed="true"] {
    border-color: #65717e;
    background: linear-gradient(135deg, #9aa5b1, #65717e);
}

.price-category-button[data-price-category="jewelry"][aria-pressed="true"] {
    border-color: #6d28d9;
    background: linear-gradient(135deg, #9b5de5, #6d28d9);
}

.price-category-button[data-price-category="dental"][aria-pressed="true"] {
    border-color: #0f766e;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.price-category-piece[hidden],
[data-price-item-category][hidden],
[data-price-category-section][hidden],
[data-price-history-category][hidden] {
    display: none !important;
}

.price-item-with-image {
    position: relative;
    min-height: 72px;
    padding-right: 88px !important;
    box-sizing: border-box;
}

.price-product-thumb {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 5px 8px rgba(15, 23, 42, 0.2));
    pointer-events: none;
    user-select: none;
}

.card-header.price-item-with-image,
.card-top.price-item-with-image {
    min-height: 72px;
    padding-right: 86px !important;
}

.price-grid > .price-item-with-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 640px) {
    .price-category-nav {
        gap: 6px;
        margin: 0 0 20px;
        padding: 8px;
        border-radius: 13px;
    }

    .price-category-button {
        flex: 1 1 calc(50% - 6px);
        padding: 9px 10px;
        font-size: 13px;
    }

    .price-category-label {
        flex: 1 0 100%;
        margin: 0 0 3px 4px;
    }

    .price-item-with-image {
        min-height: 58px;
        padding-right: 58px !important;
    }

    .price-product-thumb {
        right: 6px;
        width: 48px;
        height: 48px;
    }

    .card-header.price-item-with-image,
    .card-top.price-item-with-image {
        min-height: 58px;
        padding-right: 58px !important;
    }
}
