/* Style the product headline */
.product-headline {
    font-size: 32px;
    margin: 0 0 10px 0; /* Add some spacing below the headline */
}
/* Product Action Buttons Container */
.product-action-buttons {
display: flex;
    flex-wrap: wrap;
    row-gap: 5px; /* No vertical gap between rows */
    column-gap: 10px; /* 10px horizontal gap between buttons */
    margin-bottom: 20px; /* Ensure spacing below the button group */
}
.custom-product-details{margin:0 auto;width: 100%;}
/* General Button Styling */
.action-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;    text-align: center;
}

/* Inquire Button */
.inquire-button {
    background-color: #0F2D50;
    color: #FFFFFF;
}
.inquire-button:hover {
    background-color: #005a87;
}
/* Disabled state for Inquire button */
.inquire-button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}
/* Hide product meta on single product pages */
.single-product .product_meta {
    display: none !important;
}
/* View Details Button */
.view-details-button {
    background-color: #004ba2;
    color: #FFFFFF;
}
.view-details-button:hover {
    background-color: #003a7d;
}

/* Print Button */
.print-button {
    background-color: #666;
    color: #FFFFFF;
}
.print-button:hover {
    background-color: #555;
}

/* Icon Styling */
.action-button i {
    margin-right: 8px;
    font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .product-action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .action-button {
        width: 100%;
        justify-content: center;
    }
    .product-action-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px; /* Increase bottom margin on mobile for extra spacing */
    }
    .action-button {
        width: 100%;
        justify-content: center;
    }
}
/* General Layout and Spacing */
.related {
    margin-top: 50px;
}
main .nv-shop ul.comps.products:not(.tns-slider) {
    margin-bottom: 0px !important;
}

/* Links */
.underlined {
    text-decoration: underline;
}

/* Comparable Generators */
.comparable-generators .products {
    margin-top: 20px;
}
.comparable-title {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

/* Comparable Generators Desktop Styling */
.comparable-generators .inventory-details {
    display: none;
}
.comparable-generators .details-button {
    display: none;
}
.comparable-generators .inventory-card-title {
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.comparable-generators .inventory-card-title a {
    font-size: 12px;
}

ul.comps.products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.comps.products li.product {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}
ul.comps.products li.product a img {
    height: 139px !important;
}
ul.comps.products .product-card {
    background-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
ul.comps.products .inventory-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 0px !important;
    margin-bottom: -7px !important;
    border-left: 1px solid #0f2d50;
    border-right: 1px solid #0f2d50;
}
ul.comps.products .inventory-card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    min-height: 0px !important;
}
ul.comps.nv-shop-col-4 {
    grid-template-columns: repeat(6, 1fr) !important;
}

/* Mobile Adjustments (below 768px) */
@media screen and (max-width: 768px) {
    ul.comps.products {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .comparable-generators .inventory-details {
        display: block !important;
    }
    .comparable-generators .details-button {
        display: block !important;
        text-align: center;
        margin-top: 10px;
    }
    .comparable-generators .inventory-card-title {
        text-align: left;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        font-size: 16px;
    }
    .comparable-generators .inventory-card-title a {
        font-size: 16px;
    }
    ul.comps.products .inventory-card-image-wrapper {

        margin-bottom: 0 !important;
    }
    ul.comps.products li.product a img {
        height: auto !important;
    }
    ul.comps.products .product-card {
        background-color: #fff;
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
}

/* Custom Product Page Table Styles */
.three-column-attributes {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.three-column-attributes th {
    padding: 10px;
    font-size: 17px;
    font-weight: 600;
    border: none !important;
    color: #000000;
}
.three-column-attributes td {
    padding: 0;
    vertical-align: top;
    border: none;
}
.attribute-group-table {
    width: 100%;
    border-spacing: 0;
    background-color: transparent;
    margin-bottom: 0px !important;
}
.attribute-group-table th,
.attribute-group-table td {
    padding: 16px;
    border: none;
    background-color: transparent;
    text-transform: initial;
    border: none !important;
}
.three-column-attributes th,
.three-column-attributes td {
    border-right: 1px solid #ddd;
}
.attribute-label {
    font-weight: 400 !important;
    color: #000000;
    font-size: 15px !important;
}
.attribute-value {
    font-weight: 400 !important;
    color: #3d3d3d;
    font-size: 14px !important;
}
.attribute-value a {
    color: #004ba2;
}
.attribute-group-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}
.attribute-group-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

/* Just Sold Banner */
.just-sold-banner {
    color: red;
    text-align: left;
    padding-bottom: 10px;
    margin: 10px 0;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
}

/* Wishlist Button Centering */
.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    display: flex !important;
    flex-direction: row !important;
    width: fit-content !important;
}
.yith-wcwl-add-to-wishlist-button--single {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

@media (max-width: 768px) {
    .three-column-attributes,
    .three-column-attributes thead,
    .three-column-attributes tbody,
    .three-column-attributes tr,
    .three-column-attributes th,
    .three-column-attributes td {
        display: block;
        width: 100%;
    }
    .spec-header-row {
        display: none!important;
    }
    .three-column-attributes tr {
        margin-bottom: 20px;
    }
    .generatordetails {
        margin-top: 20px; /* Already adjusted in the previous fix */
    }
    .attribute-group-table th,
    .attribute-group-table td {
        padding: 4px;
        border: none;
        background-color: transparent;
        color: #3d3d3d;
        text-transform: initial;
        text-align: center;
        line-height: 24px;
    }
    .attribute-label {
        font-weight: 600 !important;
        color: #000000;
        font-size: 18px !important;
    }
    .attribute-value {
        font-weight: 400 !important;
        font-size: 18px !important;
    }
}