.form-toy {
	width: 700px;
}

.form-toy-inside {
	background-color: white;
	font-family: "Lexend", sans-serif !important;
	padding: 25px;
	color: black;
	border-radius: 20px;
	border: 1px solid hsla(0, 0%, 0%, 0.10);
	box-shadow: 4px 12px 12px 0px hsla(0, 0%, 0%, 0.25);
}

.form-toy-inside img {
	border-radius: 7px !important;
}

.part-price {
	display: flex;
	font-size: 32px;
	font-weight: bold;
    align-items: center;
	justify-content: space-between;
}

.footer-price {
	margin-top: 40px;
}

.base-price {
    display: inline-block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 0 10px;
    color: white !important;
    background-color: #72DDF7;
    border: 2px solid hsla(0, 0%, 0%, 0.15);
    border-radius: 10px;
    font-family: "Lexend", sans-serif !important;
    font-weight: 600 !important;
}

.title-price {
	margin-bottom: 20px;
	margin-left: 20px;
}

.title-price .custom-price {
    margin-left: auto;
}

.title-price .title {
	color: #EE2E6C;
	font-family: "Lexend Black";
}

.custom-header-inside {
	font-family: "Montserrat Alternates Bold";
	font-weight: 700;
	font-size: 32px;
	color: black;
	text-align: center;
}

/* footer */
.footer-price .custom-price {
    margin-left: 5px;
    margin-right: auto;
    transition: opacity 0.3s;
}

.footer-price {
	background-color: hsla(341, 85%, 56%, 1);
	padding: 20px 35px 20px 35px;
	border-radius: 20px;
	color: white;
	font-family: "Montserrat Alternates Bold";
	font-weight: 700;
	font-size: 32px;
}

.add-to-cart button {
	background-color: hsla(341, 85%, 56%, 1);
	color: white;
	font-family: "Montserrat Alternates Bold" !important;
	font-size: 24px !important;
	font-weight: 600;
	border: none;
	padding: 15px 20px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 30px;
	transition: background-color 0.3s ease;
}

.add-to-cart button:hover {
  background-color: hsl(341deg 57.29% 48.65%) !important;
  border: none !important;
}

.add-to-cart button span {
	height: 40px;
}

.custom-price::after, .base-price::after {
    content: "\00A0€";
}

.flip-fade {
	//transform: translateY(-10px);
    opacity: 0;
}

form > div {
	font-weight: bold;
}

.question-mark {
	max-width: 15px;
	max-height: 15px;
	padding-left: 6px;
}

.custom-site-title {
	font-size: 24px;
	color: hsla(341, 85%, 56%, 1);
	font-weight: 800;
	font-family: "Lexend Extra Bold";
	width: 100%;
    position: relative;
    margin-bottom: 5px;
}

.custom-site-title > a {
	vertical-align: super;
}

.custom-site-title::before {
	content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    height: 1px;
    background-color: hsla(0, 0%, 12%, 0.15);
    width: 100%;
}

.select-box {
	font-family: 'Open Sans', 'Helvetica Neue', 'Segoe UI', 'Calibri', 'Arial', sans-serif;
	font-size: 18px;
	width: 150px;
	padding: 5px;
	background-color: #b5eeff;
}

.container-size, .container-firmness, .container-design, .container-pattern.show, .container-color1.show, .container-color2.show, .container-options {
	display: flex;
    flex-direction: column;
	padding-bottom: 0px;
	padding-top: 25px;
}

.toy-options {
    //display: grid;
    //grid-template-columns: 120px 230px auto;
}


.container-pattern.show, .container-color1.show, .container-color2.show {
	align-items: flex-start;
}

.container-color1.show .custom-site-title, .container-color2.show .custom-site-title {
	padding-top: 12px;
}

.container-pattern, .container-color1, .container-color2 {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    padding-bottom: 3px;
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease-out;
}

.container-pattern.show, .container-color1.show, .container-color2.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.container-pattern .custom-site-title::before, .container-color1 .custom-site-title::before, .container-color2 .custom-site-title::before {
	margin-left: 0;
}

.container-color1 .color-box, .container-color2 .color-box {
    width: 50px;
    height: 50px;
}

.option-image {
	width: 200px;
	border: 1px solid black;
	border-radius: 10px;
}

.square-blue {
  background: #73ddf7;
}

.square-pink {
  background: #ed2f6c
}

.square-blue, .square-pink {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  margin-left: 5px;
  border: 1px solid #5b5b5b;
}


/* TOOLTIP */
.custom-tooltip {
  position: relative;
  display: inline-block;
}

.custom-tooltip .custom-tooltiptext {
  visibility: hidden;
  opacity: 0;
  background-color: rgb(25,25,25,1);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  font-weight: normal;
  font-size: 14px;
  z-index: 10;
  line-height: normal;
}

.custom-tooltip-info .custom-tooltiptext-info {
	width: 250px;
	display: block;
	position: absolute;
	left: 32px;
	top: -10px;
	transition: opacity 0.5s linear, visibility 0.1s linear;
	padding: 5px;
	line-height: normal;
}

.custom-tooltip-color .custom-tooltiptext-color {
	width: max-content;
	white-space: normal;
	padding: 10px;
	display: block;
	position: absolute;
	bottom: 120%;
	transition: opacity 0.3s linear, visibility 0.1s linear;
	left: 50%;
	transform: translateX(-50%);
}

.custom-tooltiptext {
    pointer-events: none;
}

.custom-tooltiptext-color::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgb(25,25,25,1) transparent transparent transparent;
    transform: translateX(-50%);
}

.custom-tooltip:hover .custom-tooltiptext {
  visibility: visible;
  opacity: 1;
}

.pattern-image .custom-tooltiptext {
	bottom: 107%;
}
/* END TOOLTIP */

.color-box {
}

.custom-selectable {
	cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border: 2px solid black;
    border-radius: 11px;
}

.custom-selectable:hover {
	border: 2px solid #EE2E6C;
}

.custom-selectable.selected {
	border: 4px solid hsla(341, 85%, 56%, 1);
}

.color-box img {
    width: 100%;
    height: 100%;
}

.color-box img, .pattern-image img {
	object-fit: cover;
    display: block;
    pointer-events: none;
}

input[type="radio"]:checked + .color-box {
    box-shadow: 0 0 0 2px white;
    transition: box-shadow 0.3s ease;
}

input[type="radio"] {
    display: none;
}

/* Color list */
.color-box[data-color="white"] { background-color: #FFFFFF; }
.color-box[data-color="black"] { background-color: #000000; }
.color-box[data-color="light-grey"] { background-color: #d2d2d2; }
.color-box[data-color="grey"] { background-color: #9b9b9b; }
.color-box[data-color="dark-grey"] { background-color: #595959; }
.color-box[data-color="red"] { background-color: #ff0000; }
.color-box[data-color="dark-red"] { background-color: #c20000; }
.color-box[data-color="orange"] { background-color: #ff5800; }
.color-box[data-color="green"] { background-color: #008000; }
.color-box[data-color="light-green"] { background-color: #baffa8; }
.color-box[data-color="turquoise"] { background-color: #00FFFF; }
.color-box[data-color="light-blue"] { background-color: #87d1ff; }
.color-box[data-color="blue"] { background-color: #0000FF; }
.color-box[data-color="flesh"] { background-color: #ffe9d1; }
.color-box[data-color="pink"] { background-color: #E30B5C; }
.color-box[data-color="light-pink"] { background-color: #ffc2e2; }
.color-box[data-color="purple"] { background-color: #800080; }
.color-box[data-color="yellow"] { background-color: #fcff1f; }
.color-box[data-color="gold"] { background-color: #fcba03; }
.color-box[data-color="light-brown"] { background-color: #f1a056; }
.color-box[data-color="brown"] { background-color: #895129; }
/* END TOY COLORS */

/* OPTIONS */
.option-line {
    display: flex;
    justify-content: flex-start;
    gap: 5%;
}

.option-image img {
	max-width: 120px;
}

.option-description {

}

.option-title {

}

.option-content {
	font-weight: normal;
	color: #6d6d6d;
}

.option-button button, .option-button input {
	font-size: 16px;
	padding: 6px 15px;
	border-radius: 6px;
	cursor: pointer;
}

.option-button .option_add {
	border: 2px solid hsla(341, 85%, 56%, 1);
	color: hsla(341, 85%, 56%, 1);
	background-color: white;
    padding-left: 18px;
    padding-right: 18px;
}

.option-button button:hover, .option-button input:not(:disabled):hover {
	border: 2px solid hsla(341, 85%, 56%, 1);
	background-color: hsla(341, 85%, 56%, 1);
	color: white;
}

.option-button .option_added {
	border: 2px solid black;
	background-color: hsla(341, 85%, 56%, 1);
	color: white;
 }


.option-button input:(:disabled):hover {
	cursor: auto;
}

.option-button {
	text-align: center;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.invisible-selector {
	display: none;
}

form.cart {
	display: none !important;
}

.radio-text {
	border: 2px solid black;
	padding: 3px 15px 3px 15px;
	margin-right: 10px;
	border-radius: 10px;
	font-family: "Lexend";
	font-weight: 400;
    line-height: 15px;
    text-align: center;
}

input[type="radio"]:checked + .radio-text {
	color: #EE2E6C;
	border: 2px solid #EE2E6C;
	font-family: "Lexend Black";
	font-weight: 900;
	font-size: 16px;
}

/* color1 */
.container-color1 input[type="radio"]:checked + .color-box {
  border: 4px solid #73ddf7;
}

input[type="radio"]:checked + .color-box,
input[type="radio"]:checked + .pattern-image {
  border: 4px solid hsla(341, 85%, 56%, 1);
}

.radio-text p {
	margin: 6px -4px;
  	font-size: 19px;;
}

.radio-text p:nth-of-type(2) {
    font-size: 14px;
}

.radio-text-disabled {
    color: hsla(0, 0%, 0%, 0.15);
    cursor: default;
    border: 2px solid hsla(0, 0%, 0%, 0.15);
    padding: 0 15px 0 15px;
    margin-right: 10px;
    border-radius: 10px;
    font-family: "Lexend";
    font-weight: 400;
    font-size: 16px;
}


input[type="radio"]:checked + .radio-text-disabled {
    color: #EE2E6C;
    border: 2px solid #EE2E6C;
    font-family: "Lexend Black";
    font-weight: 900;
    font-size: 16px;
}


.radio-text-disabled p {
    margin: 6px -4px;
    font-size: 19px;;
}

.radio-container {
	display: flex;
	justify-content: flex-start;
}

.color-container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 7px;
    column-gap: 2%;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    line-height: 14px;
    font-size: 14px;
    width: 100%;
}

.elementor-section:first-child {
	max-width: 100% !important;
	background-color: #FCFAFA !important;
	padding-top: 30px !important;
}

.elementor-section > .elementor-container {
	max-width: 1900px !important;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	border-radius: 20px;
	border: 1px solid hsla(0, 0%, 0%, 0.10);
}

.color-box-RO {
	display: inline-block;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border: 2px solid black;
    border-radius: 10px;
    width: 50px;
    height: 50px;
}


/* ================================
   RESPONSIVE MOBILE (< 768px)
   ================================ */
@media (max-width: 768px) {

    /* Largeur du bloc principal */
    .form-toy {
        width: 100% !important;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .form-toy-inside {
        padding: 15px !important;
    }

    /* Titres */
    .custom-site-title {
        font-size: 20px !important;
    }

    /* En-tête */
    .custom-header-inside {
        font-size: 24px !important;
    }

    /* Prix */
    .part-price {
        font-size: 32px !important;
        justify-content: flex-start;
    }

    .part-price .title-price {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

    .base-price {
        margin-left: 15px;
    }

    .footer-price {
        font-size: 32px !important;
        padding: 15px !important;
    }

    /* Bouton Add to cart */
    .add-to-cart button {
        width: 100%;
        justify-content: center;
        font-size: 20px !important;
        gap: 15px !important;
        padding: 12px !important;
    }

    body:not(:has(.col-full)) .add-to-cart button {
        gap: 5px !important;
    }

    .add-to-cart button span {
        height: 30px !important;
    }

    /* Options (size, firmness, design) */
    .container-size,
    .container-firmness,
    .container-design,
    .container-options,
    .container-pattern.show,
    .container-color1.show,
    .container-color2.show {
        flex-direction: column;
        align-items: flex-start !important;
        padding-top: 20px !important;
        gap: 15px;
    }

    /* Radio containers */
    .radio-container {
        width: 100% !important;
        flex-wrap: wrap;
        gap: 10px;
    }

    .radio-text,
    .radio-text-disabled {
        font-size: 14px !important;
        padding: 6px 10px !important;
        line-height: 15px;
    }

    /* Option layout */
    .option-line {
        width: 100% !important;
        flex-direction: row;
        gap: 10px !important;
        margin-left: 0 !important;
    }

    .option-image {
        width: auto;
    }

    .option-image img {
        max-width: 100px !important;
    }

    .option-button {
        justify-content: flex-start;
        gap: 15px;
    }

    /* Tooltips */
    .custom-tooltip-info .custom-tooltiptext-info {
        left: 0 !important;
        top: 20px !important;
        width: 200px !important;
        transform: none !important;
    }

    .custom-tooltip-color .custom-tooltiptext-color {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 200px !important;
    }

    /* Images du slider WooCommerce */
    .single-product div.product .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        max-height: 400px !important;
    }
}
