.special-category-section {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #aeaeae;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.special-category-section .category-image,
.special-category-section .category-specs {
    text-align: center;
}

.special-category-section .category-image img,
.special-category-section .category-specs img {
    object-fit: contain;
    max-height: 300px;
}

.special-category-section .category-details {
    padding: 6px;
}

.special-category-section .category-details ul {
    list-style: none;
}

@media(max-width:575px) {
    .special-category-section {
        flex-wrap: wrap;
    }
    .special-category-section .category-image {
        order: 1;
        width: 40%;
    }
    .special-category-section .category-specs {
        order: 3;
        width: 100%;
    }
    .special-category-section .category-details {
        order: 2;
        width: 60%;
    }
}

.table-responsive {
    /* max-height: 640px; */
    overflow-x: auto;
    position: relative;
    overflow-y: auto;
}

.wpt_products_table {

    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 12px 12px 0 0;
    overflow: visible;

}

.wpt_products_table thead:first-child tr:first-child th {
    border-block-start: 0;
}

.wpt_products_table thead {
    position: sticky;
    top: 0;
    font-size: 16px;
    z-index: 10;
}

.wpt_products_table thead th {
    border: 0;
    background-color: var(--thead-background-color, #666);
    color: var(--thead-color, #fff);
    font-weight: 600;
}

.wpt_products_table thead th {
    position: sticky;
    top: 0;
    z-index: 11;
}

.wpt_products_table thead th:first-child {
    border-top-left-radius: var(--thead-border-top-radius, 12px);
}

.wpt_products_table thead th:last-child {
    border-top-right-radius: var(--thead-border-top-radius, 12px);
}

.wpt_products_table tbody td {
    vertical-align: middle;
    padding: 12px 15px;
}

.wpt_products_table tbody td.price-cell {
    text-align: right;
}

.wpt_products_table .cell-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpt_products_table tbody a {
    color: var(--e-global-color-primary);
    font-weight: bold;

    &:hover {
        text-decoration: underline;
    }
}

.product-quantity {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;

    background-color: var(--component-background-color, #fff);
    border-radius: var(--component-border-radius, 6px);
    border: var(--component-border, 1px solid #ddd);

    & .quantity .qty,
    & .qty-count {
        background: transparent;
        color: var(--input-qty-color, inherit);
        font-weight: bold;
        font-size: var(--input-qty-font-size, inherit);
        border: none;
        display: inline-block;
        min-width: 0;
        height: var(--component-height, 2.5rem);
        line-height: 1;
    }

    &:focus {
        outline: none;
    }

}

.product-quantity .quantity .qty {
    width: var(--input-qty-width, 60px);
    min-width: 0;
    display: inline-block;
    text-align: var(--input-qty-text-align, center);
    appearance: textfield;
    outline: 0;

    padding: var(--input-qty-padding, .25rem);

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        appearance: none;
        margin: 0;
    }
}

.product-quantity .qty-count {
    padding: 0;
    cursor: pointer;
    width: var(--stepper-width, 2.5rem);
    font-size: 1.25em;
    text-indent: -100px;
    overflow: hidden;
    position: relative;

    &:before,
    &:after {
        content: "";
        height: 2px;
        width: 10px;
        position: absolute;
        display: block;
        background: var(--stepper-color, #000);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
}

.product-quantity .qty-count:disabled {
    color: var(--stepper-color-disabled, #ccc);
    background: var(--stepper-background-disabled, #f2f2f2);
    cursor: not-allowed;
    border-color: transparent;

    &:before,
    &:after {
        background-color: var(--stepper-color-disabled, #ccc);
    }
}

.product-quantity .qty-count_minus {
    border-right: 1px solid var(--stepper-border-color, #e2e2e2);
}

.product-quantity .qty-count_plus {
    border-left: 1px solid var(--stepper-border-color, #e2e2e2);
    &:after {
        transform: rotate(90deg);
    }
}

@media(max-width:575px) {
    .wpt_products_table thead {
        display: none;
    }

    .wpt_products_table tbody td.price-cell {
        text-align: left;
    }

    .wpt_products_table tbody td {
        display: grid;
        grid-template-columns: 12ch auto;
        text-align: left;
        border-bottom-width: 0;
        padding: 0;
        align-items: center;
        gap: 6px;
    }

    .wpt_products_table tbody td::before {
        content: attr(data-cell);
        font-weight: 700;
        text-align: left;
        background-color: var(--label-background-color, #eaeaea);
        padding: 6px 6px;
    }

    .wpt_products_table tbody td.title-cell,
    .wpt_products_table tbody td.quantity-cell,
    .wpt_products_table tbody td.order-cell {
        grid-template-columns: auto;
        padding: 6px;
        text-align: center;
    }

    .wpt_products_table tbody td.title-cell::before,
    .wpt_products_table tbody td.quantity-cell::before,
    .wpt_products_table tbody td.order-cell::before {
        display: none;
    }

    .wpt_products_table tbody td.title-cell {
        padding: 12px 6px 8px;
    }

    .wpt_products_table tbody td.order-cell {
        border-top-width: 0;
    }

    .wpt_products_table tbody td.download-cell {
        grid-template-columns: auto;
        border-bottom-width: 1px;
        margin-bottom: 16px;
    }

    .wpt_products_table tbody td.download-cell::before {
        text-align: center;
    }

    .wpt_products_table tbody td.empty-cell {
        display: none;
    }
}
