/***** Makasbah Theme - Styles de base personnalisés ****/

/** BODY **/
/* Désactivation du défilement horizontal global */
body {
  overflow-x: hidden;
}

/** ANIMATIONS **/
/* Animation de base - inspirée directement du site Elite Design Studio */
.anim-line {
  opacity: 0;
  transform: translateY(20px); /* Valeur réduite par rapport à l'original (5rem) */
  transition: transform 1.2s cubic-bezier(.15,.85,.45,1), opacity .8s cubic-bezier(.32,.94,.6,1);
  will-change: transform, opacity; /* Optimisation des performances */
}

/* État activé lorsque l'élément devient visible */
.anim-line.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Désactivation des animations dans l'éditeur */
body.elementor-editor-active .anim-line {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/** END ANIMATIONS **/

/** UTILITIES **/
.min-height-80vh {
  min-height: 80vh;
}

@media (max-width: 1024px) {
  .responsive-min-height-585 {
    min-height: 585px;
  }
  .responsive-inset-inline-center {
    inset-inline: 0;
    margin-inline: auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  .responsive-transform-right-4 {
    transform: translateX(1%);
  }
  .responsive-transform-left-4 {
    transform: translateX(-1%);
  }
}

@media (max-width: 768px) {
  .responsive-min-height-370 {
    min-height: 370px;
  }
  .responsive-transform-right-4 {
    transform: translateX(4%);
  }
  .responsive-transform-left-4 {
    transform: translateX(-4%);
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .responsive-ce-display-xxl-60 h2 {
    font-size: 60px !important;
  }
}

.demin-height-185px, .min-height-185px .elementor-widget-container {
  min-height: 185px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tablet-grid-5-last-item-full-width {
    width: 100% !important;
  }
}

.row-margin-top-30 {
  margin-top: 30px;
}

.no-padding {
  padding: 0 !important;
}

.border-bottom-only {
  border-bottom: 1px solid #000 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
}

.border-radius-0 {
  border-radius: 0 !important;
}

/** END UTILITIES **/

/** FORM ELEMENTS **/
.elementor-field-group.elementor-column {
  margin-bottom: 20px;
}

.elementor-field-textual, .elementor-field-textual.elementor-size-md {
  min-height: 34px;
}
.elementor-field-label {
  margin-bottom: 0 !important;
}
/** END FORM ELEMENTS **/

/** BUTTONS **/
a.elementor-button:not([href]) {
  border-color: rgba(129,138,145,0.35);
}
/** END BUTTONS **/

/** STICKY ADD TO CART **/
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
  min-width: 185px;
  border-radius: 0;
  border-width: 2px;
}

.an_stickyAddToCart-price .price {
  font-size: 20px;
  font-weight: 600;
  color: #A14F42;
}

.an_stickyAddToCart span.an_stickyAddToCart-select-sale {
  background-color: rgba(223,223,223,0.43) !important;
  color: rgba(67,67,71,0.63) !important;
}

.an_stickyAddToCart span.an_stickyAddToCart-select-price {
  color: #A14F42 !important;
  font-weight: 600 !important;
}
@media (min-width: 768px) {
  .an_stickyAddToCart-btnadd {
    max-width: 50%;
  }
}
.an_stickyAddToCart-add .btn:disabled {
  cursor: not-allowed;
  background: #A14F42;
  border-color: #A14F42;
  color: #FFF;
  opacity: 0.65;
}
/** END STICKY ADD TO CART **/

/***** PRODUCTS PAGE *****/

/** prices **/
.discount-separator {
  margin: 0 10px;
  color: #000;
  font-weight: normal;
}
/** custom feature value **/
.product-info__highlights {
  margin: 20px 0;
}

.product-info__highlights .highlight {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*grid-template-columns: 1fr;*/
  gap: 2px;
}

.product-info__highlights .highlight li {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.product-info__highlights .highlight li:nth-child(odd) {
  background: linear-gradient(to right, rgba(250, 237, 227, 0.7), rgba(250, 237, 227, 0.2));
}

.product-info__highlights .highlight li:nth-child(even) {
  background: linear-gradient(to right, rgba(235, 186, 158, 0.6), rgba(235, 186, 158, 0.2));
}

.product-info__highlights .highlight .feature-header {
  width: 100%;
  margin-bottom: 8px;
}

.product-info__highlights .highlight .feature-name {
  font-weight: 500;
  font-size: 15px;
  display: block;
  text-align: left;
  padding-bottom: 5px;
  /*border-bottom: 1px solid #000;*/
}

.product-info__highlights .highlight .feature-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-info__highlights .highlight .grouped-content .icon {
  align-self: center;
}

.product-info__highlights .highlight .icon {
  font-size: 40px;
  flex-shrink: 0;
}

.product-info__highlights .highlight .feature-values {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-info__highlights .highlight .feature-value-item {
  font-size: 14px;
  line-height: 1.4;
  display: block;
}

@media screen and (max-width: 768px) {
  .product-info__highlights .highlight {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (min-width: 1025px) and (max-width: 1250px) {
  .product-info__highlights .highlight {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/** end custom feature value **/

/** product short desc **/
.ce-product-description-short h2 {
  font-size: 19px;
}
/** end product short desc **/

/** create account **/
.ce-register-form .elementor-column.elementor-col-100 {
  margin-bottom: 20px;
  display: flow-root;
}
.password-strength-feedback {
  padding: 0 calc(20px / 2);
}
/** end create account form **/

/** categories page **/
.sticky-filter {
  background-color: #FFF;
  padding: 10px 40px 15px 40px !important;
}
@media screen and (max-width: 1024px) {
  .sticky-filter {
    padding: 10px 7% 15px 7% !important;
  }
}
.sticky-filter .margin-left-auto {
  margin-left: auto;
}
/** end categories page **/

/** cart page **/
.cart__item .product-line__current span {
  font-weight: normal;
}
.cart__item .product-line__actions a::after {
  background: #A14F42;
}
.badge.discount {
  border: 1px solid #1038f5;
  color: #1038f5;
  font-size: 12px;
}

.nav-tabs .nav-link {
  border: 0;
}
.nav-tabs .nav-link.active {
  border-width: 0 0 2px 0;
  border-radius: 0;
  border-color: #A14F42;
  color: #A14F42;
  border-bottom: 2px solid #A14F42;
}
.nav-tabs .nav-link.active:hover {
  border-bottom: 2px solid #A14F42;
}
.nav-link:focus-visible {
  box-shadow: none;
  outline: 0;
}
.nav-tabs .nav-link:hover {
  border-color: rgba(255, 255, 255, 0);
  color: #A14F42;
}
.cart-summary__show i {
  color: #A14F42;
}

body#checkout main a {
  color: #A14F42;
}

body#checkout li.cart-summary__product .product-name a,
body#checkout a.cart-summary__show {
  color: #000000;
}

body#checkout .btn.btn-outline-primary:hover {
  color: #ffffff;
}

body#checkout btn-secondary,
body#checkout a.btn-secondary {
  color: #DB9A72;
}

body#checkout btn-secondary:hover,
body#checkout a.btn-secondary:hover {
  color: #FFFFFF;
}

body#checkout .nav-tabs .nav-link {
  color: #000000;
}
body#checkout .nav-tabs .nav-link:hover {
  color: #A14F42;
}

.checkout__steps--current::before, .checkout__steps--success .checkout__steps__number,
.checkout__steps--success::after, .checkout__steps--success::before,
.checkout__steps--current .checkout__steps__number {
  background: #db9a72;
}
body#checkout .checkout__steps .nav-tabs .checkout__steps--success .nav-link.active,
body#checkout .checkout__steps .nav-tabs .checkout__steps--current .nav-link.active {
  color: #a14f42;
}

.step .address.selected {
  border: 1px solid #1038f5;
  margin-bottom: 20px;
}

body#checkout .d-block {
  color: #000000;
}
body#checkout .d-block:hover {
  color: #A14F42;
}
.address__alias, .address__content {
  color: #000000;
}
.card {
  color: #000000;
}
.step .address.selected {
  border: 1px solid #A14F42;
}

.btn.btn-primary.disabled, .btn.btn-primary:disabled, .btn.btn-primary[disabled] {
  cursor: not-allowed !important;
  background: #A14F42 !important;
  border-color: #A14F42 !important;
  color: #FFF !important;
  opacity: 0.65 !important;
}
.col-form-label, .form-label {
  color: #000000;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.form-fields .mb3 {
  margin-bottom: 1.5rem !important;
}
body#checkout #checkout-payment-step .payment__list .container {
  width: 100%;
}
.btn.step-edit.step-to-addresses {
  font-size: 12px !important;
  font-weight: normal;
  padding: 5px 15px;
  margin-left: 5px;
}
.address__content a {
  font-size: 14px;
}

.mollie-iframe-container .form-group-save-card {
  margin-top: 20px !important;
}
.mollie-iframe-container .form-group-save-card label.mollie-label {
  margin-left: 5px !important;
}
.mollie-iframe-container .mollie-signature {
  display: none;
}

.ps_checkout-payment-option label {
  display: inline-flex !important;
}
.payment__list .d-flex {
  display: inline-flex !important;
}
.payment__option.ps_checkout-payment-option {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;

}
#pay-with-payment-option-3-form {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.js-payment-binary.js-payment-ps_checkout {
  width: auto;
  margin: 0 auto;
}
.paypal-buttons, .ps_checkout-button {
  display: inline-block !important;
  width: 100% !important;
  min-width: 300px !important;
}
@media screen and (max-width: 768px) {
  .js-payment-binary.js-payment-ps_checkout {
    width: 100%;
  }
  .paypal-buttons, .ps_checkout-button {
    display: inline-block !important;
    width: 100% !important;
    min-width: 200px !important;
    margin: 0 auto !important;
  }

}
/** end cart page **/

/** Order confirmation **/
.alert-success {
  background: #faede3 !important;
  border-color: rgba(161, 79, 66, 0) !important;
  color: #A14F42 !important;
}

#order-confirmation .alert-link {
  color: #A14F42;
}
/** End order confirmation **/
