/* Shop category table, loaded after the shared WooCommerce enhancer stylesheet. */
.odg-woo-shop .odg-shop-categories h2 {
    margin-bottom: 7px;
}

.odg-woo-shop .odg-shop-categories a.odg-shop-all {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--odg-gold);
    border-radius: 0;
    color: var(--odg-blue-dark);
    display: inline-flex;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 8px;
    min-height: 44px;
    padding: 2px 0 3px;
    text-decoration: none;
}

.odg-woo-shop .odg-shop-categories a.odg-shop-all:hover {
    background: transparent;
    border-color: var(--odg-gold-dark);
    color: var(--odg-blue-deeper);
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table-wrap {
    width: 100%;
}

.odg-woo-shop .odg-shop-categories table.odg-shop-category-table {
    background: transparent;
    border: 0;
    border-collapse: collapse;
    margin: 8px 0 0;
    table-layout: fixed;
    text-align: left;
    width: 100%;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table th,
.odg-woo-shop .odg-shop-categories .odg-shop-category-table td {
    border: 0;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table th {
    background: #123354;
    border-bottom: 3px solid var(--odg-gold);
    color: var(--odg-white);
    font-size: 12px;
    font-weight: 730;
    letter-spacing: .045em;
    line-height: 1.3;
    padding: 10px 14px;
    text-align: left;
    text-transform: uppercase;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table th:first-child,
.odg-woo-shop .odg-shop-categories .odg-shop-category-name {
    width: 72%;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table th:last-child,
.odg-woo-shop .odg-shop-categories .odg-shop-category-page {
    width: 28%;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tbody tr {
    border-bottom: 1px solid #dce4ea;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tbody tr:last-child {
    border-bottom: 0;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tbody tr:hover {
    background: #edf3f7;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table td {
    color: #526679;
    font-size: 13px;
    line-height: 1.4;
    padding: 3px 14px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-name {
    color: #526679;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="0"] .odg-shop-category-name {
    color: #123354;
    font-weight: 730;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="1"] .odg-shop-category-name {
    padding-left: 28px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="2"] .odg-shop-category-name {
    padding-left: 44px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="3"] .odg-shop-category-name {
    padding-left: 60px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-link {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--odg-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 4px;
    line-height: 1.35;
    min-height: 44px;
    padding: 6px 8px;
    text-decoration: none;
    white-space: nowrap;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-link:hover {
    background: transparent;
    border-color: transparent;
    color: var(--odg-blue-deeper);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-category-page-unavailable {
    color: #687887;
    font-size: 12px;
}

.odg-woo-shop .odg-shop-categories .odg-shop-all:focus,
.odg-woo-shop .odg-shop-categories .odg-shop-category-link:focus {
    outline: 3px solid var(--odg-blue-deeper);
    outline-offset: 2px;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .odg-woo-shop .odg-shop-categories table.odg-shop-category-table th:first-child,
    .odg-woo-shop .odg-shop-categories .odg-shop-category-name {
        width: 64%;
    }

    .odg-woo-shop .odg-shop-categories table.odg-shop-category-table th:last-child,
    .odg-woo-shop .odg-shop-categories .odg-shop-category-page {
        width: 36%;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-table th {
        font-size: 10px;
        letter-spacing: .02em;
        padding: 9px 7px;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-table td {
        font-size: 12px;
        line-height: 1.35;
        padding: 3px 7px;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-link {
        font-size: 12px;
        padding: 6px 4px;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="1"] .odg-shop-category-name {
        padding-left: 16px;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="2"] .odg-shop-category-name {
        padding-left: 24px;
    }

    .odg-woo-shop .odg-shop-categories .odg-shop-category-table tr[data-depth="3"] .odg-shop-category-name {
        padding-left: 32px;
    }
}
