/*
Theme Name: Dioqa Thème Child
Template: dioqatheme
Author: Olivier Roy
*/

.btn-noir-rouge {
  padding: 10px 20px !important;
  border-radius: 100px;
  font-family: "Jakarta";
  font-size: 16px;
  border: 2px solid #dc472d;
  color: black;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: -moz-fit-content;
  width: fit-content;
  text-transform: uppercase;
}

.btn-noir-rouge:hover {
  background-color: #dc472d;
  color: white;
  cursor: pointer;
}

.btn-noir-rouge:hover span {
  color: white !important;
}

.btn-noir-blanc {
  padding: 10px 20px !important;
  border-radius: 100px;
  font-family: "Jakarta";
  font-size: 16px;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: -moz-fit-content;
  width: fit-content;
  text-transform: uppercase;
}

.btn-noir-blanc:hover {
  background-color: #fff;
  color: #dc472d;
  cursor: pointer;
}

.btn-noir-blanc:hover span {
  color: #dc472d !important;
}

.accent-strong strong {
  font-family: "Jakarta-500"!important;
}

#swiperTrois .swiper-wrapper {
  justify-content: center;
}

.page-template-page-newsletter #newsletterFormPage input[type=email]:disabled {
  background-color: #e4e4e4 !important;
  color: #626262;
}

#pop-up-cart-husse-panel {
  background: #f6f2eb !important;
}

.checkout-wrapper #payment .form-row.place-order {
  display: flex !important;
  flex-direction: column !important;
}

.checkout-wrapper #payment #place_order, .checkout-wrapper #payment #place_order {
  width: fit-content !important;
  margin: 20px auto 10px auto !important;
  padding-left: 30px;
  padding-right: 30px;
}

.product-template-single-product .woocommerce-message {
  display: none;
}

/* POPUP PANIER */
.pop-up-cart-husse-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.drawer-recos-swiper .btn-show {
  padding: 4px 8px;
  font-size: 12px;
  border-color: #4c4c4c !important;
  color: #4c4c4c !important;
  text-transform: none !important;
  transition: all 0.3s ease;
  height: fit-content;
}

#pop-up-cart-husse-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 545px;
  max-width: 100%;
  height: 100%;
  padding: 2rem;
  overflow-y: auto;
  background: #FFF6EF;
  box-shadow: -4px 0 12px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .35s ease;
}

.drawer-recos-swiper .btn-show:hover {
  background-color: #4c4c4c !important;
  color: #fff !important;
}


#pop-up-cart-husse .btn-valid-order {
  width: 100% !important;
  font-size: 14px;
  display: block;
}

#pop-up-cart-husse .btn-valid-order.hidden {
  display: none;
}

.free-delivery-progress-bar {
  animation: free-delivery-progress 0.7s ease forwards;
}

.free-delivery-validate-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
  justify-content: center;
}

.pop-up-cart-husse-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pop-up-cart-husse-overlay.is-open #pop-up-cart-husse-panel {
  transform: translateX(0);
}

.body--cart-open {
  overflow: hidden;
}

#pop-up-cart-husse-product {
  background-color: #fff;
  padding: .5rem;
}

@keyframes free-delivery-progress {
  0% {
    width: 0;
  }
  100% {
    width: var(--free-delivery-progress);
  }
}

#pop-up-cart-husse-close {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.pup-up-cart-top {
  position: relative;
}

#pop-up-cart-husse-totals .husse-totals-row {
  margin-bottom: 10px;
}

#pop-up-cart-husse-totals .husse-notice-paiement {
  margin: 30px 0;
}

.checkout-product-infos .item-header {
  gap: 15px;
}

.drawer-recos-swiper {
  width: 100%;
  height: 150px;
  min-height: 150px;
}

/* CHECKOUT WRAPPER */
.checkout-wrapper {
  margin-top: 1.5rem;
}

.drawer-recos-swiper .recos-product-card {
  overflow: hidden;
}

.drawer-recos-swiper img {
  height: 80px;
}

.drawer-recos-swiper .recos-product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-height: 80px;
}

.drawer-recos-swiper .recos-product-card-action {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex: 1;
}

.husse-notice-paiement {
  align-items: center;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form {
  border: none !important;
  max-width: 90% !important;
  width: 500px !important;
  border: none !important;
  margin: 0 auto !important;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-privacy-policy-text p {
  font-size: 11px !important;
  margin-top: 5px !important;
  margin-bottom: 15px !important;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-form-row-actions-button {
  display: flex;
  justify-content: center;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-Input {
  background-color: #f6f2eb !important;
  border: none !important;
  box-shadow: none !important;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-form-column-actions-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-CreateAccount, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-LostPassword, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-Loggin, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form #loyalty-field {
  text-align: center;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-Loggin {
  display: block !important;
}

.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-CreateAccount a, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-LostPassword a, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form .woocommerce-Loggin a, 
.checkout-wrapper .checkout-tabcontent .woocommerce-form #loyalty-field {
  text-decoration: underline !important;
}


.checkout-wrapper .next-step {
  font-size: 14px;
  margin: 20px auto;
  cursor: pointer;
}

.checkout-wrapper .next-step:hover, .checkout-wrapper .btn-rouge-v2:hover, #pop-up-cart-husse-panel .btn-rouge-v2:hover {
  background-color: #fff;
  color: #dc472d;
  transition: all 0.3s ease;
}

.checkout-wrapper #ship-to-different-address span {
  font-size: 14px;
}

/* BOUTONS */
.btn-rouge-v1 {
  background: transparent;
  color: #e50019;
  border: 1px solid #dc472d;
  border-radius: 50px;
  text-transform: uppercase;
  display: block;
  width: fit-content;
  padding: 10px 25px;
}

.btn-rouge-v2 {
  background: #dc472d;
  color: #fff;
  border: 1px solid #dc472d;
  border-radius: 50px;
  text-transform: uppercase;
  display: block;
  width: fit-content;
  padding: 10px 25px;
}

.recap-checkout-body .recap-checkout-product-card {
  gap: 10px;
}

/* NOTICE PAIEMENT */
.husse-notice-paiement {
  align-items: center;
}

.husse-notice-paiement p {
  font-size: 14px !important;
}

/* RESPONSIVE */
@media screen and (max-width:575.98px) {
  .checkout-wrapper {
    width: 100%;
    position: unset;
    left: unset;
  }
  
  .checkout-tabs {
    gap: 0;
  }
  
  .checkout-tabs button {
    font-size: 12px;
  }
  
  .checkout-reassurances {
    grid-template-columns: auto;
  }
  
  .checkout-reassurances img {
    width: 150px;
  }
  
  .drawer-recos-swiper {
    height: 175px;
    max-height: 175px;
  }
}

.order-confirm-page .order-confirm-message {
  width: 90% !important;
}

@media only screen and (max-width: 768px) {
  .checkout-wrapper .checkout_coupon .button {
    padding: 13px 15px !important;
  }
  
  .checkout-wrapper form.checkout_coupon p {
    width: fit-content !important;
  }

  .checkout-wrapper .checkout-product-infos img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
  }

  .checkout-wrapper .checkout-product-infos .product-title {
    font-size: 16px;
  }
  .recap-checkout-body .recap-checkout-product-card .text-right {
    font-size: 13px;
  }
  .recap-checkout-body .recap-checkout-product-card img {
    width: 45px;
    height: 45px;
    object-fit: cover;
  }
  .recap-checkout-body .recap-checkout-product-card .product-title {
    font-size: 15px;
    max-width: 155px;
  }
  .recap-checkout-body .recap-checkout-product-card .product-info {
    gap: 10px;
  }
  .order-confirm-message .btns-thankyou a {
    font-size: 13px;
  }
  .order-confirm-page .checkout-infos-client {
    gap: 15px;
  }

  .drawer-recos-swiper {
    height: 175px;
    max-height: 175px;
  }
}

.order-confirm-page {
  margin-top: 1.5rem;
}

.order-confirm-page .order-confirm-message {
  margin-top: 40px;
}

.order-confirm-page .husse-notice-paiement {
  margin-top: 40px;
}

.checkout-tabs button.validate {
  color: #e50019;
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  .checkout-tabs button {
    padding: 10px;
  }
}

.pointer-none {
  pointer-events: none;
  opacity: 0.5;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart {
  background-color: #dc472d !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart span {
  color: #fff !important;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart:disabled {
  background-color: lightgrey !important;
  color: #fff !important;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart:disabled:hover {
  background-color: lightgrey !important;
  color: #fff !important;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart:hover {
  background-color: #fff !important;
  color: #dc472d !important;
}

.checkout-wrapper .husse-gift-swiper .add-gift-cart:hover span {
  color: #dc472d !important;
}

.checkout-wrapper .husse-gift-swiper .gift-slide {
  border-radius: 10px;
  border: none;
}

@media only screen and (max-width: 768px) {
  .checkout-wrapper .husse-gift-swiper .gift-slide img {
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain;
  }
  .checkout-wrapper .husse-gift-swiper {
    max-height: 330px;
  }
}

.checkout-wrapper .woocommerce-terms-and-conditions-wrapper {
  font-size: .8rem;
}

.checkout-wrapper .row-btn-apply-coupon {
  width: fit-content !important;
}

.checkout-wrapper .checkout-progress-bar, .order-confirm-page .checkout-progress-bar {
  background-color: #dc472d;
}

.checkout-tabs button.active, .checkout-tabs button:hover, .checkout-tabs button.validate {
  color: #dc472d;
}

.checkout-wrapper #billing_country_field, .checkout-wrapper #shipping_country_field {
  display: none;
}

.checkout-wrapper .woocommerce-billing-fields__field-wrapper .form-row, .checkout-wrapper .woocommerce-shipping-fields__field-wrapper .form-row {
  flex: 1 1 350px !important;
}

@media only screen and (max-width: 768px) {
  .checkout-wrapper .billing-half {
    width: 100% !important;
  }
}

.checkout-wrapper .woocommerce-shipping-fields__field-wrapper {
  margin-top: 30px;
}

.checkout-wrapper .woocommerce-billing-fields__field-wrapper, .checkout-wrapper .woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.checkout-wrapper #order_comments {
  height: 120px;
  padding: 15px 20px;
}

.checkout-wrapper {
  max-width: 100% !important;
  margin: 0 auto !important;
  left: initial;
}

@media only screen and (min-width: 992px) {
  .flag-sweden {
    left: 15px
  }
}

@media only screen and (min-width: 1200px) {
  .page-template-page-commander main .max-w-container {
    max-width: 1320px !important;
    padding-top: 30px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .flag-sweden {
    left: 85px
  }
}

.text-info-montant-panier-gift {
    max-width: 80%;
    margin: 0 auto;
}

@media only screen and (min-width: 992px) {
  .block.lg\:hidden {
      display: none !important;
  }
}