.fireplace-product-details {
    color: var(--porto-body-color, #282522);
    font-family: inherit;
    font-size: max(1rem, 16px);
    line-height: 1.8;
    width: 100%;
    max-width: 58rem;
    min-width: 0;
    overflow-wrap: anywhere;
}
.fireplace-product-details section + section { margin-top: 2.5rem; }
.fireplace-product-details h2,
.single-product .fireplace-product-details section h2 {
    color: var(--porto-primary-color, #654a37);
    font-family: inherit;
    font-size: clamp(20px, 2.5vw, 1.65rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: none;
    margin: 0 0 1rem;
}
.fireplace-product-details p { margin: 0 0 1rem; }
.fireplace-product-details__table { width: 100%; min-width: 0; }
.fireplace-product-details table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #ded8d0;
    margin: 0;
    font-size: max(1rem, 16px);
    line-height: 1.6;
}
.fireplace-product-details caption {
    caption-side: top;
    text-align: left;
    color: var(--porto-primary-color, #654a37);
    font-size: max(1rem, 16px);
    font-weight: 600;
    padding: 1rem 1.25rem;
    background: #f3efe9;
    border: 1px solid #ded8d0;
    border-bottom: 0;
}
.fireplace-product-details th, .fireplace-product-details td {
    padding: .9rem 1.25rem;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #ded8d0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.fireplace-product-details thead th { background: #eee7de; font-weight: 600; }
.fireplace-product-details th:first-child { width: 47%; }
.fireplace-product-details tbody th { font-weight: 400; }
.fireplace-product-details tbody td { font-weight: 600; }
.fireplace-product-details tbody tr:nth-child(even) { background: #f7f4ef; }
.fireplace-product-details tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 480px) {
    .fireplace-product-details section + section { margin-top: 1.75rem; }
    .fireplace-product-details th, .fireplace-product-details td { padding: .75rem .65rem; }
    .fireplace-product-details caption { padding: .85rem .65rem; }
    .fireplace-product-details th:first-child { width: 44%; }
}

/* The summary is deliberately independent of dimensions and shipping validation. */
.single-product .woocommerce-product-details__short-description:has(.fireplace-product-summary) {
    margin: 1.1rem 0 1.25rem;
}
.fireplace-product-summary {
    color: var(--porto-body-color, #282522);
    font-family: inherit;
    font-size: max(1rem, 16px);
    line-height: 1.75;
    min-width: 0;
    overflow-wrap: anywhere;
}
.single-product .fireplace-product-summary p { margin: 0 0 .9rem; }
.single-product .fireplace-product-summary .fireplace-product-summary__intro {
    color: var(--porto-primary-color, #654a37);
    font-weight: 500;
    font-size: max(1.05rem, 17px);
    line-height: 1.65;
}
.single-product .fireplace-product-summary .fireplace-product-summary__label {
    font-size: max(.9rem, 14px);
    font-weight: 600;
    color: var(--porto-primary-color, #654a37);
    margin: 1.1rem 0 .65rem;
    letter-spacing: .015em;
}
.single-product .fireplace-product-summary__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem 1.5rem;
    list-style: disc outside;
    padding: 0 0 0 1.1rem;
    margin: 0 0 1.1rem;
}
.single-product .fireplace-product-summary__features li {
    margin: 0;
    padding: 0 .25rem 0 0;
    line-height: 1.6;
}
.single-product .fireplace-product-summary__features li::marker { color: var(--porto-primary-color, #654a37); }
.single-product .fireplace-product-summary .fireplace-product-summary__note {
    border-top: 1px solid #ded8d0;
    padding-top: .9rem;
    margin-bottom: 0;
    font-size: max(.94rem, 15px);
    line-height: 1.7;
}
@media (max-width: 991px) {
    .single-product .fireplace-product-summary__features { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}
/* Porto's custom product template uses col-md-5/col-md-7 at 768px.
   Stack just these product columns before the summary becomes too narrow. */
@media (min-width: 768px) and (max-width: 991px) {
    .single-product .porto-block > .vc_row > .porto-wrap-container > .row:has(.fireplace-product-summary) > .vc_column_container {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .single-product .porto-block > .vc_row > .porto-wrap-container > .row:has(.fireplace-product-summary) > .vc_column_container:has(.product-layout-image) { margin-bottom: 1.75rem; }
    .single-product .product-layout-image { max-width: 34rem; margin-inline: auto; }
}
