/*-----*/

.woocommerce div.product div.images {
    margin-bottom: 4.4rem;
}

.theme-prisme.woocommerce #content div.product div.images,
.theme-prisme.woocommerce div.product div.images,
.theme-prisme.woocommerce-page #content div.product div.images,
.theme-prisme.woocommerce-page div.product div.images {
    float: none;
    width: 100%;
    gap: 3rem;
}

.theme-prisme .flex-viewport,
.theme-prisme .flex-control-nav {
    flex-basis: 50%;
    gap: 3rem;
}

.theme-prisme .woocommerce-product-gallery {
    display: flex;
}

.theme-prisme.woocommerce div.product div.images .flex-control-thumbs li {
    width: calc(50% - 1.5rem);
    flex-basis: calc(50% - 1.5rem);
    float: none;
    max-height: 20.5rem;
    overflow: hidden;
}

.theme-prisme.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    max-height: 44rem;
    overflow-y: scroll;
}

/* width */
.theme-prisme.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {
    width: .4rem;
}

/* Track */
.theme-prisme.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.theme-prisme.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-thumb:hover,
.theme-prisme.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #F9B402;
}


.woocommerce-product-gallery__wrapper .product_thumbnail {
    padding-bottom: 44rem;
    -webkit-background-size: cover;
    background-size: cover;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    max-height: none;
}

.theme-prisme.woocommerce .woocommerce-product-gallery__image {
    max-height: 44rem;
    overflow: hidden;
}

/*-----*/

.theme-prisme.woocommerce .vendor-logo {
    width: 9rem;
    flex: 0 0 9rem;
    height: 9rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    border: 2px rgba(151, 151, 151, 0.4) solid;
    box-sizing: border-box;
}

.theme-prisme.woocommerce .product-header {
    position: relative;
    margin-bottom: 2.6rem;
}

.theme-prisme.woocommerce .product-header-content {
    display: flex;
    position: relative;
    z-index: 2;
    gap: 2rem;
    align-items: center;
}

.theme-prisme.woocommerce .product-header:before {
    content: '';
    position: absolute;
    height: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--cs-color-product-header-ribbon);
    z-index: 1;
    width: 200vw;
    left: calc(-50vw + 50%);
}


.product-rating-average__count {
    color: #C1C1C1;
}

.product-content-columns-wrapper {
    display: flex;
    gap: 3rem;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    left: 0.5em;
    right: auto;
}

.theme-prisme.woocommerce #content div.product div.summary,
.theme-prisme.woocommerce div.product div.summary,
.theme-prisme.woocommerce-page #content div.product div.summary,
.theme-prisme.woocommerce-page div.product div.summary {
    float: none;
    width: auto;
    z-index: 500;
}

.cs-contenu-package ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style-position: inside;
}

.product-content--right-column {
    flex: 0 0 36rem;
    z-index: 20;
    position: relative;
}

.product-content--right-column .stock {
    display: none;
    text-align: center;
    font-weight: 800;
}

.product-content--right-column .stock.out-of-stock {
    display: block;
}

.product-content--right-column>.rounded-shadowed-container {
    padding: 3rem 0;
}

.product-content--left-column {
    flex: 1 1 auto;
    z-index: 15;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

/** Bloc prix + ajout au panier **/

.theme-prisme.woocommerce div.product div.summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
}

.theme-prisme.woocommerce div.product p.price,
.theme-prisme.woocommerce div.product span.price {
    font-weight: bolder;
    color: #0D1A0F;
    line-height: 1;
    font-size: 4.5rem;
    margin: 0;
}

.theme-prisme.woocommerce div.product p.price {
    text-align: center;
    padding: 0 1.9rem;
    border-bottom: 1px solid rgba(151, 151, 151, 0.25);
    padding-bottom: 1.9rem;
}

ul.pewc-product-extra-groups {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

ul.pewc-product-extra-groups li {
    padding: 0;
    margin: 0;
}

.pewc-total-field-wrapper {
    padding: 0;
    margin: 2rem 0;
}

.single-product form.cart .pewc-product-extra-groups li input[type="checkbox"] {
    margin: 0 1rem 0 0;
}

.theme-prisme.woocommerce div.product form.cart {
    padding: 0 1.9rem;
}

.wc-bookings-booking-form {
    border: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.wc-bookings-booking-form fieldset {
    padding: 0;
    margin: 0;
    border: none;
}

.wc-bookings-booking-form fieldset .picker.hasDatepicker {
    margin-bottom: 0;
}

.theme-prisme.woocommerce .summary .woocommerce-price-suffix {
    font-size: 3rem;
}

.theme-prisme.woocommerce .summary .woocommerce-price-prefix {
    font-size: 3rem;
}

.theme-prisme.woocommerce .woocommerce div.product form.cart {
    margin: 0;
}

.theme-prisme.woocommerce .woocommerce div.product form.cart .button.single_add_to_cart_button {
    float: none;
    display: block;
    width: 100%;
    border-radius: 10px;
    background-color: var(--cs-color-button2);
    color: #252A2E;
    font-family: Montserrat;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 2.2rem;
    padding: 1.6rem;
    text-transform: uppercase;
    transition: background 0.3s;
    margin-bottom: 1.6rem;
    text-align: center;
}

.theme-prisme.woocommerce .woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
    background-color: var(--cs-color-button2-hover);
}

.summary-contact-vendor-button {
    display: block;
    width: 100%;
    border-radius: 10px;
    background-color: white;
    color: #252A2E;
    font-family: Montserrat;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 2.2rem;
    padding: 1.6rem;
    text-transform: uppercase;
    transition: background 0.3s;
    text-align: center;
    border: 1px solid #C1C1C1;
}

.summary-contact-vendor-button:hover {
    background-color: #C1C1C1;
}

.summary-date-picker-button {
    text-align: center;
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.8rem;
    color: #3B3A40;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

/** END Bloc prix + ajout au panier **/


.shipping-modes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shipping-mode {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.shipping-mode>i {
    color: var(--cs-color-link);
    font-size: 3rem;
}

.shipping-mode-local-detail {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3.2rem;
}

.shipping-mode-local-detail-marker {
    background: #E4EBE5;
    height: 3rem;
    width: 3rem;
    text-align: center;
    line-height: 3rem;
    color: #F9B402;
    border-radius: 50%;
}

.shipping-modes-container {
    display: flex;
    gap: 3rem;
}

#shipping-mode-local-map {
    margin-left: auto;
    height: 17.8rem;
    width: 100%;
    max-width: 25rem;
}

/** -- */

.related {
    margin-bottom: 10rem;
}

.related .cs-shop-product-livraison {
    display: none;
}

.related h2.cs-title {
    margin-bottom: 5.6rem;
}

/* --- */


.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker-header {
    background-color: transparent;
    background-image: none;
    border: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker-month {
    text-transform: capitalize;
}

.theme-prisme.woocommerce .ui-datepicker .ui-datepicker-title,
.theme-prisme.woocommerce .ui-datepicker .ui-datepicker-prev:before,
.theme-prisme.woocommerce .ui-datepicker .ui-datepicker-next:before {
    color: black;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev,
.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker .ui-datepicker-next {
    background: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-widget-content {
    border: none;
    box-shadow: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev span,
.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker .ui-datepicker-next span {
    display: none;
}

.wc-bookings-date-picker .ui-datepicker td .ui-state-default {
    height: 46px;
    line-height: 25px;
    color: black !important;
    opacity: 1 !important;
    text-decoration: line-through;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range .ui-state-default,
.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range {
    background: #f8f8f8 !important;
    text-decoration: none;
}

.theme-prisme.woocommerce .ui-datepicker * {
    font-family: Montserrat;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range.selection-start-date {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    overflow: hidden;
    text-decoration: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range.selection-end-date {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    overflow: hidden;
    text-decoration: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.fully_booked span,
.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.fully_booked a {
    background-color: white !important;
    color: black !important;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range.selection-start-date .ui-state-default {
    background: #f0f0f0 !important;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    text-decoration: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable-range.selection-end-date .ui-state-default {
    background: #f0f0f0 !important;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    text-decoration: none;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker th {
    color: black;
    text-transform: lowercase;
    border: none !important;
    background-color: white !important;
}

.theme-prisme.woocommerce .ui-datepicker thead {
    background-color: white !important;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td {
    border: none;
    background-color: white !important;
}

.theme-prisme.woocommerce .wc-bookings-date-picker .ui-datepicker td.bookable a {
    background-color: white !important;
    color: black !important;
    border: none !important;
    text-shadow: none !important;
    text-decoration: none;
}

.theme-prisme.woocommerce .wc-bookings-booking-form .wc-bookings-booking-cost {
    background: none;
    border-top: none;
    position: relative;
    margin: 0;
    padding: 1.3rem;
    text-align: center;
    font-family: Montserrat;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 2.2rem;
}

.cs-table-price-booking {
    width: 100%;
}

.cs-table-price-booking td {
    padding: 0.5rem 1rem;
}

.cs-table-price-booking-date td {
    text-align: center;
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.8rem;
    color: #3B3A40;
}

.cs-table-price-price td {
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #3B3A40;
    line-height: 1.8rem;
    text-align: left;
}

.cs-table-price-price td.price {
    font-weight: bold;
    text-align: right;
}

/*** **/

.cs_pewc-infos {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/** Formulaire de contact vendeur et date picker **/

#modal-contact-vendor-wrapper,
#modal-date-picker-wrapper {
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 9999;
    display: none;
}

/* #modal-contact-vendor, */
#modal-date-picker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    border: 2px;
    max-width: 70rem;
    width: 100%;
    margin: 0 2rem;
}

#modal-date-picker {
    padding: 2rem;
    width: 36.2rem;
}

.form-contact-vendor-container {
    padding: 2rem;
    overflow-y: auto;
}

.form-date-picker-container {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

#modal-contact-vendor-close,
#modal-date-picker-close {
    position: absolute;
    top: 0;
    right: 0;
    top: -1.5rem;
    right: -1.5rem;
    cursor: pointer;
}

#modal-contact-vendor-close:hover:after,
#modal-date-picker-close:hover:after {
    background-color: #FFF;
    color: var(--cs-color-titre);
}

#modal-contact-vendor-close:after,
#modal-date-picker-close:after {
    content: "\f00d";
    font-family: "Font Awesome 5 Pro";
    display: block;
    background-color: var(--cs-color-titre);
    color: #FFF;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    width: 3rem;
    height: 3rem;
    text-align: center;
    line-height: 3rem;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

#modal-date-picker-button {
    margin-top: 2rem;
    text-align: center;
}

#modal-contact-vendor [data-name="product"],
#modal-contact-vendor [data-name="vendor"] {
    display: none;
}

/** FIN Formulaire de contact vendeur et date picker **/

.pewc-group-wrap .pewc-group-content-wrapper {
    display: none;
    padding: 0.8rem 1rem;
    background: var(--cs-color-product-header-ribbon);
}

.pewc-group-wrap.cs_display .pewc-group-content-wrapper {
    display: block;
}

.pewc-group-heading-wrapper {
    color: white;
    padding: 0.8rem 1rem;
    background: #1E4122;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.pewc-group-heading-wrapper:hover {
    background: #638666;
}

.pewc-group-heading-wrapper h3 {
    margin: 0;
    padding: 0;
}

.pewc-group-heading-wrapper::after {
    color: white;
    content: '\f106';
    margin-left: auto;
    color: white;
    transition: transform 0.3s;
    transform-origin: center;
    font-family: "Font Awesome 5 Pro";
    font-size: 1.5rem;
}

.pewc-group-wrap.cs_display .pewc-group-heading-wrapper::after {
    transform: rotate(180deg);
}

/* ---- */
/*.splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .splide {
    visibility: visible;
  }
  .splide__slide {
    opacity: 0.6;
  }
  
  .splide__slide.is-active {
    opacity: 1;
  }
*/
.thumbnails {
    display: flex;
    margin: 1rem auto 0;
    padding: 0;
    justify-content: center;
}

.thumbnail {
    width: 70px;
    height: 70px;
    overflow: hidden;
    list-style: none;
    margin: 0 0.2rem;
    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    height: auto;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
    height: 302px;
}