/* NC Product Data Enrichment v1.6.0 - clean premium specifications */
.ncpe-spec-table-wrap {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    background: #fff !important;
    box-shadow: none !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table,
.ncpe-spec-table {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table tbody,
.ncpe-spec-table tbody {
    display: block !important;
    width: 100% !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table tr,
.woocommerce table.shop_attributes.ncpe-spec-table tr:nth-child(odd),
.woocommerce table.shop_attributes.ncpe-spec-table tr:nth-child(even),
.ncpe-spec-table tr,
.ncpe-spec-table tr:nth-child(odd),
.ncpe-spec-table tr:nth-child(even) {
    display: grid !important;
    grid-template-columns: minmax(210px, 32%) minmax(0, 1fr) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #eceef0 !important;
    box-shadow: none !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table tr:last-child,
.ncpe-spec-table tr:last-child {
    border-bottom: 0 !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table th,
.woocommerce table.shop_attributes.ncpe-spec-table td,
.ncpe-spec-table th,
.ncpe-spec-table td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    vertical-align: top !important;
    text-align: left !important;
    line-height: 1.5 !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table th,
.ncpe-spec-table th {
    font-weight: 600 !important;
    color: #24272b !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table td,
.woocommerce table.shop_attributes.ncpe-spec-table td p,
.ncpe-spec-table td,
.ncpe-spec-table td p {
    color: #5c6168 !important;
    font-style: normal !important;
    text-align: left !important;
}

.woocommerce table.shop_attributes.ncpe-spec-table td p,
.ncpe-spec-table td p {
    margin: 0 !important;
    padding: 0 !important;
}

.ncpe-spec-fallback { margin: 28px 0; }
.ncpe-spec-fallback > h2 { margin: 0 0 16px; }

@media (max-width: 767px) {
    .woocommerce table.shop_attributes.ncpe-spec-table tr,
    .woocommerce table.shop_attributes.ncpe-spec-table tr:nth-child(odd),
    .woocommerce table.shop_attributes.ncpe-spec-table tr:nth-child(even),
    .ncpe-spec-table tr,
    .ncpe-spec-table tr:nth-child(odd),
    .ncpe-spec-table tr:nth-child(even) {
        grid-template-columns: minmax(125px, 40%) minmax(0, 1fr) !important;
    }
    .woocommerce table.shop_attributes.ncpe-spec-table th,
    .woocommerce table.shop_attributes.ncpe-spec-table td,
    .ncpe-spec-table th,
    .ncpe-spec-table td {
        padding: 11px 12px !important;
        font-size: 14px !important;
    }
}
