/**
 * Theme Name:     Chouchou Marseille
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   chouchou-marseille
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */


.fpf-fields{
	display: flex;
    align-items: center;
}

.elementor-add-to-cart .cart{
	flex-direction: column;
}
.elementor-add-to-cart .cart .before-add-to-cart{
	gap: 20px;
	display: flex;
	flex-direction: column;
	max-height: 367px;
    overflow: auto;
	-ms-overflow-style: none;
	  padding-right: 10px; /* espace entre contenu et scrollbar */
  box-sizing: content-box; /* pour que le padding n’écrase pas le contenu */
}

.elementor-add-to-cart .cart .before-add-to-cart::-webkit-scrollbar {
  width: 2px;
  height: 8px;
}

.elementor-add-to-cart .cart .before-add-to-cart::-webkit-scrollbar-track {
  background: transparent;
}

.elementor-add-to-cart .cart .before-add-to-cart::-webkit-scrollbar-thumb {
  background: #8b3a3a9e;
  border-radius: 4px;
}

.elementor-add-to-cart .cart .before-add-to-cart::-webkit-scrollbar-button {
  display: none;
}

.elementor-add-to-cart .woocommerce-input-wrapper{
	min-width: 167px;
}

.fpf-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #8B3A3A;
  padding: 10px 0;
	width: 100%;
	gap: 20px;
}
.fpf-row .woocommerce-input-wrapper{
	margin: unset;
    place-self: end;
}
.fpf-row .fpf-field {
  flex: 1;
}
.fpf-row .fpf-field:first-child {
  flex: 0 0 40px;
}

.fpf-number label{
	display: none !important;
}
.fpf-totals{
	display: none !important;
}
.fpf-image{
	min-width: 39px;
}
.fpf-image > div{
	height: 39px;
}
.fpf-paragraph, .fpf-number{
	width: 100%;
}
.fpf-paragraph p{
	font-weight: 600;
	color: #8B3A3A;
	margin: unset;
}
.fpf-number p.form-row{
	margin: unset;
	padding: unset;
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="number"] {
	-moz-appearance: textfield;
}

.woocommerce-input-wrapper {
	display: flex;
	gap: 20px;
	padding: 10px 36px;
	align-items: center;
  	justify-content: center;
  	border: 2px solid #a52a2a; /* Reddish-brown border */
  	border-radius: 9999px; /* Pill shape */
  	width: fit-content;
  	margin: 0 auto; /* Center if needed */
}
.woocommerce-input-wrapper input[type="number"]{
	padding: unset !important;
    border: unset !important;
	color: #8B3A3A !important;
    font-weight: 600 !important;
    user-select: none !important;
}
.woocommerce-input-wrapper input[type="number"]:focus {
  outline: none !important;
  box-shadow: none !important;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  	-moz-appearance: textfield;
	width: fit-content;
	user-select: none;
}

.woocommerce-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #a52a2a;
  border-radius: 9999px;
  width: fit-content;
  margin: 0 auto;
}

.fpf-input-field {
  background: transparent;
  border: none;
  text-align: center;
  width: 2rem;
  color: #a52a2a;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0.5rem 0;
}

.fpf-input-field:focus {
  outline: none;
  box-shadow: none;
}

.custom-minus,
.custom-plus {
  position: relative;
  background: unset !important;
  border: none !important;
  color: transparent;
  font-size: 0;
  padding: 0 !important;
  cursor: pointer;
  outline: none;
  width: 10px;
  height: 10px;
}

.custom-minus::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background-color: #a52a2a;
}

.custom-plus::before,
.custom-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #a52a2a;
}

.custom-plus::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.custom-plus::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.custom-minus:hover,
.custom-plus:hover {
  opacity: 0.8;
}
/*
.woocommerce form .form-row{
	padding: 0rem !important;
    border-radius: 7px;
    border: 2px solid #8B3A3A;
    background: #b36565;
    color: white;
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
	max-height: 300px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	scrollbar-width: thin;
  	scrollbar-color: #f1dada #914e4e; 
}
.woocommerce form .form-row legend{
	font-weight: 600 !important;
	padding: 27px 1rem 0;
	display: none !important;
}

.form-row label{
	padding: 0 1rem;
	user-select: none;
	display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}
.form-row label:first-child{
	border-top: 1px solid #ffffff1c;
}

.form-row label:hover{
	background: #a34545;
}

.form-row legend span{
	display: none !important;
}

div.fpf-fields.before-add-to-cart{
	margin-top: unset !important;
}

.elementor-add-to-cart .cart{
	flex-direction: column;
}







fieldset::-webkit-scrollbar {
  width: 10px;
}

fieldset::-webkit-scrollbar-track {
  background: #914e4e; /* plus sombre que #b36565 */
  border-radius: 10px;
}

fieldset::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #eaa9a9, #b36565); /* dégradé doux */
  border-radius: 10px;
  border: 2px solid #914e4e; /* contour qui s’intègre avec le fond */
  transition: all 0.3s ease;
}

fieldset::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffffff, #d98c8c); /* effet highlight */
}



input[type="checkbox"].fpf-input-field {
  appearance: none; /* enlève le style natif */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #914e4e; /* contour assorti au track du scrollbar */
  border-radius: 4px; /* carré avec arrondi léger */
  background: #f1dada; /* fond clair */
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* au hover */
input[type="checkbox"].fpf-input-field:hover {
  background: #eaa9a9;
}

/* la petite coche */
input[type="checkbox"].fpf-input-field:checked::after {
  content: "✔";
  color: #ffffff; /* blanc par défaut */
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-weight: bold;
  transition: color 0.3s ease; /* animation smooth */
}

/* coche quand hover */
input[type="checkbox"].fpf-input-field:checked:hover::after {
color: #ffeb3b !important;
}

/* coche quand disabled */
input[type="checkbox"].fpf-input-field:disabled:checked::after {
  color: #aaaaaa; /* gris si désactivé */
}

.product-right-container{
	min-width: 470px;
}



