/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.theme > img{
  border-top: 2px solid transparent;
  transition: all ease .3s;
}

.theme.selected > img{
  border-color: #f1906b;
}

.theme:hover{
  cursor: pointer;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}
  
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tooltips {
  position: relative;
  display: inline-block;
}

.tooltips .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -50px;
}

.tooltips:hover .tooltiptext {
  visibility: visible;
}

.cover-preview{
  text-align: center;
  margin-top: 2rem;
}

.cover-preview canvas{
  border: none;
  width: 50%;
  margin: 0 auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

 .cover-preview img{
  display: none;
} 

.cover-preview .showImage img{ display: block; }

/* Hide the default radio input */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none; /* For older versions of Safari */
    -moz-appearance: none; /* For Firefox */
    background-color: transparent;
    border: 1px solid black;
/*    border-radius: 50%;*/
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
}

/* Style the radio input when checked */
input[type="radio"]:checked {
    background-color: transparent;
    border: 1px solid black;
}

/* Optional: Add a small dot inside the radio button to indicate it's checked */
input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: black;
/*    border-radius: 50%;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#module-divioseo_book_recipes-generator header{
	position: sticky;
    top: 0;
    z-index: 100;
}

#module-divioseo_book_recipes-generator main{
	background-color: #f6f4ee; 
}

.header_step{
	/*position: sticky;*/
    top: 88px;
    z-index: 100;
}

.step_filter{
	position: sticky;
    top: 141px;
    z-index: 99;
}

#modal_list_book{
	max-height: 640px;
	overflow: auto;
}

.btn-nav {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 20px;
}

.btn-nav:hover {
  background-color: #e2e6ea;
}

.container-btn-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#step-1 .conteneur_boutton_fixed{
	text-align: left;
}

.type-h4{
	font-size: 1.6rem;
}

@media (max-width: 579px){

body {
    font-size: calc(10px + 0.390625vw)!important;
}

.text-base {
    font-size: 0.85rem!important;
}

.text-l {
    font-size: 1rem!important;
}

.grid-progress{
	width: 100%;
}

.step_filter{
	position: sticky;
    top: 0;
    z-index: 100;
}

#togglFilterMobile{
	display: none;
}

#filtres{ overflow-y: hidden; }

#filtres .btn.dropdown-toggle{ padding: .625rem .675rem; font-size: 1.1rem!important; width: 100%; }
.step_filter .btn--small{ padding: .5rem .5rem; }
.step_filter .btn--small .mr-\[6px\]{ margin-right: -5px!important; }
.dropdown.dropdown-mobile{position: unset; }

.v-popper--theme-tooltip .px-8{
	padding: 0 1rem;
}

#headlessui-dialog-panel-35 .text-center{ align-items: center; }

.cover-preview{
  text-align: center;
  margin-top: 1rem;
}


.btn--large{ font-size: 0.8rem!important; }
}

.book_counter{ position: relative; }
.book_counter div{ top: 0px !important; right: -8px !important;}
.book_container{ padding: 10px 0; }

#searchForm,
#searchFormMobile{
  position: relative;
}

#searchForm #resetSearch,
#searchFormMobile #resetSearchMobile{
  position: absolute;
  right: 85px;
  top: 50%;
  transform: translateY(-50%);
}

#searchForm #resetSearch:hover,
#searchFormMobile #resetSearchMobile:hover{
  cursor: pointer;
}

#searchFormMobile{
	position: absolute;
    z-index: 999;
    width: 100%;
    top: 35px;
}

#searchFormMobile #resetSearchMobile{
	right: 92%;
}

@media (max-height: 880px) {
    #module-divioseo_book_recipes-generator .page-content .modal-quick-view .modal-dialog {
        max-width: 1000px!important;
    }
}

.card-recipe{
	max-height: 330px;
}

.grid-progress-container .btn.save-draft{
  border: 1px solid #f1906b;
  background-color: #f1906b;
}

.card-recipe .btn.selected, .grid-progress-container .btn.save-draft{
  border: 1px solid #ece8df;
  background-color: #ece8df;
}

.card-recipe .btn.not-selected{
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
}

.card-recipe .btn:hover, .grid-progress-container .btn:hover{
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-recipe .btn.not-selected .ripple {
  width: 130px;
  height: 40px;
  position: absolute;
  background-color: rgb(241, 144, 107, 1);
  border-radius: 9999px;
  pointer-events: none;
  transform: scale(0);
  animation: ripple-animation 0.4s ease-out;
}

@keyframes ripple-animation {
  to {
      transform: scale(1.7);
      opacity: 0;
  }
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid rgb(181, 190, 161);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

.main-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.grid-progress-container .grid.list-recipe {    
  max-height: 450px;
  overflow-y: scroll;
}
.grid-progress-container .grid.list-recipe .card-recipe {    
  flex-direction: column;
}
.grid-progress-container .grid.list-recipe .card-recipe .remove-recipe{    
  /*display: flex;
  justify-content: center;*/
  width: 26px;
    height: 26px;
/*     background-color: rgb(241, 144, 107, 1); */
    align-items: center;
    border-radius: 999px;
    right: 2%;
    position: absolute;
    top: 9%;
}

.bg-antiquewhite{ background-color: antiquewhite; position: absolute; }

.grid-progress-container .grid.list-recipe.summary-list-recipes .card-recipe .remove-recipe {
    width: 26px;
    height: 26px;
    background-color: rgb(241, 144, 107, 1);
    align-items: center;
    border-radius: 999px;
    padding: 0 0 0 5px;
        bottom: 5%;
    top: inherit;
    /*left: 8px;
    position: relative;
    top: -55px;*/
}

@media (min-width: 1024px) {	
  #js-product-list .grid {    
    margin-right: 1.5rem;
    padding-top: 1rem;
  }
  .summary-list-recipes {
    margin-top: 1rem;
    padding-top: 0!important;
  }
  .steps-container .filters{
    position: sticky;
  top: 80px;
  z-index: 99;
  }
  #js-product-list {
    display: flex;
  flex-direction: row;
  }
  .grid-rprogress-container-main {
    width: 35%;
    /*margin-top: 1rem;*/
  }
  .grid-progress-container {
    /*background-color: rgb(236, 232, 223)!important;*/
    top: 155px !important;
    width: 100% !important;
    height: min-content !important;
    right: 0;
    left: auto !important;
    background: #ece8df !important;
    border-radius: 5px;
    position: sticky !important;
    padding: 0 15px 10px 15px;
    min-width: 260px!important;
  }
  .perfect-round {
    padding: .625rem 1.1rem!important; 
  }
  .d\:hidden {
    display: none;
  }
  .modal-quick-view .modal-dialog {
    max-width: 98% !important;
  }
  .modal-quick-view .modal-dialog {
    max-width: 98% !important;
  }
  .d\:hidden {
    display: none;
  } 
  #canvasPreviewRecipeModal {
    height: 100%;
    max-height: 85vh;
    width: auto!important;    
    max-width: 90vw;
  }
}
@media (min-width: 1280px) {
  .grid-rprogress-container-main {
    width: 35%;
  }
}

@media (max-width: 1023px) {

  .cover-preview canvas {
    width: 70%;
  }
	
#add_mobile{ width: 1.2rem!important; height: 1.2rem!important; }

#delete_mobile{ width: 1.2rem!important; height: 1.2rem!important;  }
	
	.step_mobile{
		position: absolute;
	    z-index: 999;
	    top: 0;
	    left: 0;
	    width: 100%;
	}
	
	.step_mobile img{
		width: 100%;
		}
		
	.dropdown-menu.show{
		left: 25%!important;
	}
	
	#filtres{
		text-align: center; 		
	}
	
	.button_filter{
		margin-top: 20px; 
	}
	
	.edit-button{
		min-height: 42px!important;
		border: 1px solid #ece8df!important;
		background-color: #ece8df!important;
	}
	
	
	#attention{
		margin-top: 40px;
	}
	
	#js-product-list{
	padding-top: 30px!important;
	}
	
	#js-product-list.pt-0{
		padding-top: 0!important; 
	}
	
	#js-product-list.pt-0 .recipes-grid{
		margin-top: 0!important;
	}
  .steps-container .filters {
    width: 100vw;
    margin-left: -8px;
    position: sticky;
    top: 98px;
    z-index: 299;
    display: flex;
    width: 100vw;
    justify-content: center;
    background-color: rgb(236,232,223,var(--tw-bg-opacity));
  }
  .steps-container .filters .step_filter{
    height: auto;
    padding-left: 5px;
    }

  .header_step .step_infos {
    background-color: rgb(236,232,223,var(--tw-bg-opacity));  
    width: 100vw;
    margin-left: -8px;
    padding: 35px 10px 10px;    
    text-align: center;
  }

  .header_step .step_infos .step-title{
    font-size: 20px;
    text-decoration: underline;
  text-underline-offset: 8px;
  }
  .header_step .step_infos button{  
    position: absolute;
    left: 30px;
    top: 0px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="34" height="17" viewBox="0 0 3584 1792" xmlns="http://www.w3.org/2000/svg"><g transform="scale(2, 1)"><path d="M1792 800v192q0 14-9 23t-23 9h-1248v224q0 21-19 29t-35-5l-384-350q-10-10-10-23 0-14 10-24l384-354q16-14 35-6 19 9 19 29v224h1248q14 0 23 9t9 23z"/></g></svg>');
  background-repeat: no-repeat;    
  content: "";
  width: 34px;
  height: 17px;
  }

  .header_step {
    padding: 0!important;
  }

  #togglFilterMobile {
    display: inherit!important;
  }

.grid-progress-container {
  display: block !important;
  width: 70% !important;
  left: 29% !important;
  top: 55px;
  height: calc(100% - 185px);
  position: fixed;
  z-index: 9999;
  background: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  padding: 0 10px 10px 10px;
  min-width: 260px!important;
}

  .grid-progress-container-mobile {
    bottom: 0!important;
    height: 55px;
    padding: 0.5rem 1rem;
  }

  #filtres {
    display: none;
    background-color: rgb(236,232,223,var(--tw-bg-opacity));
    overflow-x: auto;
    width: auto;
    height: 0px;
    flex-direction: column;
    padding: 1rem; 
     margin-top: 2rem;
  }

  #filtres .mobile-filters-headers {
  }

  #filtres.opened {    
    position: fixed !important;
    display: block;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    padding: 2rem;
  }

  #scrollToTopBtn {
   bottom: 140px!important;
  }

  .step-validate-button {
    position: fixed;
    bottom: 55px;
    width: 100%;
    z-index: 998;
    left: 0;
    border-radius: 0 !important;
    opacity: 1.65!important;
  }
  
  #step-3 .step-validate-button, #step-1 .step-validate-button{
	  bottom: 0;
  }
  
  .swiper-theme-wrapper {  
    display: flex!important ;
    margin: 20px auto;
    width: 70%;
    display: flex;
  }

  .step-errors {
    position: fixed;
    bottom: 20px;
    left: 0;
    z-index: 999;
    width: 100%;
  }
  
  .card-recipe .remove-recipe {  
    left: 10px;
    position: absolute;
    top: 10px;
    display: flex;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: rgb(241, 144, 107, 1);
    align-items: center;
    border-radius: 999px;
  }
  .resume-recipe-book {
    display: flex;
    flex-direction: column;    
    margin-left: -10px;
  }
  .resume-recipe-book .resume-recipe-book-head {
    width: calc(100% - 150px);
  }
  .resume-recipe-book h4 {
    line-height: 1rem!important;  
    padding-top: 0.6rem;
    overflow: hidden;    
    margin-bottom: 0.3rem; 
    max-height: 1.5rem;
  }
  .resume-recipe-book .grid-progress {
    padding: 0!important;
  }
  .resume-recipe-book .book-draft-save {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
  }
  .resume-recipe-book .book-draft-open-details {
    position: absolute;
    top: 0.8rem;
    right: 4.8rem;
  }
  #js-product-list .recipes-grid{
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  #js-product-list .recipes-grid article{
    border-radius: 0;
    padding: 1rem; 
  }
  
  #js-product-list .recipes-grid .card-recipe__image{
    width: 100%;
    aspect-ratio: 1/1;
  }

  #js-product-list .recipes-grid .miniature-body{
    padding: 0.5rem 0 0 0.5rem;
  }

  #js-product-list .recipes-grid .miniature-body .mt-5.w-full{
    margin-top: 0;
  }

  #js-product-list .recipes-grid .miniature-body button{
    padding: 2px 15px;
  font-size: x-small !important;
  }
  
  .list-recipe .book_container button.book_counter{  
    padding: 0 10px;
    margin-top: 14px;
  }

  .book_container {
    padding: 5px 0;
  }

  .book_container_1 {
    width: 60%;
  }

  .book_container_1 h4{
    font-size: 18px;
    text-transform: uppercase;
    max-height: 22px;
    overflow-y: hidden;
  }

  .book_container_1 h4{
    font-size: 15px;
    text-transform: uppercase;
    max-height: 18px;
    overflow-y: hidden;
  }

  .book_container_2 {
    width: 40%;
    padding: 0;
  margin-top: -9px;
  }

  .book_container_2 button{
    font-size: 0.8rem !important;
  }


.m-book-create-popin {  
  height: 200px;
  bottom: 0;
  position: absolute;
}

.m-book-create-popin header p {  
text-decoration: underline;
text-underline-offset: 8px;
}

.m-book-create-popin-body {  
  padding: 0.8rem;
}

.m-book-create-popin-body button{  
  padding: 0.8rem;
}

.book-steps {
  display: flex;
  flex-direction: row;
  position: fixed;
  top: 58px;
  width: 100%;
  background: white;
  margin-left: -16px;
  padding: 10px !important;
  font-size: 1rem;  
  justify-content: center;
}

.book-steps div, .book-steps .text-step-label {
  font-size: 0.5rem;
}

.book-steps .text-step-label.active, .book-steps .numero.active{
  font-size: 0.8rem;
}

  .btn, .btn--small {
    font-size: 0.8rem!important;
  }
  .m-hidden {
    display: none!important;
  }
}

@media (max-width: 320px) {
  #js-product-list .recipes-grid{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.text-peach{
	color: #f1906b; 
}

.img_step_1{
	background-position: center;
    background-size: cover; 
	background-image: url('../img/step_1.png');
	min-height: 300px;
}

.img_step_2{
	background-position: center;
    background-size: cover; 
	background-image: url('../img/step_2.png');
	min-height: 300px;
}

.edit-button{
	min-height: 42px!important;
}

.rappel{
	list-style: disc;
    padding: 30px 15px 0 45px;
}

.recipe_content{
	min-height: 130px!important;
}

#summary_recipe{
	overflow: hidden;
}

#book_title{
	display: flex;
    /*justify-content: center;*/
    width: 170px;
    height: 4rem;
    left: 5px;
    position: relative;
    top: 20%;
    line-height: 1.2rem;
}

.validate_button{
	opacity: 1.65!important;
}

.sauvegarde{
	position: relative;
    top: 15px;
    left: 10px;
}

@media (min-width:579px) and (max-width:1023px) {
	.book-steps{
		top: 88px!important;
	}
	
	#step-1{
		height: 900px;
		padding-top: 35px;
	}
	
	#scrollToTopBtn{
		z-index: 1002;
	}
	
	.steps-container .filters{
		top: 128px; 
		margin-left: -18px;
	}
	
	.step-validate-button{
		bottom: 74px;
	}
	
	.dropdown-menu.show{
		left: 0%!important!
	}
	
	.validate_button {
    opacity: 1.65 !important;
    font-size: 1.2rem !important;
	}
	
    .book_container_2 button {
            font-size: 1.2rem !important;
    }
    
    .m-book-create-popin{
	    height: 240px;
    }
}

::placeholder {
  font-weight: normal;
  font-size: 0.8rem;
  opacity: 0.5;
  color: grey!important;
  font-style: italic;
}

.cart-recipe{
	max-height: 350px;
}

#module-divioseo_book_recipes-generator #content-wrapper .pretty_blocks{
	margin-top: 1rem;
}

.title_step{
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1rem;
}

div#step-1, div#step-4 {
    background: white;
    padding: 1rem 4rem;
}

#js-product-list{ background-color: white; }

a.retour {
    position: absolute;
    top: 5%;
}

.grid-progress-container a.retour{
	position: relative;
}
.grid-progress-container .grid.list-recipe.summary-list-recipes .card-recipe{
	border: 1px solid rgba(0, 0, 0, 0.5);
	flex-direction: row;
	position: relative;
}

@media (max-width:579px){
	#header .book-steps{ display: none; }
	div#step-1, div#step-4{ padding: 1rem .2rem; }
	div#step-1 p.text-xl, div#step-4 p.text-xl{ font-size: 1rem; }
	h1.type-h3{ font-size: 1.6rem; }
	.type-h4{ font-size: 1.2rem; margin: 0.8rem auto!important; }
	.product-caracteristiques .validate_button{ max-width: 50%; display: block; width: auto!important; }
	.pretty_blocks.cloch_product .product-caracteristiques{ padding-bottom: 15px!important; margin-bottom: 0!important;  }
	#content-wrapper #step-4 .pretty_blocks.cloch_product{ padding-bottom: 20px!important; }
	#step-2 .step-validate-button{ background-color: black; }
	#module-divioseo_book_recipes-generator header{ z-index: 300; }
	.steps-container .filters{ position: relative; top: 0; width: 100%; margin-left: inherit;  }
	.steps-container .filters .step_filter{ width: 100%; }
	#filtres.opened{ z-index: 1000; }
	#book_title, .top_select{ width: 100%; }
	#book_title{ height: inherit; top: inherit; }
	.top_select .book_counter{padding: 0.1rem 0.5rem;
    left: 5px;
    margin-top: 1rem;
    font-size: 0.7rem !important;}
    .grid-progress-container-mobile{ height: 95px; bottom: 38px!important; }
    [id*="step-"] .step-validate-button {
        bottom: 0;
    }
    button.edit-cover{ font-size: 1rem; position: relative;
    top: -20px; }
    .content_bouton{display: flex; justify-content: space-between;}
    .recipe_content{ padding: 1rem 0 0 0!important; }
    .product-caracteristiques p{ padding: 0 1rem; }
    #keywords-mobile:focus-visible{ outline-color: white; }
    #searchFormMobile button{ padding: 0 20px 0 0; }
    #searchFormMobile svg{ width: 18px; height: 32px; }
    #attention{ margin-top: 0; }
}

@media only screen and (min-width: 768px) {
    .text-left-desktop {
        text-align: left !important;
    }
}