.product-tables-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.product-table-card {
    grid-column: span var(--product-table-span, 6);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #a8aaac;
    background: #c8cacb;
    box-shadow: 0 0.65rem 1.5rem rgba(35, 39, 42, 0.08);
}

.product-table-card__scroll {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: #b22b3e #e1e2e3;
    scrollbar-width: thin;
}

.product-table-card__scroll::-webkit-scrollbar {
    height: 0.55rem;
}

.product-table-card__scroll::-webkit-scrollbar-track {
    background: #e1e2e3;
}

.product-table-card__scroll::-webkit-scrollbar-thumb {
    border: 2px solid #e1e2e3;
    border-radius: 999px;
    background: #b22b3e;
}

.product-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: #17191b;
    background: #c8cacb;
    font-family: 'Roboto-Regular', sans-serif;
}

.product-table th,
.product-table td {
    height: 3.15rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #8f9294;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.product-table__title {
    height: auto !important;
    padding: 0.85rem 1rem !important;
    border-color: #8e1e30 !important;
    color: #fff !important;
    background: #b22b3e !important;
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.product-table__title-detail {
    display: block;
    margin-top: 0.16rem;
    font-family: 'Roboto-Regular', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.product-table__header {
    color: #151719;
    background: #b1b3b5;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.product-table__cell {
    background: #c8cacb;
    font-size: 0.9rem;
}

.product-table__action {
    width: 4.5rem;
    min-width: 4.5rem;
    padding: 0.3rem !important;
}

.product-table__action-column {
    width: 4.5rem;
}

.product-table__cart {
    display: inline-flex;
    min-width: 3.25rem;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid #b22b3e;
    border-radius: 0.2rem;
    color: #1e1e1e;
    background: rgba(255, 255, 255, 0.28);
    transition: color 160ms ease, background-color 160ms ease;
}

.product-table__cart:hover,
.product-table__cart:focus-visible {
    color: #fff;
    background: #b22b3e;
}

.product-table__cart:focus-visible {
    outline: 3px solid rgba(178, 43, 62, 0.28);
    outline-offset: 2px;
}

.product-table__cart:disabled {
    cursor: default;
    opacity: 0.58;
}

.product-table-empty {
    grid-column: 1 / -1;
    padding: 2.5rem 1.5rem;
    border: 1px dashed #979a9d;
    color: #5f6367;
    background: rgba(255, 255, 255, 0.18);
    text-align: center;
}

@media (max-width: 767.98px) {
    .product-tables-grid {
        gap: 1rem;
    }

    .product-table-card {
        grid-column: 1 / -1;
    }

    .product-table th,
    .product-table td {
        height: 2.8rem;
        padding: 0.6rem 0.7rem;
        font-size: 0.82rem;
    }

    .product-table__title {
        font-size: 1rem;
    }
}
