.pas-service-header, .pas-assembly-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.pas-service-header h4, 
.pas-assembly-header h4 {
    font-size: 20px;
    color: #222;
    margin-bottom: 0px;
}

.pas-service-details, .pas-assembly-details  {
    margin-bottom: 15px;
}

.pas-service-row,
.pas-assembly-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.pas-label,
.pas-assembly {
    font-weight: 600;
    color: #555;
}

.pas-value {
    color: #333;
}

.pas-discount-row .pas-value {
    color: #007cba;
    font-weight: 600;
}

.pas-discount-tag {
    font-weight: normal;
    color: #666;
    margin-left: 6px;
}

.pas-service-action {
    margin-top: 10px;
}

.pas-checkbox-label {
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pas-checkbox-label input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.pas-service-notice {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 5px;
}

/* Apply background color to the entire row */
.woocommerce-cart-form__cart-item.pas-service-row-cart,
.woocommerce-cart-form__cart-item.pas-assembly-row-cart {
    background-color: #f9f9f9 !important;
    /* Changed from red to subtle grey, but use red if you want to test */
}

/* Indent the product name and remove the 'X' remove button if you want it to look like a sub-item */
.pas-service-row-cart .product-name,
.pas-assembly-row-cart .product-name {
    padding-left: 30px !important;
    position: relative;
}

/* Optional: Add a small return arrow icon before the service name to show it's linked */
.pas-service-row-cart .product-name::before,
.pas-assembly-row-cart .product-name::before {
    content: "↳";
    position: absolute;
    left: 10px;
    color: #ccc;
    font-size: 1.2em;
}

/* Optional: Dim the SKU or other meta in the service row */
.pas-service-row-cart .sku_wrapper,
.pas-service-row-cart .product-thumbnail,
.pas-assembly-row-cart .sku_wrapper,
.pas-assembly-row-cart .product-thumbnail {
    opacity: 0.5;
}


/* Catalog CSS */


.pas-service-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pas-service-catalog[data-cols="2"] .pas-service-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pas-service-catalog[data-cols="4"] .pas-service-catalog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pas-service-catalog[data-cols="5"] .pas-service-catalog__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pas-service-catalog__card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.pas-service-catalog__body {
    padding: 12px;
}

.pas-service-catalog__title {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    text-decoration: none;
    min-height: 65px;
}
.pas-add-service-btn,
.pas-add-assembly-btn {
    background: rgb(47, 47, 47) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px !important;
    width: 100%;
}
.bs-offer-add-service-only,
.bs-offer-add-assembly-only{
    background: #1b99d7 !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px !important;
    width: 100%;
}
.pas-service-catalog__meta {
    text-align: center;
}

.pas-service-catalog__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    justify-content: center;
}

.pas-service-catalog__search {
    margin-bottom: 12px;
}

.pas-service-catalog__search-input {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
}