/********* Custom **********/
.icon-homai-mobile {
    height: 40px;
    padding-left: 1.9rem !important;
}

.icon-homai-mobile .icon-homai {
    height: 100%;
}

.icon-homai {
    background: url(../img/icons/icon-coupon.svg) no-repeat center;
    display: block;
    width: 20px;
    height: 20px;
}

.icon-lock {
    background: url(../img/icons/icon-lock.svg) no-repeat center;
    display: block;
    width: 30px;
    height: 30px;
}

.checkoutBox__homai-coupons-add .quickview__back {
    left: 20px;
    top: 20px;
}

.checkoutBox__homai-coupons {
    padding: 3rem 4rem 4rem;
}

.wrapper-cupones--tabs .item-cupon-text--more .edit-direction__item.item__text:hover {
    color: #77BD1E;
}

.wrapper-cupones--tabs .item-cupon-text--more .edit-direction__item.item__text {
    text-decoration: underline;
    color: #666;
}

#homai_available_coupons h5 {
    color: #1c752c;
    font-weight: 600;
}

#homai_available_coupons p.checkout__coupons--subtitle {
    color: #686868;
}

.wrapper-cupones--tabs .edit-direction__item.item__text:hover {
    color: #1c752c;
}

.wrapper-cupones--tabs .edit-direction__item.item__text {
    font-size: 1.125rem;
    margin-right: 0;
}

.wrapper-cupones--tabs .user-account__first-heading .edit-direction__item.item__text {
    font-size: 1.225rem;
    font-weight: bold;
    margin-right: 0;
}

@media (max-width: 770px) {
    .wrapper-cupones--tabs .user-account__first-heading {
        justify-content: space-between;
    }
}

.side-menu-user__primary .side-menu-user__item.is-selected .icon-homai,
.side-menu-user-account .link-info.is-selected .icon-homai,
.side-menu-user__primary .side-menu-user__item:hover .icon-homai {
    background: url(../img/icons/icon-coupon-hover.svg) no-repeat center;
}

/********* Cupones **********/
.wrapper-cupones--tabs .nav-tabs {
    width: 600px;
    border: 0;
    margin-bottom: 40px;
    justify-content: space-between;
}

.wrapper-cupones--tabs .nav-tabs .nav-item {
    width: 48%;
    text-align: center;
    background-image: linear-gradient(90deg, #1C752C 0%, #7AC01F 100%);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper-cupones--tabs .nav-tabs .nav-item a {
    font-family: Source Sans Pro, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 3px;
    border: 0;
}

.wrapper-cupones--tabs .nav-tabs .nav-item a.active {
    font-family: Source Sans Pro, sans-serif;
    font-weight: 700;
    background-color: transparent;
    width: 100%;
    height: 100%;
    color: white;
    background-image: linear-gradient(90deg, #1C752C 0%, #7AC01F 100%);
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 5px;
    border: 0;
}

.wrapper-cupones--tabs .nav-tabs .nav-item a span {
    position: relative;
    top: -2px;
}

.tab-content {
    margin-top: 20px;
}

.wrapper-cupones {
    margin-top: 25px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* box cupon */
.item-cupon {
    border: 1px solid #ECECEC;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 48%;
    display: flex;
    flex-direction: column;
}

.item-cupon--img {
    position: relative;
}

.item-cupon--img img {
    width: 100%;
    height: auto;
}

.label-tipo {
    background-color: #FF6565;
    color: white;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 10px;
}

.item-cupon--text {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.item-cupon-text--title h3 {
    font-family: Kreon, serif;
    font-weight: 700;
    font-size: 22px;
    color: #77BD1E;
    margin: 0;
}

.item-cupon-text--fecha {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
}

.item-cupon-text--fecha .hoy {
    color: #FF6565;
}

.item-cupon-text--descripcion {
    color: #AFAFAF;
}

.item-cupon--codigo {
    background-color: #242424;
    color: white;
    text-align: center;
    padding: 10px;
    font-family: Kreon-Bold;
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
}

.item-cupon-text--secundario {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E6E6E6;
    padding-top: 10px;
    color: #AEAEAE;
}

.item-cupon-text--secundario p {
    margin: 0;
    padding: 0;
}

.label-acumulable {
    background-color: white;
    border: 1px solid #AEAEAE;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 3px;
}

/* consumidos */
.cupones-consumidos .item-cupon-text--title h3 {
    color: #AFAFAF;
}

.cupones-consumidos .label-tipo {
    background-color: #AFAFAF;
}

.cupones-consumidos .item-cupon-text--fecha span {
    color: #FF6565;
}

/* switch */
.switch {
    position: relative;
    width: 65px;
    height: 27px;
    margin: 0px;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-color: #AEAEAE;
    border-radius: 25px;
}

.switch:before {
    content: "";
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    transform: translate(2px, 2px);
    transition-timing-function: cubic-bezier(0.81, -0.02, 0, 2.13);
    transition-delay: .1s;
    animation: off 1s forwards;
}

.switch:checked {
    background-color: #77BD1E;
}

.switch:checked:before {
    transform: translate(40px, 2px);
    transition-timing-function: cubic-bezier(0.81, -0.02, 0, 2.13);
    transition-delay: .1s;
    right: 43px;
    animation: on 1s forwards;
}

.tarjetas-resumen--descuento,
.tarjetas-resumen--descuento span,
#hdcheckout-discount-label,
#hdcheckout-discount-amount,
.color-corp {
    color: #77bd1e;
}

.link--like {
    cursor: pointer;
    color: #77bd1e;
    text-decoration: underline;
}

.tarjetas-resumen--descuento {
    margin-bottom: 1rem;
}

.tarjetas-resumen--descuento:last-of-type {
    margin-bottom: 0;
}

.cupones-box-action {
    margin-bottom: 1.5rem;
}

.cupones-box-action .block__text.info__text {
    margin-top: 0;
}

@media (max-width: 991px) {
    .wrapper-cupones--tabs .nav-tabs {
        width: 100%;
    }

    .wrapper-cupones {
        margin-top: 0;
    }

    /* box cupon */
    .item-cupon {
        width: 100%;
    }
}
