.gift-rule-desc {
	margin-bottom: 35px;
}
.gift_preselector_container {
	padding: 15px;
}
.gift-line {
	margin-bottom: 30px;
}
.gift-line .icon-gift:before {
	font-size: 16px;
	margin-right: 5px;
}
.gift-line .dashed {
	border-bottom: 1px dotted;
	text-decoration: none !important;
}
.gift-line .description {
	text-align: right;
}
.gift-line .description a {
	text-decoration: none !important;
}
.gift-line .disabled .gift-item {
	opacity: 0.5
}
.gift-popup {
 padding: 10px 40px 30px;
}

.gift-popup h2{
  margin: 0 0 20px;
    text-transform: uppercase;
}


.gift-popup .more-gift a {
   color: #e74c3c;
    font-size: 14px;
    text-decoration: none;
}
.gift-item-container {
	cursor: pointer;
}
.gift-item-container.disabled, .gift-item-container.hover{
	cursor: default;
}
.gift-item-container.processing{
    cursor: wait;
    opacity: 0.3;
}
.gift-item-container.hover .pic {
	border: 2px solid #e74c3c;
}

.gift-item {
	background: none repeat scroll 0 0 #f0f0f0;
	margin-bottom: 20px;
    overflow: hidden;
}
.gift-item .new-label {
    background: #e74c3c;
}
.gift-item .new-label:before,
.gift-item .new-label:after {
    display: none;
    border-color: #e74c3c transparent transparent transparent;
}
.container-item img {
	border: 1px solid #d6d4d4;
}
.container-item {
	display: inline-block;
	margin: 10px 25px;
	vertical-align: top;
	width: 128px;
}
.container-item .product_img_link {
}
.container-item .product-image-container {
	border: none;
}
.gift-rule-name {
   color: #555454;
    font: 600 18px/22px "Open Sans",sans-serif;
    margin-bottom: 0;
    margin-top: 7px;
    padding: 20px 5px 17px 71px;
    text-transform: uppercase;
}
.gift-rule-name h5 {
	color: #555454;
	font: 600 18px/22px "Open Sans", sans-serif;
	margin: 0;
	text-transform: uppercase;
}
.gift-rule-dependencies {
	background: none repeat scroll 0 0 #f6f6f6;
	color: #555454;
	padding: 20px;
}
.gift-rule-dependencies > div {
	background: none repeat scroll 0 0 #fff;
	display: inline-block;
	margin: 10px;
	padding: 10px;
	vertical-align: top;
	width: 22%;
}
.gift-rule-dependencies .icon {
 color: #555454;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}
.gift-rule-desc:after, .gift-popup h2:after {
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #e74c3c;
	bottom: -20px;
	content: " ";
	left: 20%;
	position: absolute;
}
.gift-rule-desc, .gift-popup h2 {
 background: none repeat scroll 0 0 #e74c3c;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
    min-height: 25px;
    padding: 0 12px 0 40px;
    position: relative;
    text-align: left;
	clear: both;
}
.gift-rule-dependencies ul, .gift-rule-dependencies ol {
	list-style: disc outside none;
	margin-bottom: 9px;
	margin-left: 20px;
	margin-top: 10px;
}

.gift-item{
	position:relative;
}


#module-bestkit_gifts-offers .gift-item:before {
 background: none repeat scroll 0 0 #ddd;
    border-radius: 20px;
    content: " ";
    height: 20px;
    left: 4%;
    margin-left: -10px;
    position: absolute;
    top: 20px;
    width: 20px;
}


#gift-popup h3{
	display:inline-block;
	width:100%;
}


.gift-scroll-content{
	display:inline-block;
	width:100%;
}


.gift-scroll-content .title{
   background: none repeat scroll 0 0 #e74c3c;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    position: relative;
    text-align: left;
}


.gift-scroll-content .title:after {
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #e74c3c;
	bottom: -10px;
	content: " ";
	left: 20%;
	position: absolute;
}
.gift-scroll-content .title a{
	color:#fff;
}


.gift-scroll-content   .pic{
	border:1px solid #d6d4d4;
}


/*jquery tooltip plugin*/
.tooltip {
    position: absolute;
    z-index: 1030;
    display: block;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: visible;
}

.tooltip.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.tooltip.top {
    padding: 5px 0;
    margin-top: -15px;
}

.tooltip.right {
    padding: 0 5px;
    margin-left: 3px;
}

.tooltip.bottom {
    padding: 5px 0;
    margin-top: 3px;
}

.tooltip.left {
    padding: 0 5px;
    margin-left: -3px;
}

.tooltip-inner {
    max-width: 200px;
    padding: 8px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background-color: #000000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-top-color: #000000;
    border-width: 5px 5px 0;
}

.tooltip.right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-right-color: #000000;
    border-width: 5px 5px 5px 0;
}

.tooltip.left .tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-left-color: #000000;
    border-width: 5px 0 5px 5px;
}

.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-bottom-color: #000000;
    border-width: 0 5px 5px;
}

.gift_preselector_container .gift-pic-container {
    border: 2px solid transparent;
    overflow: hidden;
	padding-left: 0px;
    padding-right: 0px;
}

.gift_preselector_container .gift-pic-container:hover {
    border: 2px solid #d0d0d0;
}

.gift_preselector_container .gift-pic-container.selected,
.gift_preselector_container .gift-pic-container.selected:hover {
    border: 2px solid #015883;
}

.gift_item .cart_delete a.gift_cart_delete {
	font-size: 23px;
	color: #333333;
	cursor: pointer;
}
.gift_item .cart_delete a.gift_cart_delete:hover { color: #silver; }

.gift_item textarea.gift_message {width: 100%}
@media (min-width: 992px) {
  .gifts-container-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: stretch;
    align-items: center;
  }
}
.gifts-container-wrapper .slick-slider {
  overflow: hidden;
  min-width: 100%;
  width: 0;
}
.gift-text,
.selected-combination {
  font-size: 14.5px;
  color: var(--opc-orange-1);
  font-weight: 300;
}
#gifts-popup .gift-text {
  color: var(--opc-black);
}
.gift-text {
  padding-top: 2px;
}
.gift-text--bold {
  font-weight: 700;
}
#gifts-popup .gift-text--price {
  color: var(--opc-green);
}
.gifts-container {
  display: flex;
  width: 100%;
  position: relative;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 30px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #F68B3B 0%, #FFB680 100%) border-box;
  border: 3px solid transparent;
  box-shadow: 0 6px 24px rgba(31, 171, 119, 0.15);
}
#checkout .gifts-container {
  border-radius: 12px;
}
.gifts-container .gift-header-text {
  padding-bottom: 4px;
}
.gifts-container .arrow {
  position: absolute;
  top: 50%;
  margin-top: -10px;
}
.gifts-container .arrow.prev {
  left: 0px;
}
.gifts-container .arrow.next {
  right: 0px;
}
.gift-item-wrapper {
  display: flex !important;
  width: 100%;
  flex-direction: column;
}
.gift-item-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  position: relative;
}
.gift-item-container.disabled {
  opacity: 1;
}
.gift-item-container .gift-image {
  width: 20%;
  max-width: 110px;
  min-width: 70px;
}
.gift-item-container .gift-image img {
  object-fit: cover;

}
.gift-item-container .gift-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gift-item-container .gift-content .gift-title a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'League Spartan', sans-serif;
  color: var(--opc-orange-1);
}
.gift-item-container .gift-content .gift-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-height: 26px;
}
.gift-item-container .gift-content .gift-progress .gift-progress-bar {
  border: 2px solid var(--opc-green-2);
  position: relative;
}
.gift-item-container .gift-content .gift-progress .gift-progress-bar .gift-progress-bar-fill {
  background-color: var(--opc-green-2);
  min-height: 26px;
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
}
.gift-progress-bar-fill-span {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 2;
  color: #232323;
}
.gift-progress-bar-fill-span .amount-margin {
  margin-left: 5px;
}
.gift-item-container .gift-content .gift-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .gift-item-container .gift-content .gift-actions {
    font-size: 10px;
  }
}
@media (min-width: 1201px) {
  .gift-item-container .gift-content .gift-actions {
    font-size: 11px;
  }
}
@media (max-width: 991px) {
  .gift-item-container .gift-content .gift-actions {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .gift-item-container .gift-content .gift-actions {
    font-size: 11px;
  }
}
.gift-item-container .gift-content .gift-actions .gift-action-button {
    background: rgba(246, 139, 59, 0.95);
    color: #fefbf9;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.3px;
    flex: 1 1 0;
    text-align: center;
    min-width: 155px;
}

#productPageGiftWrapper .gift-item-container .gift-content .gift-actions .gift-action-button {
    flex: unset;
    width: 270px;
}
body.ap5-pack-page #productPageGiftWrapper .gift-item-container .gift-content .gift-actions .gift-action-button {
  width: 100%;
}
@media (max-width: 480px) {
  #productPageGiftWrapper .gift-item-container .gift-content .gift-actions .gift-action-button {
    width: 100%;
  }
}

.gift-item-container .gift-content .gift-actions .gift-action-button:hover {
    background: rgba(246, 139, 59, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    text-decoration: none;
}

#checkout .gift-item-container .gift-content .gift-actions .gift-action-button:hover {
  background: var(--opc-orange-2);
}
.gift-item-container .gift-content .gift-actions .gift-action-button.disabled {
  background-color: var(--opc-orange-2);
}
.gift-item-container .gift-content .gift-actions .gift-action-button--secondary {
  background-color: var(--opc-green);
}
.gift-item-container .gift-content .gift-actions .gift-action-button--secondary:hover {
  background: var(--opc-green-2) !important;
}
#gifts-popup .modal-content {
  background-color: #fff;
}
#gifts-popup .gifts-popup-header .gifts-popup-header-text {
  font-size: 20px;
  font-weight: 600;
}
#gifts-popup .gifts-popup-header .gifts-popup-list-text {
  font-size: 16px;
  font-weight: 400;
}
#gifts-popup .gifts-list {
  display: flex;
  flex-wrap: wrap;
}
#gifts-popup .gifts-list .gift-item-wrapper {
  width: 33.33%;
  border: 1px solid #e0e0e0;
  padding: 1.25em;
  text-align: center;
  position: relative;
  margin-top: -1px;
  margin-left: -1px;
  word-break: break-word;
}
@media (max-width: 670px) {
  #gifts-popup .gifts-list .gift-item-wrapper {
    width: 50%;
  }
}
@media (max-width: 400px) {
  #gifts-popup .gifts-list .gift-item-wrapper {
    width: 100%;
  }
}
#gifts-popup .gifts-list .gift-item-wrapper .hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0.3125em solid #ff8301;
  box-shadow: 0 0.8125em 1.25em rgba(1, 1, 1, 0.21);
  transition: all 0.15s ease-out 0s;
  opacity: 0;
}
#gifts-popup .gifts-list .gift-item-wrapper .gift-title {
  margin: 20px 0;
  color: #000;
  font-size: 21px;
}
#gifts-popup .gifts-list .gift-item-wrapper:hover .hover,
#gifts-popup .gifts-list .gift-item-wrapper.hover .hover {
  opacity: 1;
}
#gifts-popup .gifts-list .gift-item-wrapper.processing {
  cursor: wait;
  opacity: 0.3;
}
#gifts-popup .gifts-list .gift-item-wrapper.gift-remove-button,
#gifts-popup .gifts-list .gift-item-wrapper.gift-choose-button:not(.disabled) {
  cursor: pointer;
}
#gifts-popup .gifts-list .gift-item-wrapper.disabled {
  cursor: not-allowed;
}
#product .gifts-container-wrapper .gifts-slider > div:not(:first-child),
.gifts-container-wrapper .hidden {
  display: none !important;
}
#main .modal-content {
  padding: 1.25rem;
  background-color: #f1f1f1;
}
#gifts-popup .terms-and-conditions-button {
  margin-top: 24px;
}
.bestkit_gifts.fancybox-wrap table td,
.bestkit_gifts.fancybox-wrap table th {
  padding: .2rem;
  vertical-align: middle;
}
