/* =====================================
   page content
   ===================================== */
body.sunpics-grouped div.product.product-type-grouped form.cart {
    margin: var(--sun-gap-xl) 0;
}

body.sunpics-grouped #content.site-content .sun-single-product-structure {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sun-gap-lg);
}

body.sunpics-grouped .sun-single-product-structure div.product:not(.sunpics-gallery) {
    flex-basis: calc(80% - var(--sun-spacing-lg));
    width: 80%;
}

body.sunpics-grouped .sun-single-product-structure div.product:not(.sunpics-gallery) span.onsale {
    display: none;
}

body.sunpics-grouped div.sunpics-hide-guest-prices {
    border-radius: var(--sun-radius-lg);
    background: var(--sun-color-secondary);
    border: 1px solid var(--sun-border-color-secondary);
    padding: var(--sun-spacing-lg) var(--sun-spacing-xl);
    margin: var(--sun-spacing-lg) 0;
}

body.sunpics-grouped div.sunpics-hide-guest-prices a {
    font-size: var(--sun-font-md);
    color: var(--sun-color-primary);
    font-weight: 500;
    text-decoration: underline !important;
}

body.sunpics-grouped .woocommerce-product-details__short-description {
    background: var(--sun-bkg-primary);
    margin: var(--sun-spacing-xl) 0;
    padding: var(--sun-spacing-xl) !important;
    border-radius: var(--sun-radius-lg);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 0.12);
}
/* =====================================
   page content
   ===================================== */



/* =====================================
   woocommerce notices
   ===================================== */
body.sunpics-grouped .woocommerce-notices-wrapper {
    flex-basis: 100%;
}

body.sunpics-grouped .woocommerce-notices-wrapper ul.woocommerce-error {
    border: 2px solid #b81c23;
    border-radius: var(--sun-radius-sm);
}

body.sunpics-grouped .woocommerce-notices-wrapper .woocommerce-message {
    border: 2px solid #8fae1b;
    border-radius: var(--sun-radius-sm);
}

body.sunpics-grouped .woocommerce-notices-wrapper ul.woocommerce-error li {
    margin: 0 !important;
}
/* =====================================
   woocommerce notices
   ===================================== */



/* =====================================
   product gallery
   ===================================== */
body.sunpics-grouped:has(#fixed-price-element) #content div.product.sunpics-gallery div.images {
    width: 100%;
    margin-bottom: 0 !important;
}

body.sunpics-grouped:has(#fixed-price-element) #content div.product.sunpics-gallery {
    top: 100px;
}

body.sunpics-grouped #content div.product.sunpics-gallery {
    width: var(--sun-summary-width);
    flex-basis: var(--sun-summary-width);
    background: var(--sun-color-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    float: unset;
    height: fit-content;
    position: sticky;
    top: 50px;
    border-radius: var(--sun-radius-lg);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 0.12);
}

body.sunpics-grouped #content div.product.sunpics-gallery div.images .flex-viewport {
    height: 200px !important;
    box-shadow: 0 -1px 5px 2px #cccccc;
    /*border-radius: var(--sun-radius-lg);*/
}

body.sunpics-grouped #content div.product .bundle-resume-tile {
    width: 100%;
    position: absolute;
    padding: var(--sun-spacing-lg) var(--sun-spacing-md);
    border-radius: var(--sun-radius-lg) var(--sun-radius-lg) 0 0;
    z-index: 1;
    font-size: var(--sun-font-sm);
    color: var(--sun-color-secondary);
    font-weight: 500;
    background: var(--sun-background-blur);
    backdrop-filter: blur(2px);
}

body.sunpics-grouped div:not(.product-images-wrapper)>.images .flex-control-thumbs {
    height: 50px;
}

body.sunpics-grouped div:not(.product-images-wrapper)>.images .flex-control-thumbs li {
    min-width: 50px !important;
    margin: 0 2px !important;
}

body.sunpics-grouped div:not(.product-images-wrapper)>.images .flex-control-thumbs .gallery-thumb-controls .gallery-thumb-control {
    top: 10px;
    color: var(--sun-color-secondary);
    background: var(--sun-background-blur);
    backdrop-filter: blur(2px);
}

body.sunpics-grouped div:not(.product-images-wrapper)>.images .flex-control-thumbs li img {
    opacity: 1;
}
/* =====================================
   product gallery
   ===================================== */



/* =====================================
   product summary
   ===================================== */
body.sunpics-grouped #content div.product.product-type-grouped div.summary {
    float: unset;
    width: auto;
}
/* =====================================
   product summary
   ===================================== */



/* =====================================
   product title
   ===================================== */
body.sunpics-grouped #content div.product.product-type-grouped div.summary .product_title {
    background: var(--sun-bkg-secondary);
    padding: var(--sun-spacing-lg) var(--sun-spacing-xl);
    border-radius: var(--sun-radius-lg) var(--sun-radius-lg) 0 0;
    color: var(--sun-color-secondary);
    font-size: var(--sun-font-md);
    margin: 0 !important;
    font-weight: 500;
}

body.sunpics-grouped #content div.product.product-type-grouped div.summary .product-group-title {
    display: none;
}
/* =====================================
   product title
   ===================================== */



/* =====================================
   product title price
   ===================================== */
body.sunpics-grouped #content div.product.product-type-grouped div.summary .price:not(.wapf-total) {
    background: var(--sun-bkg-primary);
    padding: var(--sun-spacing-lg) var(--sun-spacing-xl);
    border-radius: 0 0 var(--sun-radius-lg) var(--sun-radius-lg);
    color: var(--sun-color-primary);
    font-size: var(--sun-font-md);
    margin: 0 !important;
    font-weight: 500;
}
/* =====================================
   product title price
   ===================================== */



/* =====================================
   grouped content
   ===================================== */
body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item {
    border-radius: var(--sun-radius-lg);
}

body.sunpics-grouped #content div.product.product-type-grouped div.summary .grouped_form tbody {
    padding: var(--sun-spacing-xl);
    margin: 0;
    background: var(--sun-bkg-primary);
    border-radius: var(--sun-radius-lg);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 0.12);
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label label a {
    background: var(--sun-background-blur);
    backdrop-filter: blur(2px);
    color: var(--sun-color-secondary);
    padding: var(--sun-spacing-sm);
    height: 50px;
    font-size: var(--sun-font-xs);
    border-radius: 0 0 var(--sun-radius-lg) var(--sun-radius-lg);
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label {
    border: 1px solid var(--sun-border-color-primary) !important;
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label:hover {
    border: 1px solid var(--sun-border-color-secondary) !important;
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label {
    position: relative;
    border-radius: var(--sun-radius-lg);
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label .sunpics-grouped-product-thumbnail {
    border-radius: var(--sun-radius-lg);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label .sunpics-grouped-product-thumbnail img {
    height: 100%;
    object-fit: cover;
    border-radius: var(--sun-radius-lg);
}

body.sunpics-grouped .grouped_form .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label label {
    color: var(--sun-color-secondary);
    border: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: fit-content;
}
/* =====================================
   grouped content
   ===================================== */



/* =====================================
   mobile
   ===================================== */
@media (max-width: 750px) {
    body.sunpics-grouped .sun-single-product-structure div.product.product-type-variable,
    body.sunpics-grouped #content div.product.sunpics-gallery {
        width: 100%;
        position: relative;
        top: unset !important;
    }

    body.sunpics-grouped #content.site-content .sun-single-product-structure {
        padding: var(--sun-spacing-md);
        flex-direction: column-reverse;
    }

    body.sunpics-grouped .sun-single-product-structure div.product:not(.sunpics-gallery) {
        width: 100%;
    }
}
/* =====================================
   mobile
   ===================================== */