/*
	Theme Name: Hello Elementor child
    template: hello-elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: A plain-vanilla & lightweight theme for Elementor page builder
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 2.4.2
	Stable tag: 2.4.2
	Requires at least: 4.7
	Tested up to: 5.9
	Requires PHP: 5.6
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GLOBAL */

/* ANIMATION BLOCK */

.block-ecusson,
.card-exemple {
  overflow: hidden !important;
}

.content-hide-block {
  opacity: 0;
  transition: opacity 0.2s ease-in-out !important;
}

.content-hide-block.active,
.card-exemple:hover .content-hide-block {
  opacity: 1;
}

.elementor-menu-cart__main {
  width: 30% !important;
}
.elementor-menu-cart__wrapper,
.elementor-menu-cart__toggle.elementor-button-wrapper {
  display: flex;
  align-items: center;
}

.block-ecusson.has-active-child::before {
  filter: grayscale(100%);
}

.line::after {
  content: '';
  position: absolute;
  top: 25px;
  left: calc(50% + 35px);
  width: calc(300% - 25px);
  height: 1px;
  z-index: 0;
  background: linear-gradient(
    270deg,
    transparent 0%,
    #821e3a 20%,
    #821e3a 50%,
    #821e3a 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: lineMove 3.5s linear infinite;
}

@keyframes lineMove {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.jet-mega-menu-item__title {
  position: relative;
}
.jet-mega-current-menu-item .jet-mega-menu-item__title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 2px;
  background-color: #ff2865;
}

/** PRODUIT **/

form.cart {
  display: flex;
  flex-direction: column !important;
}
.title_option {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.title_option p {
  margin-bottom: unset;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Lato' !important;
}
.title_option span {
  font-family: 'Lato' !important;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1.7;
  background: rgba(255, 40, 101, 0.2);
  color: #ff2865;
  font-weight: 700;
  border-radius: 3px;
}

label.wpo-image-button div.wpo-image-active svg {
  border: #ff2865 !important;
  fill: white !important;
  background: #ff2865 !important;
}
label.wpo-image-button:has(input[type='checkbox']:checked)
  div.wpo-image-active {
  border-color: #ff2865 !important;
}
label.wpo-image-button:active div.wpo-image-active,
label.wpo-image-button:focus-within div.wpo-image-active,
label.wpo-image-button:hover div.wpo-image-active {
  border-color: rgba(255, 40, 101, 0.4) !important;
}
.wpo-file-dropzone.dropzone .dz-button,
.wpo-file-dropzone.dropzone .dz-button:hover {
  background: rgba(255, 40, 101, 0.2) !important;
}
.wpo-file-dropzone.dropzone .dz-button-icon svg {
  fill: #ff2865 !important;
}
.wpo-file-dropzone.dropzone {
  border: 2px dashed #ff2865 !important;
}
.wpo-file-dropzone.dropzone .dz-button-label {
  color: #ff2865 !important;
  font-family: 'Lato' !important;
  font-weight: 700 !important;
}
.wpo-field-file_upload .wpo-choice-label,
.wpo-field-file_upload .wpo-field-required-symbol,
.wpo-field-number .wpo-choice-label,
.wpo-field-number .wpo-field-required-symbol,
.wpo-field-radio .wpo-option-name__text,
.wpo-field-radio .wpo-field-required-symbol {
  display: none !important;
}
.wpo-field-number label,
.wpo-field-radio .wpo-option-name {
  height: 0 !important;
}
.wpo-file-dropzone.dropzone .dz-preview.dz-success .dz-upload {
  background: #821e3a !important;
}
.wpo-options-container input[type='number'],
.wpo-options-container input[type='text'] {
  background: #f2f2f2 !important;
}
.wpo-options-container input[type='number']:not(.cur-year),
.wpo-options-container input[type='text']:not(.cur-year) {
  border: unset !important;
  height: 40px !important;
}
.wpo-field label.wpo-radio {
  align-items: center !important;
}
.wpo-field ul.wpo-choice-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: unset !important;
}
.wpo-radio-dot {
  display: none;
}
.wpo-field label.wpo-radio span.wpo-radio-inner {
  width: 30px !important;
  height: 30px !important;
  background: #f2f2f2 !important;
  border: unset !important;
  border-radius: 5px !important;
}
.wpo-field label.wpo-radio input:checked + span.wpo-radio-inner {
  background: #ff2865 !important;
  color: white !important;
}
.wpo-field label.wpo-radio input:checked + span.wpo-radio-inner::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url('https://ecusson-sur-mesure.com/wp-content/uploads/2026/02/material-symbols_check-rounded.svg');
  background-size: auto;
  background-position: center center;
}
.wpo-field-radio li.wpo-choice-item {
  width: 40% !important;
}

.wpo-field {
  position: relative;
}

.title_option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title_option .wpo-tooltip-icon {
  margin-left: 5px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 99%;
  background: rgba(255, 40, 101, 0.2);
  width: 24px;
  height: 24px;
  border: none;
  color: #ff2865;
  font-weight: 900;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

.title_option .wpo-tooltip-icon:hover {
  background: #ff2865;
  color: white;
}

.wpo-tooltip-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  width: 240px;
  display: none;
  z-index: 999;
}

.flex-control-nav.flex-control-thumbs {
  display: none !important;
}
.recapitulatif {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.recapitulatif h3 {
  font-family: 'Lato';
  font-weight: 900;
  font-size: 14px;
  color: #ff2865;
  margin-bottom: 10px;
}
.recapitulatif p {
  margin-bottom: 0 !important;
  font-family: 'Lato' !important;
  font-weight: 900;
  font-size: 14px;
  color: #000;
}
.recapitulatif p.revendeur-recap-ht,
.recapitulatif p.revendeur-recap-ttc {
  color: #ff2865;
}
#wlp-live-preview-apply {
  background: #ff286533;
  color: #ff2865;
  font-family: 'Lato';
}
#wlp-live-preview-cancel {
  font-family: 'Lato';
  background: white;
}
div#wlp-live-preview-modal {
  border-radius: 10px;
}
.wpo-totals-label {
  display: none !important;
}
.rev-recap {
  display: none;
}

.role-revendeur .rev-recap {
  display: block;
}
.wpo-field-text .wpo-choice-label,
.wpo-field-text .wpo-field-required-symbol {
  display: none;
}

/** PANIER **/

.file_upload-meta {
  padding-left: 0;
}

.variation-Formuleprix,
.elementor-menu-cart__product .quantity,
.variation-Aperu,
.file_upload-meta-img {
  display: none !important;
}
.elementor-menu-cart__product ul.wpo-image-grid {
  list-style-type: none;
  padding-left: 0;
}
.variation-Hauteur,
.variation-Largeur,
.variation-Quantit {
  display: flex;
}
.variation-Hauteur p::after,
.variation-Largeur p::after {
  content: 'cm';
  margin-left: 3px;
}
.variation-Quantit p::after {
  content: 'exemplaires';
  margin-left: 3px;
}
span.file_upload-meta-label {
  text-transform: initial;
  font-size: 12px;
  color: #ff2865;
}
.elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item.has-wpo-cart-item-data {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.elementor-menu-cart__main .attachment-woocommerce_thumbnail {
  width: 150px;
}

.elementor-menu-cart__product-name {
  padding-inline-start: 0 !important;
}
.elementor-menu-cart__main
  .widget_shopping_cart_content
  .woocommerce-mini-cart__empty-message {
  text-align: center !important;
  text-transform: initial !important;
  font-size: 16px !important;
}

.woocommerce-cart-form .product-quantity,
.woocommerce-cart-form .variation-Aperu,
.woocommerce-cart-form .variation-Formuleprix,
.woocommerce-cart-form .file_upload-meta-img {
  display: none !important;
}

input[type='text'] {
  outline: none;
}
#coupon_code {
  height: 43.16px;
  border-radius: 10px;
}
.woocommerce-cart ul.file_upload-meta li a span.file_upload-meta-label {
  display: flex !important;
}
.woocommerce-cart ul.file_upload-meta {
  grid-template-columns: unset !important;
}
.woocommerce-cart .file_upload-meta-label {
  color: #ff2865 !important;
}
.woocommerce-cart .product-thumbnail,
.woocommerce-cart .product-thumbnail img {
  width: 150px !important;
}
.woocommerce-cart img[src*='wpo-uploads']:not(.pswp__img) {
  max-width: unset !important;
}
.woocommerce-cart ul.file_upload-meta li a span.file_upload-meta-label,
.woocommerce-cart ul.wpo-image-grid li a span.file_upload-meta-label,
.woocommerce-checkout ul.file_upload-meta li a span.file_upload-meta-label,
.woocommerce-checkout ul.wpo-image-grid li a span.file_upload-meta-label {
  display: flex !important;
}
.woocommerce-checkout .cart_item ul.file_upload-meta li.file_upload-meta-item,
.woocommerce-checkout .cart_item ul.file_upload-meta li.file_upload-meta-item a,
.woocommerce-checkout .cart_item ul.file_upload-meta,
.woocommerce-checkout ul.file_upload-meta {
  display: flex !important;
}
p#billing_address_2_field {
  margin-top: 5px;
}

input[type='file']::file-selector-button {
  padding: 10px 15px;
  background-color: #ff2865;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

input[type='file']::file-selector-button:hover {
  background-color: #ff2865;
}
.title_taille,
.title_quantity,
.title_bordure,
.title_couleur,
.title_dos {
  margin-bottom: 10px !important;
}
.title_taille .wpo-field,
.title_quantity .wpo-field {
  margin-bottom: 0 !important;
}
.option_hauteur,
.option_largeur {
  width: 49%;
  display: inline-block !important;
}
.option_hauteur {
  margin-right: 10px;
}
.check_form {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.forme {
  background: #f2f2f2;
  border-radius: 10px;
}
.check_form .forme {
  width: 20%;
}
.forme.selected {
  background: #ff286533;
  border-radius: 5px;
}
.div_btn_suivant {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#btn-suivant,
#btn-precedent {
  background-color: var(--e-global-color-f2ed04c);
  color: var(--e-global-color-secondary);
  border-radius: 5px 5px 5px 5px;
  border: unset !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  margin-top: 15px;
  padding: 0.5rem 1rem;
}
.option_type_ecusson {
  display: none !important;
}
.div_btn_suivant.type {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.check_form label {
  width: 20%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check_form input[type='radio'] {
  display: none;
}
.check_form .wpo-radio-inner {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  align-items: center;
  align-self: center;
  background-color: var(--wpo-input-border-color-alt);
  border-radius: 50%;
  box-shadow: none;
  box-sizing: border-box;
  display: flex;
  flex-shrink: 0;
  height: 20px;
  justify-content: center;
  margin: 2px;
  outline: none;
  outline-color: #6d6d6d;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.4, 1);
  width: 30px !important;
  height: 30px !important;
  background: #f2f2f2 !important;
  border: unset !important;
  border-radius: 5px !important;
}

.check_form input:checked + span.wpo-radio-inner::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url(https://ecusson-sur-mesure.com/wp-content/uploads/2026/02/material-symbols_check-rounded.svg);
  background-size: auto;
  background-position: center center;
}

.check_form input:checked + span.wpo-radio-inner {
  background: #ff2865 !important;
  color: white !important;
}
