/* Admin styling */
.product-services-admin-wrapper {
    margin: 15px 0;
}

.product-services-table {
    margin-top: 15px;
}

.product-services-table th,
.product-services-table td {
    padding: 8px 10px;
    vertical-align: middle;
}
/* .service-description {
  display: block!important;
} */
.product-services-table input[type="text"],
.product-services-table input[type="number"],
.product-services-table select {
    width: 100%;
    max-width: 200px;
}

.product-services-table .small-text {
    max-width: 80px;
}

.variation-services-wrapper {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 20px;
}

.variation-services-wrapper h4 {
    margin: 0 0 10px 0;
    color: #555;
}

.variation-services-fields {
    margin-top: 15px;
}

/* frontend */
/* Cart and Checkout Styles */
.cart .product-name small {
    font-weight: normal;
    color: #666;
    display: block;
    margin-top: 5px;
}

.order-service-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 3px solid #007cba;
    font-size: 14px;
}

/* Admin Order Styles */
.service-header,
.service-value {
    width: 150px !important;
}

.service-value small {
    color: #666;
    font-weight: normal;
}

/* single product page - service selector */

.product-services-selector h4 {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 12px;
    color: #1F1B1B;
}

#product-services-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
#product-services-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.korting-service-option, .service-option {
    flex: 1 0 calc(50% - 24px);
    margin-bottom: 10px;
    padding: 20px 30px 14px 12px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    background-color: #fff;
    box-shadow: 0px 3px 6px #00000029;
}

.korting-service-option:hover, .service-option:hover {
    border-color: #DA3633;
}

.korting-service-option.selected, .service-option.selected {
    border-color: #DA3633;
}

.service-option-header {
    position: relative;
    width: fit-content;
    padding-right: 25px;
    display: flex;
    gap: 12.5px;
    align-items: center;
    margin-bottom: 5px;
}

.service-option-header::before {
    content: "";
    display: inline-block;
    width: 19.5px;
    height: 19.5px;
    background-image: url('/wp-content/uploads/Icon_Radiobutton_off.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.service-option-header span.service-option-tooltip {
    position: absolute;
    top: -10px;
    right: 0;
}

.service-option-header span.service-option-tooltip i {
    display: block;
    width: 16.31px;
    height: 16.31px;
    background-image: url("/wp-content/uploads/Icon_Info.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.korting-service-option.selected .service-option-header::before, .service-option.selected .service-option-header::before {
    background-image: url('/wp-content/uploads/Icon_Radiobutton_on.svg');
}

.service-option-label {
    font-weight: bold;
    font-size: 16px;
    color: #222222;
    cursor: pointer;
}

.service-option-price {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #161615;
    font-size: 20px;
    margin-top: 13.5px;
}

.service-option-price.discount {
    /* color: #28a745; */
}

.service-option-shipping {
    font-weight: 400;
    font-size: 14px;
}

/* Overlay behind sidebar */
.ps-desc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

/* Sidebar panel */
.ps-desc-sidebar {
    position: fixed;
    top: 0;
    right: -789px;
    /* hidden off-screen */
    width: 788px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 100001;
    display: flex;
    flex-direction: column;
}

/* When open */
.ps-desc-sidebar.open {
    right: 0;
}

/* Close button */
.ps-desc-close {
    position: absolute;
    top: 32px;
    right: 43px;
    height: 56px;
    width: 56px;
    background: white;
    color: #DE4B49;
    border-radius: 100%;
    font-size: 40px;
    line-height: 1;
    padding: 0;
    padding-bottom: 5px;
}

/* Content area */
.ps-desc-content {
    overflow-y: auto;
    flex: 1;
}

.service-description {
    padding-inline: 68px;
    padding-top: 51px;
}

.service-description h2 {
    margin-bottom: 20px;
}

.service-description ul {
    list-style-type: none;
    padding: 0;
	margin-bottom: 20px;
}

.service-description ul li {
    position: relative;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 16.88px;
}

.service-description ul li::before {
    content: "";
    display: inline-block;
    width: 13.23px;
    min-width: 13.23px;
    height: 21.17px;
    min-height: 21.17px;
    background-image: url("/wp-content/uploads/Icon_Fire.svg");
    background-repeat: no-repeat;
    background-size: contain;

}

.woocommerce-variation-price {
    display: none;
}

@media (max-width: 991px) {

    .products-services-selector {
        margin-bottom: 56px;
    }

    .product-services-selector h4 {
        margin-bottom: 24px;
    }
}


@media (max-width: 768px) {
    #product-services-options {
        flex-direction: column;
        gap: 15px;
    }
    #product-services-container {
        flex-direction: column;
        gap: 15px;
    }

    .service-option-header {
        margin-bottom: 8px;
    }

    .service-option-price {
        margin-top: 18px;
    }

    .service-option-shipping {
        padding-left: 34px;
    }
}
