/* =========================
   Product Description Tables
   ========================= */

.product-description table,
.product-details table,
.product-entry table,
.salla-product-details table,
.product-single__content table,
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

/* Table Header */
.product-description table th,
.product-details table th,
.product-entry table th,
.salla-product-details table th,
.product-single__content table th,
table th {
    background: #f5f5f5;
    font-weight: 700;
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    text-align: right;
    color: #222;
}

/* Table Cells */
.product-description table td,
.product-details table td,
.product-entry table td,
.salla-product-details table td,
.product-single__content table td,
table td {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    vertical-align: middle;
    color: #444;
}

/* Alternate Rows */
.product-description table tbody tr:nth-child(even),
.product-details table tbody tr:nth-child(even),
.product-entry table tbody tr:nth-child(even),
.salla-product-details table tbody tr:nth-child(even),
.product-single__content table tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Hover */
.product-description table tbody tr:hover,
.product-details table tbody tr:hover,
.product-entry table tbody tr:hover,
.salla-product-details table tbody tr:hover,
.product-single__content table tbody tr:hover,
table tbody tr:hover {
    background: #f7f7f7;
}

/* First Column */
.product-description table td:first-child,
.product-details table td:first-child,
.product-entry table td:first-child,
.salla-product-details table td:first-child,
.product-single__content table td:first-child,
table td:first-child {
    font-weight: 600;
    width: 35%;
    color: #222;
}

/* Titles inside product description */
.product-description h3,
.product-details h3,
.product-entry h3,
.salla-product-details h3,
.product-single__content h3 {
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* Product Description Lists */
.product-description ul,
.product-details ul,
.product-entry ul,
.salla-product-details ul,
.product-single__content ul {
    margin: 12px 0 20px;
    padding-right: 22px;
}

.product-description ul li,
.product-details ul li,
.product-entry ul li,
.salla-product-details ul li,
.product-single__content ul li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* Mobile */
@media (max-width: 767px) {

    .product-description table,
    .product-details table,
    .product-entry table,
    .salla-product-details table,
    .product-single__content table,
    table {
        font-size: 13px;
        margin: 15px 0;
    }

    .product-description table th,
    .product-description table td,
    .product-details table th,
    .product-details table td,
    .product-entry table th,
    .product-entry table td,
    .salla-product-details table th,
    .salla-product-details table td,
    .product-single__content table th,
    .product-single__content table td,
    table th,
    table td {
        padding: 10px 8px;
    }

    .product-description table td:first-child,
    .product-details table td:first-child,
    .product-entry table td:first-child,
    .salla-product-details table td:first-child,
    .product-single__content table td:first-child,
    table td:first-child {
        width: 40%;
    }

    .product-description h3,
    .product-details h3,
    .product-entry h3,
    .salla-product-details h3,
    .product-single__content h3 {
        font-size: 18px;
    }
}