/*
Theme Name: fancy Food
Theme URI: 
Author: Chaitali
Author URI: https://wordpress.org
Description: fancy Food is designed to be flexible, versatile and applicable to any website.Its a compitable with woocommerce theme made with wordpress.A multitude of possibilities open up with just a few adjustments to color and typography. 
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fancy Food
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


/* rajdhani-regular - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/rajdhani/rajdhani-v15-latin-regular.woff'); 
}
/* rajdhani-500 - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/rajdhani/Rajdhani-Regular.woff'); 
}
/* rajdhani-600 - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/rajdhani/Rajdhani-SemiBold.woff'); 
}
/* rajdhani-700 - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/rajdhani/Rajdhani-Bold.woff'); 
}
/* seaweed-script-regular - latin */
@font-face {
    font-family: 'Seaweed Script';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/seaweed-script/SeaweedScript-Regular.woff'); 
}
.bypostauthor {
    /* Add your styles here */
    /* For example: */
    border: 2px solid #f00; /* Red border */
    padding: 10px;
    background-color: #ffeeee; /* Light red background */
}.alignright {
    float: right;
    margin: 0 0 1em 1em; /* Adjust margins as needed */
}.alignleft {
    float: left;
    margin: 0 1em 1em 0; /* Adjust margins as needed */
}.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}.wp-caption {
    text-align: center; /* Align caption text to center */
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
}.wp-caption-text {
    font-style: italic; /* Example style for caption text */
    margin-top: 0.5em; /* Adjust margin as needed */
}.gallery-caption {
    text-align: center; /* Align caption text to center */
    font-style: italic; /* Example style for caption text */
    margin-top: 0.5em; /* Adjust margin as needed */
}


/*Home Template*/
/* .home .woocommerce-loop-product__title + p{
    display: none;
} */

body{
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
}

.content-area{
    min-height: 500px;
    padding: 3rem 0;    
}

.page-template-template-home-php .content-area{
    padding: 0;
}

/* Home Page Template */

/* Header - Main Menu */
body #page > header{
    border-top: 4px solid #FFEB33;
    background-color: #fdfdfd;
    border-bottom: 1px solid #eee;    
}

header .search{
    padding: 0.7rem 0;
    background-color: #0000000a;
}

header .top-bar{
    padding: 1rem 0 0 0;
}

header p.site-title{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #000;
    font-weight: 600;
    margin: 0;
}

header p.site-title~span {
    color: #000;
}

header .brand{
    padding-bottom: 15px;
    word-break: break-word;
    /* -ms-word-wrap: break-word; */
}

header .brand img{
    max-width: 160px;
    height: auto;
}

.account{
    font-weight: 700;
}

.account ul li a{
    padding: 0 1rem 0 0 !important;
}

.main-menu{
    padding: 0;
}

.main-menu ul{  
    padding: 0; 
    margin: 0; 
    font-size: 18px; 
    font-weight: 500; 
    border-radius: 0;    
}

.main-menu ul li{ 
    display: inline;  
    margin: 0 5px 0 0;
}

.main-menu ul li:last-child{ 
    margin: 0; 
}

.main-menu > ul li a,
.navbar-light .navbar-nav .nav-link{  
    color: #303030; 
    text-decoration: none;
    padding: 7px 15px 20px;
}

.main-menu ul li a.nav-link:first-child{ 
    padding-left: 0 !important;
}

.main-menu ul li ul{
    background-color: #000;
}

.main-menu ul li ul li{
    margin: 0;
}

.main-menu ul li ul li a{
    padding: 0.5rem;
    color: #fff;
}

.main-menu .navbar-nav .active>.nav-link{ 
    color: #CA2424; 
}

.main-menu .dropdown-item:focus, 
.main-menu .dropdown-item:hover {
    color: #fff;
    background-color: #272c33;
}

.main-menu .dropdown:hover>.dropdown-menu, 
.main-menu .dropup:hover>.dropdown-menu  {
  display: block;
}

.main-menu .dropdown-item.active, 
.main-menu .dropdown-item:active {
    background-color: #d2335b;
}

.main-menu .navbar-toggler{
    border: none;
    padding-right: 0;    
}

.main-menu .dropdown-toggle::after {
    vertical-align: 0.155em;
}

.main-menu .navbar-toggler-icon {
    background-image: url('img/hamburger-menu.svg');
}

.main-menu ul li .dropdown-menu .dropdown > a::after{
    display: inline-block;
    margin-left: 0.355em;
    vertical-align: 0.2em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.main-menu .dropdown-menu li { 
    display: block;
    margin: 0px;
    padding: 0px;
}

.main-menu .dropdown-menu .dropdown-menu { 
    top: -1px;
    left: 100%;
}


/* Search Form */
.search-form button{
    background-image: url('img/search.svg');
    height: 23px;
    width: 23px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
}

.search-form input[type="search"]{
    background-color: #fff;
    border: none;
    font-weight: 500;
    font-size: 110%;
    padding: 0.3rem 1rem;
    margin-right: 0.3rem;
}

/* Cart */
.cart .cart-icon{
    background: url('img/cart.svg');
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: bottom;
}

.cart .items{
    background: #CA2424;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}


/* Flex Slider */
.flexslider{
    border: 0 !important;
}

.flex-control-nav {
    bottom: 10px !important;
}

.slider-details-container {
    color: #FFF;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    width: 800px;
 }

.slider-details-container h1{
    font-family: 'Seaweed Script';
    font-size: 3.7rem;
    text-shadow: 2px 2px 2px black;
}

.slider-details-container .subtitle{
    font-size: 1.3em;
    margin-bottom: 15px;        
}

.slider-details-container .slider-title{
    color: #FFF;
    font-weight: 700;
}

.slider-details-container a{
    background-color: #D2335B;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 0.8em;
    display: inline-block;
    font-size: 1.2em;
}

.slider-details-container a:hover{
    color: #fff;
}

.flexslider .slides {
    padding: 0 !important;
}

.flex-control-paging li a {
    background: rgba(189, 189, 189, 0.5) !important;
    height: 10px !important;
    width: 15px !important;
}

.flex-control-paging li a.flex-active {
    background: #D2335B !important;
    width: 25px !important;
}

.flex-control-nav li {
    margin: 0 2px !important;
}


/* Frontend Product Lists */
.home main .section-title{
    position: relative;
    margin-bottom: 20px;
}

.home main .section-title::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1px;
    width: 100%;
    background: #ddd;
}

.home main .section-title h2{
    font-family: 'Seaweed Script';
    font-size: 3rem;    
    position: relative;
    display: inline-block;
    background: #fff;
    vertical-align: top;
    padding: 0 20px 0 0;
    margin: 0;    
}

.home section.lab-blog{
    padding: 40px 0;
}

.home .woocommerce ul.products {
    border-top: none;
}

.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #868686;
    margin: 0;
    padding: 0;
    display: table;    
}

.home .popular-products .woocommerce ul.products li.product .button,
.home .new-arrivals .woocommerce ul.products li.product .button {
    background-color: transparent;
    color: #d83a65;
    padding: 0;
    margin: 0;
    transition: 0.5s;
    font-size: 1.5rem;
}

.home .popular-products .woocommerce ul.products li.product .button:hover,
.home .new-arrivals .woocommerce ul.products li.product .button:hover {
    color: #666;
}

.home .woocommerce ul.products li.product .button {
    margin-top: 0;
}

.deal-of-the-week {
    background: #f7f7f7;
    padding: 60px 0;
}

.deal-of-the-week .row{
    padding: 30px 0;
}

.deal-of-the-week .discount{
    background: #ff6891;
    color: #fff;
    padding: 0.5rem;
    display: inline-block;
    margin: 20px 0;  
    position: relative;  
}

.deal-of-the-week .discount:before{
    content: '';
    position: absolute;
    top: 6%;
    left: 0;
    height: 1px;
    width: 100%;
    border: 1px dashed #ffc8d8;    
}

.deal-of-the-week .discount:after{
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0;
    height: 1px;
    width: 100%;
    border: 1px dashed #ffc8d8;    
}

.deal-of-the-week .section-title{
    margin: 0 !important;
}

.deal-of-the-week h2{
    background: #f8f8f8 !important;   
}

.deal-of-the-week h3{
    margin: 0 0 20px 0;
    padding: 0;    
}

.deal-of-the-week h3 a{
    font-size: 2rem;
    font-weight: 700;
    color: #000;  
    transition: 0.5s;  
}

.deal-of-the-week h3 a:hover{
    color: #777;    
}

.deal-of-the-week p{
    color: #aeaeae;
    font-size: 1.2rem;    
}

.deal-of-the-week .prices .regular{
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 0.4;
    text-decoration: line-through;    
}

.deal-of-the-week .prices .sale{
    font-size: 2rem;
    font-weight: 700;    
}

.deal-of-the-week a.add-to-cart{
    background-color: #D2335B;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    padding: 0.618em 1em;
    font-weight: 700;
    border-radius: 3px;
    display: inline-block; 
    margin-top: 10px;      
}


/* Footer - Footer Menu */
.footer-menu ul, .footer-widgets ul{ 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 16px; 
}

.footer-menu ul li{ 
    display: inline; 
    margin: 0 10px 0 0;
}

.footer-menu ul li:last-child{ 
    margin: 0; 
}

.footer-menu ul li a{ 
    color: #939393; 
    text-decoration: none;
}

.footer-menu ul li.current-menu-item a{ 
    color: #ff9292; 
}


/* WooCommerce */

/* Grid System */
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{
    flex: 0 0 50%;
    max-width: 50%;
}


/* Shop */

.shop-content{
    padding: 3rem 0;
}

.shop-content .row{
    margin-left: 0;
    margin-right: 0;
}

.post-type-archive-product .content-area, 
.product-template-default .content-area,
.tax-product_cat .content-area{
    padding: 0;
}

.woocommerce .woocommerce-breadcrumb a {
    font-weight: 700;
}

.woocommerce ul.products.columns-1 li.product:first-child, 
.woocommerce-page ul.products.columns-1 li.product:first-child {
    margin-top: 20px;
}

.woocommerce .products ul, .woocommerce ul.products {
    border-top: 1px solid #eee;
}

.woocommerce ul.products li.product a img {
    width: 255px;
    height: auto;
    display: block;
    margin: 0 1em 1em 0;
    box-shadow: none;
    float: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size: 25px;
    font-weight: 700;
    color: #000;
    margin: 0;
    padding: 0;
    display: table;
}

.post-type-archive-product .woocommerce-loop-product__title{
    margin-bottom: 0.5rem !important;
}

.woocommerce ul.products li.product .button {
    margin-top: 0;
}

.woocommerce ul.products li.product p{
    color: #000;
}

.woocommerce ul.products li.product .price{
    color: #000;
    font-weight: 600;    
}

.woocommerce ul.products li.product .price ins {
    font-size: 140%;
}

.woocommerce ul.products li.product .onsale{
    top: 16px;
    left: 0;
    right: 0;
    transform: rotate(90deg);
    border-radius: 0;   
    width: 83px;
    padding: 0;
    background-color: #D2335B;
    margin: 0;
    font-weight: 400;
}

.woocommerce ul.products li.product .onsale:before {
    content: "";
    position: absolute;
    top: 0;
    left: 83px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 24px 22px 0 0;
    border-color: #D2335B transparent transparent transparent;
}

.woocommerce ul.products li.product .onsale:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 83px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 22px 24px 0;
    border-color: transparent transparent #D2335B transparent;
}

.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span{
    color: #000;
}

.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 12px;
}


/* Single Product */
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button {
    background-color: #D2335B;
    color: #fff;
}

.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
    background-color: #bd3759;
}

.product_meta > span{
    display: block;
}

.woocommerce div.product p.price del, 
.woocommerce div.product span.price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount{
    color: #000;
    font-size: 20px;
    font-weight: 500;
}

.woocommerce div.product p.price ins, 
.woocommerce div.product span.price ins, 
.woocommerce-Price-amount {
    font-size: 25px;
    color: #000;
    font-weight: 700;
}

.woocommerce span.onsale{
    top: 19px;
    left: 35px;
    transform: rotate(90deg);
    border-radius: 0;   
    width: 84px;
    padding: 0;
    background-color: #D2335B;
    margin: 0;
    font-weight: 400;
}

.woocommerce span.onsale:before {
    content: "";
    position: absolute;
    top: 0;
    left: 83px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 23px 22px 0 0;
    border-color: #D2335B transparent transparent transparent;
}

.woocommerce span.onsale:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 83px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 22px 23px 0;
    border-color: transparent transparent #D2335B transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs{
    padding: 0;

}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    border-radius: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::before{
    content: none;
}

.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button{
    background-color: #ffeb8a;
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover{
    background-color: #ffe252;
}

/* Cart */

.woocommerce-cart table.cart td.actions .coupon .input-text{
    width: 150px;
}


/* Checkout */
.woocommerce form .form-row {
    display: block;
}
.woocommerce-checkout #customer_details{
    margin-bottom: 20px;
}
.woocommerce table.shop_table{
    border-collapse: collapse;
}
.woocommerce table.shop_table thead{
    background-color: #D2335B;
    color: #fff;
}


/* General */

embed, iframe, object {
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    background-color: #F6F6F6;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;  
    max-width: 100%;  
}

a{
    color: #d35758;
}

a:hover {
    color: #af4142;
    text-decoration: none;
}

p, ul li a, .nav-links a, .nav-links span{
    font-size: 1.15rem;
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 500;    
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}


/* Media Queries */

@media all and (max-width: 768px){
    .woocommerce ul.products[class*="columns-"] li.product, 
    .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
    }
}

@media all and (max-width: 767px) {

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2{
        flex: 0 0 100%;
        max-width: 100%;
    }       

    .brand{
        margin-bottom: 15px;
    }

    .main-menu{
        border-top: 2px solid #f2f2f2;
        padding: 10px; 
        margin-top: 10px;       
    }

    .main-menu ul li{   
        margin: 0;
    } 

    .main-menu .dropdown-menu{
        display: block;
        margin-left: 1rem;
    }

    .main-menu ul li .dropdown-menu .dropdown > a::before{
        display: inline-block;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
    }

    .main-menu ul li .dropdown-menu .dropdown > a::after{
        display: none;
    }

    .main-menu .dropdown-menu .dropdown-menu{
        margin-left: 0;
    }

    .main-menu .dropdown-menu .dropdown-menu a{
        padding-left: 1rem;
    }

    .main-menu ul li a,
    .navbar-light .navbar-nav .nav-link{ 
        padding: 10px 0;
    } 

    .search input[type="search"]{
        width: 75px;
    }     

    .search-form input[type="search"]{
        width: 45%;
    }

    .slider-details-container{
        margin: 0 25px; 
        max-width: 400px;       
    }

    .slider-title h3 {
        font-size: 2em;
    }

    .slider-details-container .subtitle {
        font-size: 1em;
    }

    .slider-details-container a {
        padding: 0.5em;
    }

}

@media all and (max-width: 575px)  {
    .slider-details-container{
        max-width: 300px;        
    }

    .slider-details-container a {
        padding: 0.7em;
        font-size: 1em;
    }

    .flexslider img{
        height: 500px !important;
        object-fit: cover;
        object-position: center;
    }
}

@media all and (max-width: 500px){
    .woocommerce ul.products li.product a img {
        width: 100%;
    }
}