@import './promo.css';
@import './favorite.css';
@import './brand-logo.css';
@import './amount-calc.css';
@import './buttons.css';

.card-container {
    display: block;
    padding: 10px;
}

a.card-container * {
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    text-decoration-thickness: 0 !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-decoration-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    border-bottom-color: transparent !important;
}

@media (max-width: 768px) {
    .card-container {
        width: 100%;

        padding: 5px 10px !important;
    }
}

.card {
    position: relative;
    background-color: #FFFFFF;
    box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    max-width: 100%;

    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-small-card .card {
        max-width: 100%;
        height: 283px;
    }
}


.card.cupon,
.card.product,
.card.item {
    height: 488px;
    width: 100%;
    max-width: 327px;
}

.card.item,
.card.product {
    text-decoration: none;
}

@media (max-width: 768px) {

    .mobile-small-card .card.product,
    .mobile-small-card .card.cupon,
    .mobile-small-card .card.item {
        width: 162px;
        width: 99%;
        height: 283px;
    }
}

/* Image Section */
.card-header {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-small-card .card-header {
        min-height: 100px;
        height: 100px;
        align-items: flex-start;
    }
}

.card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;

}

@media (max-width: 768px) {
    .mobile-small-card .card-image {
        max-width: 100%;

        max-height: 100px;
        object-fit: cover;
    }
}


.card-body {
    width: 100%;
    height: auto;
    max-height: 204px;
    padding: 20px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

@media (max-width: 768px) {
    .mobile-small-card .card-body {
        padding: 12px 12px 12px 12px;
        gap: 20px !important;
    }
}


.card-details {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    color: #46494F;

    font-style: normal;
}

.card-details em {
    font-style: normal;
    font-size: 36px;
    font-weight: 700;
    line-height: 32px;
    /* 80% */
}

.card-details span {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.card-details span.sub {
    font-size: 20px;
}


/* cupons */
.card.cupon .card-details{
    margin: 5px 0 0 0;
}

.card.cupon .card-details span{
    font-size: 18px;
    line-height: 28px;
}

.card.cupon .card-details em{
    font-size: 28px;
    line-height: 30px;
    font-style: normal;
    font-weight: 700;
}



@media (max-width: 768px) {
    .mobile-small-card .card-details em {
        font-size: 24px;
        line-height: 20px;
    }

    .mobile-small-card .card-details span {
        font-size: 13px !important;
        line-height: 13px;
    }
}

/* .card.cupon .card-details em {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
} */

@media (max-width: 768px) {
    .mobile-small-card .card.cupon .card-details em {
        font-size: 20px;
        line-height: 20px;
    }
}


.card-footer {
    width: 100%;
    padding: 0 20px 20px 20px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .mobile-small-card .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 0 12px 12px 12px;
    }
}

.product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .mobile-small-card .product-price {
        font-size: 14px;
        line-height: 14px;
        gap: 4px;
        margin-top: 0;
    }
}

.price-old-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .mobile-small-card .price-old-container {
        gap: 2px;
    }
}

.price-old {
    font-weight: 400;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.5);
    font-size: 28px;
}

@media (max-width: 768px) {
    .mobile-small-card .price-old {
        font-size: 20px;
        line-height: 20px;
    }
}

span.price-currency-old {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    font-size: 28px;
}

@media (max-width: 768px) {
    .mobile-small-card span.price-currency-old {
        font-size: 20px;
        line-height: 20px;
    }
}

span.price-current {
    font-weight: 700;
    color: #000000;
}

@media (max-width: 768px) {
    .mobile-small-card .price-current {
        font-size: 20px;
        line-height: 20px;
    }
}

span.product-title-bold {
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .mobile-small-card span.product-title-bold {
        font-weight: 500;
    }
}

span.product-title-regular {
    font-weight: 400;
    display: block;
}

.expire {
    color: #46494F;
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 200% */
}

@media (max-width: 768px) {
    .mobile-small-card .expire {
        font-size: 11px;
        line-height: 13px;
    }

    section.new .card-body .card-details .card-title-regular {
        font-size: 13px !important;
        line-height: 16px !important;
        margin: 7px 0 0 0;
    }
}






/* new */
section.new .card-body {
    gap: 30px;
}

section.new .card-body .card-details .card-title-regular {
    font-size: 18px;
    line-height: 23px;
    margin: 7px 0 0 0;
}


/* recommended */


.recommended .card-details {
    margin: 15px 0 0 0;
}

.recommended .card-details .product-title-bold{
    font-size: 18px;
    line-height: 24px;
}

.recommended .card-details .product-title-regular{
    font-size: 18px;
}

.recommended .card-details .product-price span{
    font-size: 22px;
}

.recommended .card-details .product-price .price-old-container .price-currency-old{
    font-size: 14px;
}




.recommended .card-footer{
    justify-content: flex-end;
}

.recommended .card-footer .add-button{
    font-size: 16px;
    padding: 6px 14px;
}




/* desktop resolutions */

/* 1599 */
@media screen and (min-width: 1024px) and (max-width: 1599px) {

    section.new .card-body .card-details .card-title-regular {
        font-size: 15px;
        line-height: 22px;
    }

    
    .recommended .card-details .product-title-bold{
        font-size: 16px;
        line-height: 22px;
    }
    
    
    .card.cupon .card-footer{
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }
        
    .card.cupon .card-footer .amount-container{
        max-width: unset;
    }

    
    .card.cupon .card-details em{
        font-size: 25px;
        line-height: 29px;
    }

}

/* 1499 */
@media screen and (min-width: 1024px) and (max-width: 1499px) {

    section.new .card-body {
        gap: 25px;
    }

    
    .card.cupon .card-details span{
        font-size: 17px;
        line-height: 27px;
    }
        
    .recommended .card-details span{
        font-size: 17px;
        line-height: 27px;
    }

    .recommended .card-details .product-title-bold{
        font-size: 14px;
        line-height: 20px;
    }

    .card.cupon .card-details em{
        font-size: 22px;
        line-height: 28px;
    }

    section.new .card-body .card-details em{
        font-size: 32px;
    }

    
    .recommended .card-details .product-price span{
        font-size: 20px;
    }

}

/* 1399 */
@media screen and (min-width: 1024px) and (max-width: 1399px) {

    section.new .card-body {
        gap: 20px;
    }


    .card-details span {
        font-size: 16px;
        line-height: 26px;
    }

    .card-details em {
        font-size: 32px;
    }

    section.new .card-body .card-details .card-title-regular {
        font-size: 14px;
        line-height: 20px;
    }

        
    .card.cupon .card-details span{
        font-size: 16px;
        line-height: 26px;
    }
    
    .card.cupon .card-details em{
        font-size: 20px;
        line-height: 26px;
    }

    
    section.new .card-body .card-details em{
        font-size: 30px;
    }

            
    .recommended .card-details .product-price{
        margin: 0;
    }
                
    .recommended .card-details .product-title-regular{
        font-size: 16px;
    }
        
    .recommended .card-details .product-price span{
        font-size: 18px;
    }

}

/* 1299 */
@media screen and (min-width: 1024px) and (max-width: 1299px) {

    
    .card-details span {
        font-size: 14px;
        line-height: 24px;
    }

    .card-details em {
        font-size: 28px;
    }

    
    section.new .card-body .card-details .card-title-regular {
        font-size: 13px;
        line-height: 18px;
    }

        
    section.new .card-body .card-details em{
        font-size: 26px;
    }

        
    .card.cupon .card-details em{
        font-size: 18px;
        line-height: 26px;
    }
            
    .card.cupon .card-details span{
        font-size: 14px;
        line-height: 25px;
    }

                    
    .recommended .card-details .product-title-regular{
        font-size: 14px;
        line-height: 24px;
    }
}

/* 1199 */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    section.new .card-body {
        gap: 15px;
    }

    .card-details em {
        font-size: 25px;
    }
            
    section.new .card-body .card-details em{
        font-size: 24px;
    }
            

}
