/**
* 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;
    --mdgift-color: #E94A12;
  }
  
  .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: calc(var(--card-padding) + var(--radio-border-width));
    top: calc(5px + var(--radio-border-width));
    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;
  }
  
  @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: var(--radio-size) !important;
      outline: none;
      transition: background 0.2s ease-out, border-color 0.2s ease-out;
      width: var(--radio-size) !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: 0.95rem;
      left: 25%;
      position: absolute;
      top: 50%;
      transform: rotate(45deg) translate(-50%, -50%);
      width: 0.70rem;
    }
  
    #mdgifts-panel .gift-widget-wrapper .giftProduct .rbutton:checked {
      background: var(--mdgift-color);
      border-color: var(--mdgift-color);
    }
  }
  
  #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; */
    /* background: rgba(240,233,233, 0.35); */
    padding: 5px 22px;
    /* box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2); */
    /* border: 1px solid rgba(0,0,0,.125); */
    /* border-radius: 5px; */
  }
  
  #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;
  }
  #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;
  }
  
  #mdgifts-panel .item.giftProduct img {
    width: 100%;
  }
  
  #mdgifts-panel .gift-widget-title {
    font-size: 18px;
    margin-bottom: .5rem;
    display: block;
    font-weight: bold;
  }
  
  #mdgifts-panel .add-gift-action {
    text-align: center;
    margin-top: 10px;
  }
  
  #mdgifts-panel .addGiftToCart {
    text-transform: none;
    position: relative;
    background: var(--mdgift-color);
  }
  
  #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;
  }
  
  .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: var(--mdgift-color);
    border-radius: 50%;
    background-size: 22px;
    margin: 0 auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/gift-icon.svg);
  }
  .cart-summary-products .mdgift-label::before{
    width: 21px;
    height: 22px;
    content: '';
    float: left;
    display: block;
    background-color: var(--mdgift-color);
    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: var(--mdgift-color);
  }
  
  .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:after {
    content: "";
    width: 100%;
    position: absolute;
    height: 100%;
    display: block;
    top: 0;
    opacity: 0.5;
    left: 0;
  }
  .disabled-gift {
    opacity: 0.8;
  }
  .title-spend {
        font-weight: 700;
      font-size: 16px;
      z-index: 1;
      margin-top: 6px;
      position: relative;
      color: #000;
  }
  @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;
      text-transform: uppercase;
      font-weight: 600;
  }
  .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: 100px auto;
  }
  .mdgift-modal .gift--slider:not(.splide--slide) ul li {
      max-width: 33%;
  }
  
  .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: 200px;
  }
  .mdgift-label strong {
      background: var(--mdgift-color);
      color: #fff;
      padding: 3px;
      font-size: 12px;
  }
  /* responsive */
  @media screen and (max-width: 640px) {
    .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: -7px;
      left: auto;
      right: 37px;
    }
  
    .gift-widget-wrapper .splide__arrow--next {
      right: 0px;
      top: -7px;
    }
    .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: 60%;
        flex: 0 0 60% !important;
    }
  }
  