@import 'tabler-icons.min.css';
@import 'common.css';




/* _____________________ Header _____________________ */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* logo */
.logo {
    width: 55px;
}

/* menu */
.menu_items {
    display: flex;
}
.menu_item {
    margin-left: 15px;
    margin-right: 15px;
}
.menu_item_link {
    color: #333;
    font-weight: 700;
    position: relative;
    transition: 350ms;
}
.menu_item_link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background-color: rgb(236, 67, 0);
    border-radius: 5px;
    transition: 350ms;
}
.menu_item_link:hover,
.menu_item_link.active {
    color: rgb(236, 67, 0);
}
.menu_item_link:hover::before,
.menu_item_link.active::before {
    width: 100%;
}

/* options */
.header_options {
    display: flex;
}
.cart,
.account {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 35px rgba(0,0,0, 0.1);
    padding: 7px;
    cursor: pointer;
    position: relative;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account {
    margin-left: 15px;
}
.cart::before,
.account::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: rgb(236, 67, 0);
    border-radius: 5px;
    transition: 350ms;
}
.cart:hover,
.account:hover {
    color: #fff;
    box-shadow: 0 15px 25px rgba(236, 67, 0, 0.5);
}
.cart:hover::before,
.account:hover::before {
    width: 100%;
    height: 100%;
}
.cart .ti,
.account .ti {
    font-size: 30px;
    position: relative;
    z-index: 1;
    transition: 350ms;
}
.cart_count {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 1;
    background-color: rgb(236, 67, 0);
    border-radius: 100%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.6;
}



/* _____________________ Banner _____________________ */
.banner .row {
    align-items: center;
}
.banner .col-7 {
    position: relative;
}
.banner_title {
    font-size: 110px;
    line-height: 1;
    text-transform: lowercase;
}
.banner_description {
    color: rgba(0,0,0, 0.4);
    margin-top: 25px;
    margin-bottom: 45px;
}
.banner_smiley {
    position: absolute;
    padding: 8px 25px;
    box-shadow: 0 0 35px rgba(0,0,0, 0.1);
    border-radius: 20px;
    background-color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.banner_smiley span {
    margin-right: 15px;
    font-size: 29px;
}
.banner_smiley_1 {
    top: 100px;
    right: 0;
}
.banner_smiley_2 {
    left: 0;
    bottom: 100px;
}




/* _____________________ Product _____________________ */
.products .container {
    position: relative;
}
.products .col-3 {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    transition: 500ms;
}
.products .col-3:hover {
    transform: scale(1.1);
    box-shadow: 0 30px 35px rgba(0,0,0, 0.1);
}
.product_img {
    position: relative;
}
.products .col-3:hover .product_img img {
    animation: product_img 1s forwards;
}
@keyframes product_img {
    50% {
        transform: scale(1.2) rotate(45deg);
    }
    100% {
        transform: scale(1) rotate(45deg);
    }
}
.product_heading {
    text-align: left;
}
.product_description {
    flex-grow: 1;
    font-size: 12px;
    color: rgba(0,0,0, 0.4);
    margin-top: 5px;
    margin-bottom: 15px;
}

.product_bottom {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

/* price */
.product_price {
    font-weight: 700;
    font-size: 20px;
}

/* button */
.product_button {
    display: inline-flex;
    align-items: center;
    color: rgb(236, 67, 0);
    border: 1px solid rgb(236, 67, 0);
    padding: 7px 15px;
    border-radius: 45px;
    font-size: 14px;
    font-weight: 700;
    transition-delay: 300ms;
    position: relative;
    overflow: hidden;
}
.product_bottom .ti {
    font-size: 18px;
    margin-right: 7px;
    position: relative;
    z-index: 2;
}
.product_button span {
    position: relative;
    z-index: 2;
}
.product_button::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background-color: rgb(236, 67, 0);
    border-radius: 45px;
    transition-duration: 350ms;
    transition-delay: 350ms;
    transition-timing-function: linear;
    transform: translate(-101%);
}
.product_button::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 70px;
    transition-duration: 350ms;
    transition-delay: 0s;
    transition-timing-function: linear;
    background-image: linear-gradient(90deg, rgba(255,255,255, 0.1), rgba(255,255,255, 0.5));
    transform: skewX(45deg);
}
.product_button:hover {
    box-shadow: 0 15px 25px rgba(236, 67, 0, 0.5);
    color: #fff;
    transition-delay: 0s;
}
.product_button:hover::before {
    transform: translate(0);
    transition-delay: 0ms;
}
.product_button:hover::after {
    transition-delay: 300ms;
    left: 115%;
}

/* label */
.product_label {
    padding: 5px 20px;
    border-radius: 25px;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 0;
}
.product_label_new {
    background-color: rgb(236, 67, 0);
    color: #fff;
}
.product_label_hit {
    background-color: rgb(255, 216, 42);
    color: #333;
}

/* filter */
.products_filter {
    display: inline-flex;
    margin-bottom: 25px;
    position: sticky;
    top: 25px;
    z-index: 2;
}
.products_filter_block {
    box-shadow: 0 0 35px rgba(0,0,0, 0.1);
    border-radius: 25px;
    margin-right: 15px;
    background-color: #fff;
    position: relative;
}
.products_filter_heading {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 700;
}
.products_filter_heading .ti {
    font-size: 20px;
    margin-left: 10px;
}
.products_filter_menu {
    position: absolute;
    top: 41px;
    left: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 30px 35px rgba(0,0,0, 0.1);
    background-color: #fff;
    border-radius: 0 0 25px 25px;
    padding: 15px 20px;
    display: none;
}
.products_filter_menu_item {
    white-space: nowrap;
    font-size: 14px;
    color: rgba(0,0,0, 0.4);
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}
.products_filter_menu_item:hover {
    color: #333;
}
.products_filter_menu_item.active {
    color:rgb(236, 67, 0);
}
.products_filter_block:hover {
    border-radius: 25px 25px 0 0;
}
.products_filter_block:hover .products_filter_menu {
    display: block;
}

.img_arugula {
    position: absolute;
    top: -100px;
    left: -150px;
    width: 380px;
}
.img_basil {
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
}




/* _____________________ Review _____________________ */
.review {
    box-shadow: 0 0 35px rgba(0,0,0, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}
.review_foto {
    width: 100px;
    border-radius: 100%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.review_user_name {
    margin-top: 15px;
    margin-bottom: 15px;
}
.review_text {
    color: rgba(0,0,0, 0.4);
}
.review_stars {
    margin-top: 15px;
    color: rgb(236, 67, 0);
}




/* _____________________ Footer _____________________ */
.footer .row {
    justify-content: space-between;
}
.footer_heading {
    margin-bottom: 20px;
}
.footer_item {
    margin-top: 10px;
    display: flex;
    align-items: center;
}
.footer_item_link {
    color:#333;
    display: inline-flex;
    align-items: center;
}
.footer_item_link .ti {
    font-size: 17px;
    margin-right: 7px;
}







@media(max-width: 1250px) {
    img {
        height: auto;
    }

    .container {
        width: 1024px;
    }

    /* Footer */
    .footer .col-2 {
        width: calc(25% - 30px);
    }
}

@media(max-width: 1024px) {
    .container {
        width: 768px;
    }

    /* Header */
    .logo {
        width: 45px;
    }

    /* Banner */
    .banner_title {
        font-size: 90px;
    }

    /* Products */
    .products .col-3 {
        width: calc(33.3333% - 30px);
    }

    .img_arugula {
        top: 0;
        width: 250px;
    }

    /* Reviews */
    .reviews .row {
        justify-content: center;
    }
    .reviews .col-4 {
        width: calc(50% - 30px);
    }

    /* Footer */
    .footer .col-4 {
        width: calc(100% - 30px);
    }
    .footer .col-2,
    .footer .col-1 {
        width: calc(33.3333% - 30px);
    }
}

@media(max-width: 768px) {
    .container {
        width: 576px;
    }

    /* Banner */
    .banner .col-5,
    .banner .col-7 {
        width: calc(100% - 30px);
        margin-top: 0;
        margin-bottom: 0;
    }
    .banner .col-5 {
        text-align: center;
    }
    .banner_title {
        font-size: 110px;
        margin-top: 45px;
        margin-bottom: -45px;
        position: relative;
        z-index: 1;
    }
    .banner_description,
    .banner .col-5 .button {
        display: none;
    }

    /* Products */
    .products .col-3 {
        width: calc(50% - 30px);
    }

    .img_basil {
        right: -50px;
        width: 100px;
    }
}

@media(max-width: 576px) {
    .container {
        width: 414px;
    }

    /* Header */
    .menu_toggle {
        display: flex;
    }
    .menu {
        display: none;
    }

    /* Banner */
    .banner_title {
        font-size: 80px;
        margin-bottom: -20px;
    }

    .banner_smiley {
        padding: 8px 15px;
        font-size: 12px;
        border-radius: 17px;
    }
    .banner_smiley span {
        margin-right: 12px;
        font-size: 20px;
    }

    /* Products */
    .products .col-3 {
        width: calc(100% - 30px);
    }
    .product_img,
    .product_heading,
    .product_description {
        text-align: center;
    }
    .product_bottom {
        justify-content: center;
    }
    .product_price {
        margin-right: 25px;
    }

    /* Reviews */
    .reviews .col-4 {
        width: calc(100% - 30px);
    }

    /* Footer */
    .footer .col-4,
    .footer .col-2,
    .footer .col-1 {
        width: calc(50% - 30px);
    }
}

@media(max-width: 414px) {
    .container {
        width: 90%;
    }
    h2 {
        font-size: 45px;
    }

    /* Footer */
    .footer .col-4,
    .footer .col-2,
    .footer .col-1 {
        width: calc(100% - 30px);
    }
}

