/* ---------------------------------------------- */
/*          CSS for Special Offers                */
/* ---------------------------------------------- */

.us-category-content.special-offer-category-content #swiper-soct .swiper-slide { margin-bottom: 15px;}
.us-category-content.special-offer-category-content { padding-bottom: 0 !important; }

/* Special Offer List */
.special-offer-thumb img {
	width: 100%;
}
.special-offer-thumb .button {
	position: relative;
	width: 100%;	
    cursor: pointer;
    text-align: center;
    display: block;
    line-height: 37px;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    background-image: linear-gradient(#00c58e, #00946b);
}

 .product-special-info .special-offer-name,
.special-offer-thumb .btn {
		font-size: 12px !important;
}

.special-offer-thumb .caption {
	height: 107px;
}

.special_offer_status {
	position: absolute;
    text-align: center;
	width: 210px;
	top: 25px;
	left: -41px;
	line-height: 46px;
	padding-right: 12px;
	letter-spacing: 1px;
	transform: rotate(-40deg);
	-webkit-transform: rotate(-40deg);
	z-index: 20;	
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: red;
	opacity: 0.9;
	box-shadow: -2px 3px 10px 1px #3e3e3e;
}
.special-offer-thumb {
	position: relative;
	border: 1px solid #ddd;
	overflow: auto;
	padding: 15px;
	background-color: white;
}
.special-offer-thumb h4{
	margin-top: 11px;
	margin-bottom: 4px;
	line-height: 25px;
	font-size: 20px;
}
.special-offer-thumb:hover {
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.5);
}
.special-offer-grid {
	margin-top: 15px;
}
.special-offer-category-content .row > .special-offer-grid:last-child {
	margin-bottom: 15px;
}

#column-left .special-offer-grid, #column-right .special-offer-grid {
    width: 100%;
}
.btn-heading {
	margin-top: 20px;
    min-width: 100%;
    float: right;
	font-size: 14px;
}
/* Timer for Special Offer */
.ended, .continuous, .timer_banner{
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    height: 40px;
    padding: 7px;
    border-radius: 4px;
    /* border: 1px solid #1a1aa5; */
    /*background: linear-gradient(#26aee0, #1d8ab3);*/
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 35px;
}
.product-special_offer-info .special_offer_timer.ended, .special-offer-thumb .special_offer_timer.ended {
    background: #666;
    border-radius: 1px !important;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    border-color: #666 !important;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 8px 15px;
    height: 37px;
}
.product-special_offer-info .special_offer_timer.ended { margin-top: 0; }
.special-offer-thumb .special_offer_timer.ended {
    width: 100%;
}

.timer_banner {
    /*background: linear-gradient(#26aee0, #1d8ab3);*/
    background: rgb(176, 143, 66);
}
.ended > div, .continuous > div, .timer_banner > div{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.special-offer-grid .special_offer_timer {
    text-align: center;
    position: relative;
    box-shadow: 0 -8px 30px 15px rgb(255, 255, 255);
    height: 55px;
    margin-top: 10px;
    background: white;
}
.product-special_offer .ended{
/*     border-radius: 4px;
    border: 1px solid #888;	
	background: linear-gradient(#fff, #e2e2e2); */
}
/* -- таймер на странице описания акций  -- */
.product-special_offer-info .special_offer_timer {
    text-align: center;
    padding: 5px 10px 12px 10px;
	border: 1px solid #ccc;
    border-radius: 4px;	
}
.product-special_offer-info .item-timer div{
	color: #fff;
	font-size: 22px;
    width: 24%;
	line-height: 18px;
}	
.product-special_offer-info .ended,
.product-special_offer-info .continuous,
.product-special_offer-info .timer_banner {
	padding: 10px 20px;
	margin-left: 0;
    margin-right: 0;
}
.product-special_offer-info .item-timer div{
/* 	background: linear-gradient(#fff, #fff);
    border: 1px solid #ccc; */
}
.special-offer-thumb.offer-ended {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    transition: filter .3s,opacity .3s;
    opacity: .7;
}
.special-offer-thumb.offer-ended:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}
.item-timer{
	margin-bottom: -1px;
}
.item-timer div {
    /*background: linear-gradient(#26aee0, #1d8ab3);*/
    background: rgb(176, 143, 66);
    color: #fff !important;
    /* border: 1px solid #888; */
    border-radius: 4px;
    padding: 6px 1px 1px 1px;
    font-size: 20px;
    margin-left: 1px;
    display: inline-block;
    width: 22%;
    line-height: 16px;
}
.waitspecial div {
    background: linear-gradient(#ffa439, #a27a1e);
}
.item-timer div:first-child{
    margin-left: 0;
}
.special_offer_timer span{
    font-size: 12px;
	font-weight: 600;
}
.item-timer div>span{
	display: block;
    font-size: 10px;
	font-weight: 600;
    margin-top: 1px;
}
@media (max-width: 420px) {
 .item-timer div{
/*     width: 24%; */
/* 	margin-left: 0px; */
 }
 .item-timer div>span{
/*     font-size: 9px; */
/* 	margin-top: 2px; */
 }
 .product-grid .special_offer_timer, .us-module-row .special_offer_timer {
    margin-left: -8px;
    margin-right: -8px;
}
 }
/* Special Offer Info */
.special-offer-descr {
	border: 1px solid #ddd;
	overflow: auto;
	padding: 15px;
    margin: 5px 0 20px 0;
	position: relative;
}
.special-offer-descr p {
	font-size: 16px;
}
.special-offer-descr h1 {
	margin-top: 5px;
}
.special-offer-label {
	position: absolute;
    bottom: 10px;
    right: 12px;
	max-width: 31%;
    text-align: right;
	z-index: 1;
}
.product-layout.product-list.col-12 .special-offer-label.som-active-label {
    bottom: 0px;
    right: 0px;
}
.som-active-label {
	cursor: pointer;
}
.som-active-label:hover {
    max-width: calc(28% + 6px);
	transition: all 0.1s ease-out;
	/*right: 20px;*/
}
.transition .special-offer-label {
/*     top: 115px; */
}
.transition .som-label-gift {
/* 	top: 105px; */
}
.product-list .special-offer-label {
    right: unset;
	width: unset;
	max-width: 80px;
}
.special-offer-label img {
    max-width: 100%;
}

/* Timer for Product Special */
.product-grid .special_offer_timer,
.us-module-row .special_offer_timer {
	text-align: center;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
.product-special .product-list .special_offer_timer {
	text-align: center;
	width: 235px;
	position: absolute;
    right: 20px;
    bottom: 60px;	
}
}
.special-offer-thumb .timer_banner,
.special-offer-thumb .ended,
.product-special-info .ended {
	margin-left: 0;
    margin-right: 0;
	margin-top: 20px;
}
.continuous {
	display: none;
}

.us-category-content  .special-offer-gift .gift-header,
#modal-som-info .special-offer-gift .gift-header,
.product-special-info .special-offer-name {
	display: block;
	font-size: 14px;
      background: linear-gradient(90deg,#cfcece,hsl(0deg 0% 100% / 0%));
	color: #5C5C5C;
	padding: 8px 12px;
	font-weight: 600;
	    border-radius: 3px;
	cursor: pointer;
}
.us-category-content  .special-offer-gift .gift-header,
#modal-som-info .special-offer-gift .gift-header { cursor: default; }
.product-special-info .special-offer-gift .gift-header { display: none; }

.product-special-info .special-offer-name:hover { 
	background-color: rgb(176, 143, 66);
    border-color: rgb(176, 143, 66);
	}

.product-special-info .special-offer-gift {
    margin-bottom: 10px;
    border-radius: 4px;
    /*border: 2px solid #f00;*/
    background: #fff;
}
.special-offer-gift .gift-header,
.special-offer-label .gift-header {	
    font-size: 14px;
    background-color: #f00;
    color: white;
    padding: 3px;
    font-weight: 600;
    margin-top: -2px;
	text-align: center;
}
.special-offer-label .gift-header {
    font-size: 11px;
    padding: 1px;
    display: none;
}
.som-label-gift {
    border-radius: 4px;
    border: 2px solid rgb(176, 143, 66);
    background: #fff;
/* 	top: 125px; */
}
.som-label-gift img {
    padding: 2px;
	min-height: unset !important;
}
.special-offer-gift .gift-thumb {
	padding-right: 10px;
	width: 65px;
}

.special-offer-gift .gift-info{
    display: flex;
    justify-content: stretch;
    align-items: center;
    padding: 6px 12px 9px;    
    min-height: 70px;
    background: #fff;
}
.special-offer-gift span {
	line-height: 16px;
  font-size: 13px;
  font-weight: 600;  
}
.special-offer-gift img {
  width: 100%;  
}
#modal-som-info .special-offer-gift img {
  max-width: 51px;  
}
.thumbnails .special-offer-label {
/*     top: 130px; */
}
.product-special-info {
    margin-top: 20px;
    max-width: max-content;
    margin-left: auto;
}
.product-special-info .special_offer_timer {
	text-align: center;
    margin-bottom: 25px;
}
.special-offer-right-block {
	width: 280px;
	float: right;
	margin-left: 10px;	
}

@media (max-width: 767px) {
    .product-special-info {  max-width: 100%;  }
}

@media (max-width: 600px) {
.special-offer-right-block {
	width: 100%;
}
.special-offer-label .gift-header {
    display: none;
}
}
.special-offer-descr .special-offer-gift {
    border-radius: 4px;
    /*border: 2px solid #f00;*/
/*     max-height: 130px; */
    margin: 10px 0;
 /*    overflow: hidden; */
}		

/* CSS for modal window with special info */
#modal-som-info .container-fluid {
    padding: 0px;
}
#modal-som-info .som-descr {
	/*padding-left: 15px;*/
	width: 100%;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#modal-som-info .som-image {
	display: none;
    float: left;
    width: 40%;
}
#modal-som-info .som-image img {
    width: 100%;
}
#modal-som-info .som-descr h5 {
    color: #5C5C5C;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 7px;
    margin-top: 0;
-webkit-text-stroke-width: thin;
}
#modal-som-info .som-descr p {
    font-size: 13px;
    font-weight: 600;
}	

#modal-som-info .special-offer-gift {
    border-radius: 4px;
    /*border: 2px solid #f00;*/
/*     max-height: 130px; */
    margin-top: 10px;
  /*   overflow: hidden; */
	width: 100%;
}
@media (max-width: 600px) {
#modal-som-info .som-image {
    float: left;
    width: 100%;
}
#modal-som-info .som-descr {
    padding-left: 0px;
    width: 100%;
}
#modal-som-info .som-descr h5 {
	margin-top: 7px;
}
.product-special-info .special-offer-name { padding: 8px; }
}

/* new CSS for dropdown cart */
.dropdown-menu .img-thumbnail {
	min-width: 50px;
}
@media (min-width: 768px) {
#cart .dropdown-menu {
    width: 500px;
}
}

#som_category_select .input-group-addon {
	text-align: center;
    font-size: .95em;
    background: #f5f5f5;
    padding: 0 10px;
    border: solid 1px rgba(0, 0, 0, .1);
    border-right: none;
    line-height: 38px;
}
#som_category_select select.form-control[size] {
    height: 40px;
}
.us-module-img {
	position: relative;
}
#modal-som-info .modal-dialog {
    max-width: 600px;
}

.special-offer-gift .gift-list {
    background: #fff;
	display: flex;
	flex-direction: column;
}
.gift-info-row {
    display: -ms-flexbox;
    display: flex;
    font-size: 13px;
    font-weight: 300;
    position: relative;
    -ms-flex-pack: justify;
    justify-content: space-between;
	border-bottom: 1px solid #ddd;
    padding: 3px 6px;
}

.gift-info-row span:first-child {
    padding-right: 8px;
}
.gift-info-row span:last-child {
    padding-left: 8px;
    position: relative;
    max-width: 50%;
    text-align: right;
    right: 0;
}
.gift-info-row:hover > .hidden-img-gift{
	display: block;
}
.hidden-img-gift{
	border: 1px solid red;
    padding: 5px;
    width: 100px;
    height: 100px;
    position: absolute;
    right: 20px;
    top: -19px;
    z-index: 20;
    background-color: #fff;
	box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.5);
	display: none;
}
.hidden-img-gift img{
	width: 100%;
}
.hidden-img-gift:before,
.hidden-img-gift:after {
	position: absolute;
    top: 20px;
    margin-left: -27px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right: 12px solid #fff;
    content: "";
    display: block;
}
.hidden-img-gift:before {
	border-right: 12px solid red;
    margin-left: -28px;
}



.special-offer-gift .gift-thumb { width:85px; }
.special-offer-gift .gift-info { padding: 0px 6px 0px; min-height: 55px; }
.special-offer-gift .gift-info a { font-size: 12px; }
.special-offer-gift { border-radius: 1px !important; }