/* Bold tag override */
b {
    font-weight: 700;
}

/* General table styling */
.variation-details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}

/* Variation table headings */
.variation-details-table th {
/*    font-weight: bold;*/
    font-size: 11px;
/*    text-align: left;
    padding: 8px;*/
/*    border: 1px solid #ddd;*/
}

/* Variation table cells */
/*.variation-details-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}*/

/* Custom width for label cells in Woo ATC table */
.miller-wooproduct-atc table.variations th.label {
    width: 200px;
    max-width: 100%;
}

/* Spacing fix for WooCommerce cart form */
.woocommerce div.product form.cart {
    margin-bottom: 1em !important;
}

/* Alignment utility class */
/*.containerx {
    text-align: right;
}*/

/* Default table styling for large screens */
/*.variation-details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}*/

/*.variation-details-table th {
    font-weight: bold;
    font-size: 11px;
    text-align: left;
    padding: 8px;
    border: 1px solid #ddd;
}*/

.variation-details-table td {
    position: relative;
}

/* Append units only when there is actual value text */
.spec-value[data-unit]:not(:empty)::after {
  content: " " attr(data-unit);
  opacity: .7;              /* optional, makes units a touch lighter */
}

small#spec-selected {
    font-size: 50%;
}

/* Responsive behavior for small screens */
@media (max-width: 768px) {
    .variation-details-table {
        border: none;
    }

    .variation-details-table thead {
        display: none;
    }

    .variation-details-table,
    .variation-details-table tbody,
    .variation-details-table tr,
    .variation-details-table td {
        display: block;
        width: 100%;
    }

    /*.variation-details-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid #ccc;
    }*/

    .variation-details-table td {
        text-align: right;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .variation-details-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.5rem;
        top: 8px;
        width: 45%;
        text-align: left;
        font-weight: bold;
        white-space: nowrap;
    }
}
