.product {
    max-width: 1000px;
    margin-inline: auto;
}

.custom-product-item .product-inner {
    display: flex;
    width: 100%;
    height: 40vh;
    background: #fff;
    border-radius: var(--pad);
    overflow: hidden;
}
.custom-product-item .product-thumbnail {
    width: 50%;
    height: 100%;
}
.custom-product-item .product-details {
    width: 50%;
    padding: 2rem;
}

.woocommerce-product-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
.woocommerce-product-hero-bg:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(var(--dark-color) / .1);
	z-index: 1;
}
.woocommerce-product-hero-text {
    position: relative;
    text-align: center;
    color: rgb(var(--light-color) / 1);
    z-index: 2;
}
.woocommerce-product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--pad) var(--pad) 0 0;
    overflow: hidden;
}
.woocommerce-product-hero-prix {
    position: absolute;
    z-index: 2;
    background: rgb(var(--light-color) / 1);
    display: grid;
    place-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    padding: 1rem;
    bottom: -5%;
    right: calc( var(--pad) / 1);
    transform: rotate(6deg);
}

.woocommerce img, .woocommerce-page img {
	height: inherit;
}

.product-description {
	text-align: left;
    background: #fff;
}

.galerie {
    gap: 0;
    border-radius: 0 0 var(--pad) var(--pad);
    overflow: hidden;
    margin-bottom: var(--pad);
}
.galerie-item {
    height: 300px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: inherit;
    font-size: inherit;
}

.aae-product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
}
.aae-product .product-illu {
    position: relative;
    display: grid;
    place-content: center;
    height: 25vh;
}
.aae-product .product-illu h2 {
    position: relative;
    z-index: 1;
    color: #fff;
}
.aae-product .product-illu img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.aae-product .product-price {
    background: rgb(var(--light-color) / 1);
    color: rgb(var(--dark-color) / 1);
    aspect-ratio: 1 / 1;
    display: inline-grid;
    place-content: center;
    border-radius: 9999px;
    padding: .5em;
    font-weight: bold;
    transform: rotate(4deg) translateY(35%) translateX(-5%);
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: 0;
}
.aae-product .product-text {
    padding: 2rem;
}

@media (min-width: 980px) {
    .aae-product {
        flex-direction: row;
        align-items: center;
        min-height: 50vh;
    }
    .aae-product .product-illu {
        width: 50%;
        height: 100%;
    }
    .aae-product .product-text {
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .aae-product .product-price {
        transform: rotate(4deg) translateY(-1rem) translateX(-1rem);
    }
}


.archive .product .wc-img-wrapper {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
.archive .product .wc-img-wrapper:before {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(var(--dark-color) / .2);
	z-index: 1;
}
.archive .product .woocommerce-loop-product__title {
    position: relative;
    color: rgb(var(--light-color) / 1);
    z-index: 2;
}
.archive .product .price-aae {
    position: absolute;
    bottom: 5%;
    right: 5%;
    background: rgb(var(--light-color) / 1);
    color: rgb(var(--dark-color) / 1);
    aspect-ratio: 1 / 1;
    display: grid;
    place-content: center;
    border-radius: 9999px;
    padding: .5em;
    font-weight: bold;
    transform: rotate(4deg);
    z-index: 2;
}

.woocommerce-loop-product__title {
    margin-top: 1rem;
    margin-bottom: 1rem;
}



.entry-summary .quantity {
    display: none;
}

.related .product img {
    width: 100%;
}
.related .add_to_cart_button {
    display: block;
}

.wc-tabs {
    display: none;
}

.woocommerce-notices-wrapper {
    text-align: center;
    font-weight: bold;
}
.woocommerce-message {
    background: linear-gradient(to right, rgb(var(--dark-color) / .6), rgb(var(--dark-color) / .4));
    color: rgb(var(--light-color) / 1);
    padding: 1rem var(--pad);
    border-radius: 9999px;
    line-height: 1.25;
}
.woocommerce-message a {
    text-decoration: underline;
}
/*** PAGE DE CONFIRMATION COMMANDE PASSEE */
.woocommerce-thankyou-order-received {
    text-align: center;
    font-weight: bold;
}
ul.woocommerce-thankyou-order-details {
    background: #fff;
    padding: 2rem;
    border-radius: 2rem;
    list-style-type: none;
}
.woocommerce-order-details {
    background: #fff;
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}
.woocommerce-order-details .woocommerce-table--order-details {
    text-align: left;
}
.woocommerce-customer-details {
    background: #fff;
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

/*** Options des vols */
h3.wapo-addon-title  {
    margin-inline: auto;
    margin-bottom: 2rem;
}
.yith-wapo-block {
    max-width: 500px;
    text-align: center;
    border-radius: 1rem;
    overflow: hidden;
    margin-inline: auto;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}
.yith-wapo-addon {
    width: 100%;
    text-align: center;
    padding: 2rem;
    margin-top: 0!important
}
.yith-wapo-addon:nth-of-type(2) {
    padding-top: 0;
}
.yith-wapo-addon-label {
    font-weight: bold;
}
.yith-wapo-option p.description {
    text-align: left;
}
#wapo-total-price-table {
    background: transparent!important;
    color: rgb(var(--dark-color) / 1)!important;
}
#wapo-total-price-table table {
    margin-inline: auto;
    font-size: inherit;
    line-height: 1;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option .description {
    font-size: inherit;
}