/**
* 2020-2022
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* 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 contact us for extra customization service at an affordable price
*
* @author    Digincube <digincubeagency@gmail.com>
* @copyright 2021-2022 Digincube
* @license   Valid for 1 website (or project) for each purchase of license
*/
.splide {
  visibility: visible !important;
}

.gifts-panel {
  max-width: 800px;
  width: 100%;
}

.gift-slider {
  width: 100% !important;
}

.gift--slider:not(.splide--slide) ul {
  display: flex;
  width: 100%;
}

.gift--slider:not(.splide--slide) ul li {
  margin-right: 15px;
  flex: 1;
}

.gift-widget-wrapper .item.giftProduct {
  position: relative;
}

:root {
  --card-line-height: 1.2em;
  --card-padding: 5px;
  --card-radius: 0.5em;
  --color-green: #2fb5d2;
  --color-gray: #e2ebf6;
  --color-dark-gray: #c4d1e1;
  --radio-border-width: 2px;
  --radio-size: 25px;
}

.gift-widget-wrapper .splide__arrow--next {
  right: -34px;
}

.gift-widget-wrapper .splide__arrow--prev {
  left: -34px;
}

.gift-widget-wrapper .giftProduct .rbutton {
  font-size: inherit;
  margin: 0;
  position: absolute;
  right: 1px;
  top: 2px;
  opacity: 1 !important;
}

.gift-widget-wrapper .item.giftProduct .checker .checked,
.gift-widget-wrapper .checker span {
  background: none !important;
}

.gift-widget-wrapper .item.giftProduct .checker {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 0px;
}
#mdgifts-panel .modal-dialog{
  max-width: none;
}
#mdgifts-panel .gift-widget-wrapper .checkbox-empty {
  background: #fff;
  border: var(--radio-border-width) solid var(--mdgift-color);
  height: 24px !important;
  width: 24px !important;
  position: absolute;
  right: 0;
  opacity: 0.55;
  top: 0;
  border-radius: 50% !important;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: var(--radio-border-width) solid var(--mdgift-color);
    border-radius: 50% !important;
    cursor: pointer;
    height: 24px !important;
    outline: none;
    transition: background 0.2s ease-out, border-color 0.2s ease-out;
    width: 24px !important;
  }

  #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton::after {
    border: var(--radio-border-width) solid #fff;
    border-top: 0;
    border-left: 0;
    content: "";
    display: block;
    height: 13px;
    left: 25%;
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate(-50%, -50%);
    width: 10px;
  }

  #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton:checked {
    background: var(--mdgift-color);
    border-color: var(--mdgift-color);
  }

}
@media(max-width:768px){
  @supports (-webkit-appearance: none) or (-moz-appearance: none) {
    #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton {
      height: 20px !important;
      width: 20px !important;
    }

    #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton::after {
      height: 11px;
      width: 8px;
    }
  }
  .splide__arrow{
    border-radius: 0px;
  }
}

#mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton:checked~.plan-details {
  border-color: var(--mdgift-color);
}

#mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton:focus~.plan-details {
  box-shadow: 0 0 0 2px var(--color-dark-gray);
}

#mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton:disabled~.plan-details {
  color: var(--color-dark-gray);
  cursor: default;
}

#mdgifts-panel .rbutton:disabled~.plan-details .plan-type {
  color: var(--color-dark-gray);
}

#mdgifts-panel .gift-widget-wrapper .tns-controls button {
  width: 25px;
  outline: none !important;
  height: 25px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  position: absolute;
  top: 45%;
  z-index: 999;
}

#mdgifts-panel .tns-controls button {
  background: none;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}

#mdgifts-panel .tns-outer [data-controls="next"] {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  right: -17px;
}

#mdgifts-panel .tns-outer [data-controls="prev"] {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  transform: rotate(225deg);
  left: -17px;
}

#mdgifts-panel .gift-widget-wrapper {
  position: relative;
  margin-top: 25px;
  padding: 5px 22px;
  border: 1px solid #dddddd;
  border-radius: 0px;
  background: #fff;
}

#mdgifts-panel select.mgift_ipa {
  display: table;
  margin: 0 auto;
  width: 100%;
  background-color: #FFF;
  border: 1px solid #CCC;
  border-radius: 5px !important;
  padding: 3px;
  font-size: 13px;
}
#mdgifts-panel .gift--slider {
    padding-top: 10px;
}
#mdgifts-panel .gift-widget-wrapper .gp-name {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.2;
  font-size: 12px;
}

#mdgifts-panel .item.giftProduct img {
  width: 100%;
  cursor: pointer;
}

#mdgifts-panel .gift-widget-title {
  font-size: 15px;
  margin-bottom: 15px;
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

#mdgifts-panel .add-gift-action {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 8px;
}

#mdgifts-panel .addGiftToCart, #mdgifts-panel .disabled-add-cart {
  text-transform: none;
  position: relative;
  background: var(--mdgift-color);
  font-size: 14px;
}
#mdgifts-panel .disabled-add-cart {
  color: #fff;
  opacity: 0.4;
}


#mdgifts-panel .addGiftToCart.processing:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDsgZGlzcGxheTogYmxvY2s7IHNoYXBlLXJlbmRlcmluZzogYXV0bzsiIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSIyMDBweCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjOTNkYmU5IiBzdHJva2Utd2lkdGg9IjciIHI9IjM1IiBzdHJva2UtZGFzaGFycmF5PSIxNjQuOTMzNjE0MzEzNDY0MTUgNTYuOTc3ODcxNDM3ODIxMzgiPgogIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxcyIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPCEtLSBbbGRpb10gZ2VuZXJhdGVkIGJ5IGh0dHBzOi8vbG9hZGluZy5pby8gLS0+PC9zdmc+) no-repeat 50% 50% scroll rgba(0, 0, 0, .4);
  background-size: 46px;
  background-color: transparent !important;
}

.item.giftProduct .product-chooser-option {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  border: var(--radio-border-width) solid #59bdd3;
  border-radius: 50%;
  cursor: pointer;
  height: var(--radio-size);
  outline: none;
  transition: background 0.2s ease-out, border-color 0.2s ease-out;
  width: var(--radio-size);
  font-size: inherit;
  margin: 0;
  position: absolute;
  right: calc(var(--card-padding) + var(--radio-border-width));
  top: calc(5px + var(--radio-border-width));
}


.product-chooser-option::after {
  border: var(--radio-border-width) solid #fff;
  border-top: 0;
  border-left: 0;
  content: "";
  display: block;
  height: 12px;
  left: 25%;
  position: absolute;
  top: 50%;
  transform: rotate(45deg) translate(-50%, -50%);
  width: 8px;
}

.giftProduct.selected .product-chooser-option {
  background: var(--mdgift-color);
  border-color: var(--mdgift-color);
}

.mdgift-item .cart_quantity::before,
.mdgift-item .product-line-grid-right .qty::before {
  width: 35px;
  height: 35px;
  content: '';
  float: left;
  display: block;
  background-color: #dc0871;
  border-radius: 50%;
  background-size: 22px;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../img/gift-icon.svg);
}
.mdblockcart-gift::after {
  width: 25px;
  height: 25px;
  content: '';
  display: block;
  background-color: #dc0871;
  background-size: 18px;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../img/gift-icon.svg);
}
.mdblockcart-gift .input-group.bootstrap-touchspin{
  display: none;
}
.cart-summary-products .mdgift-label::before{
  width: 21px;
  height: 22px;
  content: '';
  float: left;
  display: block;
  background-color: #dc0871;
  border-radius: 50%;
  background-size: 17px;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../img/gift-icon.svg);
}
.cart-summary-products .mdgift-label strong{
  background: transparent;
}
.cart-summary-products .mdgift-label{
  background-color: #dc0871;
}

.mdgift-item .product-line-grid-right .qty .btn-touchspin,
.mdgift-item .product-line-info .product-discount {
  display: none
}
.mdgift-item .special-price {
    color: inherit;
}

.mdgift-item .price-percent-reduction,
.mdgift-item .old-price {
  display: none;
}

.message-availability .label {
  font-size: 11px;
  display: table;
  margin: 5px auto;
}

.empty-checkbox {
  display: block;
  opacity: 0.5 !important;
  cursor: no-drop;
}

.message-availability .label.label-warning {
  background-color: #fe9126;
  border: 1px solid #e4752b;
  display: inline-block;
  padding: 4px 7px;
  white-space: normal;
  font-size: 11px;
  width: 100%;
  border-radius: 2px;
  line-height: 1.2;
  text-align: center;
  color: #000;
}


.num-block {
  width: 100%;
  padding: 15px 0px;
  display: flex;
  justify-content: center;
}

/* quantity select */
.num-in {
  display: table;
  margin: 0 auto;
}

.skin-1 .num-in {
  float: left;
  background: var(--mdgift-color);
  border: 1px solid var(--mdgift-color);
}

.skin-1 .num-in span {
  display: block;
  float: left;
  width: 30px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.skin-1 .num-in span.dis:before {
  background-color: #fff !important;
}

.skin-1 .num-in input {
  float: left;
  width: 32px;
  height: 32px;
  border: 0px solid #6E6F7A;
  border-radius: 0px;
  color: #000;
  text-align: center;
  padding: 0;
}

.skin-1 .num-in span.minus:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #FFF;
  top: 50%;
  left: 9px;
}

.skin-1 .num-in span.plus:before,
.skin-1 .num-in span.plus:after {
  content: '';
  position: absolute;
  right: 6px;
  width: 15px;
  height: 2px;
  background-color: #FFF;
  top: 50%;
}

.skin-1 .num-in span.plus:after {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}


.error-gift {
  color: #ff2626;
  font-size: 14px;
  margin-bottom: 5px;
  text-align: center;
}
.gift-widget-wrapper.processing {
    opacity: 0.8;
    cursor: wait;
}
.gift-widget-wrapper.checking_gift.processing:after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
}

.disabled-gift .gift--slider {
  opacity: 0.7;
}
.title-spend {
      font-weight: 600;
    font-size: 15px;
    z-index: 1;
    margin-top: 6px;
    position: relative;
    color: #000;
}
.mdgift-item .js-cart-line-product-quantity {
  height: 34px !important;
  max-width: 34px;
  text-align: center;
  margin-left: 2px;
}
@keyframes expand {
  from {
    transform: scale(0);
    opacity: 0;
    background: transparent;
  }
}

.error-gift {
  animation: expand 0.3s ease-in-out;
}

.gifts-panel.right_sidebar:not(.showed) {
    display: none;
}
.gifts-panel.right_sidebar {
    height: 75vh;
    padding: 20px 10px;
    box-shadow: rgb(0 0 0 / 16%) 0 5px 40px,rgb(0 0 0) 0 5px 0 0 inset!important;
    border-radius: 8px!important;
    position: fixed;
    z-index: 999999;
    background: #fff;
    top: 0;
    right: 19px;
    max-width: 450px;
    opacity: 0;
    overflow-y: scroll;
}
.gifts-panel.right_sidebar.showed{
  opacity: 1;
}
.gift-popup-btn {
    float: right;
    background: var(--mdgift-color);
    padding: 10px 30px;
    color: #fff;
    border-radius: 5px;
    font-size: 15px;
    outline: none !important;
    text-decoration: none !important;
}
.gift-popup-btn:hover {
    color: #fff;
    opacity: 0.875;
}
.gift-popup-btn svg {
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}
.right_sidebar .gift-widget-wrapper .gp-name {
    font-size: 12px;
    line-height: 1.2;
}

.right_sidebar .skin-1 .num-in span.minus:before {
    width: 8px;
    height: 2px;
}


.right_sidebar .skin-1 .num-in input {
    width: 24px;
    height: 23px;
}

.right_sidebar .skin-1 .num-in span {
    width: 25px;
    height: 23px;
}

.right_sidebar .skin-1 .num-in span.plus:before,.right_sidebar .skin-1 .num-in span.plus:after {
    width: 10px;
    height: 2px;
}

.right_sidebar select.mgift_ipa {
    font-size: 13px;
}
.right_sidebar .gift-widget-title {
    font-size: 15px;
}
.right_sidebar .gift-widget-wrapper .splide__arrow--prev {
    left: -7px;
    top: 40%;
}

.right_sidebar .gift-widget-wrapper .splide__arrow--next {
    right: -10px;
    top: 40%;
}
.right_sidebar .add-gift-action .addGiftToCart {
    font-size: 14px;
}
.mdgift-modal {
    margin: 0px auto;
}
.mdgift-modal .gift--slider:not(.splide--slide) ul li {
    max-width: 25%;
}

.mdgift-modal .gift--slider:not(.splide--slide) ul {
    justify-content: center;
}
.gift-popup-btn #md-close-icon{
  display: none;
}
.gift-popup-btn:not(.opened) #md-close-icon{
  display: none;
}
.gift-popup-btn.opened #md-close-icon {
    display: block;
}
.right_sidebar .btn-close {
    position: fixed;
    top: 10px;
    right: 30px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 1;
}
.mdgift-modal.popup .btn-close {
    display: none;
}
.right_sidebar .btn-close::before, .right_sidebar .btn-close::after {
    content: '';
    position: absolute;
    background: var(--mdgift-color);
    width: 2px;
    height: 22px;
    top: 0;
}
.right_sidebar .btn-close::before {
    left: 50%;
    top: 1px;
    -webkit-transform: rotate(45deg) translateX(-50%);
    -moz-transform: rotate(45deg) translateX(-50%);
    -ms-transform: rotate(45deg) translateX(-50%);
    -o-transform: rotate(45deg) translateX(-50%);
    transform: rotate(45deg) translateX(-50%);
}
.right_sidebar .btn-close::after {
    left: 50%;
    -webkit-transform: rotate(-45deg) translateX(-50%);
    -moz-transform: rotate(-45deg) translateX(-50%);
    -ms-transform: rotate(-45deg) translateX(-50%);
    -o-transform: rotate(-45deg) translateX(-50%);
    transform: rotate(-45deg) translateX(-50%);
}
div#mdlayer_cart {
    position: fixed;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    max-width: 800px;
    width: 100%;
    outline: 0;
    margin: 0px auto;
    /* background: #fff; */
    top: 10%;
}

.mdlayer_cart_overlay {
    background-color: #000;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
    opacity: 0.2;
}
.combination_name {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    margin-top: 10px;
}
.md-modal-dialog {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    /* padding: 15px; */
}

.mdlayer-body {
    padding: 15px;
}

.mdlayer-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.mdlayer-header h2 {font-size: 20px;font-weight: bold;}
.no-slider .splide__slide {
    max-width: 165px;
}
.mdgift-label strong {
    background: #dc0871;
    color: #fff;
    padding: 3px;
    font-size: 12px;
}
.gift-widget-wrapper .splide__arrow svg {
  width: 30px;
  height: 30px;
}
.gift-widget-wrapper .splide__arrow--next svg {
  transform: scaleX(-1);
}
.gift-widget-wrapper .splide__arrow--prev svg {
  transform: scaleX(1);
}
/* responsive */
@media screen and (max-width: 767px) {
  .gift-widget-wrapper .splide__arrow {
    width: 20px;
    height: 20px;
  }
  .gift-widget-wrapper .splide__arrow svg {
      width: 13px;
      height: 13px;
  }
  .gift-widget-title {
      font-size: 12px;
      line-height: 1.2;
  }
  .gift-widget-wrapper ul.splide__list {
    margin-top: 10px !important;
  }

  .gift-widget-wrapper .splide__arrow--prev {
    top: 0px;
    left: auto;
    right: 30px;
  }
  #mdgifts-panel .title-spend, #mdgifts-panel .gift-widget-title{
    font-size: 14px;
  }
  #mdgifts-panel .gift-widget-wrapper{
    padding: 5px 17px;
  }
  .mdgift-label strong {
      font-size: 12px;
      display: inline-block;
      width: 58px;
      height: 22px;
      line-height: 1.2;
  }
  .gift-widget-wrapper .splide__arrow--next {
    right: 0px;
    top: 0px;
  }
  #mdgifts-panel .gift--slider{
    padding-top: 5px;
  }
  .addGiftToCart {
      font-size: 13px;
  }

  .right_sidebar .btn-close {
      right: 10px;
  }
  .gifts-panel.right_sidebar {
      right: 0px;
      width: calc(100% - 5px);
  }
  .skin-1 .num-in span.plus:before, .skin-1 .num-in span.plus:after {
      right: 6px;
      width: 10px;
  }
  .skin-1 .num-in span.minus:before {
      width: 9px;
      left: 7px;
  }
}
@media screen and (max-width: 336px) {
  .gift--slider.no-slider li {
      max-width: 47%;
      flex: 0 0 47% !important;
  }
}
.gift-widget-wrapper .gift-rule-desc {
    margin-left: -24px;
    margin-right: -23px;
    margin-top: -12px;
    margin-bottom: 18px;
}
div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 16px !important;
}

div:where(.swal2-icon) {
    width: 46px !important;
    height: 46px !important;
}
div:where(.swal2-icon).swal2-error {
    border-color: #dc0871 !important;
    color: #dc0871 !important;
}

.gift-widget-wrapper  .giftProduct .product-price {
  color: #fff;
  text-align: center;
  font-weight: bold;
  background: #2db9af;
  width: auto;
  margin: 0 auto;
  display: table;
  padding: 1px 17px;
}

.mdgift-item .item-to-pack {
  display: none;
}
.mdgift-item .product-line-actions .qty{
  display: flex;
}
.mdgift-item .product-discount{
  display: none !important;
}

.md-only-gift .rbutton{
  display: none;
}
/* .cart-item.mdgift-item .current-price {
  background: #dc0871;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
} */

/* .cart-item.mdgift-item .current-price.crossed_price {
  background: transparent;
  color: #dc0871;
  text-decoration: line-through;
  padding: 0;
  font-size: inherit;
} */

#gift_product_rule_conditions .restriction-row .table {
  width: 99%;
  position: relative;
  left: 5px;
}
.md-gift-qty {
  width: 40px;
  height: 33px;
  color: #232323;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.25);
  text-align: center;
  line-height: 30px;
  display:inline-block;
}

#mdgifts-panel.mdgift-modal .gift-widget-wrapper:first-child {
  margin-top:0px;
}

#mdgifts-panel .md-btn-close::before, .md-btn-close::after {
  content: '';
  position: absolute;
  background: var(--mdgift-color);
  width: 2px;
  height: 24px;
  top: 0;
}
#mdgifts-panel .md-btn-close::before {
  left: 50%;
  top: 1px;
  -webkit-transform: rotate(45deg) translateX(-50%);
  -moz-transform: rotate(45deg) translateX(-50%);
  -ms-transform: rotate(45deg) translateX(-50%);
  -o-transform: rotate(45deg) translateX(-50%);
  transform: rotate(45deg) translateX(-50%);
}
.md-btn-close::after {
  left: 50%;
  -webkit-transform: rotate(-45deg) translateX(-50%);
  -moz-transform: rotate(-45deg) translateX(-50%);
  -ms-transform: rotate(-45deg) translateX(-50%);
  -o-transform: rotate(-45deg) translateX(-50%);
  transform: rotate(-45deg) translateX(-50%);
}
#mdgifts-panel .close {
  position: relative;
  background: transparent;
  opacity: 1;
  display: inline-block;
  width: 23px;
  height: 23px;
}
#mdgifts-panel .modal-header {
  text-align: center;
  background: #F3F3F3;
  padding: 21px 12px;
  border-bottom: 0;
}
#mdgifts-panel .modal-header h2 {
  color: #3f474f;
}
