/**
* 2023 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
*
*  @author    Anvanto <anvantoco@gmail.com>
*  @copyright 2023 Anvanto
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/
.an-pf-original-prices {
  display: none;
}
.an-pf-field-label-title {
}
.an-pf-tooltip {
  display: flex;
  align-items: center;
  margin-left: 7px;
  margin-top: -2px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* Tooltip text */
.an-pf-tooltip svg {
  width: 18px;
  height: 18px;
}
.an-pf-tooltip .an-pf-tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.an-pf-tooltip:hover .an-pf-tooltiptext {
  visibility: visible;
}

.anpf-field-counter-text {
  display: none;
}
.an-pf-field-type-text-wrap,
.an-pf-field-type-textarea-wrap {
  position: relative;
}
.an-pf-field-type-text-wrap .anpf-field-counter-max_length {
  margin-bottom: 0;
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 2px;
  font-size: 12px;
  line-height: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 7px 0 5px;
}
.an-pf-field-type-textarea-wrap .anpf-field-counter-max_length {
  margin-bottom: 0;
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 12px;
  line-height: 18px;
  background: #fff;
  padding: 4px 6px 3px 5px;
}
.an-pf-fields-title {
      border-bottom: 1px solid #dcdcdc;
	  padding-bottom:1rem;
	  margin-bottom: 0;

}
.an-pf-fieldminiature_right {
  margin-left: 10px;
}
.an-pf-field-image-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
}
.an-pf-field-image {
  max-width: 30px;
  max-height: 30px;
}
.anfield-checkbox,
.anfield-radio {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.anfield-checkbox:last-child,
.anfield-radio:last-child {
  margin-bottom: 0;
}
.anfield-checkbox input,
.anfield-radio input {
  margin-right: 10px;
}
.anfield-checkbox label,
.anfield-radio label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}

.an-pf-field-descr {
  color: #7a7a7a;
  margin-top: 10px;
}

.an-pf-fields-total {
  font-weight: bold;
  padding-top: 20px;
  margin-bottom: 20px;
  border-top: 1px solid #dcdcdc;
}

.an-pf-field .control-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.an-pf-fields-cart-line .value,
.an-pf-fields-cart-line .label {
  font-size: 12px;
}

.an-pf-fields-wrap {
  padding: 10px 0px;
}
 .an-pf-field {
   padding: 0 0 1rem 0;
}
.an-pf-field select {
  background-color: #fff;
}
.an-pf-field-type-date input,
.an-pf-field-type-textarea textarea,
.an-pf-field-type-text input,
.an-pf-field-type-number input {
  background: #fff;
}

.an-pf-field-red {
  color: red;
}

.elementor-section-wrap .an-pf-fields-wrap {
  padding: 10px;
}
.elementor-section-wrap .elementor-element .an-pf-fields-wrap {
  padding: 0;
  width: 100%;
}
.an-pf-hide {
  margin: 0!important;
  padding: 0!important;
}



.anfield-hidden-input {
  display: none;
}
.anfield-slider-block {
  display: flex;
  flex-direction: column;
}
.anfield-slider-head {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  order: 2;
}
.anfield-slider {
  width: calc(100% - 20px);
  margin: 8px auto;
  cursor: pointer;
  border: 0;
  background: transparent;
  height: 8px;
  position: relative;
}
.anfield-slider:before {
  display: block;
  content: "";
  position: absolute;
  top: 2px;
  right: -10px;
  bottom: 2px;
  left: -10px;
  background: #c5c5c5;
  border-radius: 4px;
  height: 4px;
}
.anfield-slider.ui-state-default,
.anfield-slider.ui-widget-content .ui-state-default {
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: #c5c5c5;
  border-radius: 50%;
  border: 0!important;
  top: -6px;
  outline: none!important;
}
#ui-datepicker-div {
    z-index: 3!important;
}
.anfield-json {
  display: none;
}

.anfield-video {
  max-width: 100%;
  width: 100%;
  min-height: 255px;
}
.modal-default-image {
  display: none;
}

.youtube-video iframe {
  max-width: 100%;
}
.anpf-field-counter-max_length.hidden {
  display: none;
}

.anfield-slider-img {
  max-width: 100%;
}
.bloc-content_fields{
padding: 1rem 1rem 0 1rem;
background-color:#f9f9f9;
margin-bottom:0;
}
.Cart_attrAN{
font-size:0.90rem;
}
.anpf-readonly select,
.anpf-readonly input,
.anpf-readonly textarea {
  pointer-events: none;
  opacity: 0.7;
  background-color: #f8f9fa;
  color: #555;
  cursor: not-allowed;
}
.anpf-readonly
{
      border-bottom: 1px dashed #dbdbdb;
}
.fw-600 {
font-weight: 600 !important;
}


/* Note casse pour champs texte/textarea */
.anpf-case-note {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  bottom: auto;
  margin-top: 0;
  transform: translateY(0);
  max-width: 100%;
  background: #fff6e6;
  color: #9a6300;
  border: 1px solid #f3d19c;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.85rem;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.an-pf-field-type-text-wrap:focus-within .anpf-case-note,
.an-pf-field-type-textarea-wrap:focus-within .anpf-case-note {
  display: block;
}
.an-pf-field-type-text-wrap,
.an-pf-field-type-textarea-wrap {
  position: relative;
}
.anpf-case-note::after {
  content: '';
  position: absolute;
  right: 16px;
  top: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f3d19c;
}
.anpf-case-note::before {
  content: '';
  position: absolute;
  right: 16px;
  top: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff6e6;
}

/* Bottom sheet de confirmation */
.anpf-sheet {
  position: fixed;
  inset: 0;
  display: block;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}
.anpf-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}
.anpf-sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.anpf-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 80vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.38s ease-out;
}
.anpf-sheet.is-open .anpf-sheet__panel {
  transform: translateY(0);
}
.anpf-sheet__header {
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.anpf-sheet__body {
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.anpf-sheet__title {
  font-weight: 700;
  font-size: 1.1rem;
}
.anpf-sheet__intro,
.anpf-sheet__reminder {
  margin: 8px 0;
}
.anpf-sheet__intro {
  font-weight: 600;
}
.anpf-sheet__list {
  list-style: none;
  margin: 8px 0 12px 0;
  padding: 0;
}
.anpf-sheet__list li {
  margin-bottom: 6px;
  line-height: 1.4;
}
.anpf-sheet__list li strong {
  font-weight: 700;
}
.anpf-sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.anpf-sheet__btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
}
.anpf-sheet__btn-primary {
  background: #3059a6;
  border-color: #3059a6;
  color: #fff;
}
.anpf-sheet__btn-primary:hover {
  background: #274a8a;
  border-color: #274a8a;
}
.anpf-sheet__btn-secondary {
  background: #6c6c6c;
  border-color: #6c6c6c;
  color: #fff;
}
.anpf-sheet__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .anpf-sheet__panel {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 14px;
    bottom: auto;
    top: 15vh;
    transform: translateY(0);
  }
}
