/**
 * Single Product Page Styles
 * Styles for product gallery carousel and related elements
 */

/* Support Services Banner Styles */
/*.ebara-support-services-banner {
    width: 100%;
    margin: 0 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%); !* Blue gradient background *!

}

.ebara-support-services-content {
    display: flex;
    position: relative;
    min-height: 500px;
}

.ebara-support-services-text {
    flex: 0 0 50%;
    padding: 60px 0 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    !*clip-path: polygon(0 0, calc(100% - 15%) 0, 100% 100%, 0 100%); *!
}

.ebara-support-services-heading {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ebara-support-services-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ebara-support-services-button {
    display: inline-block;
    background-color: #dc2626; !* Red button *!
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ebara-support-services-button:hover {
    background-color: #b91c1c; !* Darker red on hover *!
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.ebara-support-services-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    clip-path:polygon(68% 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    position: relative;
}

.support-person{
    max-width: 100%;
    display: block;
    position: absolute;
    z-index: 10;
    bottom:-3px;
    right:280px;
    width:363px;
    box-shadow:none !important;
}

!* Responsive Styles *!
@media (max-width: 1024px) {
    .ebara-support-services-text {
        padding: 50px 60px;
    }

    .ebara-support-services-heading {
        font-size: 36px;
    }

    .ebara-support-services-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .ebara-support-services-content {
        flex-direction: column;
        min-height: auto;
    }

    .ebara-support-services-text {
        flex: 1 1 100%;
        padding: 40px 30px;
        clip-path: none;
    }

    .ebara-support-services-image {
        flex: 1 1 100%;
        min-height: 300px;
        clip-path: none;
    }

    .ebara-support-services-heading {
        font-size: 32px;
    }

    .ebara-support-services-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ebara-support-services-banner {
        margin: 40px 0;
    }

    .ebara-support-services-text {
        padding: 30px 20px;
    }

    .ebara-support-services-heading {
        font-size: 28px;
    }

    .ebara-support-services-description {
        font-size: 15px;
    }

    .ebara-support-services-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}*/

/* WooCommerce Single Product Layout */
.product-main {
    background: linear-gradient(to top, rgba(0, 77, 161, 0.15) 0%, rgba(137, 173, 211, 0) 22%, rgba(255, 255, 255, 0) 61%);

}
.single-product #main{
    padding-left:0;
    padding-right:0;
}
.related.products{
    background-color: #f2f2f2;
    padding:80px;
}
.related.products ul > li {
    background-color: #fff;
    .price,
    .ast-woo-product-category{
        display: none !important;
    }
    .ast-loop-product__link,
    h2.woocommerce-loop-product__title{
        color:#262e50 !important;
        text-decoration: none !important;
    }
}
.container-fluid.product-main{
    padding-left:80px;
    padding-right:80px;
}
.ebara-product-layout {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
a.button{
    text-decoration:none !important;
    border-radius:4px !important;
}
.ebara-product-images-wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
    /*background:radial-gradient(circle at center, #004b8e 000000000000002%, rgba(255, 255, 255, 0) 300px);*/
    justify-content:center;
}
.woocommerce-js div.product div.images img{
    width:auto;
    max-width:100%;
    height:auto;
    margin: 0 auto;
}
.ebara-product-images-wrapper .woocommerce-product-gallery {
    margin-bottom: 0;
    margin-left:auto;
    margin-right:auto;

}


/* Ensure proper spacing */
.ebara-product-images-wrapper > * {
    width: 100%;
}

/* Product description column */
.product-description {
    padding-left: 15px;
    padding-right: 15px;
}
.woocommerce-variation.single_variation{
    margin-bottom:0 !important;
}
/* Price and Add to Cart horizontal layout */
.ebara-price-cart-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
    .product_title,
    .single-product-category{
        flex:0 0 100%;
    }
}
.product-type-variable p.price{
    display: none;
}
.ebara-price-cart-wrapper .price {
    margin: 0 !important;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}
.ebara-price-cart-wrapper .cart,
.ebara-price-cart-wrapper form.cart {
    margin: 0;
    align-items: center;
    gap: 15px;
    /*	flex: 0 0 100%;*/
    min-width: 0;
}

/* Quantity input styling */
.ebara-price-cart-wrapper .quantity {
    display: flex;
    align-items: stretch;
    margin-bottom:0 !important;
    .minus{
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        text-decoration: none !important;
        border-color:#ddd;
    }
    .plus{
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        text-decoration: none !important;
        border-color:#ddd;
    }
}
.fullspec-lightbox{
    color:#004fff;
    text-decoration: underline;
    cursor:pointer;
}
.ebara-price-cart-wrapper .quantity input[type="number"] {
    width: 80px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius:0;
    padding: 8px;
}
.ast-product-tabs-layout-accordion .ast-accordion-header .ahfb-svg-iconset{
    fill: #030303 !important;
    font-size:14px !important;
}
/* Add to cart button */
.ebara-price-cart-wrapper .single_add_to_cart_button,
.ebara-price-cart-wrapper button[type="submit"].single_add_to_cart_button {
    background-color: #dc2626;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.ebara-price-cart-wrapper .single_add_to_cart_button:hover,
.ebara-price-cart-wrapper button[type="submit"].single_add_to_cart_button:hover {
    background-color: #b91c1c;
}

/* Variable product variations wrapper */
.ebara-price-cart-wrapper .variations {
    width: 100%;
    margin-bottom: 15px;
}

.ebara-price-cart-wrapper .single_variation_wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.download-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}
.download-item {
    border: 1px solid #f2f2f2;
    padding: 15px;
    border-radius: 8px;
}
.cfvsw-selected-swatch{
    background-color:#004b8e;
    color:#fff;
}
.cfvsw-label-option{
    padding:5px 30px !important;
}
.select-heading{
    color:#262e50;
    font-size:24px;
}
/* Responsive adjustments for Bootstrap grid */
@media (max-width: 991.98px) {
    .ebara-product-images-wrapper,
    .product-description {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .ebara-price-cart-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .ebara-price-cart-wrapper .cart,
    .ebara-price-cart-wrapper form.cart {
        width: 100%;
    }
}
/* Hide default WooCommerce/Astra gallery */
.woocommerce-product-gallery:not(#productGalleryCarousel),
.woocommerce-product-gallery--with-images:not(#productGalleryCarousel),
.woocommerce-product-gallery--columns-4:not(#productGalleryCarousel) {
    display: none !important;
}

/* Product Gallery Carousel Styles */
#productGalleryCarousel {
    position: relative;
    margin-bottom: 1rem;
}

#productGalleryCarousel .carousel-inner {
    border-radius: 0.375rem;
    overflow: hidden;
}

#productGalleryCarousel .carousel-item .woocommerce-product-gallery__trigger {
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
    display: flex;
}

#productGalleryCarousel .carousel-item.active {
    /* Add any active state styles here if needed */
}

#productGalleryCarousel .carousel-item img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: none !important;
    margin: 0 auto;
}

#productGalleryCarousel .carousel-control-prev,
#productGalleryCarousel .carousel-control-next {
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #004b8e;
    color: #fff;
    border-radius: 16px;
    opacity: 1;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 18px;
    height: 18px;
}

#productGalleryCarousel .carousel-control-prev {
    left: 15px;
}

#productGalleryCarousel .carousel-control-next {
    right: 15px;
}

#productGalleryCarousel .carousel-control-prev:hover,
#productGalleryCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: #000;
}

#productGalleryCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#productGalleryCarousel .carousel-indicators button {
    width: 57px;
    height: 6px;
    border-radius: 4px;
    background-color: #cccccc;
    border: none !important;
}

#productGalleryCarousel .carousel-indicators button.active {
    background-color: #000;
}

#productGalleryCarousel .woocommerce-product-gallery__trigger {
    display: block;
}

#productGalleryCarousel .woocommerce-product-gallery__trigger:hover img {
    opacity: 0.9;
}

