/**
* 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: calc(var(--card-padding) + var(--radio-border-width));
  top: calc(5px + var(--radio-border-width));
  opacity: 1 !important;
}

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

.gift-widget-wrapper .item.giftProduct div.checker {
  position: absolute;
  top: 0;
  right: 0;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  .gift-widget-wrapper .giftProduct .rbutton {
    -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);
  }

  .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;
  }

  .gift-widget-wrapper .giftProduct .rbutton:checked {
    background: var(--color-green);
    border-color: var(--color-green);
  }
}

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

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

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

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

.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;
}

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

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

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

.gift-widget-wrapper {
  position: relative;
  margin-top: 25px;
}

select.mgift_ipa {
  display: table;
  margin: 0 auto;
  width: 97%;
}

.gift-widget-wrapper .gp-name {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
}

.item.giftProduct img {
  width: 100%;
}

.gift-widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  display: block;
  font-weight: bold;
}

.add-gift-action {
  text-align: center;
  margin-top: 10px;
}

.addGiftToCart {
  text-transform: none;
  position: relative;
}

.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(--color-green);
  border-color: var(--color-green);
}

.mdgift-item .cart_quantity::before,
.mdgift-item .product-line-grid-right .qty::before {
  width: 35px;
  height: 35px;
  content: '';
  float: left;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  background-size: 25px 25px;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../img/gift-icon.png);
}

.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: #2fb5d2;
  border: 1px solid #2fb5d2;
}

.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;
}

@keyframes expand {
  from {
    transform: scale(0);
    opacity: 0;
    background: transparent;
  }
}

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


/* 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;
  }
  
}
@media screen and (max-width: 336px) {
  .gift--slider.no-slider li {
      max-width: 47%;
      flex: 0 0 47% !important;
  }
}
